11[tools ]
2- node = " 20.10.0"
32bun = " latest"
3+ node = " 20.10.0"
44
55[env ]
66NODE_ENV = " development"
77
88[tasks .dev ]
9- run = " cp nativeSrc/DerivedData/taskbar.helper/Build/Products/Release/taskbar.helper resources/TaskbarHelper & npx electron-vite dev"
109description = " 開発サーバーを起動"
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"
1413description = " アプリケーションをビルド"
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"
1817description = " 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"
2221description = " 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"
2625description = " アプリを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"
3029description = " Xcodeヘルパープロジェクトを開く"
30+ run = " open nativeSrc/taskbar.helper.xcodeproj/project.xcworkspace"
3131
3232[tasks .format ]
33- run = " bun prettier --write '**/*.{js,ts,vue,html,css}'"
3433description = " 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"
3837description = " 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" ]
4241description = " 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"
4645description = " メインプロセスの型チェックを実行"
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"
5049description = " レンダラープロセスの型チェックを実行"
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"
5553description = " メインプロセスのテストを実行"
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"
6058description = " レンダラープロセスのテストを実行"
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" ]
6463description = " すべてのテストを実行"
64+ run = [" mise run test" , " mise run test:renderer" ]
6565
6666[tasks ."test:ui" ]
67- run = " npm run test:ui"
68- dir = " src/main"
6967description = " メインプロセスのテストを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"
7472description = " レンダラープロセスのテストを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"
7977description = " メインプロセスのテストをカバレッジ付きで実行"
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"
8482description = " レンダラープロセスのテストをカバレッジ付きで実行"
83+ dir = " src/renderer"
84+ run = " npm run test:coverage"
8585
8686[tasks ."test:swift" ]
87- run = " swift test"
88- dir = " nativeSrc"
8987description = " 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