Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 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
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
- name: npm install and test
run: |
npm install
npm test
npm run test:unit
env:
CI: true

Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"private": true,
"type": "module",
"scripts": {
"test": "npm test --workspaces --if-present",
"build": "node scripts/build.js",
"build:new-pkg": "node tools/new-pkg.js",
"prepare": "npm run build",
Expand All @@ -14,8 +13,10 @@
"lint:unused": "knip",
"fmt": "prettier --write .",
"fmt:check": "prettier --check .",
"test": "npm test --workspaces --if-present",
"test:jsr": "npm run test:jsr --workspaces --if-present",
"test:types": "tsc && npm run test:types --workspaces --if-present"
"test:types": "tsc && npm run test:types --workspaces --if-present",
"test:unit": "npm run test:unit --workspaces --if-present"
},
"workspaces": [
"packages/*"
Expand Down
8 changes: 5 additions & 3 deletions packages/compat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,11 @@
"build:cts": "node ../../tools/build-cts.js dist/esm/index.d.ts dist/cjs/index.d.cts",
"build": "rollup -c && tsc -p tsconfig.esm.json && npm run build:cts",
"lint:types": "attw --pack",
"test": "mocha \"tests/**/*.test.js\"",
"test:coverage": "c8 npm test",
"test:jsr": "npx -y jsr@latest publish --dry-run"
"pretest": "npm run build",
"test": "npm run test:unit",
"test:coverage": "npm run build && c8 npm run test:unit",
"test:jsr": "npx -y jsr@latest publish --dry-run",
"test:unit": "mocha \"tests/**/*.test.js\""
},
"repository": {
"type": "git",
Expand Down
7 changes: 4 additions & 3 deletions packages/config-array/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,11 @@
"build": "rollup -c && npm run build:dedupe-types && tsc -p tsconfig.esm.json && npm run build:cts && npm run build:std__path",
"lint:types": "attw --pack",
"pretest": "npm run build",
"test": "mocha \"tests/**/*.test.js\"",
"test:coverage": "c8 npm test",
"test": "npm run test:types && npm run test:unit",
"test:coverage": "npm run build && c8 npm run test:unit",
"test:jsr": "npx -y jsr@latest publish --dry-run",
"test:types": "tsc -p tests/types/tsconfig.json"
"test:types": "tsc -p tests/types/tsconfig.json",
"test:unit": "mocha \"tests/**/*.test.js\""
},
"keywords": [
"configuration",
Expand Down
8 changes: 5 additions & 3 deletions packages/config-helpers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,13 @@
"build:cts": "node ../../tools/build-cts.js dist/esm/index.d.ts dist/cjs/index.d.cts",
"build": "rollup -c && npm run build:dedupe-types && tsc -p tsconfig.esm.json && npm run build:cts",
"lint:types": "attw --pack",
"test": "mocha \"tests/**/*.test.js\"",
"test:coverage": "c8 npm test",
"pretest": "npm run build",
"test": "npm run test:types && npm run test:unit",
"test:coverage": "npm run build && c8 npm run test:unit",
"test:jsr": "npx -y jsr@latest publish --dry-run",
"test:pnpm": "cd tests/pnpm && pnpm install && pnpm exec tsc",
"test:types": "tsc -p tests/types/tsconfig.json"
"test:types": "tsc -p tests/types/tsconfig.json",
"test:unit": "mocha \"tests/**/*.test.js\""
},
"repository": {
"type": "git",
Expand Down
2 changes: 2 additions & 0 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
"build:cts": "node -e \"fs.cpSync('dist/esm/types.d.ts', 'dist/cjs/types.d.cts')\"",
"build": "tsc && npm run build:cts",
"lint:types": "attw --pack",
"pretest": "npm run build",
"test": "npm run test:types",
"test:jsr": "npx -y jsr@latest publish --dry-run",
"test:types": "tsc -p tests/types/tsconfig.json"
},
Expand Down
6 changes: 4 additions & 2 deletions packages/mcp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@
},
"scripts": {
"build": "tsc",
"test": "mocha \"tests/**/*.test.js\"",
"test:coverage": "c8 npm test"
"pretest": "npm run build",
"test": "npm run test:unit",
"test:coverage": "npm run build && c8 npm run test:unit",
"test:unit": "mocha \"tests/**/*.test.js\""
},
"repository": {
"type": "git",
Expand Down
5 changes: 3 additions & 2 deletions packages/migrate-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@
"test": "tests"
},
"scripts": {
"test": "mocha \"tests/**/*.test.js\"",
"test:coverage": "c8 npm test"
"test": "npm run test:unit",
"test:coverage": "c8 npm run test:unit",
"test:unit": "mocha \"tests/**/*.test.js\""
},
"repository": {
"type": "git",
Expand Down
8 changes: 5 additions & 3 deletions packages/object-schema/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,12 @@
"build:cts": "node ../../tools/build-cts.js dist/esm/index.d.ts dist/cjs/index.d.cts",
"build": "rollup -c && npm run build:dedupe-types && tsc -p tsconfig.esm.json && npm run build:cts",
"lint:types": "attw --pack",
"test": "mocha \"tests/**/*.test.js\"",
"test:coverage": "c8 npm test",
"pretest": "npm run build",
"test": "npm run test:types && npm run test:unit",
"test:coverage": "npm run build && c8 npm run test:unit",
"test:jsr": "npx -y jsr@latest publish --dry-run",
"test:types": "tsc -p tests/types/tsconfig.json"
"test:types": "tsc -p tests/types/tsconfig.json",
"test:unit": "mocha \"tests/**/*.test.js\""
},
"repository": {
"type": "git",
Expand Down
7 changes: 4 additions & 3 deletions packages/plugin-kit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,11 @@
"build": "rollup -c && npm run build:dedupe-types && tsc -p tsconfig.esm.json && npm run build:cts",
"lint:types": "attw --pack",
"pretest": "npm run build",
"test": "mocha \"tests/**/*.test.js\"",
"test:coverage": "c8 npm test",
"test": "npm run test:types && npm run test:unit",
"test:coverage": "npm run build && c8 npm run test:unit",
"test:jsr": "npx -y jsr@latest publish --dry-run",
"test:types": "tsc -p tests/types/tsconfig.json"
"test:types": "tsc -p tests/types/tsconfig.json",
"test:unit": "mocha \"tests/**/*.test.js\""
},
"keywords": [
"eslint",
Expand Down
8 changes: 5 additions & 3 deletions templates/package/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,12 @@
"build:cts": "node ../../tools/build-cts.js dist/esm/index.d.ts dist/cjs/index.d.cts",
"build": "rollup -c && npm run build:dedupe-types && tsc -p tsconfig.esm.json && npm run build:cts",
"lint:types": "attw --pack",
"test": "mocha \"tests/**/*.test.js\"",
"test:coverage": "c8 npm test",
"pretest": "npm run build",
"test": "npm run test:types && npm run test:unit",
"test:coverage": "npm run build && c8 npm run test:unit",
"test:jsr": "npx -y jsr@latest publish --dry-run",
"test:types": "tsc -p tests/types/tsconfig.json"
"test:types": "tsc -p tests/types/tsconfig.json",
"test:unit": "mocha \"tests/**/*.test.js\""
},
"repository": {
"type": "git",
Expand Down