Skip to content

Commit 1e6e3a8

Browse files
committed
log
1 parent d3646d7 commit 1e6e3a8

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

examples/shirt-shop/scripts/replace-workspace-version.mjs

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,15 @@ async function prepareTemplate() {
2323
}
2424

2525
// Write the template package.json
26-
await fs.writeFile('./package.json', JSON.stringify(templatePackageJson));
26+
await fs.writeFile(
27+
'./package.json',
28+
JSON.stringify(templatePackageJson, null, 2),
29+
);
30+
31+
console.log('Created');
32+
console.log(JSON.stringify(templatePackageJson, null, 2));
33+
34+
console.log('Replaced workspace dependencies with real versions');
2735
}
2836

2937
prepareTemplate();

0 commit comments

Comments
 (0)