@renxqoo/renx-code-darwin-arm64 0.0.59 → 0.0.61
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 +73 -0
- package/bin/renx +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -33,3 +33,76 @@ The launcher copies installed native binaries into a user-scoped cache before ex
|
|
|
33
33
|
- Default cache path on Windows: `%LOCALAPPDATA%\Renx\binary-cache`
|
|
34
34
|
- Override cache path: `RENX_BINARY_CACHE_DIR`
|
|
35
35
|
- Disable the cache for debugging: `RENX_DISABLE_BINARY_CACHE=1`
|
|
36
|
+
|
|
37
|
+
## Release
|
|
38
|
+
|
|
39
|
+
### GitHub Actions workflow
|
|
40
|
+
|
|
41
|
+
Use the manual GitHub Actions workflow at `.github/workflows/cli-release.yml`.
|
|
42
|
+
|
|
43
|
+
- Workflow name: `CLI Release`
|
|
44
|
+
- Trigger: `workflow_dispatch`
|
|
45
|
+
- Inputs:
|
|
46
|
+
- `npm_tag`: optional npm dist-tag. Leave empty to publish with the default npm tag.
|
|
47
|
+
- `otp`: optional one-time password for npm publish when your npm setup requires it.
|
|
48
|
+
|
|
49
|
+
The workflow publishes platform packages first, then publishes the main package only after all platform publishes succeed.
|
|
50
|
+
|
|
51
|
+
### Required secrets and permissions
|
|
52
|
+
|
|
53
|
+
Configure these before running the workflow:
|
|
54
|
+
|
|
55
|
+
- `NPM_TOKEN`: required. The workflow exposes it as `NODE_AUTH_TOKEN` for npm publish.
|
|
56
|
+
- npm package publish permission for `@renxqoo/renx-code` and the platform packages under the same scope.
|
|
57
|
+
- If your npm publish flow requires OTP, provide it through the `otp` workflow input when triggering the run.
|
|
58
|
+
|
|
59
|
+
### First release recommendation
|
|
60
|
+
|
|
61
|
+
For the first public release of a new version, prefer this sequence:
|
|
62
|
+
|
|
63
|
+
1. Run the workflow with `npm_tag=next`.
|
|
64
|
+
2. Verify install and execution from the published `next` tag on the platforms you care about.
|
|
65
|
+
3. Run the workflow again with an empty `npm_tag` value to publish to the default tag, or set `npm_tag=latest` explicitly if you want to be explicit.
|
|
66
|
+
|
|
67
|
+
This reduces the chance of breaking users on `latest` before the new platform packages are validated.
|
|
68
|
+
|
|
69
|
+
### Dist-tag usage
|
|
70
|
+
|
|
71
|
+
- Stable release: leave `npm_tag` empty, or set `npm_tag=latest`.
|
|
72
|
+
- Preview / canary release: set `npm_tag=next`.
|
|
73
|
+
|
|
74
|
+
Example installs:
|
|
75
|
+
|
|
76
|
+
```bash
|
|
77
|
+
npm install -g @renxqoo/renx-code@latest
|
|
78
|
+
npm install -g @renxqoo/renx-code@next
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
### Local verification commands
|
|
82
|
+
|
|
83
|
+
Before triggering the publish workflow, these local commands are useful:
|
|
84
|
+
|
|
85
|
+
```bash
|
|
86
|
+
pnpm --filter @renxqoo/renx-code release:pack -- --single --dry-run
|
|
87
|
+
pnpm --filter @renxqoo/renx-code release:pack -- --target darwin-arm64 --dry-run
|
|
88
|
+
pnpm --filter @renxqoo/renx-code release:pack -- --target darwin-x64 --dry-run
|
|
89
|
+
pnpm --filter @renxqoo/renx-code release:pack -- --target linux-arm64 --dry-run
|
|
90
|
+
pnpm --filter @renxqoo/renx-code release:pack -- --target linux-x64 --dry-run
|
|
91
|
+
pnpm --filter @renxqoo/renx-code release:pack -- --target win32-x64 --dry-run
|
|
92
|
+
pnpm --filter @renxqoo/renx-code release:pack -- --all --dry-run
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
For local npm authentication checks, run:
|
|
96
|
+
|
|
97
|
+
```bash
|
|
98
|
+
pnpm --filter @renxqoo/renx-code release:preflight
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
### Local manual publish
|
|
102
|
+
|
|
103
|
+
If you need to publish outside GitHub Actions, use the same unified script entrypoints:
|
|
104
|
+
|
|
105
|
+
```bash
|
|
106
|
+
pnpm --filter @renxqoo/renx-code release:publish -- --target darwin-arm64 --tag next
|
|
107
|
+
pnpm --filter @renxqoo/renx-code release:publish -- --single --tag next
|
|
108
|
+
```
|
package/bin/renx
CHANGED
|
Binary file
|