Skip to content

Commit

Permalink
fix: missing dag-json
Browse files Browse the repository at this point in the history
  • Loading branch information
mabels committed Dec 5, 2024
1 parent 46cb43e commit 64ac4c8
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions merge-package.ts
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ async function main() {
await fs.mkdir(path.dirname(args.buildPackageJson), { recursive: true });
const packageJson = JSON.parse(await fs.readFile(args.srcPackageJson, "utf8"));
patchVersion(packageJson);
// await $`find dist -type f -print`
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"));
mergePackageJson(packageJson, mPackageJson, path.dirname(packageFile), args);
Expand All @@ -170,4 +170,7 @@ async function main() {
await run(cmd, process.argv.slice(2));
}

main().catch(console.error);
main().catch((a) => {
console.error(a);
process.exit(1);
});

0 comments on commit 64ac4c8

Please sign in to comment.