@crvouga/personal 0.1.0 → 0.1.2
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 +136 -3
- package/cli.mjs +2174 -294
- package/commands.json +264 -0
- package/package.json +3 -3
- package/probe.mjs +561 -30
- package/releasing.md +12 -5
- package/schema.json +11 -1
package/releasing.md
CHANGED
|
@@ -43,8 +43,15 @@ and configures/verifies its GitHub trusted publisher. Approve npm login and any
|
|
|
43
43
|
npm account/2FA approval in your own terminal/browser. No npm password, recovery
|
|
44
44
|
code or long-lived publishing token needs to be supplied to this project.
|
|
45
45
|
The trusted publisher is **`crvouga/personal` / `ci.yml`**, with direct publishing
|
|
46
|
-
permission.
|
|
47
|
-
|
|
46
|
+
permission. The publishing job runs directly in `ci.yml` so the registered
|
|
47
|
+
workflow and executing workflow have the same identity. Do not move publication
|
|
48
|
+
into a reusable workflow: its OIDC identity can differ from the registered publisher.
|
|
49
|
+
|
|
50
|
+
npm may require a separate browser approval when reading trusted-publisher
|
|
51
|
+
settings after login. Interactive verification keeps a terminal attached and
|
|
52
|
+
uses npm's readable output so those approval URLs appear immediately; npm's JSON
|
|
53
|
+
mode buffers browser URLs until completion. Open approval URLs in your normal
|
|
54
|
+
local browser with access to your security key/passkey.
|
|
48
55
|
|
|
49
56
|
Bootstrap is retryable: if content is already published, it only checks/configures
|
|
50
57
|
the publisher. Existing publishers are preserved; no connection is revoked or
|
|
@@ -74,7 +81,7 @@ publish-time web 2FA and trusted-publisher setup. npm update notices/progress ar
|
|
|
74
81
|
disabled too; keep npm versions owned by the shared mise lock, not a global
|
|
75
82
|
`npm install -g`. After cancellation or expiry, rerun the command and use its new
|
|
76
83
|
URL, not an earlier session's URL. Treat approval links as private; never paste
|
|
77
|
-
them into reports or shared logs. The browser approval is not proof of publication;
|
|
84
|
+
them into reports or shared logs. Registry verification retries version and latest-tag propagation with 100 seconds of bounded propagation waits without republishing. Transient read failures are retried within that same bound. The browser approval is not proof of publication;
|
|
78
85
|
wait for registry-integrity and trusted-publisher verification to finish.
|
|
79
86
|
|
|
80
87
|
## Vault username/password login
|
|
@@ -113,8 +120,8 @@ an environment-variable reference, not the token itself.
|
|
|
113
120
|
The main **CI** workflow validates the CLI on Linux/macOS/Windows and Node
|
|
114
121
|
22/24/26, including installing the packed distribution into a clean directory
|
|
115
122
|
with anonymous registry configuration and running it on real Node. The required
|
|
116
|
-
**Check** includes this job. After Check/Fleet pass on main, the
|
|
117
|
-
`
|
|
123
|
+
**Check** includes this job. After Check/Fleet pass on main, the release job directly in
|
|
124
|
+
`ci.yml`:
|
|
118
125
|
|
|
119
126
|
1. Reads the public registry and hashes the release inputs.
|
|
120
127
|
2. Skips publication when the published content hash already matches.
|
package/schema.json
CHANGED
|
@@ -36,7 +36,17 @@
|
|
|
36
36
|
"uniqueItems": true,
|
|
37
37
|
"default": ["github", "vault", "t3", "toolchain"],
|
|
38
38
|
"items": {
|
|
39
|
-
"enum": [
|
|
39
|
+
"enum": [
|
|
40
|
+
"github",
|
|
41
|
+
"vault",
|
|
42
|
+
"t3",
|
|
43
|
+
"vscode",
|
|
44
|
+
"toolchain",
|
|
45
|
+
"codex",
|
|
46
|
+
"claude",
|
|
47
|
+
"services",
|
|
48
|
+
"workstation"
|
|
49
|
+
]
|
|
40
50
|
}
|
|
41
51
|
}
|
|
42
52
|
}
|