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.
Files changed (2) hide show
  1. package/index.js +5 -3
  2. 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
- packageJson.dependencies[name] = templateDependencies[name];
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",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-next2d-app",
3
- "version": "1.2.3",
3
+ "version": "1.2.4",
4
4
  "description": "Create Next2D apps with no build configuration.",
5
5
  "author": "Toshiyuki Ienaga<ienaga@tvon.jp>",
6
6
  "license": "MIT",