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
4 changes: 1 addition & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,18 @@ name: Lint
on:
push:
branches:
- main
- develop
pull_request:
branches:
- main
- develop
workflow_call:

jobs:
macos-browser-test:
runs-on: macos-latest
permissions:
contents: read
pull-requests: write
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
Expand All @@ -31,7 +30,6 @@ jobs:
runs-on: windows-latest
permissions:
contents: read
pull-requests: write
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,16 @@ permissions:
contents: read

jobs:
lint:
uses: ./.github/workflows/lint.yml

publish:
needs: [lint]
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
Copy link

Copilot AI Mar 1, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pull-requests: write is newly granted to the publish job, but this workflow only triggers on push to main and the steps shown don’t interact with PRs. Please drop this permission (or justify it with an actual PR-writing step) to avoid granting unnecessary write access.

Suggested change
pull-requests: write

Copilot uses AI. Check for mistakes.
id-token: write
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
Expand Down
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": "4.0.0",
"version": "4.0.1",
"homepage": "https://next2d.app",
"bugs": "https://github.com/Next2D/framework-typescript-template/issues/new",
"author": "Toshiyuki Ienaga<ienaga@next2d.app>",
Expand Down
30 changes: 15 additions & 15 deletions template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,24 +23,24 @@
"generate": "npx @next2d/view-generator"
},
"devDependencies": {
"@capacitor/android": "^8.0.2",
"@capacitor/cli": "^8.0.2",
"@capacitor/core": "^8.0.2",
"@capacitor/ios": "^8.0.2",
"@eslint/eslintrc": "^3.3.3",
"@eslint/js": "^9.39.2",
"@next2d/vite-plugin-next2d-auto-loader": "^3.1.12",
"@types/node": "^25.2.0",
"@typescript-eslint/eslint-plugin": "^8.54.0",
"@typescript-eslint/parser": "^8.54.0",
"@capacitor/android": "^8.1.0",
"@capacitor/cli": "^8.1.0",
"@capacitor/core": "^8.1.0",
"@capacitor/ios": "^8.1.0",
"@eslint/eslintrc": "^3.3.4",
"@eslint/js": "^10.0.1",
"@next2d/vite-plugin-next2d-auto-loader": "^3.1.13",
"@types/node": "^25.3.3",
"@typescript-eslint/eslint-plugin": "^8.56.1",
"@typescript-eslint/parser": "^8.56.1",
"@vitest/web-worker": "^4.0.18",
"eslint": "^9.39.2",
"eslint-plugin-unused-imports": "^4.3.0",
"globals": "^17.3.0",
"jsdom": "^28.0.0",
"eslint": "^10.0.2",
"eslint-plugin-unused-imports": "^4.4.1",
"globals": "^17.4.0",
"jsdom": "^28.1.0",
"typescript": "^5.9.3",
"vite": "^7.3.1",
"vite-tsconfig-paths": "^6.0.5",
"vite-tsconfig-paths": "^6.1.1",
"vitest": "^4.0.18",
"vitest-webgl-canvas-mock": "^1.1.0"
},
Expand Down