@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 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 **alpha** and under active development. Not every field type
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 > Add token**
32
- - Then enable all management permissions for it
33
- - Or use **Generate CLI PAT** on the same page. It creates a token with the
34
- management permissions the CLI needs and no content access. The button
35
- is not on for every project yet. Ask Hygraph support to turn it on for
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
@@ -1,5 +1,5 @@
1
1
  //#region src/version.ts
2
- const VERSION = "0.0.21";
2
+ const VERSION = "0.1.0";
3
3
  const CLI_ENVIRONMENT = "production";
4
4
  //#endregion
5
5
  export { VERSION as n, CLI_ENVIRONMENT as t };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hygraph/cli",
3
- "version": "0.0.21",
3
+ "version": "0.1.0",
4
4
  "description": "Manage your Hygraph schema as code",
5
5
  "license": "MIT",
6
6
  "author": "Hygraph GmbH",