@puckeditor/cli 0.24.0-canary.301a0304 → 0.24.0-canary.3e19956e
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 +6 -1
- package/dist/bin.mjs +683 -106
- package/dist/docs/cli.md +38 -4
- package/dist/templates/express/src/puck/pages.ts +13 -8
- package/dist/templates/express-ai/src/puck/pages.ts +13 -8
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -20,13 +20,18 @@ Other commands:
|
|
|
20
20
|
npx @puckeditor/cli add editor # add the Puck editor
|
|
21
21
|
npx @puckeditor/cli add cloud # connect Puck Cloud
|
|
22
22
|
npx @puckeditor/cli add ai # add the Puck AI plugin
|
|
23
|
+
npx @puckeditor/cli connect # log in to Puck Cloud again for a new API key
|
|
23
24
|
npx @puckeditor/cli status # show what's set up
|
|
24
25
|
npx @puckeditor/cli doctor # diagnose problems
|
|
26
|
+
npx @puckeditor/cli frameworks # show supported frameworks and versions
|
|
25
27
|
npx @puckeditor/cli docs # read the docs for this version
|
|
28
|
+
npx @puckeditor/cli telemetry # show or change anonymous usage data collection
|
|
26
29
|
```
|
|
27
30
|
|
|
28
31
|
See the [CLI docs](https://puckeditor.com/docs/cli) for the full JSON contract, actions and exit codes.
|
|
29
32
|
|
|
33
|
+
The CLI collects anonymous usage data. See [Telemetry](https://puckeditor.com/docs/cli#telemetry) for what's sent and how to turn it off.
|
|
34
|
+
|
|
30
35
|
## Development
|
|
31
36
|
|
|
32
37
|
The CLI integrates Puck using the [recipes](../../recipes) as templates. Tests read the recipes directly, and `pnpm build` copies them into `dist/templates`.
|
|
@@ -38,7 +43,7 @@ pnpm build
|
|
|
38
43
|
node dist/bin.mjs status
|
|
39
44
|
```
|
|
40
45
|
|
|
41
|
-
Set `PUCK_CLOUD_URL` to point the CLI at a local Puck Cloud.
|
|
46
|
+
Set `PUCK_CLOUD_URL` to point the CLI at a local Puck Cloud. Telemetry goes there too. Set `PUCK_TELEMETRY_DEBUG=1` to print events to stderr instead of sending them.
|
|
42
47
|
|
|
43
48
|
## License
|
|
44
49
|
|