Skip to content

Commit

Permalink
test: add run to vitest scripts; remove resolution-mode (#881)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcusrbrown authored Jan 20, 2025
1 parent 84b426c commit 747c824
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 7 deletions.
1 change: 0 additions & 1 deletion .npmrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
auto-install-peers = false
loglevel = warn
resolution-mode = time-based
save-prefix = ''
shamefully-hoist = true
shell-emulator = true
Expand Down
2 changes: 1 addition & 1 deletion packages/api-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"build": "tsup",
"lint:types": "tsc --noEmit",
"prepack": "pnpm run build",
"test": "vitest --coverage"
"test": "vitest run --coverage"
},
"dependencies": {
"@readme/oas-to-har": "24.0.5",
Expand Down
2 changes: 1 addition & 1 deletion packages/create/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"dev": "jiti src/cli.ts",
"prepack": "pnpm run build",
"start": "node dist/index.js",
"test": "vitest",
"test": "vitest run",
"test:coverage": "vitest run --coverage"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"dev": "eslint-config-inspector --config ./eslint.config.ts --open false",
"generate-types": "tsx ./scripts/generate-types.ts",
"prepack": "pnpm --filter-prod=\"{.}...\" --loglevel error run build",
"test": "pnpm --filter-prod=\"{.}...\" --loglevel error run build && vitest"
"test": "pnpm --filter-prod=\"{.}...\" --loglevel error run build && vitest run"
},
"dependencies": {
"@eslint-community/eslint-plugin-eslint-comments": "4.4.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/prettier-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"build": "tsup",
"postbuild": "prettier --config ./prettier.config.mjs --ignore-path .prettierignore --log-level warn --write .",
"prepack": "pnpm --filter-prod=\"{.}...\" --loglevel error run build",
"test": "pnpm --filter-prod=\"{.}...\" --loglevel error run build && vitest"
"test": "pnpm --filter-prod=\"{.}...\" --loglevel error run build && vitest run"
},
"dependencies": {
"@bfra.me/prettier-plugins": "workspace:*"
Expand Down
2 changes: 1 addition & 1 deletion packages/semantic-release/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"scripts": {
"build": "tsup-node",
"prepack": "pnpm run build",
"test": "pnpm build && vitest --typecheck"
"test": "pnpm build && vitest run --typecheck"
},
"devDependencies": {
"@bfra.me/semantic-release": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/tsconfig/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"tsconfig.json"
],
"scripts": {
"test": "vitest"
"test": "vitest run"
},
"devDependencies": {
"@bfra.me/tsconfig": "workspace:*",
Expand Down

0 comments on commit 747c824

Please sign in to comment.