Skip to content

Commit ac51aac

Browse files
authored
Merge pull request #9 from Next2D/develop
Playerの仕様変更に合わせて実装を改修
2 parents 4494654 + cb13ac8 commit ac51aac

File tree

5 files changed

+19
-23
lines changed

5 files changed

+19
-23
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": "1.0.1",
4+
"version": "1.0.2",
55
"homepage": "https://next2d.app",
66
"bugs": "https://github.com/Next2D/framework-typescript-template/issues/new",
77
"author": "Toshiyuki Ienaga<ienaga@tvon.jp>",

template/package.json

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -17,26 +17,26 @@
1717
"generate": "npx @next2d/view-generator"
1818
},
1919
"devDependencies": {
20-
"@babel/core": "^7.22.5",
21-
"@babel/preset-env": "^7.22.5",
22-
"@capacitor/android": "^5.1.0",
23-
"@capacitor/cli": "^5.1.0",
24-
"@capacitor/core": "^5.1.0",
25-
"@capacitor/ios": "^5.1.0",
20+
"@babel/core": "^7.22.11",
21+
"@babel/preset-env": "^7.22.14",
22+
"@capacitor/android": "^5.3.0",
23+
"@capacitor/cli": "^5.3.0",
24+
"@capacitor/core": "^5.3.0",
25+
"@capacitor/ios": "^5.3.0",
2626
"@next2d/env": "^1.1.1",
27-
"@next2d/framework": "^1.6.0",
27+
"@next2d/framework": "^1.6.2",
2828
"@next2d/webpack-typescript-auto-loader-plugin": "^1.0.1",
29-
"@types/jest": "^29.5.2",
30-
"@typescript-eslint/eslint-plugin": "^5.61.0",
31-
"@typescript-eslint/parser": "^5.61.0",
32-
"electron": "^25.2.0",
33-
"eslint": "^8.44.0",
29+
"@types/jest": "^29.5.4",
30+
"@typescript-eslint/eslint-plugin": "^6.5.0",
31+
"@typescript-eslint/parser": "^6.5.0",
32+
"electron": "^26.1.0",
33+
"eslint": "^8.48.0",
3434
"eslint-webpack-plugin": "^4.0.1",
3535
"ts-jest": "^29.1.1",
3636
"ts-loader": "^9.4.4",
3737
"ts-node": "^10.9.1",
38-
"typescript": "^5.1.6",
39-
"webpack": "^5.88.1",
38+
"typescript": "^5.2.2",
39+
"webpack": "^5.88.2",
4040
"webpack-cli": "^5.1.4",
4141
"webpack-dev-server": "^4.15.1"
4242
}

template/src/model/ui/component/atom/TextComponent.ts

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
import type {
2-
TextField,
3-
TextFormat
4-
} from "@next2d/text";
1+
import { TextField } from "@next2d/display";
2+
import type { TextFormat } from "@next2d/text";
53

64
/**
75
* @class
@@ -22,8 +20,6 @@ export class TextComponent
2220
format: any = null
2321
): TextField {
2422

25-
const { TextField } = next2d.text;
26-
2723
const textField: TextField = new TextField();
2824

2925
if (props) {

template/src/model/ui/component/template/home/HomeTextTemplate.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import { config } from "@/config/Config";
33
import { TextComponent } from "@/model/ui/component/atom/TextComponent";
44
import { response } from "@next2d/framework";
5-
import type { TextField } from "@next2d/text";
5+
import type { TextField } from "@next2d/display";
66
import type { HomeContent } from "@/model/application/content/HomeContent";
77

88
/**

template/src/model/ui/component/template/top/TopButtonTemplate.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { TextComponent } from "@/model/ui/component/atom/TextComponent";
66
import { response } from "@next2d/framework";
77
import { MouseEvent } from "@next2d/events";
88
import type { TopContent } from "@/model/application/content/TopContent";
9-
import type { TextField } from "@next2d/text";
9+
import type { TextField } from "@next2d/display";
1010

1111
/**
1212
* @class

0 commit comments

Comments
 (0)