File tree Expand file tree Collapse file tree 8 files changed +14
-8
lines changed Expand file tree Collapse file tree 8 files changed +14
-8
lines changed Original file line number Diff line number Diff line change 77
88# Detect if running on Windows and use pnpm.cmd, otherwise use pnpm.
99if [ "$OS" = "Windows_NT" ]; then
10- pnpm_cmd="pnpm.cmd"
10+ if command -v pnpm.cmd >/dev/null 2>&1; then
11+ pnpm_cmd="pnpm.cmd"
12+ elif command -v pnpm >/dev/null 2>&1; then
13+ pnpm_cmd="pnpm"
14+ else
15+ pnpm_cmd="npx pnpm"
16+ fi
1117else
1218 if command -v pnpm >/dev/null 2>&1; then
1319 pnpm_cmd="pnpm"
Original file line number Diff line number Diff line change 22 "name" : " @roo-code/vscode-e2e" ,
33 "private" : true ,
44 "scripts" : {
5- "lint" : " eslint src --ext=ts -- max-warnings=0" ,
5+ "lint" : " eslint src --max-warnings=0" ,
66 "check-types" : " tsc -p tsconfig.esm.json --noEmit" ,
77 "format" : " prettier --write src" ,
88 "test:ci" : " pnpm -w bundle && pnpm --filter @roo-code/vscode-webview build && pnpm test:run" ,
Original file line number Diff line number Diff line change 66 "main" : " ./dist/index.js" ,
77 "types" : " ./src/index.ts" ,
88 "scripts" : {
9- "lint" : " eslint src --ext=ts -- max-warnings=0" ,
9+ "lint" : " eslint src --max-warnings=0" ,
1010 "check-types" : " tsc --noEmit" ,
1111 "test" : " vitest run" ,
1212 "build" : " tsc" ,
Original file line number Diff line number Diff line change 55 "type" : " module" ,
66 "exports" : " ./src/index.ts" ,
77 "scripts" : {
8- "lint" : " eslint src --ext=ts -- max-warnings=0" ,
8+ "lint" : " eslint src --max-warnings=0" ,
99 "check-types" : " tsc --noEmit" ,
1010 "test" : " vitest run" ,
1111 "clean" : " rimraf dist .turbo"
Original file line number Diff line number Diff line change 55 "type" : " module" ,
66 "exports" : " ./src/index.ts" ,
77 "scripts" : {
8- "lint" : " eslint src --ext=ts -- max-warnings=0" ,
8+ "lint" : " eslint src --max-warnings=0" ,
99 "check-types" : " tsc --noEmit" ,
1010 "test" : " vitest run" ,
1111 "clean" : " rimraf dist .turbo"
Original file line number Diff line number Diff line change 1414 }
1515 },
1616 "scripts" : {
17- "lint" : " eslint src --ext=ts -- max-warnings=0" ,
17+ "lint" : " eslint src --max-warnings=0" ,
1818 "check-types" : " tsc --noEmit" ,
1919 "test" : " vitest run" ,
2020 "build" : " tsup" ,
Original file line number Diff line number Diff line change 339339 }
340340 },
341341 "scripts" : {
342- "lint" : " eslint . --ext=ts -- max-warnings=0" ,
342+ "lint" : " eslint . --max-warnings=0" ,
343343 "check-types" : " tsc --noEmit" ,
344344 "pretest" : " turbo run bundle --cwd .." ,
345345 "test" : " jest -w=40% && vitest run" ,
Original file line number Diff line number Diff line change 33 "private" : true ,
44 "type" : " module" ,
55 "scripts" : {
6- "lint" : " eslint src --ext=ts,tsx -- max-warnings=0" ,
6+ "lint" : " eslint src --max-warnings=0" ,
77 "check-types" : " tsc" ,
88 "pretest" : " turbo run bundle --cwd .." ,
99 "test" : " jest -w=40%" ,
You can’t perform that action at this time.
0 commit comments