Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
288f01d
#56 framework v4.0.0に合わせてサンプルのディレクトリ構成を変更
ienaga Dec 2, 2025
9340860
#56 framework v4.0.0に合わせてサンプルのディレクトリ構成を変更
ienaga Dec 2, 2025
282c096
#56 構成変更に合わせたREADMEを作成(WIP)
ienaga Dec 3, 2025
efb07a9
#56 mdファイルを更新
ienaga Dec 3, 2025
c55f367
#56 markdownを更新(WIP)
ienaga Dec 3, 2025
e2b9ecc
#56 markdownを更新(WIP)
ienaga Dec 3, 2025
fdca50f
#56 markdownを更新(WIP)
ienaga Dec 3, 2025
35b87ae
#56 markdownを更新(WIP)
ienaga Dec 3, 2025
9aa367a
#56 リファクタリング
ienaga Dec 3, 2025
b93c31e
#56 リファクタリング
ienaga Dec 3, 2025
6987c18
#56 AI実装に必要なmarkdownファイルを追加
ienaga Dec 3, 2025
ccc1a8d
#56 AI実装に必要なmarkdownファイルを追加
ienaga Dec 3, 2025
ce8277a
#56 AIが解析しやすいようmarkdownにmermaidを追加
ienaga Dec 3, 2025
9cd30a3
#56 ユニットテストを追加
ienaga Dec 3, 2025
9fef69b
#56 update README
ienaga Dec 3, 2025
3694a81
#56 update README
ienaga Dec 3, 2025
2f44885
#56 update README
ienaga Dec 3, 2025
8debb1c
#56 update README
ienaga Dec 4, 2025
4e72608
#56 update README
ienaga Dec 7, 2025
8cbfa5a
#56 update README
ienaga Dec 7, 2025
6b31ff0
#56 update README
ienaga Dec 7, 2025
458be29
#56 update README
ienaga Dec 7, 2025
36ab248
#56 frameworkの実装に合わせてテンプレートを修正
ienaga Dec 7, 2025
ab3ab49
#56 Lint対応
ienaga Dec 7, 2025
09b2083
#56 update github actions
ienaga Dec 7, 2025
9d5b8ed
#56 update github actions
ienaga Dec 7, 2025
95f3005
#56 update github actions
ienaga Dec 7, 2025
b64d272
#56 update github actions
ienaga Dec 7, 2025
3454cb0
#56 update github actions
ienaga Dec 7, 2025
188605a
#56 update packages
ienaga Dec 7, 2025
631bb23
#56 構造をv4.0.0 応 (WIP)
ienaga Jan 21, 2026
ab7cf0f
#57 View-ViewModelのルールに合わせてサンプルを変更
ienaga Jan 24, 2026
873bfc5
#56 *.mdを更新
ienaga Jan 24, 2026
1667615
#56 update packages
ienaga Feb 6, 2026
35d84d7
#56 AIのSkillsに向けたspecsを追加
ienaga Feb 6, 2026
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
29 changes: 18 additions & 11 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,14 @@ jobs:
contents: read
pull-requests: write
steps:
- uses: actions/checkout@v5
- uses: actions/setup-node@v5
- run: |
npm install
npx eslint ./src/**/*.ts
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: 24
registry-url: "https://registry.npmjs.org"
- run: npm install -D eslint-plugin-unused-imports
working-directory: ./template
- run: npx eslint ./src/**/*.ts
working-directory: ./template

windows-browser-test:
Expand All @@ -30,9 +33,13 @@ jobs:
contents: read
pull-requests: write
steps:
- uses: actions/checkout@v5
- uses: actions/setup-node@v5
- run: |
npm install
npx eslint ./src/**/*.ts
working-directory: ./template
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: 24
registry-url: "https://registry.npmjs.org"
- run: npm install -D eslint-plugin-unused-imports
working-directory: ./template
- run: npx eslint ./src/**/*.ts
working-directory: ./template

20 changes: 10 additions & 10 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,18 @@ on:
branches:
- main

permissions:
id-token: write
contents: read

jobs:
build:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
steps:
- uses: actions/checkout@v5
- uses: actions/setup-node@v5
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: "22.x"
node-version: 24
registry-url: "https://registry.npmjs.org"
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}
- run: npm install -g npm@latest
- run: npm publish
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": "3.2.7",
"version": "4.0.0",
"homepage": "https://next2d.app",
"bugs": "https://github.com/Next2D/framework-typescript-template/issues/new",
"author": "Toshiyuki Ienaga<ienaga@next2d.app>",
Expand Down
3 changes: 2 additions & 1 deletion template/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,5 @@ dist-ssr

src/Packages.ts
src/config/Config.ts
electron/resources
electron/resources
electron/package-lock.json
50 changes: 50 additions & 0 deletions template/@types/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# TypeScript Type Definitions

グローバルな型定義ファイルを格納するディレクトリです。

Directory for storing global TypeScript type definition files.

## 役割 / Role

このディレクトリには、TypeScriptコンパイラに認識させるグローバルな型定義を配置します。

This directory contains global type definitions to be recognized by the TypeScript compiler.

## ファイル / Files

### window.d.ts

グローバルな `Window` インターフェースの拡張定義を行います。

Extends the global `Window` interface.

```typescript
// 例: グローバル変数の型定義
// Example: Type definition for global variables
declare global {
interface Window {
customProperty: string;
}
}
```

## 使用方法 / Usage

1. このディレクトリに `.d.ts` ファイルを配置します
2. `tsconfig.json` の `include` または `typeRoots` に含まれていることを確認します

1. Place `.d.ts` files in this directory
2. Ensure it's included in `tsconfig.json`'s `include` or `typeRoots`

## 注意事項 / Notes

- アプリケーション固有のインターフェースは `src/interface/` に配置してください
- このディレクトリはグローバルスコープの型拡張にのみ使用します

- Place application-specific interfaces in `src/interface/`
- Use this directory only for global scope type extensions

## 関連ドキュメント / Related Documentation

- [interface/README.md](../src/interface/README.md) - アプリケーション固有のインターフェース
- [tsconfig.json](../tsconfig.json) - TypeScript設定
Loading
Loading