@kb-labs/devkit 2.101.0 → 2.102.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/README.md
CHANGED
|
@@ -1542,7 +1542,7 @@ See [`scripts/README.md`](./scripts/README.md) for detailed fixture management d
|
|
|
1542
1542
|
|
|
1543
1543
|
### Ecosystem
|
|
1544
1544
|
|
|
1545
|
-
- [KB Labs](https://github.com/
|
|
1545
|
+
- [KB Labs](https://github.com/kb-labs-team/kb-labs) - Main ecosystem repository
|
|
1546
1546
|
|
|
1547
1547
|
## 💡 Use Cases
|
|
1548
1548
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
## KB Labs Platform
|
|
2
2
|
|
|
3
|
-
This project uses the [KB Labs](https://github.com/
|
|
3
|
+
This project uses the [KB Labs](https://github.com/kb-labs-team/kb-labs) platform.
|
|
4
4
|
A set of Claude Code skills is installed under `.claude/skills/kb-labs-*` to help
|
|
5
5
|
you work with the platform efficiently.
|
|
6
6
|
|
|
@@ -16,7 +16,7 @@ you work with the platform efficiently.
|
|
|
16
16
|
|
|
17
17
|
- `kb --help` — list all platform commands
|
|
18
18
|
- `kb-dev status` — service status
|
|
19
|
-
- `kb plugins list` — installed plugins
|
|
19
|
+
- `kb marketplace plugins list` — installed plugins
|
|
20
20
|
- `kb-create update` — update the platform
|
|
21
21
|
- `kb-create doctor` — verify the installation
|
|
22
22
|
|
|
@@ -26,4 +26,4 @@ you work with the platform efficiently.
|
|
|
26
26
|
- `.kb/` — platform runtime state (do not edit by hand)
|
|
27
27
|
- `.claude/skills/kb-labs-*` — managed skills (reinstalled by `kb-create update`)
|
|
28
28
|
|
|
29
|
-
For full platform documentation see https://github.com/
|
|
29
|
+
For full platform documentation see https://github.com/kb-labs-team/kb-labs.
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { readFileSync } from 'node:fs'
|
|
2
|
+
import { fileURLToPath } from 'node:url'
|
|
3
|
+
import { describe, expect, it } from 'vitest'
|
|
4
|
+
|
|
5
|
+
// kb-create merges this snippet into a fresh project's CLAUDE.md during
|
|
6
|
+
// install (tools/kb-create/internal/claude/claudemd.go), so a stale command
|
|
7
|
+
// here reaches every new user's onboarding doc verbatim.
|
|
8
|
+
const snippetPath = fileURLToPath(new URL('./CLAUDE.md.snippet', import.meta.url))
|
|
9
|
+
const snippet = readFileSync(snippetPath, 'utf8')
|
|
10
|
+
|
|
11
|
+
describe('CLAUDE.md.snippet', () => {
|
|
12
|
+
it('does not reference the nonexistent `kb plugins list` command', () => {
|
|
13
|
+
// The real command is under the marketplace plugin's `plugins` subgroup
|
|
14
|
+
// (plugins/marketplace/entry/src/manifest.ts: 'marketplace plugins list').
|
|
15
|
+
// `kb plugins list` was never a registered command and fails with
|
|
16
|
+
// "Did you mean: kb marketplace plugins list".
|
|
17
|
+
expect(snippet).not.toMatch(/`kb plugins list`/)
|
|
18
|
+
})
|
|
19
|
+
|
|
20
|
+
it('references the real `kb marketplace plugins list` command', () => {
|
|
21
|
+
expect(snippet).toMatch(/`kb marketplace plugins list`/)
|
|
22
|
+
})
|
|
23
|
+
})
|
|
@@ -33,7 +33,7 @@ Then retry the command. If it is still missing:
|
|
|
33
33
|
```bash
|
|
34
34
|
pnpm kb --help # is the group even present?
|
|
35
35
|
pnpm kb <group> --help # is the command in the group?
|
|
36
|
-
pnpm kb plugins list
|
|
36
|
+
pnpm kb marketplace plugins list # is the plugin installed?
|
|
37
37
|
```
|
|
38
38
|
|
|
39
39
|
## Step 2: "Plugin not found" or wrong plugins in the available list
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kb-labs/devkit",
|
|
3
3
|
"description": "Shared developer toolkit for KB Labs projects: TS/ESLint/Prettier/Vitest/Tsup presets and reusable GitHub Actions.",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.102.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"exports": {
|
|
@@ -131,7 +131,7 @@
|
|
|
131
131
|
"typescript": "^5.9.2",
|
|
132
132
|
"typescript-eslint": "^8.44.0",
|
|
133
133
|
"vitest": "^3.2.6",
|
|
134
|
-
"@kb-labs/devkit": "2.
|
|
134
|
+
"@kb-labs/devkit": "2.102.0"
|
|
135
135
|
},
|
|
136
136
|
"engines": {
|
|
137
137
|
"node": ">=20.0.0",
|