@primer/primitives 8.2.4-rc.d08fdd34 → 8.2.4-rc.e3ccaf09

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1) hide show
  1. package/package.json +6 -7
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@primer/primitives",
3
- "version": "8.2.4-rc.d08fdd34",
3
+ "version": "8.2.4-rc.e3ccaf09",
4
4
  "description": "Typography, spacing, and color primitives for Primer design system",
5
5
  "files": [
6
6
  "dist",
@@ -33,14 +33,14 @@
33
33
  "format": "prettier --write '**/*.{js,jsx,ts,tsx,md,mdx,css}'",
34
34
  "format:check": "prettier --check '**/*.{js,jsx,ts,tsx,md,mdx,css}'",
35
35
  "install:storybook": "cd docs/storybook && npm ci --legacy-peer-deps --no-audit --no-fund",
36
- "lint": "ESLINT_USE_FLAT_CONFIG=false eslint '**/*.{js,ts,tsx,md,mdx}' --max-warnings=0 --config .eslintrc.js && npm run lint:tokens",
37
- "lint:fix": "eslint '**/*.{js,ts,tsx,md,mdx}' --fix --max-warnings=0 --config .eslintrc.js",
36
+ "lint": "ESLINT_USE_FLAT_CONFIG=false eslint '**/*.{js,ts,tsx,md,mdx}' --max-warnings=0 --config .eslintrc.cjs && npm run lint:tokens",
37
+ "lint:fix": "eslint '**/*.{js,ts,tsx,md,mdx}' --fix --max-warnings=0 --config .eslintrc.cjs",
38
38
  "lint:tokens": "ts-node ./scripts/validateTokenJson.ts",
39
39
  "prebuild": "rm -rf dist",
40
40
  "prepack": "npm run build",
41
41
  "release": "changeset publish",
42
42
  "start:storybook": "npm run build && cd docs/storybook && npm run storybook",
43
- "test": "jest --verbose --coverage"
43
+ "test": "vitest run --coverage"
44
44
  },
45
45
  "prettier": "@github/prettier-config",
46
46
  "devDependencies": {
@@ -50,10 +50,10 @@
50
50
  "@github/prettier-config": "^0.0.6",
51
51
  "@playwright/test": "^1.45.1",
52
52
  "@prettier/sync": "^0.5.2",
53
- "@types/jest": "^29.5.12",
54
53
  "@types/node": "^20.14.9",
55
54
  "@typescript-eslint/eslint-plugin": "^7.15.0",
56
55
  "@typescript-eslint/parser": "^7.15.0",
56
+ "@vitest/coverage-v8": "^2.0.1",
57
57
  "color-blend": "^4.0.0",
58
58
  "color2k": "^2.0.3",
59
59
  "console-table-printer": "^2.12.1",
@@ -67,14 +67,13 @@
67
67
  "eslint-plugin-react": "7.34",
68
68
  "eslint-plugin-react-hooks": "^4.6.2",
69
69
  "eslint-plugin-storybook": "^0.8.0",
70
- "jest": "29.7",
71
70
  "json5": "^2.2.1",
72
71
  "markdown-table-ts": "^1.0.3",
73
72
  "prettier": "3.3",
74
73
  "style-dictionary": "^3.9.2",
75
- "ts-jest": "^29.1.5",
76
74
  "ts-node": "^10.9.2",
77
75
  "typescript": "5.5",
76
+ "vitest": "^2.0.1",
78
77
  "zod": "3.23",
79
78
  "zod-validation-error": "3.3"
80
79
  }