@hygraph/cli 0.0.21 → 0.1.0
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/CHANGELOG.md +6 -0
- package/README.md +6 -7
- package/dist/version.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @hygraph/cli
|
|
2
2
|
|
|
3
|
+
## 0.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 5c0f7b1: The CLI is now in beta. **Generate CLI PAT** in Studio is on for every project, and the Setup section of the README names it as the first way to create the token.
|
|
8
|
+
|
|
3
9
|
## 0.0.21
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@ Manage your Hygraph schema as code. Describe the schema in TypeScript, review
|
|
|
6
6
|
what would change, and apply it as one migration.
|
|
7
7
|
|
|
8
8
|
> [!WARNING]
|
|
9
|
-
> The CLI is in **
|
|
9
|
+
> The CLI is in **beta** and under active development. Not every field type
|
|
10
10
|
> and platform capability is supported yet, and commands and the config
|
|
11
11
|
> format can still change between releases.
|
|
12
12
|
>
|
|
@@ -28,12 +28,11 @@ npm i -D @hygraph/cli
|
|
|
28
28
|
The CLI needs a permanent auth token from your project's settings in Studio:
|
|
29
29
|
|
|
30
30
|
- a **permanent auth token** **(PAT)**
|
|
31
|
-
- Create one in **Project Settings > Permanent Auth Tokens
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
your project.
|
|
31
|
+
- Create one in **Project Settings > Permanent Auth Tokens** with
|
|
32
|
+
**Generate CLI PAT**. It creates a token with the management permissions
|
|
33
|
+
the CLI needs and no content access.
|
|
34
|
+
- Or use **Add token** on the same page, and then enable all management
|
|
35
|
+
permissions for it.
|
|
37
36
|
- Put the token in the `HYGRAPH_TOKEN` environment variable. The config
|
|
38
37
|
reads it from there, so the token never ends up in a file you commit.
|
|
39
38
|
|
package/dist/version.js
CHANGED