|
30 | 30 | "src"
|
31 | 31 | ],
|
32 | 32 | "scripts": {
|
33 |
| - "_eslint": "eslint --ignore-path .lintignore \"**/*.ts\"", |
34 |
| - "_prettier": "prettier --ignore-path .lintignore \"**/*.@(ts|json|yaml|md)\"", |
35 | 33 | "all": "concurrently -g pnpm:coverage pnpm:build pnpm:check:*",
|
36 | 34 | "build": "tsup --clean --sourcemap --dts --format esm --target node14 src/vitest-when.ts",
|
37 | 35 | "build-and-check": "concurrently -g pnpm:build pnpm:check:*",
|
38 |
| - "check:format": "pnpm run _prettier --check", |
39 |
| - "check:lint": "pnpm run _eslint", |
| 36 | + "check:format": "prettier . --check", |
| 37 | + "check:lint": "eslint .", |
40 | 38 | "check:types": "vitest --typecheck.only --run",
|
41 | 39 | "coverage": "vitest run --coverage",
|
42 |
| - "format": "pnpm run _prettier --write && pnpm run _eslint --fix", |
| 40 | + "format": "eslint . --fix && prettier . --write", |
43 | 41 | "test": "vitest"
|
44 | 42 | },
|
45 | 43 | "prettier": "@mcous/prettier-config",
|
46 |
| - "eslintConfig": { |
47 |
| - "parserOptions": { |
48 |
| - "project": "./tsconfig.json" |
49 |
| - }, |
50 |
| - "extends": "@mcous/eslint-config", |
51 |
| - "rules": { |
52 |
| - "@typescript-eslint/restrict-template-expressions": [ |
53 |
| - "error", |
54 |
| - { |
55 |
| - "allowNumber": true |
56 |
| - } |
57 |
| - ] |
58 |
| - } |
| 44 | + "dependencies": { |
| 45 | + "pretty-format": "^29.7.0" |
59 | 46 | },
|
60 | 47 | "devDependencies": {
|
61 |
| - "@mcous/eslint-config": "0.4.4", |
62 |
| - "@mcous/prettier-config": "0.3.0", |
63 |
| - "@mcous/typescript-config": "0.2.1", |
64 |
| - "@typescript-eslint/eslint-plugin": "7.16.0", |
65 |
| - "@typescript-eslint/parser": "7.16.0", |
66 |
| - "@vitest/coverage-istanbul": "^3.0.2", |
67 |
| - "@vitest/expect": "^3.0.2", |
| 48 | + "@mcous/eslint-config": "^0.5.1", |
| 49 | + "@mcous/prettier-config": "^0.3.0", |
| 50 | + "@mcous/typescript-config": "^0.2.1", |
| 51 | + "@types/node": "^22.13.4", |
| 52 | + "@vitest/coverage-istanbul": "^3.0.5", |
| 53 | + "@vitest/expect": "^3.0.5", |
68 | 54 | "concurrently": "^9.1.2",
|
69 |
| - "eslint": "8.57.1", |
70 |
| - "eslint-config-prettier": "9.1.0", |
71 |
| - "eslint-plugin-promise": "6.4.0", |
72 |
| - "eslint-plugin-sonarjs": "0.24.0", |
73 |
| - "eslint-plugin-unicorn": "51.0.1", |
74 |
| - "prettier": "3.4.2", |
75 |
| - "tsup": "^8.3.5", |
| 55 | + "eslint": "^9.20.1", |
| 56 | + "prettier": "^3.5.1", |
| 57 | + "tsup": "^8.3.6", |
76 | 58 | "typescript": "5.7.3",
|
77 |
| - "vitest": "^3.0.2" |
| 59 | + "vitest": "^3.0.5" |
78 | 60 | },
|
79 | 61 | "peerDependencies": {
|
80 | 62 | "@vitest/expect": ">=0.31.0 <4",
|
|
85 | 67 | "optional": true
|
86 | 68 | }
|
87 | 69 | },
|
88 |
| - "packageManager": "pnpm@8.15.8+sha256.691fe176eea9a8a80df20e4976f3dfb44a04841ceb885638fe2a26174f81e65e", |
| 70 | + "packageManager": "pnpm@10.4.1+sha256.4b702887986995933d4300836b04d6d02a43bc72b52e4f7e93a4ca608b959197", |
89 | 71 | "publishConfig": {
|
90 | 72 | "access": "public",
|
91 | 73 | "provenance": true
|
92 | 74 | },
|
93 |
| - "dependencies": { |
94 |
| - "pretty-format": "^29.7.0" |
| 75 | + "pnpm": { |
| 76 | + "onlyBuiltDependencies": [ |
| 77 | + "esbuild" |
| 78 | + ] |
95 | 79 | }
|
96 | 80 | }
|
0 commit comments