@beechcms/cms 0.6.4 → 0.6.6

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/bin/cli.mjs +5 -1
  2. package/package.json +6 -13
package/bin/cli.mjs CHANGED
@@ -7,7 +7,11 @@ import { resolve } from 'node:path'
7
7
  import { pathToFileURL } from 'node:url'
8
8
  import pc from 'picocolors'
9
9
 
10
- const [,, command, ...args] = process.argv
10
+ let [,, command, ...args] = process.argv
11
+
12
+ if (command && args[0] && ['db', 'seed', 'schema', 'dev', 'generate', 'mailpit'].includes(command)) {
13
+ command = `${command}:${args.shift()}`
14
+ }
11
15
 
12
16
  const COMMANDS = {
13
17
  build: cmdBuild,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@beechcms/cms",
3
- "version": "0.6.4",
3
+ "version": "0.6.6",
4
4
  "description": "Edge-Native, Schema-Driven Headless CMS built on Cloudflare Workers, D1, and R2. Features the Botanical Engine for alias-stable field management, a modular widget layer, and a React + Vite admin dashboard.",
5
5
  "keywords": [
6
6
  "cms",
@@ -40,7 +40,6 @@
40
40
  "devDependencies": {
41
41
  "@eslint/js": "^9.39.1",
42
42
  "@types/node": "^24.10.1",
43
- "@vitest/coverage-v8": "^4.1.0",
44
43
  "cross-env": "^10.1.0",
45
44
  "eslint": "^9.39.1",
46
45
  "execa": "^9.6.1",
@@ -48,24 +47,18 @@
48
47
  "husky": "^9.1.7",
49
48
  "ink": "^6.8.0",
50
49
  "ink-spinner": "^5.0.0",
51
- "ink-testing-library": "^4.0.0",
52
50
  "react": "^19.2.7",
53
51
  "react-doctor": "^0.2.16",
54
- "react-dom": "^19.2.7",
55
- "shadcn": "^4.4.0",
56
52
  "strip-ansi": "^7.2.0",
57
53
  "tsx": "^4.22.4",
58
54
  "turbo": "^2.9.18",
59
55
  "typedoc": "^0.28.20",
60
- "typedoc-plugin-markdown": "^4.12.0",
61
56
  "typescript": "^7.0.2",
62
- "typescript-eslint": "^8.63.0",
63
57
  "vitepress": "^1.6.4",
64
- "vitest": "^4.1.0",
65
- "vue": "^3.5.39"
58
+ "vitest": "^4.1.0"
66
59
  },
67
60
  "dependencies": {
68
- "@beechcms/cli": "^0.6.4",
61
+ "@beechcms/cli": "^0.6.6",
69
62
  "@clack/prompts": "^0.9.1",
70
63
  "picocolors": "^1.1.1"
71
64
  },
@@ -101,8 +94,8 @@
101
94
  "build": "turbo run build",
102
95
  "lint": "turbo run lint",
103
96
  "type-check": "turbo run type-check",
104
- "test": "turbo run test",
105
- "test:coverage": "turbo run test:coverage",
97
+ "test": "node scripts/test-runner.mjs",
98
+ "test:coverage": "node scripts/test-runner.mjs --coverage",
106
99
  "test:diff": "node scripts/test-coverage-diff.mjs",
107
100
  "test:dev-cli": "vitest run --config scripts/dev-cli/vitest.config.ts",
108
101
  "pipeline": "node scripts/pipeline.mjs",
@@ -110,6 +103,6 @@
110
103
  "release": "node scripts/release.mjs",
111
104
  "release:preview": "node scripts/release.mjs --preview",
112
105
  "postinstall": "node scripts/check-docker.mjs",
113
- "doctor": "pnpm dlx react-doctor@latest"
106
+ "doctor": "react-doctor -y --no-dead-code"
114
107
  }
115
108
  }