File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed
Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 3838 " --extensionTestsPath=${workspaceFolder}/out/test/suite/index"
3939 ],
4040 "outFiles" : [" ${workspaceFolder}/out/test/**/*.js" ],
41- "preLaunchTask" : " npm: test- compile"
41+ "preLaunchTask" : " npm: compile:test "
4242 },
4343 {
4444 "name" : " Run Web Extension" ,
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ pnpm test
3434pnpm test:web
3535
3636# Compile tests only
37- pnpm test- compile
37+ pnpm compile:test
3838```
3939
4040## Running Tests
Original file line number Diff line number Diff line change @@ -35,11 +35,11 @@ Thank you for your interest in contributing to the Prettier VS Code extension! F
3535``` bash
3636pnpm install # Install dependencies
3737pnpm compile # Build for development (esbuild + type checking)
38+ pnpm compile:test # Compile tests only
3839pnpm watch # Build and watch for changes
3940pnpm lint # Run ESLint
4041pnpm prettier # Format code with Prettier
4142pnpm test # Run tests
42- pnpm test-compile # Compile tests only
4343```
4444
4545### Running the Extension
Original file line number Diff line number Diff line change 7474 "chrome" : " pnpm compile && vscode-test-web --browserType=chromium --extensionDevelopmentPath=. ." ,
7575 "compile" : " pnpm check-types && node esbuild.mjs" ,
7676 "lint" : " eslint src *.mjs scripts" ,
77- "pretest" : " pnpm test- compile && node scripts/install-fixtures.mjs" ,
77+ "pretest" : " pnpm compile:test && node scripts/install-fixtures.mjs" ,
7878 "prettier" : " prettier --write ." ,
7979 "release" : " node ./scripts/release.mjs" ,
80- "test:web" : " pnpm test- compile && node ./out/test/web/runTests.js" ,
80+ "test:web" : " pnpm compile:test && node ./out/test/web/runTests.js" ,
8181 "test" : " node ./out/test/runTests.js" ,
8282 "watch:esbuild" : " node esbuild.mjs --watch" ,
8383 "watch:tsc" : " tsc --noEmit --watch --project tsconfig.json" ,
You can’t perform that action at this time.
0 commit comments