Skip to content

Commit e90775f

Browse files
authored
chore: include pkg.json in copy-smithy-dist-files.js (#6143)
1 parent 9f65ca2 commit e90775f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

scripts/copy-smithy-dist-files.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,11 @@ const localSmithyPkgs = fs.readdirSync(path.join(node_modules, "@smithy"));
3232
path.join(smithyPackages, smithyPkg, "dist-es"),
3333
path.join(node_modules, "@smithy", smithyPkg),
3434
]),
35+
spawnProcess("cp", [
36+
"-r",
37+
path.join(smithyPackages, smithyPkg, "package.json"),
38+
path.join(node_modules, "@smithy", smithyPkg),
39+
]),
3540
]);
3641
}
3742
})();

0 commit comments

Comments
 (0)