@1consent/cli 0.1.0-beta.2 → 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/README.md CHANGED
@@ -6,17 +6,14 @@ and framework-associated fast-path versions.
6
6
 
7
7
  ## Distribution status
8
8
 
9
- The first supported release line is `0.1.0-beta.*` on npm's `beta` dist-tag.
10
- The protected public-repository workflow stages each release with provenance
11
- for a maintainer's npm 2FA approval. The first release uses a short-lived
12
- stage-only token; later releases use trusted publishing.
9
+ Stable releases are published on npm's `latest` dist-tag; prereleases use the
10
+ `beta` dist-tag. The protected public-repository workflow stages each release
11
+ with provenance for a maintainer's npm 2FA approval, using trusted publishing.
13
12
  The unscoped npm package `1c` belongs to an unrelated project;
14
- never direct customers to `npx 1c`.
15
-
16
- After registry verification, the supported beta invocation is:
13
+ never direct customers to `npx 1c`. Run the scoped package:
17
14
 
18
15
  ```sh
19
- npx @1consent/cli@beta typegen --app YOUR_APP_ID
16
+ npx @1consent/cli typegen --app YOUR_APP_ID
20
17
  ```
21
18
 
22
19
  The installed executable remains named `1c`. The published artifact contains
@@ -27,11 +24,13 @@ monorepo's internal Design Kit or contracts packages. The plugin supports Vite
27
24
  8, declared as an optional peer so command-only CLI consumers do not install a
28
25
  frontend build tool they never use.
29
26
 
30
- Run `1c --help` for the source-backed command reference.
27
+ Run `1c --help` for the command reference: `init`, `pull`, `push`, `status`
28
+ and `typegen`. `1c typegen` writes its typed names for each adapter your
29
+ project declares in its `package.json` (`@1consent/nextjs`, `@1consent/react`).
31
30
 
32
31
  ## Before publication
33
32
 
34
- The CLI requires Node.js 22 or newer. From this repository's root, pack the
33
+ The CLI requires Node.js 22.12 or newer. From this repository's root, pack the
35
34
  reviewed artifact into an existing directory:
36
35
 
37
36
  ```sh
@@ -40,4 +39,4 @@ npm pack ./packages/libs/cli --pack-destination /path/to/tarballs
40
39
 
41
40
  Install that tarball in a test project and run `./node_modules/.bin/1c --help`
42
41
  there. The public registry invocation remains the scoped
43
- `npx @1consent/cli@beta` command above.
42
+ `npx @1consent/cli` command above.