@youdie006/prodex 0.8.1 → 0.8.3
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 +18 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -386,9 +386,26 @@ npm run dev -- tasks list
|
|
|
386
386
|
|
|
387
387
|
**Windows / macOS?** The code targets all three platforms, but the visible-browser adapter is exercised most on Linux; open an issue with details if a browser step misbehaves on macOS or Windows.
|
|
388
388
|
|
|
389
|
+
## Releasing
|
|
390
|
+
|
|
391
|
+
Publishing to npm runs entirely in CI with **no long-lived token** — auth is npm [trusted publishing](https://docs.npmjs.com/trusted-publishers) (OIDC), so nothing needs to store or paste an `NPM_TOKEN`, and every release carries a verifiable `--provenance` attestation.
|
|
392
|
+
|
|
393
|
+
Release flow:
|
|
394
|
+
|
|
395
|
+
```bash
|
|
396
|
+
# 1. bump version + update CHANGELOG on main, commit, push main
|
|
397
|
+
# 2. tag the release and push the tag — CI publishes it
|
|
398
|
+
git tag v0.8.2
|
|
399
|
+
git push origin v0.8.2
|
|
400
|
+
```
|
|
401
|
+
|
|
402
|
+
`.github/workflows/publish.yml` fires on a `v*.*.*` tag: it checks out, installs, verifies the tag equals `package.json`'s version, runs `release:verify`, and publishes with `npm publish --provenance --access public`. The tag/version guard prevents publishing a mismatched version.
|
|
403
|
+
|
|
404
|
+
One-time setup (owner, on npmjs.com): open the package → Settings → Trusted Publishing → add a GitHub Actions publisher for repo `youdie006/prodex` and workflow `publish.yml`. After that, no npm tokens are needed anywhere; revoke any previously issued automation tokens.
|
|
405
|
+
|
|
389
406
|
## Release Checks
|
|
390
407
|
|
|
391
|
-
GitHub Actions runs `npm ci`, `npm run release:check`, and `npm run release:verify` on pushes to `main` and pull requests. The workflow installs `ripgrep` because the repo-search smoke checks require `rg`. It verifies release readiness only; it does not publish anything.
|
|
408
|
+
GitHub Actions runs `npm ci`, `npm run build`, `npm run release:check`, and `npm run release:verify` on pushes to `main` and pull requests. The workflow installs `ripgrep` because the repo-search smoke checks require `rg`. It verifies release readiness only; it does not publish anything.
|
|
392
409
|
|
|
393
410
|
Before sharing a package tarball, run:
|
|
394
411
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@youdie006/prodex",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.3",
|
|
4
4
|
"description": "Local receipt bus for coordinating Codex execution with ChatGPT Pro/Projects consultation.",
|
|
5
5
|
"author": "youdie006",
|
|
6
6
|
"license": "MIT",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
],
|
|
27
27
|
"type": "module",
|
|
28
28
|
"bin": {
|
|
29
|
-
"prodex": "
|
|
29
|
+
"prodex": "dist/cli.js"
|
|
30
30
|
},
|
|
31
31
|
"exports": {},
|
|
32
32
|
"files": [
|