@idajs/create-mod 0.1.45 → 0.2.0

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
@@ -7,6 +7,9 @@ Scaffolding tool for creating IdaJS game mods for Little Big Adventure 2.
7
7
  IdaJS is a JavaScript-powered modding engine for LBA2 that provides a modern, flexible API, giving modders access to all the Little Big Adventure 2 engine features.
8
8
  Write your own stories in the LBA 2 world with just basic JavaScript knowledge.
9
9
 
10
+ - IdaJS repository: https://github.com/innerbytes/idajs
11
+ - Releases: https://github.com/innerbytes/idajs/releases
12
+
10
13
  ## Documentation
11
14
 
12
15
  Full documentation is available at [ida.innerbytes.com](https://ida.innerbytes.com)
@@ -1,7 +1,6 @@
1
1
  {
2
2
  "recommendations": [
3
- "prettier.prettier-vscode",
4
- "ms-vscode.cpptools"
3
+ "prettier.prettier-vscode"
5
4
  ],
6
5
  "unwantedRecommendations": []
7
6
  }
@@ -84,7 +84,7 @@ if (isTypeScriptProject) {
84
84
 
85
85
  // Sync media folder if it exists
86
86
  if (fs.existsSync("media")) {
87
- const mediaSyncCmd = `idasync media ${path.join(targetBase, "media")} ${deleteExcludeArgs}`;
87
+ const mediaSyncCmd = `idasync media "${path.join(targetBase, "media")}" ${deleteExcludeArgs}`;
88
88
  console.log(`Running: ${mediaSyncCmd}`);
89
89
  execSync(mediaSyncCmd, { stdio: "inherit" });
90
90
  } else {
@@ -93,7 +93,7 @@ if (fs.existsSync("media")) {
93
93
 
94
94
  // Sync src folder
95
95
  const sourceFolder = isTypeScriptProject ? "dist" : "src";
96
- const srcSyncCmd = `idasync ${sourceFolder} ${targetBase} ${deleteExcludeArgs} --delete-exclude "media/*"`;
96
+ const srcSyncCmd = `idasync "${sourceFolder}" "${targetBase}" ${deleteExcludeArgs} --delete-exclude "media/*"`;
97
97
  console.log(`Running: ${srcSyncCmd}`);
98
98
  execSync(srcSyncCmd, { stdio: "inherit" });
99
99
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@idajs/create-mod",
3
- "version": "0.1.45",
3
+ "version": "0.2.0",
4
4
  "description": "Scaffolding tool for creating IdaJS game mods for Little Big Adventure 2. Use with: npx @idajs/create-mod",
5
5
  "author": "Andriy Tevelyev",
6
6
  "license": "GPL-2.0",