Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@next2d/framework-typescript-template",
"description": "Next2D Framework default TypeScript template.",
"version": "1.0.1",
"version": "1.0.2",
"homepage": "https://next2d.app",
"bugs": "https://github.com/Next2D/framework-typescript-template/issues/new",
"author": "Toshiyuki Ienaga<ienaga@tvon.jp>",
Expand Down
28 changes: 14 additions & 14 deletions template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,26 +17,26 @@
"generate": "npx @next2d/view-generator"
},
"devDependencies": {
"@babel/core": "^7.22.5",
"@babel/preset-env": "^7.22.5",
"@capacitor/android": "^5.1.0",
"@capacitor/cli": "^5.1.0",
"@capacitor/core": "^5.1.0",
"@capacitor/ios": "^5.1.0",
"@babel/core": "^7.22.11",
"@babel/preset-env": "^7.22.14",
"@capacitor/android": "^5.3.0",
"@capacitor/cli": "^5.3.0",
"@capacitor/core": "^5.3.0",
"@capacitor/ios": "^5.3.0",
"@next2d/env": "^1.1.1",
"@next2d/framework": "^1.6.0",
"@next2d/framework": "^1.6.2",
"@next2d/webpack-typescript-auto-loader-plugin": "^1.0.1",
"@types/jest": "^29.5.2",
"@typescript-eslint/eslint-plugin": "^5.61.0",
"@typescript-eslint/parser": "^5.61.0",
"electron": "^25.2.0",
"eslint": "^8.44.0",
"@types/jest": "^29.5.4",
"@typescript-eslint/eslint-plugin": "^6.5.0",
"@typescript-eslint/parser": "^6.5.0",
"electron": "^26.1.0",
"eslint": "^8.48.0",
"eslint-webpack-plugin": "^4.0.1",
"ts-jest": "^29.1.1",
"ts-loader": "^9.4.4",
"ts-node": "^10.9.1",
"typescript": "^5.1.6",
"webpack": "^5.88.1",
"typescript": "^5.2.2",
"webpack": "^5.88.2",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^4.15.1"
}
Expand Down
8 changes: 2 additions & 6 deletions template/src/model/ui/component/atom/TextComponent.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import type {
TextField,
TextFormat
} from "@next2d/text";
import { TextField } from "@next2d/display";
import type { TextFormat } from "@next2d/text";

/**
* @class
Expand All @@ -22,8 +20,6 @@ export class TextComponent
format: any = null
): TextField {

const { TextField } = next2d.text;

const textField: TextField = new TextField();

if (props) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import { config } from "@/config/Config";
import { TextComponent } from "@/model/ui/component/atom/TextComponent";
import { response } from "@next2d/framework";
import type { TextField } from "@next2d/text";
import type { TextField } from "@next2d/display";
import type { HomeContent } from "@/model/application/content/HomeContent";

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { TextComponent } from "@/model/ui/component/atom/TextComponent";
import { response } from "@next2d/framework";
import { MouseEvent } from "@next2d/events";
import type { TopContent } from "@/model/application/content/TopContent";
import type { TextField } from "@next2d/text";
import type { TextField } from "@next2d/display";

/**
* @class
Expand Down