blockend-cli 2.0.2 → 2.1.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.
@@ -10,6 +10,7 @@ export interface ProjectContext {
10
10
  aliasMap: Record<string, string>;
11
11
  srcDir: string;
12
12
  blocksDir: string;
13
+ blocksAlias?: string;
13
14
  importRewriteStrategy: "rewrite" | "remove";
14
15
  }
15
16
  export interface BlockManifest {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "blockend-cli",
3
- "version": "2.0.2",
3
+ "version": "2.1.1",
4
4
  "description": "Blockend CLI — shadcn/ui-style backend blocks for TypeScript. Generate production-ready rate limiting, validation, logging, and error handling as source code into Express, Fastify, Hono, or Next.js projects. You own the code. Ships an MCP server for AI coding assistants.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -20,8 +20,10 @@
20
20
  "provenance": true
21
21
  },
22
22
  "scripts": {
23
+ "prebuild": "node ../../scripts/ensure-registry-build.mjs",
23
24
  "build": "tsup src/index.ts --format esm --clean --out-dir dist && tsc --emitDeclarationOnly --declaration",
24
25
  "typecheck": "tsc --noEmit",
26
+ "pretest": "node ../../scripts/ensure-registry-build.mjs",
25
27
  "test": "vitest run",
26
28
  "test:watch": "vitest",
27
29
  "prepublishOnly": "pnpm typecheck"
@@ -72,7 +74,7 @@
72
74
  "packageManager": "pnpm@10.33.2",
73
75
  "dependencies": {
74
76
  "@clack/prompts": "^1.5.1",
75
- "@modelcontextprotocol/sdk": "^1.29.0",
77
+ "@modelcontextprotocol/sdk": "^1.32.1",
76
78
  "citty": "^0.2.2",
77
79
  "commander": "^15.0.0",
78
80
  "execa": "^9.6.1",
@@ -80,8 +82,9 @@
80
82
  "zod": "^4.4.3"
81
83
  },
82
84
  "devDependencies": {
85
+ "@blockend/registry": "workspace:*",
83
86
  "@types/node": "^25.9.3",
84
- "tsup": "^8.5.1",
85
- "vitest": "^1.6.1"
87
+ "tsup": "^9.0.0",
88
+ "vitest": "^4.1.11"
86
89
  }
87
90
  }