prepare-package 0.0.3 → 0.0.4

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/dist/index.js CHANGED
@@ -33,6 +33,7 @@ if (isLivePreparation) {
33
33
  let content = jetpack.read(theirPackageJSON.main)
34
34
  // .replace(/{version}/igm, package.version)
35
35
  .replace(/{version}/igm, theirPackageJSON.version)
36
+ return content;
36
37
  }
37
38
  jetpack.write(
38
39
  theirPackageJSON.main,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "prepare-package",
3
- "version": "0.0.3",
3
+ "version": "0.0.4",
4
4
  "description": "Prepare a Node.js package before being published",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -41,4 +41,4 @@
41
41
  "fs-jetpack": "^4.3.1",
42
42
  "mocha": "^8.0.1"
43
43
  }
44
- }
44
+ }
package/src/index.js CHANGED
@@ -33,6 +33,7 @@ if (isLivePreparation) {
33
33
  let content = jetpack.read(theirPackageJSON.main)
34
34
  // .replace(/{version}/igm, package.version)
35
35
  .replace(/{version}/igm, theirPackageJSON.version)
36
+ return content;
36
37
  }
37
38
  jetpack.write(
38
39
  theirPackageJSON.main,