taggor 0.2.0 → 0.4.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 +9 -4
- package/dist/taggor.mjs +610 -409
- package/package.json +5 -5
- package/schemas/attach.json +1 -23
- package/schemas/init.json +4 -0
- package/schemas/publish.json +1 -54
- package/schemas/pull.json +152 -59
- package/schemas/sites-create.json +1 -22
package/README.md
CHANGED
|
@@ -12,20 +12,25 @@ Requires Node.js 20 or newer. The package is one bundled file with no runtime de
|
|
|
12
12
|
```bash
|
|
13
13
|
npx taggor login # browser sign-in (device authorization); the CLI never asks for a password
|
|
14
14
|
npx taggor whoami # your user, workspace and role
|
|
15
|
-
npx taggor init
|
|
16
|
-
npm install
|
|
15
|
+
npx taggor init # write a component project in the folder Taggor keeps for your workspace
|
|
16
|
+
cd <the folder init printed> && npm install
|
|
17
17
|
npx taggor publish # build it remotely and publish a version to a channel
|
|
18
18
|
```
|
|
19
19
|
|
|
20
20
|
`login` prints a code and a URL, waits, and you approve it in the browser. `logout` revokes the saved login
|
|
21
21
|
and deletes it from the machine.
|
|
22
22
|
|
|
23
|
+
You do not need GitHub or a repository: the source of every published version is stored in Taggor, and
|
|
24
|
+
`npx taggor pull` brings every component of your workspace back (the project is kept in
|
|
25
|
+
`~/.taggor/projects/<workspace>/`). To keep the project in a folder or repository of your own, use
|
|
26
|
+
`npx taggor init .` there instead.
|
|
27
|
+
|
|
23
28
|
## Commands
|
|
24
29
|
|
|
25
30
|
| Group | Commands |
|
|
26
31
|
| ----------------- | ----------------------------------------------------------------------------------------- |
|
|
27
32
|
| Account | `login`, `logout`, `whoami`, `workspaces` |
|
|
28
|
-
| Projects | `init`, `pull` (
|
|
33
|
+
| Projects | `init`, `pull` (bring your workspace's components back), `projects` |
|
|
29
34
|
| Build and release | `publish`, `logs`, `versions`, `promote`, `rollback`, and `dev`, `check` (see below) |
|
|
30
35
|
| Sites | `sites` (list, create, show the snippet), `attach`, `detach` |
|
|
31
36
|
| What happened | `data` (what your components collected), `metrics`, `usage` (limits of your plan) |
|
|
@@ -43,7 +48,7 @@ agents, and every exit code is documented in [`EXIT_CODES.md`](./EXIT_CODES.md),
|
|
|
43
48
|
|
|
44
49
|
## Docs
|
|
45
50
|
|
|
46
|
-
- [Quickstart](https://taggor.dev/docs/quickstart/): from
|
|
51
|
+
- [Quickstart](https://taggor.dev/docs/quickstart/): from nothing to a component on a test site
|
|
47
52
|
- [The snippet](https://taggor.dev/docs/snippet/) and [forms and data](https://taggor.dev/docs/forms-and-data/)
|
|
48
53
|
- [Errors](https://taggor.dev/docs/errors/) and [build diagnostics](https://taggor.dev/docs/diagnostics/), one page per code
|
|
49
54
|
- Working with an agent: [Claude Code](https://taggor.dev/docs/agents/claude-code/),
|