diff --git a/scripts/copy-smithy-dist-files.js b/scripts/copy-smithy-dist-files.js index 1299d80eeb84..90f6fdcab809 100644 --- a/scripts/copy-smithy-dist-files.js +++ b/scripts/copy-smithy-dist-files.js @@ -32,6 +32,11 @@ const localSmithyPkgs = fs.readdirSync(path.join(node_modules, "@smithy")); path.join(smithyPackages, smithyPkg, "dist-es"), path.join(node_modules, "@smithy", smithyPkg), ]), + spawnProcess("cp", [ + "-r", + path.join(smithyPackages, smithyPkg, "package.json"), + path.join(node_modules, "@smithy", smithyPkg), + ]), ]); } })();