Skip to content

Commit 631bb23

Browse files
committed
#56 構造をv4.0.0 応 (WIP)
1 parent 188605a commit 631bb23

14 files changed

Lines changed: 32 additions & 507 deletions

File tree

‎template/.gitignore‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,5 @@ dist-ssr
2525

2626
src/Packages.ts
2727
src/config/Config.ts
28-
electron/resources
28+
electron/resources
29+
electron/package-lock.json

‎template/package.json‎

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -23,25 +23,25 @@
2323
"generate": "npx @next2d/view-generator"
2424
},
2525
"devDependencies": {
26-
"@capacitor/android": "^7.4.4",
27-
"@capacitor/cli": "^7.4.4",
28-
"@capacitor/core": "^7.4.4",
29-
"@capacitor/ios": "^7.4.4",
26+
"@capacitor/android": "^8.0.1",
27+
"@capacitor/cli": "^8.0.1",
28+
"@capacitor/core": "^8.0.1",
29+
"@capacitor/ios": "^8.0.1",
3030
"@eslint/eslintrc": "^3.3.3",
31-
"@eslint/js": "^9.39.1",
32-
"@next2d/vite-plugin-next2d-auto-loader": "^3.1.10",
33-
"@types/node": "^24.10.1",
34-
"@typescript-eslint/eslint-plugin": "^8.48.1",
35-
"@typescript-eslint/parser": "^8.48.1",
36-
"@vitest/web-worker": "^4.0.15",
37-
"eslint": "^9.39.1",
31+
"@eslint/js": "^9.39.2",
32+
"@next2d/vite-plugin-next2d-auto-loader": "^3.1.12",
33+
"@types/node": "^25.0.9",
34+
"@typescript-eslint/eslint-plugin": "^8.53.1",
35+
"@typescript-eslint/parser": "^8.53.1",
36+
"@vitest/web-worker": "^4.0.17",
37+
"eslint": "^9.39.2",
3838
"eslint-plugin-unused-imports": "^4.3.0",
39-
"globals": "^16.5.0",
40-
"jsdom": "^27.2.0",
39+
"globals": "^17.0.0",
40+
"jsdom": "^27.4.0",
4141
"typescript": "^5.9.3",
42-
"vite": "^7.2.6",
43-
"vite-tsconfig-paths": "^5.1.4",
44-
"vitest": "^4.0.15",
42+
"vite": "^7.3.1",
43+
"vite-tsconfig-paths": "^6.0.4",
44+
"vitest": "^4.0.17",
4545
"vitest-webgl-canvas-mock": "^1.1.0"
4646
},
4747
"peerDependencies": {

‎template/src/index.ts‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
"use strict";
22

3-
import type { IConfig } from "@/interface/IConfig";
43
import { app } from "@next2d/framework";
54
import { config } from "@/config/Config";
65
import { packages } from "@/Packages";
@@ -16,7 +15,7 @@ const boot = async (event: Event | null = null): Promise<void> =>
1615
event.target.removeEventListener("DOMContentLoaded", boot);
1716
}
1817

19-
await app.initialize(config as IConfig, packages).run();
18+
await app.initialize(config, packages).run();
2019
await app.gotoView();
2120
};
2221

‎template/src/interface/IConfig.ts‎

Lines changed: 0 additions & 21 deletions
This file was deleted.

‎template/src/interface/IGotoView.ts‎

Lines changed: 0 additions & 15 deletions
This file was deleted.

‎template/src/interface/IRequest.ts‎

Lines changed: 0 additions & 14 deletions
This file was deleted.

‎template/src/interface/IRequestType.ts‎

Lines changed: 0 additions & 1 deletion
This file was deleted.

‎template/src/interface/IRouting.ts‎

Lines changed: 0 additions & 7 deletions
This file was deleted.

‎template/src/interface/IStage.ts‎

Lines changed: 0 additions & 8 deletions
This file was deleted.
Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
import type { ITextFormatAlign } from "./ITextFormatAlign";
22

33
export interface ITextFormatObject {
4-
align: ITextFormatAlign | null;
5-
bold: boolean | null;
6-
color: number | null;
7-
font: string | null;
8-
italic: boolean | null;
9-
leading: number | null;
10-
leftMargin: number | null;
11-
letterSpacing: number | null;
12-
rightMargin: number | null;
13-
size: number | null;
14-
underline: boolean | null;
4+
align?: ITextFormatAlign | null;
5+
bold?: boolean | null;
6+
color?: number | null;
7+
font?: string | null;
8+
italic?: boolean | null;
9+
leading?: number | null;
10+
leftMargin?: number | null;
11+
letterSpacing?: number | null;
12+
rightMargin?: number | null;
13+
size?: number | null;
14+
underline?: boolean | null;
1515
}

0 commit comments

Comments
 (0)