Skip to content

Commit c17568b

Browse files
authored
Merge pull request #35 from Next2D/develop
update test package.json
2 parents 8c9340c + bd66261 commit c17568b

File tree

3 files changed

+17
-18
lines changed

3 files changed

+17
-18
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@next2d/framework-typescript-template",
33
"description": "Next2D Framework default TypeScript template.",
4-
"version": "2.0.8",
4+
"version": "2.0.9",
55
"homepage": "https://next2d.app",
66
"bugs": "https://github.com/Next2D/framework-typescript-template/issues/new",
77
"author": "Toshiyuki Ienaga<[email protected]>",

template/package.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,19 @@
1919
"generate": "npx @next2d/view-generator"
2020
},
2121
"devDependencies": {
22-
"@capacitor/android": "^5.5.1",
23-
"@capacitor/cli": "^5.5.1",
24-
"@capacitor/core": "^5.5.1",
25-
"@capacitor/ios": "^5.5.1",
26-
"@next2d/framework": "^2.0.1",
27-
"@next2d/player": "^1.18.9",
22+
"@capacitor/android": "^5.7.0",
23+
"@capacitor/cli": "^5.7.0",
24+
"@capacitor/core": "^5.7.0",
25+
"@capacitor/ios": "^5.7.0",
26+
"@next2d/framework": "^2.0.2",
27+
"@next2d/player": "^1.18.11",
2828
"@next2d/vite-auto-loader-plugin": "^1.0.0",
29-
"@typescript-eslint/eslint-plugin": "^6.10.0",
30-
"@typescript-eslint/parser": "^6.10.0",
31-
"eslint": "^8.53.0",
32-
"jsdom": "^22.1.0",
33-
"typescript": "^5.2.2",
34-
"vite": "^4.5.0",
35-
"vitest": "^0.34.6"
29+
"@typescript-eslint/eslint-plugin": "^7.0.1",
30+
"@typescript-eslint/parser": "^7.0.1",
31+
"eslint": "^8.56.0",
32+
"jsdom": "^24.0.0",
33+
"typescript": "^5.3.3",
34+
"vite": "^5.1.2",
35+
"vitest": "^1.2.2"
3636
}
3737
}

template/vite.config.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import { defineConfig } from "vite";
44
import path from "path";
55
import autoLoader from "@next2d/vite-auto-loader-plugin";
66

7-
const port: number = 5173;
87
export default defineConfig({
98
"base": "./",
109
"optimizeDeps": {
@@ -27,14 +26,14 @@ export default defineConfig({
2726
],
2827
"server": {
2928
"open": "index.html",
30-
"port": port,
29+
"port": 5173,
3130
"proxy": {
3231
"/content": {
33-
"target": `http://localhost:${port}`,
32+
"target": "http://localhost:5173",
3433
"rewrite": (path) => path.replace(/^\/content/, "/mock/content")
3534
},
3635
"/api": {
37-
"target": `http://localhost:${port}`,
36+
"target": "http://localhost:5173",
3837
"rewrite": (path) => path.replace(/^\/api/, "/mock/api")
3938
}
4039
}

0 commit comments

Comments
 (0)