vs-mod-packager 1.0.1 → 1.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/README.md CHANGED
@@ -1,6 +1,3 @@
1
- Add
2
-
3
- "packagevsmod": "node node_modules/vs-mod-packager/packager/cli.js ."
4
-
5
- to your scripts in your package.json
6
- then npm run packagevsmod to create a zip of your mod.
1
+ Add ```"packagevsmod": "node node_modules/vs-mod-packager/packager/cli.js ."```
2
+ to your ```scripts``` in your ```package.json```
3
+ then run ```npm run packagevsmod``` to create a zip of your mod.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vs-mod-packager",
3
- "version": "1.0.1",
3
+ "version": "1.0.4",
4
4
  "description": "Utility to package a Vintage Story mod into a zip using modinfo.json",
5
5
  "main": "packager/index.js",
6
6
  "bin": {
package/packager/index.js CHANGED
@@ -9,6 +9,7 @@ async function zipModFolder(inputFolder) {
9
9
  throw new Error('modinfo.json not found in input folder');
10
10
  }
11
11
 
12
+ //this reads the modinfo from the modinfo.json .... or should
12
13
  const modInfo = await fs.readJson(modInfoPath);
13
14
 
14
15
  if (!modInfo.modid || !modInfo.version) {