@beechcms/cms 0.6.4 → 0.6.5

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 +4 -4
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.5",
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",
@@ -65,7 +65,7 @@
65
65
  "vue": "^3.5.39"
66
66
  },
67
67
  "dependencies": {
68
- "@beechcms/cli": "^0.6.4",
68
+ "@beechcms/cli": "^0.6.5",
69
69
  "@clack/prompts": "^0.9.1",
70
70
  "picocolors": "^1.1.1"
71
71
  },
@@ -101,8 +101,8 @@
101
101
  "build": "turbo run build",
102
102
  "lint": "turbo run lint",
103
103
  "type-check": "turbo run type-check",
104
- "test": "turbo run test",
105
- "test:coverage": "turbo run test:coverage",
104
+ "test": "node scripts/test-runner.mjs",
105
+ "test:coverage": "turbo run test:coverage --log-order=grouped",
106
106
  "test:diff": "node scripts/test-coverage-diff.mjs",
107
107
  "test:dev-cli": "vitest run --config scripts/dev-cli/vitest.config.ts",
108
108
  "pipeline": "node scripts/pipeline.mjs",