Skip to content

Commit acb1747

Browse files
authored
Merge pull request #17 from Next2D/develop
Develop
2 parents c1a0056 + 4d07367 commit acb1747

File tree

7 files changed

+36
-13
lines changed

7 files changed

+36
-13
lines changed

.github/workflows/lint.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
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: cd template && npm install && npx eslint ./src/**/*.ts
20+
21+
windows-browser-test:
22+
runs-on: windows-latest
23+
steps:
24+
- uses: actions/checkout@v3
25+
- uses: actions/setup-node@v3
26+
- run: cd template && npm install && npx eslint ./src/**/*.ts

.github/workflows/publish.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ jobs:
1212
- uses: actions/checkout@v3
1313
- uses: actions/setup-node@v3
1414
with:
15-
node-version: "18.x"
1615
registry-url: "https://registry.npmjs.org"
1716
- run: npm publish --access public
1817
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.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<[email protected]>",

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: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ dist-ssr
2323
*.sln
2424
*.sw?
2525

26-
src/Packages.ts
27-
src/config/Config.ts
28-
electron.index.json
29-
out/
26+
src/Packages.*
27+
src/config/Config.*
28+
electron.index.json

template/package.json

Lines changed: 1 addition & 5 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,11 +15,8 @@
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",
21-
"generate": "npx @next2d/view-generator",
22-
"package": "electron-forge package",
23-
"make": "electron-forge make"
19+
"generate": "npx @next2d/view-generator"
2420
},
2521
"devDependencies": {
2622
"@capacitor/android": "^5.5.1",

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)