@colony2/c2j 0.0.72 → 0.0.74
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 +27 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -81,6 +81,33 @@ modified at build time.
|
|
|
81
81
|
See [Execution tools](EXECUTION_TOOLS.md) for lazy pnpm, Nix, and uv tool dependencies and provider-owned cache storage.
|
|
82
82
|
See [Extension ops](EXTENSION_OPS.md) for authoring, publishing, and invoking prebuilt Nix ops.
|
|
83
83
|
|
|
84
|
+
## Nix package
|
|
85
|
+
|
|
86
|
+
The Nix package contains only the `c2j` executable, with no Node/npm wrapper or
|
|
87
|
+
bundled tool runtimes. Linux and macOS builds are published for x86-64 and ARM64
|
|
88
|
+
to the `colony2` Cachix cache in the Release workflow. After tests, tagging, and
|
|
89
|
+
GitHub asset publication succeed, Nix and npm publish in parallel from the same
|
|
90
|
+
release tag.
|
|
91
|
+
|
|
92
|
+
```bash
|
|
93
|
+
cachix use colony2
|
|
94
|
+
nix run github:colony-2/c2j/main#c2j -- version
|
|
95
|
+
# Install into your profile:
|
|
96
|
+
nix profile add github:colony-2/c2j/main#c2j
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
For reproducible, download-only deployments, replace `main` with a commit whose
|
|
100
|
+
Release workflow's Nix jobs have succeeded and use `--max-jobs 0`. A newly pushed
|
|
101
|
+
commit may not be cached yet. `main` builds report `unstable-<commit>` as their
|
|
102
|
+
version. Runtime tools such as Git, Nix, pnpm, and uv are supplied separately by
|
|
103
|
+
the execution environment when needed.
|
|
104
|
+
|
|
105
|
+
Maintainers: `nix build .#c2j` builds the executable; `nix flake check` also runs
|
|
106
|
+
its installation checks. After changing Go dependencies, update `vendorHash` in
|
|
107
|
+
`nix/package.nix` to the hash reported by a build with `lib.fakeHash`. CI checks
|
|
108
|
+
all four platforms, pushes with `CACHIX_COLONY2_AUTHKEY`, verifies downloads into
|
|
109
|
+
an empty store with builds disabled, and pins each commit's package in Cachix.
|
|
110
|
+
|
|
84
111
|
## Quick Start
|
|
85
112
|
|
|
86
113
|
### 1. Check current-cell resolution
|