create-next2d-app 2.1.16 → 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 +1 -1
- package/dist/index.js +6 -3
- package/package.json +6 -6
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);
|
|
@@ -354,7 +354,10 @@ const createApp = (app_name, template = "@next2d/framework-template") => {
|
|
|
354
354
|
"*.njsproj",
|
|
355
355
|
"*.sln",
|
|
356
356
|
"*.sw?",
|
|
357
|
-
"
|
|
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.
|
|
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,8 +27,8 @@
|
|
|
27
27
|
"create-next2d-app": "dist/index.js"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@types/node": "^25.0
|
|
31
|
-
"commander": "14.0.
|
|
30
|
+
"@types/node": "^25.2.0",
|
|
31
|
+
"commander": "14.0.3",
|
|
32
32
|
"cross-spawn": "7.0.6",
|
|
33
33
|
"fs-extra": "11.3.3",
|
|
34
34
|
"picocolors": "^1.1.1",
|
|
@@ -38,11 +38,11 @@
|
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"@eslint/eslintrc": "^3.3.3",
|
|
40
40
|
"@eslint/js": "^9.39.2",
|
|
41
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
42
|
-
"@typescript-eslint/parser": "^8.
|
|
41
|
+
"@typescript-eslint/eslint-plugin": "^8.54.0",
|
|
42
|
+
"@typescript-eslint/parser": "^8.54.0",
|
|
43
43
|
"eslint": "^9.39.2",
|
|
44
44
|
"eslint-plugin-unused-imports": "^4.3.0",
|
|
45
|
-
"globals": "^17.
|
|
45
|
+
"globals": "^17.3.0",
|
|
46
46
|
"typescript": "^5.9.3"
|
|
47
47
|
}
|
|
48
48
|
}
|