Skip to content

Commit

Permalink
chore: esm.sh does funny things with package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
mabels committed Dec 27, 2024
1 parent 8035087 commit 5f2683f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions merge-package.ts
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ async function main() {
await $`pwd ; find "dist/src/@ipld/dag-json" -type f -print`
for (const packageFile of packages.map(p => `dist/src/${p.name}/package.json`)) {
const mPackageJson = JSON.parse(await fs.readFile(packageFile, "utf8"));
fs.unlink(packageFile);
mergePackageJson(packageJson, mPackageJson, path.dirname(packageFile), args);
}
// filter our own packages
Expand Down

0 comments on commit 5f2683f

Please sign in to comment.