@kb-labs/site-tools 2.104.0 → 2.105.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.
Files changed (2) hide show
  1. package/dist/manifest.json +84 -0
  2. package/package.json +17 -17
@@ -0,0 +1,84 @@
1
+ {
2
+ "schema": "kb.plugin/3",
3
+ "id": "@kb-labs/site-tools",
4
+ "version": "0.1.0",
5
+ "display": {
6
+ "name": "Site Tools",
7
+ "description": "Developer tools for the KB Labs marketing site",
8
+ "tags": [
9
+ "site",
10
+ "scaffold",
11
+ "seo",
12
+ "dx"
13
+ ]
14
+ },
15
+ "cli": {
16
+ "groupMeta": [
17
+ {
18
+ "path": "site",
19
+ "describe": "Marketing site developer tools"
20
+ }
21
+ ],
22
+ "commands": [
23
+ {
24
+ "path": "site page",
25
+ "describe": "Scaffold a new site page with SEO defaults (page.tsx + opengraph-image.tsx + i18n stubs)",
26
+ "handler": "./commands/page.js#default",
27
+ "flags": [
28
+ {
29
+ "name": "badge",
30
+ "type": "string",
31
+ "description": "Badge text shown on the OG image (e.g. \"Product\", \"Solutions\")"
32
+ },
33
+ {
34
+ "name": "dry-run",
35
+ "type": "boolean",
36
+ "description": "Preview what would be created without writing files"
37
+ }
38
+ ],
39
+ "examples": [
40
+ {
41
+ "command": "kb site page pricing",
42
+ "description": "Create /pricing page"
43
+ },
44
+ {
45
+ "command": "kb site page solutions/my-solution --badge Solutions",
46
+ "description": "Create a solutions sub-page"
47
+ },
48
+ {
49
+ "command": "kb site page new-feature --dry-run",
50
+ "description": "Preview without writing"
51
+ }
52
+ ]
53
+ }
54
+ ]
55
+ },
56
+ "permissions": {
57
+ "fs": {
58
+ "read": [
59
+ ".kb/**",
60
+ "sites/web/apps/web/app/[locale]/**",
61
+ "sites/web/apps/web/messages/*.json"
62
+ ],
63
+ "write": [
64
+ ".kb/**",
65
+ "sites/web/apps/web/app/[locale]/**",
66
+ "sites/web/apps/web/messages/*.json"
67
+ ]
68
+ },
69
+ "env": {
70
+ "read": [
71
+ "HOME",
72
+ "USER",
73
+ "PATH",
74
+ "TMPDIR",
75
+ "NODE_ENV",
76
+ "KB_*"
77
+ ]
78
+ },
79
+ "quotas": {
80
+ "timeoutMs": 30000,
81
+ "memoryMb": 128
82
+ }
83
+ }
84
+ }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@kb-labs/site-tools",
3
3
  "description": "Developer tools for the KB Labs marketing site (scaffold pages, SEO checks).",
4
- "version": "2.104.0",
4
+ "version": "2.105.0",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "types": "./dist/index.d.ts",
@@ -18,17 +18,27 @@
18
18
  "files": [
19
19
  "dist"
20
20
  ],
21
+ "scripts": {
22
+ "build": "tsup",
23
+ "clean": "rimraf dist",
24
+ "dev": "tsup --watch",
25
+ "lint": "eslint src --ext .ts",
26
+ "lint:fix": "eslint . --fix",
27
+ "type-check": "tsc --noEmit",
28
+ "test": "vitest run --config vitest.cli.config.ts --passWithNoTests",
29
+ "test:cli": "vitest run --config vitest.cli.config.ts --passWithNoTests"
30
+ },
21
31
  "dependencies": {
22
- "@kb-labs/sdk": "2.22.0"
32
+ "@kb-labs/sdk": "workspace:*"
23
33
  },
24
34
  "devDependencies": {
35
+ "@kb-labs/devkit": "workspace:*",
36
+ "@kb-labs/plugin-contracts": "workspace:*",
25
37
  "@types/node": "^24.3.3",
26
38
  "rimraf": "^6.0.1",
27
39
  "tsup": "^8.5.0",
28
40
  "typescript": "^5.6.3",
29
- "vitest": "^3.2.6",
30
- "@kb-labs/devkit": "2.104.0",
31
- "@kb-labs/plugin-contracts": "2.104.0"
41
+ "vitest": "^3.2.6"
32
42
  },
33
43
  "engines": {
34
44
  "node": ">=20.0.0",
@@ -37,15 +47,5 @@
37
47
  "kb": {
38
48
  "manifest": "./dist/manifest.js"
39
49
  },
40
- "sideEffects": false,
41
- "scripts": {
42
- "build": "tsup",
43
- "clean": "rimraf dist",
44
- "dev": "tsup --watch",
45
- "lint": "eslint src --ext .ts",
46
- "lint:fix": "eslint . --fix",
47
- "type-check": "tsc --noEmit",
48
- "test": "vitest run --config vitest.cli.config.ts --passWithNoTests",
49
- "test:cli": "vitest run --config vitest.cli.config.ts --passWithNoTests"
50
- }
51
- }
50
+ "sideEffects": false
51
+ }