|
47 | 47 | "node": ">=20" |
48 | 48 | }, |
49 | 49 | "scripts": { |
50 | | - "build": "tsdown && node scripts/generate-json-schemas.mjs", |
| 50 | + "build": "turbo run _build", |
| 51 | + "_build": "tsdown && node scripts/generate-json-schemas.mjs", |
51 | 52 | "prepublishOnly": "pnpm run lint && pnpm run typecheck && pnpm run build && publint && attw --pack", |
52 | | - "lint": "eslint . --fix --cache --max-warnings 0", |
53 | | - "typecheck": "tsc -p tsconfig.json && tsc -p tsconfig.node.json", |
54 | | - "test": "vitest run --project unit", |
55 | | - "test:workers": "vitest run --config vitest.workers.config.ts", |
| 53 | + "lint": "turbo run _lint", |
| 54 | + "_lint": "eslint . --fix --cache --max-warnings 0", |
| 55 | + "typecheck": "turbo run _typecheck _typecheck:node", |
| 56 | + "_typecheck": "tsc -p tsconfig.json", |
| 57 | + "_typecheck:node": "tsc -p tsconfig.node.json", |
| 58 | + "test": "turbo run _test", |
| 59 | + "_test": "vitest run --project unit", |
| 60 | + "test:workers": "turbo run _test:workers", |
| 61 | + "_test:workers": "vitest run --config vitest.workers.config.ts", |
56 | 62 | "test:watch": "vitest --project unit", |
57 | | - "test:coverage": "vitest run --project unit --coverage", |
58 | | - "test:smoke": "pnpm run build && vitest run --project smoke", |
| 63 | + "test:coverage": "turbo run _test:coverage", |
| 64 | + "_test:coverage": "vitest run --project unit --coverage", |
| 65 | + "test:smoke": "turbo run _test:smoke", |
| 66 | + "_test:smoke": "pnpm run build && vitest run --project smoke", |
59 | 67 | "prepare": "husky", |
60 | 68 | "release": "semantic-release" |
61 | 69 | }, |
|
93 | 101 | "publint": "^0.3.21", |
94 | 102 | "semantic-release": "^25.0.8", |
95 | 103 | "tsdown": "^0.22.13", |
| 104 | + "turbo": "^2.10.8", |
96 | 105 | "typescript": "^6.0.3", |
97 | 106 | "typescript-eslint": "^8.65.0", |
98 | 107 | "vitest": "^4.1.10" |
|
0 commit comments