|
20 | 20 | "build:docs:preview": "NODE_OPTIONS=--openssl-legacy-provider script/build-docs preview",
|
21 | 21 | "build:components.json": "npm run build:components.json -w @primer/react",
|
22 | 22 | "build:hooks.json": "npm run build:hooks.json -w @primer/react",
|
23 |
| - "lint": "eslint '**/*.{js,ts,tsx,md,mdx}' --max-warnings=0", |
| 23 | + "lint": "eslint '**/*.{js,ts,tsx,md,mdx}' --max-warnings=0 --ignore-pattern '**/*.module.css.d.ts'", |
24 | 24 | "lint:css": "stylelint --rd -q '**/*.css'",
|
25 | 25 | "lint:css:fix": "npm run lint:css -- --fix",
|
26 | 26 | "lint:fix": "npm run lint -- --fix",
|
|
29 | 29 | "test:update": "npm run test -- --updateSnapshot",
|
30 | 30 | "test:watch": "npm run test -- --watch",
|
31 | 31 | "test:coverage": "npm run test -- --coverage",
|
32 |
| - "test:type-check": "tsc --noEmit", |
33 |
| - "type-check": "tsc --noEmit && npm run type-check -ws --if-present", |
| 32 | + "test:type-check": "npm run type-css-modules && tsc --noEmit", |
| 33 | + "type-check": "npm run type-css-modules && tsc --noEmit && npm run type-check -ws --if-present", |
| 34 | + "type-css-modules": "tcm -p **/packages/react/src/**/*.module.css", |
34 | 35 | "release": "npm run build && changeset publish",
|
35 | 36 | "reset": "script/reset",
|
36 | 37 | "size": "size-limit"
|
|
46 | 47 | "@changesets/changelog-github": "0.5.0",
|
47 | 48 | "@changesets/cli": "2.27.1",
|
48 | 49 | "@github/axe-github": "0.6.1",
|
49 |
| - "@github/mini-throttle": "2.1.1", |
50 | 50 | "@github/markdownlint-github": "^0.6.0",
|
| 51 | + "@github/mini-throttle": "2.1.1", |
51 | 52 | "@github/prettier-config": "0.0.6",
|
52 | 53 | "@mdx-js/react": "1.6.22",
|
53 | 54 | "@playwright/test": "^1.50.0",
|
|
80 | 81 | "rimraf": "5.0.5",
|
81 | 82 | "size-limit": "11.1.5",
|
82 | 83 | "stylelint": "16.9.0",
|
| 84 | + "typed-css-modules": "0.9.1", |
83 | 85 | "typescript": "^5.7.2"
|
84 | 86 | },
|
85 | 87 | "optionalDependencies": {
|
|
0 commit comments