|
2 | 2 | "name": "vite-plugin-svelte-monorepo", |
3 | 3 | "private": true, |
4 | 4 | "scripts": { |
5 | | - "dev": "pnpm --dir packages/vite-plugin-svelte dev", |
6 | | - "build": "pnpm --dir packages/vite-plugin-svelte build", |
7 | 5 | "test": "run-s -c test:unit test:build test:serve", |
8 | 6 | "test:unit": "vitest run", |
9 | 7 | "test:serve": "vitest run -c vitest.config.e2e.ts", |
10 | 8 | "test:build": "cross-env TEST_BUILD=1 vitest run -c vitest.config.e2e.ts", |
11 | | - "lint": "eslint --ignore-path .gitignore '**/*.{js,ts,svelte,html,svx,md}'", |
12 | | - "lint:fix": "pnpm lint --fix", |
13 | | - "format": "prettier --ignore-path .gitignore '**/*.{css,scss,svelte,html,js,ts,svx,md}' --check", |
14 | | - "format:fix": "pnpm format --write", |
15 | | - "fixup": "run-s lint:fix format:fix", |
16 | | - "release": "pnpm build && pnpm changeset publish", |
| 9 | + "check": "run-p -c check:*", |
| 10 | + "check:audit": "pnpm audit --prod", |
| 11 | + "check:publint": "pnpm --filter \"./packages/*\" --parallel check:publint", |
| 12 | + "check:types": "pnpm --filter \"./packages/*\" --parallel check:types", |
| 13 | + "check:lint": "eslint --cache --ignore-path .gitignore '**/*.{js,ts,svelte,html,svx,md}'", |
| 14 | + "check:format": "prettier --cache --ignore-path .gitignore '**/*.{css,scss,svelte,html,js,ts,svx,md}' --check", |
| 15 | + "lint": "pnpm check:lint --fix", |
| 16 | + "format": "pnpm check:format --write", |
| 17 | + "fixup": "run-s lint format", |
| 18 | + "release": "pnpm changeset publish", |
17 | 19 | "prepare": "husky install" |
18 | 20 | }, |
19 | 21 | "devDependencies": { |
|
42 | 44 | "playwright-core": "^1.33.0", |
43 | 45 | "prettier": "^2.8.8", |
44 | 46 | "prettier-plugin-svelte": "^2.10.0", |
| 47 | + "publint": "^0.1.12", |
45 | 48 | "rimraf": "^5.0.0", |
46 | 49 | "svelte": "^3.59.1", |
47 | 50 | "typescript": "^5.0.4", |
48 | 51 | "vite": "^4.3.5", |
49 | 52 | "vitest": "^0.31.0" |
50 | 53 | }, |
51 | 54 | "lint-staged": { |
52 | | - "*.{js,ts,svelte,html,md,svx}": "eslint --fix", |
| 55 | + "*.{js,ts,svelte,html,md,svx}": "eslint --cache --fix", |
53 | 56 | "*.{css,scss,svelte,html,js,ts,svx,md}": [ |
54 | | - "prettier --write" |
| 57 | + "prettier --cache --write" |
55 | 58 | ] |
56 | 59 | }, |
57 | 60 | "packageManager": "[email protected]", |
|
61 | 64 | }, |
62 | 65 | "pnpm": { |
63 | 66 | "overrides": { |
64 | | - "@sveltejs/vite-plugin-svelte": "workspace:^", |
65 | | - "tsup>postcss-load-config@<4": "^4.0.0" |
| 67 | + "@sveltejs/vite-plugin-svelte": "workspace:^" |
66 | 68 | }, |
67 | 69 | "peerDependencyRules": { |
68 | 70 | "allowedVersions": { |
|
0 commit comments