create-next2d-app 2.1.14 → 2.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/dist/index.d.ts CHANGED
@@ -61,7 +61,7 @@ interface TemplateJson {
61
61
  declare const install: (root: string, app_name: string, template: string, dependencies: string[], devDependencies: string[]) => void;
62
62
  /**
63
63
  * @param {string} app_name
64
- * @param {string} [template="@next2d/framework-template"]
64
+ * @param {string} [template="@next2d/framework-typescript-template"]
65
65
  * @return {void}
66
66
  * @method
67
67
  * @public
package/dist/index.js CHANGED
@@ -281,12 +281,12 @@ const install = (root, app_name, template, dependencies, devDependencies) => {
281
281
  };
282
282
  /**
283
283
  * @param {string} app_name
284
- * @param {string} [template="@next2d/framework-template"]
284
+ * @param {string} [template="@next2d/framework-typescript-template"]
285
285
  * @return {void}
286
286
  * @method
287
287
  * @public
288
288
  */
289
- const createApp = (app_name, template = "@next2d/framework-template") => {
289
+ const createApp = (app_name, template = "@next2d/framework-typescript-template") => {
290
290
  const root = path.resolve(app_name);
291
291
  const appName = path.basename(root);
292
292
  checkAppName(appName);
@@ -307,14 +307,14 @@ const createApp = (app_name, template = "@next2d/framework-template") => {
307
307
  "preview:macos": "npx @next2d/builder --platform macos --preview",
308
308
  "preview:windows": "npx @next2d/builder --platform windows --preview",
309
309
  "preview:linux": "npx @next2d/builder --platform linux --preview",
310
- "build:steam:windows": "npx @next2d/builder --platform steam:windows --env prd",
311
- "build:steam:macos": "npx @next2d/builder --platform steam:macos --env prd",
312
- "build:steam:linux": "npx @next2d/builder --platform steam:linux --env prd",
313
- "build:web": "npx @next2d/builder --platform web --env prd",
314
- "open:ios": "npx @next2d/builder --platform ios --open --env prd",
315
- "build:ios": "npx @next2d/builder --platform ios --build --env prd",
316
- "open:android": "npx @next2d/builder --platform android --open --env prd",
317
- "build:android": "npx @next2d/builder --platform android --build --env prd",
310
+ "open:ios": "npx @next2d/builder --platform ios --open",
311
+ "open:android": "npx @next2d/builder --platform android --open",
312
+ "build:steam:windows": "npx @next2d/builder --platform steam:windows",
313
+ "build:steam:macos": "npx @next2d/builder --platform steam:macos",
314
+ "build:steam:linux": "npx @next2d/builder --platform steam:linux",
315
+ "build:web": "npx @next2d/builder --platform web",
316
+ "build:ios": "npx @next2d/builder --platform ios --build",
317
+ "build:android": "npx @next2d/builder --platform android --build",
318
318
  "build": "npx @next2d/builder",
319
319
  "test": "npx vitest",
320
320
  "generate": "npx @next2d/view-generator"
@@ -354,7 +354,10 @@ const createApp = (app_name, template = "@next2d/framework-template") => {
354
354
  "*.njsproj",
355
355
  "*.sln",
356
356
  "*.sw?",
357
- "electron/resources"
357
+ "src/Packages.ts",
358
+ "src/config/Config.ts",
359
+ "electron/resources",
360
+ "electron/package-lock.json"
358
361
  ];
359
362
  fs.writeFileSync(path.join(root, ".gitignore"), ignoreList.join(os.EOL));
360
363
  install(root, appName, template, ["@next2d/framework"], [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-next2d-app",
3
- "version": "2.1.14",
3
+ "version": "2.2.0",
4
4
  "description": "Create Next2D apps with no build configuration.",
5
5
  "author": "Toshiyuki Ienaga<ienaga@next2d.app>",
6
6
  "license": "MIT",
@@ -27,22 +27,22 @@
27
27
  "create-next2d-app": "dist/index.js"
28
28
  },
29
29
  "dependencies": {
30
- "@types/node": "^24.10.1",
31
- "commander": "14.0.2",
30
+ "@types/node": "^25.2.0",
31
+ "commander": "14.0.3",
32
32
  "cross-spawn": "7.0.6",
33
- "fs-extra": "11.3.2",
33
+ "fs-extra": "11.3.3",
34
34
  "picocolors": "^1.1.1",
35
35
  "semver": "7.7.3",
36
- "validate-npm-package-name": "7.0.0"
36
+ "validate-npm-package-name": "7.0.2"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@eslint/eslintrc": "^3.3.3",
40
- "@eslint/js": "^9.39.1",
41
- "@typescript-eslint/eslint-plugin": "^8.48.0",
42
- "@typescript-eslint/parser": "^8.48.0",
43
- "eslint": "^9.39.1",
40
+ "@eslint/js": "^9.39.2",
41
+ "@typescript-eslint/eslint-plugin": "^8.54.0",
42
+ "@typescript-eslint/parser": "^8.54.0",
43
+ "eslint": "^9.39.2",
44
44
  "eslint-plugin-unused-imports": "^4.3.0",
45
- "globals": "^16.5.0",
45
+ "globals": "^17.3.0",
46
46
  "typescript": "^5.9.3"
47
47
  }
48
48
  }