@prismicio/cli 0.0.2-beta.1 → 0.0.2-beta.2
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 +32 -0
- package/dist/{cli-CMLe9HXQ.js → cli-WdOFi94s.js} +6 -6
- package/dist/{cli-CMLe9HXQ.js.map → cli-WdOFi94s.js.map} +1 -1
- package/dist/cli.js +1 -1
- package/dist/{index-Biv1W7HE.js → index-C04EGlVq.js} +2 -2
- package/dist/{index-Biv1W7HE.js.map → index-C04EGlVq.js.map} +1 -1
- package/dist/index.js +1 -1
- package/dist/{multipart-parser-Dn1uIqZn.js → multipart-parser-Dz52gV_i.js} +2 -2
- package/dist/{multipart-parser-Dn1uIqZn.js.map → multipart-parser-Dz52gV_i.js.map} +1 -1
- package/package.json +9 -9
package/README.md
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# Prismic CLI
|
|
2
|
+
|
|
3
|
+
The official command-line interface for Prismic. Initialize and synchronize your Prismic projects with ease.
|
|
4
|
+
|
|
5
|
+
## Quickstart
|
|
6
|
+
|
|
7
|
+
The easiest way to get started is through the [Prismic Dashboard](https://prismic.io/dashboard). Create an account, create a new repository, and follow the guided setup.
|
|
8
|
+
|
|
9
|
+
## What it does
|
|
10
|
+
|
|
11
|
+
The Prismic CLI helps you:
|
|
12
|
+
|
|
13
|
+
- **Initialize** your local project with your Prismic repository
|
|
14
|
+
- **Synchronize** your local project with your Prismic repository
|
|
15
|
+
|
|
16
|
+
## Usage
|
|
17
|
+
|
|
18
|
+
### Initialize a project
|
|
19
|
+
|
|
20
|
+
```bash
|
|
21
|
+
npx @prismicio/cli init --repository <repository>
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
### Synchronize changes
|
|
25
|
+
|
|
26
|
+
```bash
|
|
27
|
+
npx @prismicio/cli sync
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
## Documentation
|
|
31
|
+
|
|
32
|
+
For detailed documentation, visit the [official Prismic documentation](https://prismic.io/docs).
|
|
@@ -2513,7 +2513,7 @@ class Body {
|
|
|
2513
2513
|
}
|
|
2514
2514
|
return formData;
|
|
2515
2515
|
}
|
|
2516
|
-
const { toFormData } = await import("./multipart-parser-
|
|
2516
|
+
const { toFormData } = await import("./multipart-parser-Dz52gV_i.js");
|
|
2517
2517
|
return toFormData(this.body, ct2);
|
|
2518
2518
|
}
|
|
2519
2519
|
/**
|
|
@@ -70603,7 +70603,7 @@ const fetch = async (...args) => {
|
|
|
70603
70603
|
if (globalThis.fetch) {
|
|
70604
70604
|
return globalThis.fetch(...args);
|
|
70605
70605
|
} else if (typeof EdgeRuntime !== "string") {
|
|
70606
|
-
return (await import("./index-
|
|
70606
|
+
return (await import("./index-C04EGlVq.js")).default(...args);
|
|
70607
70607
|
} else {
|
|
70608
70608
|
throw new Error("Invariant: an edge runtime that does not support fetch should not exist");
|
|
70609
70609
|
}
|
|
@@ -82515,10 +82515,10 @@ const meow = (helpText, options8 = {}) => {
|
|
|
82515
82515
|
return result;
|
|
82516
82516
|
};
|
|
82517
82517
|
const name$4 = "@prismicio/cli";
|
|
82518
|
-
const version$k = "0.0.2-beta.
|
|
82518
|
+
const version$k = "0.0.2-beta.2";
|
|
82519
82519
|
const description = "Prismic CLI";
|
|
82520
82520
|
const keywords = ["typescript", "prismic"];
|
|
82521
|
-
const repository = { "type": "git", "url": "
|
|
82521
|
+
const repository = { "type": "git", "url": "git+https://github.com/prismicio/devtools.git" };
|
|
82522
82522
|
const license = "Apache-2.0";
|
|
82523
82523
|
const author = "Prismic <contact@prismic.io> (https://prismic.io)";
|
|
82524
82524
|
const type = "module";
|
|
@@ -82527,7 +82527,7 @@ const main = "dist/index.js";
|
|
|
82527
82527
|
const module$1 = "dist/index.js";
|
|
82528
82528
|
const types$5 = "dist/index.d.ts";
|
|
82529
82529
|
const bin = { "prismic": "./bin/prismic.js" };
|
|
82530
|
-
const files = ["bin", "dist", "src"];
|
|
82530
|
+
const files = ["bin", "dist", "src", "README.md"];
|
|
82531
82531
|
const engines = { "node": ">=20.19.0" };
|
|
82532
82532
|
const publishConfig = { "access": "public" };
|
|
82533
82533
|
const scripts = { "build": "vite build", "dev": "vite build --watch", "types": "tsc --noEmit", "format": "prettier --write .", "lint": "eslint --max-warnings 0 .", "prepack": "$npm_execpath run build", "depcheck": "depcheck --config=.depcheckrc", "audit": "yarn npm audit --environment production --severity high" };
|
|
@@ -150013,4 +150013,4 @@ export {
|
|
|
150013
150013
|
getDefaultExportFromCjs$3 as g,
|
|
150014
150014
|
run as r
|
|
150015
150015
|
};
|
|
150016
|
-
//# sourceMappingURL=cli-
|
|
150016
|
+
//# sourceMappingURL=cli-WdOFi94s.js.map
|