Skip to content

Commit 9c005ee

Browse files
authored
Merge pull request #38 from Next2D/develop
Framework v3の受け入れ
2 parents c17568b + 2fb821b commit 9c005ee

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+576
-498
lines changed

.gitattributes

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
*.js text eol=lf
1+
*.js text eol=lf
2+
*.ts text eol=lf

.github/workflows/codeql-analysis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,11 @@ jobs:
4040

4141
steps:
4242
- name: Checkout repository
43-
uses: actions/checkout@v3
43+
uses: actions/checkout@v4
4444

4545
# Initializes the CodeQL tools for scanning.
4646
- name: Initialize CodeQL
47-
uses: github/codeql-action/init@v2
47+
uses: github/codeql-action/init@v3
4848
with:
4949
languages: ${{ matrix.language }}
5050
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -55,7 +55,7 @@ jobs:
5555
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
5656
# If this step fails, then you should remove it and run the build manually (see below)
5757
- name: Autobuild
58-
uses: github/codeql-action/autobuild@v2
58+
uses: github/codeql-action/autobuild@v3
5959

6060
# ℹ️ Command-line programs to run using the OS shell.
6161
# 📚 https://git.io/JvXDl
@@ -69,4 +69,4 @@ jobs:
6969
# make release
7070

7171
- name: Perform CodeQL Analysis
72-
uses: github/codeql-action/analyze@v2
72+
uses: github/codeql-action/analyze@v3

.github/workflows/lint.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ jobs:
1414
macos-browser-test:
1515
runs-on: macos-latest
1616
steps:
17-
- uses: actions/checkout@v3
18-
- uses: actions/setup-node@v3
17+
- uses: actions/checkout@v4
18+
- uses: actions/setup-node@v4
1919
- run: |
2020
npm install
2121
npx eslint ./src/**/*.ts
@@ -24,8 +24,8 @@ jobs:
2424
windows-browser-test:
2525
runs-on: windows-latest
2626
steps:
27-
- uses: actions/checkout@v3
28-
- uses: actions/setup-node@v3
27+
- uses: actions/checkout@v4
28+
- uses: actions/setup-node@v4
2929
- run: |
3030
npm install
3131
npx eslint ./src/**/*.ts

.github/workflows/publish.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,16 @@ name: Publish Package
33
on:
44
push:
55
branches:
6-
- publish
6+
- main
77

88
jobs:
99
build:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v3
13-
- uses: actions/setup-node@v3
12+
- uses: actions/checkout@v4
13+
- uses: actions/setup-node@v4
1414
with:
15+
node-version: "22.x"
1516
registry-url: "https://registry.npmjs.org"
1617
- run: npm publish --access public
1718
env:

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.9",
4+
"version": "2.1.0",
55
"homepage": "https://next2d.app",
66
"bugs": "https://github.com/Next2D/framework-typescript-template/issues/new",
77
"author": "Toshiyuki Ienaga<[email protected]>",

template.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
{
22
"package": {
3-
"dependencies": {
3+
"devDependencies": {
44
"@typescript-eslint/eslint-plugin": "*",
55
"@typescript-eslint/parser": "*",
6+
"@eslint/eslintrc": "*",
7+
"@eslint/js": "*",
68
"typescript": "*",
7-
"eslint": "*"
9+
"eslint": "*",
10+
"eslint-plugin-unused-imports": "*"
811
}
912
}
1013
}

template/.eslintignore

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

template/.eslintrc.json

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

template/.gitattributes

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
*.js text eol=lf
1+
*.js text eol=lf
2+
*.ts text eol=lf

template/@types/window.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Next2D } from "@next2d/core";
1+
import type { Next2D } from "@next2d/core";
22

33
declare global {
44

0 commit comments

Comments
 (0)