@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 +3 -0
- package/_project.config/extensions.json +1 -2
- package/_project.config/sync.js +2 -2
- package/package.json +1 -1
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)
|
package/_project.config/sync.js
CHANGED
|
@@ -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