Skip to content

Commit 3982e3b

Browse files
authored
Merge pull request #53 from Next2D/develop
develop
2 parents 183189d + 9ea6008 commit 3982e3b

File tree

8 files changed

+38
-103
lines changed

8 files changed

+38
-103
lines changed

.github/workflows/codeql-analysis.yml

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

.github/workflows/lint.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,25 @@ on:
1313
jobs:
1414
macos-browser-test:
1515
runs-on: macos-latest
16+
permissions:
17+
contents: read
18+
pull-requests: write
1619
steps:
17-
- uses: actions/checkout@v4
18-
- uses: actions/setup-node@v4
20+
- uses: actions/checkout@v5
21+
- uses: actions/setup-node@v5
1922
- run: |
2023
npm install
2124
npx eslint ./src/**/*.ts
2225
working-directory: ./template
2326
2427
windows-browser-test:
2528
runs-on: windows-latest
29+
permissions:
30+
contents: read
31+
pull-requests: write
2632
steps:
27-
- uses: actions/checkout@v4
28-
- uses: actions/setup-node@v4
33+
- uses: actions/checkout@v5
34+
- uses: actions/setup-node@v5
2935
- run: |
3036
npm install
3137
npx eslint ./src/**/*.ts

.github/workflows/publish.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,12 @@ on:
88
jobs:
99
build:
1010
runs-on: ubuntu-latest
11+
permissions:
12+
contents: read
13+
pull-requests: write
1114
steps:
12-
- uses: actions/checkout@v4
13-
- uses: actions/setup-node@v4
15+
- uses: actions/checkout@v5
16+
- uses: actions/setup-node@v5
1417
with:
1518
node-version: "22.x"
1619
registry-url: "https://registry.npmjs.org"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Next2D Framework TypeScript Template
22
=============
33

4-
[![CodeQL](https://github.com/Next2D/framework-typescript-template/actions/workflows/codeql-analysis.yml/badge.svg?branch=main)](https://github.com/Next2D/framework-typescript-template/actions/workflows/codeql-analysis.yml)
4+
[![CodeQL](https://github.com/Next2D/framework-typescript-template/actions/workflows/github-code-scanning/codeql/badge.svg?branch=main)](https://github.com/Next2D/framework-typescript-template/actions/workflows/github-code-scanning/codeql)
55
[![release](https://img.shields.io/github/v/release/Next2D/framework-typescript-template)](https://github.com/Next2D/framework-typescript-template/releases)
66
[![license](https://img.shields.io/github/license/Next2D/framework-typescript-template)](https://github.com/Next2D/framework-typescript-template/blob/main/LICENSE)
77

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

template/package.json

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -19,24 +19,25 @@
1919
"generate": "npx @next2d/view-generator"
2020
},
2121
"devDependencies": {
22-
"@capacitor/android": "^7.4.3",
23-
"@capacitor/cli": "^7.4.3",
24-
"@capacitor/core": "^7.4.3",
25-
"@capacitor/ios": "^7.4.3",
22+
"@capacitor/android": "^7.4.4",
23+
"@capacitor/cli": "^7.4.4",
24+
"@capacitor/core": "^7.4.4",
25+
"@capacitor/ios": "^7.4.4",
2626
"@eslint/eslintrc": "^3.3.1",
27-
"@eslint/js": "^9.36.0",
28-
"@next2d/vite-plugin-next2d-auto-loader": "^3.1.7",
29-
"@types/node": "^24.6.2",
30-
"@typescript-eslint/eslint-plugin": "^8.45.0",
31-
"@typescript-eslint/parser": "^8.45.0",
32-
"@vitest/web-worker": "^3.2.4",
33-
"eslint": "^9.36.0",
34-
"eslint-plugin-unused-imports": "^4.2.0",
27+
"@eslint/js": "^9.39.0",
28+
"@next2d/vite-plugin-next2d-auto-loader": "^3.1.9",
29+
"@types/node": "^24.9.2",
30+
"@typescript-eslint/eslint-plugin": "^8.46.2",
31+
"@typescript-eslint/parser": "^8.46.2",
32+
"@vitest/web-worker": "^4.0.6",
33+
"eslint": "^9.39.0",
34+
"eslint-plugin-unused-imports": "^4.3.0",
3535
"globals": "^16.4.0",
36-
"jsdom": "^27.0.0",
36+
"jsdom": "^27.1.0",
3737
"typescript": "^5.9.3",
38-
"vite": "^7.1.8",
39-
"vitest": "^3.2.4",
38+
"vite": "^7.1.12",
39+
"vite-tsconfig-paths": "^5.1.4",
40+
"vitest": "^4.0.6",
4041
"vitest-webgl-canvas-mock": "^1.1.0"
4142
},
4243
"peerDependencies": {

template/tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"module": "ESNext",
66
"lib": ["ES2020", "DOM", "DOM.Iterable"],
77
"skipLibCheck": true,
8+
"ignoreDeprecations": "6.0",
89

910
/* Bundler mode */
1011
"moduleResolution": "Bundler",
@@ -26,7 +27,7 @@
2627
"esModuleInterop": true,
2728
"baseUrl": "./src",
2829
"paths": {
29-
"@/*": ["*"],
30+
"@/*": ["*"]
3031
}
3132
},
3233
"include": [

template/vite.config.ts

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/// <reference types="vitest" />
22

3-
import { defineConfig } from "vite";
4-
import path from "path";
3+
import { defineConfig } from "vitest/config";
4+
import tsconfigPaths from "vite-tsconfig-paths";
55
import autoLoader from "@next2d/vite-plugin-next2d-auto-loader";
66

77
export default defineConfig({
@@ -19,6 +19,7 @@ export default defineConfig({
1919
}
2020
},
2121
"plugins": [
22+
tsconfigPaths(),
2223
autoLoader()
2324
],
2425
"server": {
@@ -35,11 +36,6 @@ export default defineConfig({
3536
}
3637
}
3738
},
38-
"resolve": {
39-
"alias": {
40-
"@": path.resolve(process.cwd(), "./src")
41-
}
42-
},
4339
"test": {
4440
"globals": true,
4541
"environment": "jsdom",

0 commit comments

Comments
 (0)