@puckeditor/cli 0.24.0-canary.10b39dc7 → 0.24.0-canary.2d8af8e6
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 +5 -1
- package/dist/bin.mjs +394 -266
- package/dist/docs/cli.md +43 -9
- package/dist/docs/getting-started.md +2 -0
- package/dist/templates/next/app/puck/[...puckPath]/page.tsx +3 -2
- package/dist/templates/next/app/puck/page.tsx +0 -2
- package/dist/templates/next-ai/app/puck/[...puckPath]/page.tsx +3 -2
- package/dist/templates/next-ai/app/puck/page.tsx +0 -2
- package/dist/templates/vinext/app/puck/[...puckPath]/page.tsx +3 -2
- package/dist/templates/vinext/app/puck/page.tsx +0 -2
- package/dist/templates/vinext-ai/app/puck/[...puckPath]/page.tsx +3 -2
- package/dist/templates/vinext-ai/app/puck/page.tsx +0 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -11,9 +11,11 @@ npx @puckeditor/cli init
|
|
|
11
11
|
For coding agents:
|
|
12
12
|
|
|
13
13
|
```sh
|
|
14
|
-
npx @puckeditor/cli init --yes --json
|
|
14
|
+
npx @puckeditor/cli init --yes --json
|
|
15
15
|
```
|
|
16
16
|
|
|
17
|
+
`init` returns a `choose_capabilities` action. Ask the developer which to include rather than choosing for them.
|
|
18
|
+
|
|
17
19
|
Other commands:
|
|
18
20
|
|
|
19
21
|
```sh
|
|
@@ -36,6 +38,8 @@ See the [CLI docs](https://puckeditor.com/docs/cli) for the full JSON contract,
|
|
|
36
38
|
|
|
37
39
|
The CLI collects anonymous usage data. See [Telemetry](https://puckeditor.com/docs/cli#telemetry) for what's sent and how to turn it off.
|
|
38
40
|
|
|
41
|
+
Coding agents: leave this to the developer. Don't turn telemetry off unless they ask.
|
|
42
|
+
|
|
39
43
|
## Development
|
|
40
44
|
|
|
41
45
|
The CLI integrates Puck using the [recipes](../../recipes) as templates. Tests read the recipes directly, and `pnpm build` copies them into `dist/templates`.
|