Skip to content

Commit d7d6cb8

Browse files
committed
#11 Viteに移行、マルチビルド実装(WIP)
1 parent 9bcf09c commit d7d6cb8

File tree

4 files changed

+20
-29
lines changed

4 files changed

+20
-29
lines changed

.npmignore

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
.github
2+
.gitattributes
3+
.gitignore
24
template/dist
5+
template/ios
6+
template/android
37
template/node_modules
48
template/package.json
59
template/src/Packages.ts
610
template/src/config/Config.ts
7-
template/electron.index.json
11+
template/electron.index.json

template.json

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,7 @@
44
"@typescript-eslint/eslint-plugin": "*",
55
"@typescript-eslint/parser": "*",
66
"typescript": "*",
7-
"eslint": "*",
8-
"electron": "*",
9-
"@capacitor/cli": "*",
10-
"@capacitor/core": "*",
11-
"@capacitor/ios": "*",
12-
"@capacitor/android": "*"
7+
"eslint": "*"
138
}
149
}
1510
}

template/electron.build.json

Lines changed: 13 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -11,26 +11,19 @@
1111
"main": "electron.js"
1212
},
1313
"files": [
14-
"!@types/*",
15-
"!file/*",
16-
"!icon/*",
17-
"!mock/*",
18-
"!src/*",
19-
"!ios/*",
20-
"!android/*",
21-
"!**/.vscode/*",
22-
"!**/.github/*",
23-
"!.eslintignore",
24-
"!.eslintrc.json",
25-
"!.gitattributes",
26-
"!.gitignore",
27-
"!capacitor.config.json",
28-
"!electron.build.json",
29-
"!index.html",
30-
"!README.md",
31-
"!tsconfig.eslint.json",
32-
"!tsconfig.json",
33-
"!vite.config.ts"
14+
"node_modules/",
15+
"electron.index.json",
16+
"package.json",
17+
"electron.js",
18+
"!node_modules/@next2d",
19+
"!node_modules/@eslint",
20+
"!node_modules/@jest",
21+
"!node_modules/@vitest",
22+
"!node_modules/@ionic",
23+
"!node_modules/@capacitor",
24+
"!node_modules/vite",
25+
"!node_modules/vite-node",
26+
"!node_modules/vitest"
3427
],
3528
"mac": {
3629
"target": "dmg",

template/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
"description": "Next2D Framework TypeScript template.",
55
"author": "Toshiyuki Ienaga <ienaga@tvon.jp>",
66
"license": "MIT",
7-
"main": "src/index.ts",
87
"type": "module",
98
"scripts": {
109
"start": "vite",
@@ -29,7 +28,7 @@
2928
"@capacitor/ios": "^5.5.1",
3029
"@next2d/framework": "^2.0.1",
3130
"@next2d/player": "^1.18.9",
32-
"@next2d/vite-auto-loader-plugin": "^0.0.8",
31+
"@next2d/vite-auto-loader-plugin": "^1.0.0",
3332
"@typescript-eslint/eslint-plugin": "^6.10.0",
3433
"@typescript-eslint/parser": "^6.10.0",
3534
"electron": "^27.0.4",

0 commit comments

Comments
 (0)