Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: add run to vitest scripts; remove resolution-mode #881

Merged
merged 1 commit into from
Jan 20, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading