|
44 | 44 | "publish:sea:github": "node scripts/publish-sea.mjs --skip-npm",
|
45 | 45 | "publish:sea:npm": "node scripts/publish-sea.mjs --skip-github",
|
46 | 46 | "check": "pnpm run check:lint && pnpm run check:tsc",
|
47 |
| - "check:lint": "eslint --report-unused-disable-directives .", |
| 47 | + "check:lint": "eslint --config .config/eslint.config.mjs --report-unused-disable-directives .", |
48 | 48 | "check:tsc": "tsgo --noEmit",
|
49 | 49 | "check-ci": "pnpm run check:lint",
|
50 | 50 | "lint-ci": "pnpm run check:lint",
|
|
60 | 60 | "clean:dist:types": "del-cli 'dist/types'",
|
61 | 61 | "clean:node_modules": "del-cli '**/node_modules'",
|
62 | 62 | "fix": "pnpm run lint:fix",
|
63 |
| - "knip:dependencies": "knip --dependencies", |
64 |
| - "knip:exports": "knip --include exports,duplicates", |
65 |
| - "lint": "oxlint -c=.oxlintrc.json --ignore-path=.oxlintignore --tsconfig=tsconfig.json .", |
| 63 | + "knip:dependencies": "knip --config .config/knip.json --dependencies", |
| 64 | + "knip:exports": "knip --config .config/knip.json --include exports,duplicates", |
| 65 | + "lint": "oxlint -c=.config/oxlintrc.json --ignore-path=.oxlintignore --tsconfig=tsconfig.json .", |
66 | 66 | "lint:dist:fix": "run-s -c lint:dist:fix:*",
|
67 |
| - "lint:dist:fix:oxlint": "dotenvx -q run -f .env.dist -- oxlint -c=.oxlintrc.json --ignore-path=.oxlintignore --tsconfig=tsconfig.json --silent --fix ./dist | dev-null", |
68 |
| - "lint:dist:fix:biome": "dotenvx -q run -f .env.dist -- biome format --log-level=none --fix ./dist | dev-null", |
| 67 | + "lint:dist:fix:oxlint": "dotenvx -q run -f .env.dist -- oxlint -c=.config/oxlintrc.json --ignore-path=.oxlintignore --tsconfig=tsconfig.json --silent --fix ./dist | dev-null", |
| 68 | + "lint:dist:fix:biome": "dotenvx -q run -f .env.dist -- biome format --config-path=.config/biome.json --log-level=none --fix ./dist | dev-null", |
69 | 69 | "lint:external:fix": "run-s -c lint:external:fix:*",
|
70 |
| - "lint:external:fix:oxlint": "dotenvx -q run -f .env.external -- oxlint -c=.oxlintrc.json --ignore-path=.oxlintignore --tsconfig=tsconfig.json --silent --fix ./external | dev-null", |
71 |
| - "lint:external:fix:biome": "dotenvx -q run -f .env.external -- biome format --log-level=none --fix ./external | dev-null", |
| 70 | + "lint:external:fix:oxlint": "dotenvx -q run -f .env.external -- oxlint -c=.config/oxlintrc.json --ignore-path=.oxlintignore --tsconfig=tsconfig.json --silent --fix ./external | dev-null", |
| 71 | + "lint:external:fix:biome": "dotenvx -q run -f .env.external -- biome format --config-path=.config/biome.json --log-level=none --fix ./external | dev-null", |
72 | 72 | "lint:fix": "run-s -c lint:fix:*",
|
73 |
| - "lint:fix:oxlint": "oxlint -c=.oxlintrc.json --ignore-path=.oxlintignore --tsconfig=tsconfig.json --quiet --fix . | dev-null", |
74 |
| - "lint:fix:biome": "biome format --log-level=none --fix . | dev-null", |
75 |
| - "lint:fix:eslint": "eslint --report-unused-disable-directives --fix .", |
| 73 | + "lint:fix:oxlint": "oxlint -c=.config/oxlintrc.json --ignore-path=.oxlintignore --tsconfig=tsconfig.json --quiet --fix . | dev-null", |
| 74 | + "lint:fix:biome": "biome format --config-path=.config/biome.json --log-level=none --fix . | dev-null", |
| 75 | + "lint:fix:eslint": "eslint --config .config/eslint.config.mjs --report-unused-disable-directives --fix .", |
76 | 76 | "lint-staged": "lint-staged",
|
77 | 77 | "precommit": "lint-staged",
|
78 | 78 | "prepare": "husky",
|
79 | 79 | "pretest:unit": "dotenvx -q run -f .env.test -- pnpm run build",
|
80 | 80 | "bs": "pnpm run build:dist:src; pnpm exec socket --",
|
81 | 81 | "s": "pnpm exec socket --",
|
82 | 82 | "test": "run-s check test:*",
|
83 |
| - "test:unit": "dotenvx -q run -f .env.test -- vitest run", |
84 |
| - "test:unit:update": "dotenvx -q run -f .env.test -- vitest run --update", |
85 |
| - "test:unit:coverage": "dotenvx -q run -f .env.test -- vitest run --coverage", |
| 83 | + "test:unit": "dotenvx -q run -f .env.test -- vitest run --config .config/vitest.config.mts", |
| 84 | + "test:unit:update": "dotenvx -q run -f .env.test -- vitest run --config .config/vitest.config.mts --update", |
| 85 | + "test:unit:coverage": "dotenvx -q run -f .env.test -- vitest run --config .config/vitest.config.mts --coverage", |
86 | 86 | "test:validate": "node scripts/validate-tests.mjs",
|
87 | 87 | "test:wrapper": "node scripts/test-wrapper.mjs",
|
88 | 88 | "test-ci": "run-s test:*",
|
|
0 commit comments