onsystem 0.8.0 → 0.9.1
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/README.md +20 -2
- package/dist/cli.js +122 -21
- package/dist/{config-kYGiD5oW.d.ts → config-B98w8bcg.d.ts} +5 -0
- package/dist/{design-system-Dmcv7eHR.js → design-system-DZm2aP1z.js} +1105 -189
- package/dist/eslint-worker.d.ts +1 -1
- package/dist/eslint-worker.js +2 -2
- package/dist/eslint.js +1 -1
- package/dist/index.d.ts +12 -2
- package/dist/index.js +2 -2
- package/dist/{stdio-MTS6QAgo.js → stdio-BJvjEnKW.js} +338 -87
- package/dist/{workspace-CM1RyqZA.js → workspace-Dqu3nkYM.js} +1 -1
- package/package.json +6 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as
|
|
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-DZm2aP1z.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.
|
|
3
|
+
"version": "0.9.1",
|
|
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.
|
|
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.
|
|
105
|
-
"vitest": "^5.0.
|
|
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",
|