create-next2d-app 1.2.3 → 1.2.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/index.js +5 -3
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -203,8 +203,11 @@ const install = function (root, app_name, template, dependencies)
|
|
|
203
203
|
for (let idx = 0; idx < keys.length; ++idx) {
|
|
204
204
|
|
|
205
205
|
const name = keys[idx];
|
|
206
|
-
|
|
207
|
-
|
|
206
|
+
if (templateDependencies[name] === "*") {
|
|
207
|
+
dependencies.push(name);
|
|
208
|
+
} else {
|
|
209
|
+
packageJson.dependencies[name] = templateDependencies[name];
|
|
210
|
+
}
|
|
208
211
|
}
|
|
209
212
|
|
|
210
213
|
fs.writeFileSync(
|
|
@@ -384,7 +387,6 @@ const createApp = function (app_name, template = "@next2d/framework-template")
|
|
|
384
387
|
|
|
385
388
|
install(root, appName, template, [
|
|
386
389
|
"@next2d/framework",
|
|
387
|
-
"@next2d/webpack-auto-loader-plugin",
|
|
388
390
|
"@next2d/env",
|
|
389
391
|
"electron",
|
|
390
392
|
"webpack",
|