bestax-mcp 1.18.22 → 1.18.23
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/data/catalog.json
CHANGED
|
@@ -13,7 +13,7 @@ pieces in an app, or as a full library "extra" inside the bestax monorepo.
|
|
|
13
13
|
|
|
14
14
|
- **The bestax monorepo** (the repo contains `bulma-ui/src/`) → follow
|
|
15
15
|
`references/library-contributor.md` instead of this file: five-file layout, SCSS partial,
|
|
16
|
-
stories,
|
|
16
|
+
stories, Vitest tests, docs page, wiring.
|
|
17
17
|
- **An app depending on `@allxsmith/bestax-bulma`** (e.g. scaffolded by `npm create bestax`) →
|
|
18
18
|
continue here. Everything below assumes public package imports and a plain Vite app.
|
|
19
19
|
|
|
@@ -13,7 +13,7 @@ Every custom component has five files. Mirror the existing names exactly (Pascal
|
|
|
13
13
|
```
|
|
14
14
|
bulma-ui/src/components/MyComponent.tsx # React + TS component
|
|
15
15
|
bulma-ui/src/components/MyComponent.stories.tsx # Storybook stories
|
|
16
|
-
bulma-ui/src/components/__tests__/MyComponent.test.tsx #
|
|
16
|
+
bulma-ui/src/components/__tests__/MyComponent.test.tsx # Vitest + RTL tests
|
|
17
17
|
bulma-ui/src/scss/components/_mycomponent.scss # SCSS partial
|
|
18
18
|
docs/docs/api/components/mycomponent.md # Docusaurus docs page
|
|
19
19
|
```
|
|
@@ -265,7 +265,7 @@ The canonical reference file is `bulma-ui/src/scss/components/_dialog.scss`.
|
|
|
265
265
|
|
|
266
266
|
`MyComponent.stories.tsx` beside the component. Use `tags: ['autodocs']` so the JSDoc becomes
|
|
267
267
|
the docs page, declare `argTypes`, and write one named `function`-style render per variant.
|
|
268
|
-
Give every argType a `description` — enforced by a
|
|
268
|
+
Give every argType a `description` — enforced by a meta-test.
|
|
269
269
|
|
|
270
270
|
```tsx
|
|
271
271
|
import type { Meta, StoryObj } from '@storybook/react-vite';
|
|
@@ -310,7 +310,7 @@ export const Colors: Story = {
|
|
|
310
310
|
|
|
311
311
|
## Tests
|
|
312
312
|
|
|
313
|
-
`__tests__/MyComponent.test.tsx`,
|
|
313
|
+
`__tests__/MyComponent.test.tsx`, Vitest + `@testing-library/react`. Cover render, each prop →
|
|
314
314
|
class mapping, the helper-prop passthrough, ref forwarding, the ConfigProvider prefix, and any
|
|
315
315
|
interaction/a11y.
|
|
316
316
|
|
package/data/skills.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bestax-mcp",
|
|
3
|
-
"version": "1.18.
|
|
3
|
+
"version": "1.18.23",
|
|
4
4
|
"mcpName": "io.github.allxsmith/bestax-mcp",
|
|
5
5
|
"description": "MCP server for @allxsmith/bestax-bulma — component props, examples, CSS variables and agent skills, served offline from a version-pinned index",
|
|
6
6
|
"type": "module",
|
|
@@ -40,17 +40,15 @@
|
|
|
40
40
|
"url": "https://github.com/allxsmith/bestax/issues"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@modelcontextprotocol/sdk": "^1.32.
|
|
43
|
+
"@modelcontextprotocol/sdk": "^1.32.2",
|
|
44
44
|
"zod": "^4.6.7",
|
|
45
|
-
"@allxsmith/bestax-bulma": "^5.57.
|
|
45
|
+
"@allxsmith/bestax-bulma": "^5.57.1"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
|
-
"@
|
|
49
|
-
"@
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
"ts-jest": "^29.4.15",
|
|
53
|
-
"typescript": "^6.0.3"
|
|
48
|
+
"@types/node": "^26.6.6",
|
|
49
|
+
"@vitest/coverage-istanbul": "^5.0.5",
|
|
50
|
+
"typescript": "^6.0.3",
|
|
51
|
+
"vitest": "^5.0.5"
|
|
54
52
|
},
|
|
55
53
|
"publishConfig": {
|
|
56
54
|
"access": "public"
|
|
@@ -58,9 +56,9 @@
|
|
|
58
56
|
"scripts": {
|
|
59
57
|
"build": "node scripts/sync-skills.mjs && tsc",
|
|
60
58
|
"dev": "tsc --watch",
|
|
61
|
-
"test": "node scripts/sync-skills.mjs &&
|
|
62
|
-
"test:watch": "node scripts/sync-skills.mjs &&
|
|
63
|
-
"test:coverage": "node scripts/sync-skills.mjs &&
|
|
59
|
+
"test": "node scripts/sync-skills.mjs && vitest run",
|
|
60
|
+
"test:watch": "node scripts/sync-skills.mjs && vitest",
|
|
61
|
+
"test:coverage": "node scripts/sync-skills.mjs && vitest run --coverage",
|
|
64
62
|
"lint": "eslint src",
|
|
65
63
|
"typecheck": "tsc --noEmit",
|
|
66
64
|
"format": "prettier --write \"src/**/*.ts\"",
|