taggor 0.5.0 → 0.7.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/EXIT_CODES.md +1 -2
- package/README.md +2 -4
- package/dist/taggor.mjs +1499 -1254
- package/package.json +6 -5
- package/schemas/init.json +4 -0
- package/schemas/metrics-parameters.json +136 -0
- package/schemas/metrics.json +2 -2
- package/schemas/usage.json +0 -4
package/EXIT_CODES.md
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
# Exit codes of `taggor`
|
|
2
2
|
|
|
3
3
|
Stable: scripts and agents may branch on them. A code is never renumbered or reused; new ones are
|
|
4
|
-
added at the end.
|
|
5
|
-
fails when this file and the code disagree, and `CliError` refuses a code that is not in the table.
|
|
4
|
+
added at the end.
|
|
6
5
|
|
|
7
6
|
| Code | Name | When |
|
|
8
7
|
| ---- | --------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
package/README.md
CHANGED
|
@@ -36,12 +36,10 @@ You do not need GitHub or a repository: the source of every published version is
|
|
|
36
36
|
| What happened | `data` (what your components collected), `metrics`, `usage` (limits of your plan) |
|
|
37
37
|
| AI agents | `agent install` (teach Claude Code, Codex or Cursor to write and publish components here) |
|
|
38
38
|
|
|
39
|
-
`dev` (a local
|
|
40
|
-
the npm build does not ship, and the npm build never loads an engine from your project. They need
|
|
41
|
-
the CLI your Taggor portal serves; `publish` always builds and checks remotely, so it does not need them.
|
|
39
|
+
`dev` (a local test page with hot reload: each component on a light and a dark background, with panels for props, CSS variables and live events, the same page as the private preview) and `check` (the publication gates, offline) download the local engine from Taggor once, check its SHA-256 and keep it in `~/.taggor/engine/`; an engine is never loaded from your project. `publish` always builds and checks on Taggor.
|
|
42
40
|
|
|
43
41
|
Channels are `staging` and `production`: `promote` points a channel at a version and `rollback` points it
|
|
44
|
-
back at the previous one. Versions are immutable, so a rollback is
|
|
42
|
+
back at the previous one. Versions are immutable, so a rollback is one command. `preview` prints a new private
|
|
45
43
|
preview link for a version (`--version`, or `--channel`; default the latest version) without changing anything and
|
|
46
44
|
without building. `preview --build` builds the project's component and prints the link of that build with no
|
|
47
45
|
version made; it spends one build of the workspace's quota, and `publish --build <build_id>` then makes the
|