|
41 | 41 | "sideEffects": false, |
42 | 42 | "scripts": { |
43 | 43 | "check": "run-p -c --aggregate-output check:*", |
| 44 | + "check-ci": "pnpm check:lint", |
44 | 45 | "check:lint": "eslint --report-unused-disable-directives .", |
45 | 46 | "check:lint:fix": "pnpm run check:lint -- --fix", |
46 | 47 | "check:tsc": "tsc", |
|
52 | 53 | "fix": "run-s lint:fix check:lint:fix", |
53 | 54 | "knip:dependencies": "knip --dependencies", |
54 | 55 | "knip:exports": "knip --include exports,duplicates", |
55 | | - "lint": "oxlint -c=.oxlintrc.json --ignore-path=.oxlintignore --tsconfig=tsconfig.json .", |
56 | | - "lint:fix": "pnpm run lint -- --fix && pnpm run lint:fix:fast", |
57 | | - "lint:fix:fast": "biome format --write", |
58 | | - "lint-staged": "lint-staged", |
| 56 | + "lint": "dotenvx -q run -f .env.local -- oxlint -c=.oxlintrc.json --ignore-path=.oxlintignore --tsconfig=tsconfig.json .", |
| 57 | + "lint:fix": "run-s -c lint:fix:*", |
| 58 | + "lint:fix:oxlint": "dotenvx -q run -f .env.local -- oxlint -c=.oxlintrc.json --ignore-path=.oxlintignore --tsconfig=tsconfig.json --quiet --fix . | dev-null", |
| 59 | + "lint:fix:biome": "dotenvx -q run -f .env.local -- biome format --log-level=none --fix . | dev-null", |
| 60 | + "lint:fix:eslint": "dotenvx -q run -f .env.local -- eslint --report-unused-disable-directives --fix . | dev-null", |
| 61 | + "lint-staged": "dotenvx -q run -f .env.local -- lint-staged", |
59 | 62 | "precommit": "lint-staged", |
60 | 63 | "prepare": "husky", |
61 | 64 | "test": "run-s check test:*", |
|
76 | 79 | "all-the-package-names": "2.0.0", |
77 | 80 | "all-the-package-names-v1.3905.0": "npm:[email protected]", |
78 | 81 | "del-cli": "6.0.0", |
| 82 | + "dev-null-cli": "2.0.0", |
79 | 83 | "eslint": "9.35.0", |
80 | 84 | "eslint-plugin-import-x": "4.16.1", |
81 | 85 | "eslint-plugin-n": "17.21.3", |
|
95 | 99 | "validate-npm-package-name": "6.0.2", |
96 | 100 | "vitest": "3.2.4" |
97 | 101 | }, |
98 | | - "pnpm": { |
99 | | - "overrides": { |
100 | | - "vite": "7.1.5" |
101 | | - } |
102 | | - }, |
103 | | - "lint-staged": { |
104 | | - "*.{cjs,cts,js,mjs,mts,ts}": [ |
105 | | - "pnpm run lint -- --fix", |
106 | | - "biome format --write" |
107 | | - ], |
108 | | - "*.{json,md}": [ |
109 | | - "pnpm run lint -- --fix" |
110 | | - ] |
111 | | - }, |
112 | 102 | "engines": { |
113 | | - "node": ">=18" |
| 103 | + "node": ">=18", |
| 104 | + "pnpm": ">=10.16.0" |
114 | 105 | }, |
115 | 106 | "files": [ |
116 | | - "CHANGELOG.md", |
117 | 107 | "*{.js,.ts}", |
118 | 108 | "data/**/*.json", |
119 | | - "src/**/*{.js,.ts}" |
| 109 | + "src/**/*{.js,.ts}", |
| 110 | + "CHANGELOG.md" |
120 | 111 | ], |
| 112 | + "lint-staged": { |
| 113 | + "*.{cjs,js,json,md,mjs,mts,ts}": [ |
| 114 | + "pnpm run lint:fix:oxlint", |
| 115 | + "pnpm run lint:fix:biome -- --no-errors-on-unmatched --files-ignore-unknown=true --colors=off" |
| 116 | + ] |
| 117 | + }, |
| 118 | + "pnpm": { |
| 119 | + "overrides": { |
| 120 | + "vite": "7.1.5" |
| 121 | + } |
| 122 | + }, |
121 | 123 | "socket": { |
122 | 124 | "categories": [ |
123 | 125 | "levelup" |
|
0 commit comments