Skip to content

Commit

Permalink
Merge pull request #17 from Next2D/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
ienaga authored Nov 11, 2023
2 parents c1a0056 + 4d07367 commit acb1747
Show file tree
Hide file tree
Showing 7 changed files with 36 additions and 13 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Lint

on:
push:
branches:
- main
- develop
pull_request:
branches:
- main
- develop

jobs:
macos-browser-test:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- run: cd template && npm install && npx eslint ./src/**/*.ts

windows-browser-test:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- run: cd template && npm install && npx eslint ./src/**/*.ts
1 change: 0 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "18.x"
registry-url: "https://registry.npmjs.org"
- run: npm publish --access public
env:
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": "2.0.0",
"version": "2.0.1",
"homepage": "https://next2d.app",
"bugs": "https://github.com/Next2D/framework-typescript-template/issues/new",
"author": "Toshiyuki Ienaga<[email protected]>",
Expand Down
5 changes: 4 additions & 1 deletion template/.eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@
"sourceType": "module",
"ecmaVersion": "latest"
},
"extends": "plugin:@typescript-eslint/eslint-recommended",
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended"
],
"parser": "@typescript-eslint/parser",
"rules": {
"no-var": "error",
Expand Down
7 changes: 3 additions & 4 deletions template/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ dist-ssr
*.sln
*.sw?

src/Packages.ts
src/config/Config.ts
electron.index.json
out/
src/Packages.*
src/config/Config.*
electron.index.json
6 changes: 1 addition & 5 deletions template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"name": "@next2d/framework-typescript-template",
"version": "0.0.1",
"description": "Next2D Framework TypeScript template.",
"main": "src/index.ts",
"type": "module",
"scripts": {
"start": "vite",
Expand All @@ -16,11 +15,8 @@
"build:steam:linux": "npx @next2d/builder --platform steam:linux --env prd",
"build:web": "npx @next2d/builder --platform web --env prd",
"build": "npx @next2d/builder",
"lint": "eslint src/**/*.ts",
"test": "npx vitest",
"generate": "npx @next2d/view-generator",
"package": "electron-forge package",
"make": "electron-forge make"
"generate": "npx @next2d/view-generator"
},
"devDependencies": {
"@capacitor/android": "^5.5.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import type { Sprite } from "@next2d/display";
/**
* @description Home画面のキャラクターの移動開始処理
* Processes the start of character movement on the Home screen.
*
*
* @return {void}
* @method
* @public
Expand Down

0 comments on commit acb1747

Please sign in to comment.