Skip to content

Commit 7e71e09

Browse files
committed
#16 設定ファイルを更新
1 parent 0b1a4c3 commit 7e71e09

File tree

7 files changed

+64
-7
lines changed

7 files changed

+64
-7
lines changed

.github/lint.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Lint
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
- develop
8+
pull_request:
9+
branches:
10+
- main
11+
- develop
12+
13+
jobs:
14+
macos-browser-test:
15+
runs-on: macos-latest
16+
steps:
17+
- uses: actions/checkout@v3
18+
- uses: actions/setup-node@v3
19+
- run: npm install
20+
- run: npm run lint
21+
22+
windows-browser-test:
23+
runs-on: windows-latest
24+
steps:
25+
- uses: actions/checkout@v3
26+
- uses: actions/setup-node@v3
27+
- run: npm install
28+
- run: npm run lint

.github/workflows/lint.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Lint
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
- develop
8+
pull_request:
9+
branches:
10+
- main
11+
- develop
12+
13+
jobs:
14+
macos-browser-test:
15+
runs-on: macos-latest
16+
steps:
17+
- uses: actions/checkout@v3
18+
- uses: actions/setup-node@v3
19+
- run: npm install
20+
- run: npx eslint ./template/src/**/*.ts
21+
22+
windows-browser-test:
23+
runs-on: windows-latest
24+
steps:
25+
- uses: actions/checkout@v3
26+
- uses: actions/setup-node@v3
27+
- run: npm install
28+
- run: npx eslint ./template/src/**/*.ts

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

template/.eslintrc.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,10 @@
77
"sourceType": "module",
88
"ecmaVersion": "latest"
99
},
10-
"extends": "plugin:@typescript-eslint/eslint-recommended",
10+
"extends": [
11+
"eslint:recommended",
12+
"plugin:@typescript-eslint/eslint-recommended"
13+
],
1114
"parser": "@typescript-eslint/parser",
1215
"rules": {
1316
"no-var": "error",

template/.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@ dist-ssr
2323
*.sln
2424
*.sw?
2525

26-
src/Packages.ts
27-
src/config/Config.ts
26+
src/Packages.*
27+
src/config/Config.*
2828
electron.index.json

template/package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"name": "@next2d/framework-typescript-template",
33
"version": "0.0.1",
44
"description": "Next2D Framework TypeScript template.",
5-
"main": "src/index.ts",
65
"type": "module",
76
"scripts": {
87
"start": "vite",
@@ -16,7 +15,6 @@
1615
"build:steam:linux": "npx @next2d/builder --platform steam:linux --env prd",
1716
"build:web": "npx @next2d/builder --platform web --env prd",
1817
"build": "npx @next2d/builder",
19-
"lint": "eslint src/**/*.ts",
2018
"test": "npx vitest",
2119
"generate": "npx @next2d/view-generator"
2220
},

template/src/model/domain/event/home/HomeButtonMouseDownEvent.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import type { Sprite } from "@next2d/display";
55
/**
66
* @description Home画面のキャラクターの移動開始処理
77
* Processes the start of character movement on the Home screen.
8-
*
8+
*
99
* @return {void}
1010
* @method
1111
* @public

0 commit comments

Comments
 (0)