npm-workspaces-publish-tool 0.0.6 → 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/package.json +1 -1
- package/build/src/cli.js +1 -1
- package/package.json +1 -1
package/build/package.json
CHANGED
package/build/src/cli.js
CHANGED
|
@@ -501,7 +501,7 @@ function replaceWorkspaceDepsWithVersions(packageInfos, packagesToUpdate) {
|
|
|
501
501
|
const pkgInfo = packageInfos[pkgName];
|
|
502
502
|
const packageJsonPath = pkgInfo.packageJsonPath;
|
|
503
503
|
const packageJson = JSON.parse(readFileSync(packageJsonPath, 'utf8'));
|
|
504
|
-
originals.set(pkgName, JSON.stringify(packageJson));
|
|
504
|
+
originals.set(pkgName, JSON.stringify(packageJson, null, 4));
|
|
505
505
|
let changed = false;
|
|
506
506
|
for (const depType of dependancyTypes) {
|
|
507
507
|
const deps = packageJson[depType];
|