@puckeditor/cli 0.24.0-canary.148f3cdd → 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 -3
- package/dist/bin.mjs +539 -1668
- package/dist/docs/cli.md +79 -80
- package/dist/docs/getting-started.md +2 -0
- package/dist/templates/manifest.json +1 -2
- 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
|
|
@@ -22,9 +24,7 @@ npx @puckeditor/cli add cloud # connect Puck Cloud
|
|
|
22
24
|
npx @puckeditor/cli add ai # add the Puck AI plugin
|
|
23
25
|
npx @puckeditor/cli add pages # store and publish pages in Puck Cloud
|
|
24
26
|
npx @puckeditor/cli add auth # require Sign in with Puck to edit
|
|
25
|
-
npx @puckeditor/cli add assets # upload and manage images and files in Puck Cloud
|
|
26
27
|
npx @puckeditor/cli pages import database.json # publish pages to Puck Cloud
|
|
27
|
-
npx @puckeditor/cli assets migrate # switch image fields to the asset library
|
|
28
28
|
npx @puckeditor/cli connect # log in to Puck Cloud again for a new API key
|
|
29
29
|
npx @puckeditor/cli connect preview # ...for a branch of the project
|
|
30
30
|
npx @puckeditor/cli status # show what's set up
|
|
@@ -38,6 +38,8 @@ See the [CLI docs](https://puckeditor.com/docs/cli) for the full JSON contract,
|
|
|
38
38
|
|
|
39
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.
|
|
40
40
|
|
|
41
|
+
Coding agents: leave this to the developer. Don't turn telemetry off unless they ask.
|
|
42
|
+
|
|
41
43
|
## Development
|
|
42
44
|
|
|
43
45
|
The CLI integrates Puck using the [recipes](../../recipes) as templates. Tests read the recipes directly, and `pnpm build` copies them into `dist/templates`.
|