@common-origin/design-system 2.12.2 → 2.13.0

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@common-origin/design-system",
3
- "version": "2.12.2",
3
+ "version": "2.13.0",
4
4
  "description": "Common Origin Design System - Framework-agnostic atomic design components with comprehensive WCAG 2.2 AA testing",
5
5
  "private": false,
6
6
  "main": "dist/index.js",
@@ -40,22 +40,27 @@
40
40
  "scripts": {
41
41
  "dev": "next dev",
42
42
  "build": "next build",
43
- "build:package": "rollup -c",
43
+ "build:package": "node -e \"require('fs').rmSync('dist',{recursive:true,force:true})\" && rollup -c",
44
44
  "build:tokens": "node config/style-dictionary.config.js",
45
45
  "start": "next start",
46
46
  "test": "jest",
47
47
  "test:watch": "jest --watch",
48
48
  "test:coverage": "jest --coverage",
49
49
  "typecheck": "tsc --noEmit",
50
+ "lint": "eslint . --max-warnings 213",
50
51
  "docs:generate": "node lib/docgen/generate.js",
51
52
  "docs:dev": "npm run build:tokens && npm run dev",
52
53
  "verify:types": "node scripts/verify-types.cjs",
53
54
  "verify:no-nextjs": "node scripts/verify-no-nextjs-deps.cjs",
54
55
  "verify:consumer": "node scripts/verify-consumer-types.cjs",
55
- "verify:package": "npm run verify:types && npm run verify:no-nextjs && npm run verify:consumer && publint && attw --pack . --ignore-rules unexpected-module-syntax",
56
+ "verify:directives": "node scripts/verify-directives.cjs",
57
+ "verify:load": "node scripts/verify-load.cjs",
58
+ "verify:package": "npm run verify:types && npm run verify:no-nextjs && npm run verify:directives && npm run verify:load && npm run verify:consumer && publint && attw --pack . --ignore-rules unexpected-module-syntax",
56
59
  "prepublishOnly": "npm run build:tokens && npm run build:package && npm run verify:package",
60
+ "version": "auto-changelog -p && git add CHANGELOG.md",
57
61
  "release": "npm publish --provenance --access public",
58
- "release:create": "./scripts/release.sh"
62
+ "release:create": "./scripts/release.sh",
63
+ "release:tag": "./scripts/release.sh tag"
59
64
  },
60
65
  "peerDependencies": {
61
66
  "react": "^18.0.0 || ^19.0.0",
@@ -72,6 +77,7 @@
72
77
  "@babel/preset-env": "^7.27.2",
73
78
  "@babel/preset-react": "^7.27.1",
74
79
  "@babel/preset-typescript": "^7.27.1",
80
+ "@eslint/js": "^9.39.5",
75
81
  "@hotjar/browser": "^1.0.9",
76
82
  "@rollup/plugin-babel": "^6.1.0",
77
83
  "@rollup/plugin-commonjs": "^24.0.0",
@@ -91,6 +97,11 @@
91
97
  "babel-plugin-styled-components": "^2.1.4",
92
98
  "conventional-changelog-angular": "^8.1.0",
93
99
  "conventional-changelog-conventionalcommits": "^9.1.0",
100
+ "eslint": "^9.39.5",
101
+ "eslint-plugin-jsx-a11y": "^6.10.2",
102
+ "eslint-plugin-react": "^7.37.5",
103
+ "eslint-plugin-react-hooks": "^7.1.1",
104
+ "globals": "^17.12.0",
94
105
  "jest": "^30.0.2",
95
106
  "jest-axe": "^9.0.0",
96
107
  "jest-environment-jsdom": "^30.0.2",
@@ -104,7 +115,8 @@
104
115
  "style-dictionary": "^3.8.0",
105
116
  "styled-components": "^6.1.1",
106
117
  "ts-morph": "^27.0.2",
107
- "typescript": "^5.7.3"
118
+ "typescript": "^5.7.3",
119
+ "typescript-eslint": "^8.70.1"
108
120
  },
109
121
  "keywords": [
110
122
  "design-system",