Skip to content

Commit 70a6127

Browse files
committed
tweek settings
1 parent c6f5ffb commit 70a6127

2 files changed

Lines changed: 35 additions & 28 deletions

File tree

‎.claude/settings.json‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"permissions": {
3+
"allow": [
4+
"Bash(resources/TaskbarHelper:*)"
5+
]
6+
}
7+
}

‎.mise.toml‎

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,92 +1,92 @@
11
[tools]
2-
node = "20.10.0"
32
bun = "latest"
3+
node = "20.10.0"
44

55
[env]
66
NODE_ENV = "development"
77

88
[tasks.dev]
9-
run = "cp nativeSrc/DerivedData/taskbar.helper/Build/Products/Release/taskbar.helper resources/TaskbarHelper & npx electron-vite dev"
109
description = "開発サーバーを起動"
10+
run = "cp nativeSrc/DerivedData/taskbar.helper/Build/Products/Release/taskbar.helper resources/TaskbarHelper & npx electron-vite dev"
1111

1212
[tasks.build]
13-
run = "cp nativeSrc/DerivedData/taskbar.helper/Build/Products/Release/taskbar.helper resources/TaskbarHelper && npx electron-vite build"
1413
description = "アプリケーションをビルド"
14+
run = "cp nativeSrc/DerivedData/taskbar.helper/Build/Products/Release/taskbar.helper resources/TaskbarHelper && npx electron-vite build"
1515

1616
[tasks.swiftbuild]
17-
run = "xcodebuild -project nativeSrc/taskbar.helper.xcodeproj -scheme taskbar.helper -configuration Release build && cp nativeSrc/DerivedData/taskbar.helper/Build/Products/Release/taskbar.helper resources/TaskbarHelper"
1817
description = "Swiftヘルパーをビルド"
18+
run = "xcodebuild -project nativeSrc/taskbar.helper.xcodeproj -scheme taskbar.helper -configuration Release build && echo [COPY]binary copry to resouces && cp nativeSrc/DerivedData/taskbar.helper/Build/Products/Release/taskbar.helper resources/TaskbarHelper"
1919

2020
[tasks."build:mac"]
21-
run = "mise run build && npx electron-builder --mac --universal"
2221
description = "macOSユニバーサルバイナリをビルド"
22+
run = "mise run build && npx electron-builder --mac --universal"
2323

2424
[tasks."install-app"]
25-
run = "rm -rf /Applications/taskbar.fm.app && cp -a dist/mac-universal/taskbar.fm.app /Applications/taskbar.fm.app"
2625
description = "アプリをApplicationsフォルダにインストール"
26+
run = "rm -rf /Applications/taskbar.fm.app && cp -a dist/mac-universal/taskbar.fm.app /Applications/taskbar.fm.app"
2727

2828
[tasks.helper]
29-
run = "open nativeSrc/taskbar.helper.xcodeproj/project.xcworkspace"
3029
description = "Xcodeヘルパープロジェクトを開く"
30+
run = "open nativeSrc/taskbar.helper.xcodeproj/project.xcworkspace"
3131

3232
[tasks.format]
33-
run = "bun prettier --write '**/*.{js,ts,vue,html,css}'"
3433
description = "Prettierでコードをフォーマット"
34+
run = "bun prettier --write '**/*.{js,ts,vue,html,css}'"
3535

3636
[tasks.lint]
37-
run = "bun eslint . --ext .js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mjs,.vue"
3837
description = "ESLintでコードをリント"
38+
run = "bun eslint . --ext .js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mjs,.vue"
3939

4040
[tasks.typecheck]
41-
run = ["mise typecheck:node", "mise typecheck:web"]
4241
description = "TypeScriptの型チェックを実行"
42+
run = ["mise typecheck:node", "mise typecheck:web"]
4343

4444
[tasks."typecheck:node"]
45-
run = "npx tsc --noEmit -p src/main/tsconfig.node.json --composite false"
4645
description = "メインプロセスの型チェックを実行"
46+
run = "npx tsc --noEmit -p src/main/tsconfig.node.json --composite false"
4747

4848
[tasks."typecheck:web"]
49-
run = "npx vue-tsc --noEmit -p src/renderer/tsconfig.web.json --composite false"
5049
description = "レンダラープロセスの型チェックを実行"
50+
run = "npx vue-tsc --noEmit -p src/renderer/tsconfig.web.json --composite false"
5151

5252
[tasks.test]
53-
run = "npx vitest tests/"
54-
dir = "src/main"
5553
description = "メインプロセスのテストを実行"
54+
dir = "src/main"
55+
run = "npx vitest tests/"
5656

5757
[tasks."test:renderer"]
58-
run = "npx vitest src/renderer/tests/"
59-
dir = "src/renderer"
6058
description = "レンダラープロセスのテストを実行"
59+
dir = "src/renderer"
60+
run = "npx vitest src/renderer/tests/"
6161

6262
[tasks."test:all"]
63-
run = ["mise run test", "mise run test:renderer"]
6463
description = "すべてのテストを実行"
64+
run = ["mise run test", "mise run test:renderer"]
6565

6666
[tasks."test:ui"]
67-
run = "npm run test:ui"
68-
dir = "src/main"
6967
description = "メインプロセスのテストをUI付きで実行"
68+
dir = "src/main"
69+
run = "npm run test:ui"
7070

7171
[tasks."test:ui:renderer"]
72-
run = "npm run test:ui"
73-
dir = "src/renderer"
7472
description = "レンダラープロセスのテストをUI付きで実行"
73+
dir = "src/renderer"
74+
run = "npm run test:ui"
7575

7676
[tasks."test:coverage"]
77-
run = "npm run test:coverage"
78-
dir = "src/main"
7977
description = "メインプロセスのテストをカバレッジ付きで実行"
78+
dir = "src/main"
79+
run = "npm run test:coverage"
8080

8181
[tasks."test:coverage:renderer"]
82-
run = "npm run test:coverage"
83-
dir = "src/renderer"
8482
description = "レンダラープロセスのテストをカバレッジ付きで実行"
83+
dir = "src/renderer"
84+
run = "npm run test:coverage"
8585

8686
[tasks."test:swift"]
87-
run = "swift test"
88-
dir = "nativeSrc"
8987
description = "Swiftヘルパーの単体テストを実行"
88+
dir = "nativeSrc"
89+
run = "swift test"
9090

9191
[tasks."afterSign"]
92-
run = "node scripts/notarize.js"
92+
run = "node scripts/notarize.js"

0 commit comments

Comments
 (0)