onsystem 0.7.0 → 0.9.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.
@@ -1,4 +1,4 @@
1
- import { $ as loadConfig, Ct as relativePath, H as CONFIG_FILES, J as LEGACY_CONFIG_FILES, Q as hasOwnConfig, et as loadConfigWith, ft as findDesignSystemPackage, gt as workspacePatterns, ht as workspacePackageDirs, i as componentFiles, lt as PackageFinder, mt as isWorkspaceRoot, xt as isInside } from "./design-system-C4bhqLLw.js";
1
+ import { $ as LEGACY_CONFIG_FILES, At as relativePath, Ot as isInside, St as workspacePatterns, at as loadConfig, bt as isWorkspaceRoot, ht as PackageFinder, i as componentFiles, it as hasOwnConfig, ot as loadConfigWith, q as CONFIG_FILES, vt as findDesignSystemPackage, xt as workspacePackageDirs } from "./design-system-Bykei5W0.js";
2
2
  import fs from "node:fs";
3
3
  import path from "node:path";
4
4
  import os from "node:os";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "onsystem",
3
- "version": "0.7.0",
3
+ "version": "0.9.0",
4
4
  "mcpName": "io.github.dgesteves/onsystem",
5
5
  "description": "Keeps coding agents on your design system: catches palette colors, native elements and APIs your system lacks, at every edit and pull request, with the fix. Set it up once in your design-system package; every app in your monorepo gets it.",
6
6
  "keywords": [
@@ -64,7 +64,7 @@
64
64
  "dependencies": {
65
65
  "@modelcontextprotocol/server": "^2.3.1",
66
66
  "culori": "^4.0.2",
67
- "postcss": "^8.5.29",
67
+ "postcss": "^8.5.30",
68
68
  "stemmer": "^2.0.1",
69
69
  "tinyglobby": "^0.2.17",
70
70
  "typescript": "~6.0.3",
@@ -87,6 +87,7 @@
87
87
  "@modelcontextprotocol/sdk": "^1.32.1",
88
88
  "@types/culori": "^4.0.1",
89
89
  "@types/node": "^24.19.2",
90
+ "@vitest/coverage-istanbul": "^5.0.5",
90
91
  "ajv": "^8.20.0",
91
92
  "ajv-draft-04": "^1.0.0",
92
93
  "ajv-formats": "^3.0.1",
@@ -101,8 +102,8 @@
101
102
  "react-aria-components": "^1.22.1",
102
103
  "tailwind-variants": "^3.3.1",
103
104
  "tsdown": "^0.23.1",
104
- "typescript-eslint": "^8.71.1",
105
- "vitest": "^5.0.3"
105
+ "typescript-eslint": "^8.71.2",
106
+ "vitest": "^5.0.5"
106
107
  },
107
108
  "scripts": {
108
109
  "build": "tsdown && node scripts/build-schema.mjs",
@@ -113,6 +114,7 @@
113
114
  "typecheck": "tsc --noEmit",
114
115
  "test": "vitest run",
115
116
  "test:watch": "vitest",
117
+ "test:coverage": "vitest run --coverage",
116
118
  "smoke": "node scripts/smoke.mjs",
117
119
  "pack-test": "node scripts/pack-test.mjs && node scripts/pack-test-eslint8.mjs",
118
120
  "assets": "node scripts/build-assets.mjs",
package/schema.json CHANGED
@@ -22,7 +22,7 @@
22
22
  ]
23
23
  },
24
24
  "exclude": {
25
- "description": "Globs to ignore when finding components and when `check` expands folders and globs (stories, tests). Replaces the defaults; node_modules is skipped either way unless a pattern names it.",
25
+ "description": "Globs for files to leave out, relative to the root: `check` in folders and globs, the ESLint plugin, the Claude Code hook and check_ui leave them out, and finding components skips them. A folder (`app/legacy`) covers everything in it. Adds to the defaults (node_modules, .d.ts files, tests and stories); a pattern that starts with `!` takes out the default it names, such as `!**/*.d.ts`.",
26
26
  "type": "array",
27
27
  "items": {
28
28
  "type": "string"