@olwiba/dx 0.0.34 → 0.0.35

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.
@@ -0,0 +1,21 @@
1
+ {
2
+ "$schema": "https://raw.githubusercontent.com/oxc-project/oxc/main/npm/oxlint/configuration_schema.json",
3
+ "jsPlugins": ["@shadcn/lint"],
4
+ "settings": {
5
+ "shadcn": {
6
+ "ui": "@olwiba/cn",
7
+ "componentImports": ["^@olwiba/(cn|ui|ui-pro|render)(/|$)"],
8
+ "mergeFunctions": ["cn"],
9
+ "variantFunctions": ["cva"],
10
+ "note": "@olwiba/cn owns how these components look. A product composes them and supplies layout; it does not restyle them. Colour comes from theme tokens (primary, muted, destructive and friends) so a component follows light and dark and survives a brand change. If a component cannot express what a design needs, add the variant to @olwiba/cn rather than overriding it at the call site, so every product gets it. See ECOSYSTEM.md. Every rule here is a warning on adoption: the existing products predate these rules and a gate that fails on day one gets switched off rather than satisfied. Promote a rule to error once its violations are cleared, starting with the colour and spacing ones, which are the smallest."
11
+ }
12
+ },
13
+ "rules": {
14
+ "shadcn/no-raw-colors": "warn",
15
+ "shadcn/no-arbitrary-values": "warn",
16
+ "shadcn/no-inline-styles": "warn",
17
+ "shadcn/no-unknown-classes": "warn",
18
+ "shadcn/no-restyle": ["warn", { "allow": ["layout"] }],
19
+ "shadcn/require-static-classes": "warn"
20
+ }
21
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@olwiba/dx",
3
- "version": "0.0.34",
3
+ "version": "0.0.35",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -16,6 +16,7 @@
16
16
  "import": "./dist/index.js",
17
17
  "types": "./dist/index.d.ts"
18
18
  },
19
+ "./oxlint-design-system.json": "./oxlint-design-system.json",
19
20
  "./eslint": {
20
21
  "import": "./dist/eslint.js",
21
22
  "types": "./dist/eslint.d.ts"
@@ -46,7 +47,8 @@
46
47
  }
47
48
  },
48
49
  "files": [
49
- "dist"
50
+ "dist",
51
+ "oxlint-design-system.json"
50
52
  ],
51
53
  "scripts": {
52
54
  "build": "tsup",
@@ -63,8 +65,8 @@
63
65
  "showcase:build": "bun scripts/build-showcase.ts"
64
66
  },
65
67
  "devDependencies": {
66
- "@olwiba/cn": "0.1.49",
67
- "@olwiba/docs": "0.1.51",
68
+ "@olwiba/cn": "0.1.53",
69
+ "@olwiba/docs": "0.1.52",
68
70
  "@tailwindcss/vite": "^4.1.18",
69
71
  "@tanstack/react-router": "1.154.8",
70
72
  "@tanstack/react-start": "1.154.8",