@functional-systems/lambdadb-cli 0.1.1-dev.6 → 0.1.1-dev.8
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/CHANGELOG.md +9 -0
- package/README.md +24 -3
- package/RELEASING.md +12 -0
- package/VALIDATION.md +64 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased]
|
|
4
4
|
|
|
5
|
+
### Added
|
|
6
|
+
|
|
7
|
+
- A Homebrew formula for the published stable CLI, with a managed Node 24 runtime,
|
|
8
|
+
checksummed npm/lockfile inputs and isolated production dependencies.
|
|
9
|
+
- Local Homebrew installation checks, installed CLI contracts and macOS/Linux PR
|
|
10
|
+
validation.
|
|
11
|
+
- Public installation with `brew install lambdadb/tap/lambdadb-cli`, backed by the
|
|
12
|
+
LambdaDB Homebrew tap and remote installation checks.
|
|
13
|
+
|
|
5
14
|
### Maintenance
|
|
6
15
|
|
|
7
16
|
- Synchronize the 0.1.0 release history into develop and start the 0.1.1 development
|
package/README.md
CHANGED
|
@@ -6,10 +6,10 @@ pagination, bulk transfers and large response downloads.
|
|
|
6
6
|
|
|
7
7
|
## Install and run
|
|
8
8
|
|
|
9
|
-
Requires Node.js 22.14 or newer and npm.
|
|
10
|
-
|
|
11
9
|
### Install from npm
|
|
12
10
|
|
|
11
|
+
Requires Node.js 22.14 or newer and npm.
|
|
12
|
+
|
|
13
13
|
Install the stable channel:
|
|
14
14
|
|
|
15
15
|
```sh
|
|
@@ -25,9 +25,30 @@ Installed CLIs do not update themselves. See
|
|
|
25
25
|
[RELEASING.md](RELEASING.md#current-status) for release status and
|
|
26
26
|
[VALIDATION.md](VALIDATION.md) for verification results and remaining limitations.
|
|
27
27
|
|
|
28
|
+
### Homebrew
|
|
29
|
+
|
|
30
|
+
On macOS or Linux with [Homebrew](https://brew.sh/) installed:
|
|
31
|
+
|
|
32
|
+
```sh
|
|
33
|
+
brew install lambdadb/tap/lambdadb-cli
|
|
34
|
+
lambdadb --version
|
|
35
|
+
lambdadb --help
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
The [LambdaDB tap](https://github.com/lambdadb/homebrew-tap) installs the stable CLI
|
|
39
|
+
and its Node 24 runtime. No separate Node/npm setup is needed. Update with
|
|
40
|
+
`brew update` followed by `brew upgrade lambdadb/tap/lambdadb-cli`; remove with
|
|
41
|
+
`brew uninstall lambdadb/tap/lambdadb-cli`.
|
|
42
|
+
|
|
43
|
+
If another installation provides `lambdadb`, check `command -v lambdadb` before
|
|
44
|
+
switching package managers. Follow Homebrew's formula trust prompts without
|
|
45
|
+
disabling trust checks. See the
|
|
46
|
+
[maintainer guide](https://github.com/lambdadb/lambdadb-cli/tree/develop/packaging/homebrew#readme)
|
|
47
|
+
for packaging and validation details.
|
|
48
|
+
|
|
28
49
|
### Build from source
|
|
29
50
|
|
|
30
|
-
From a checkout of this repository:
|
|
51
|
+
Requires Node.js 22.14 or newer and npm. From a checkout of this repository:
|
|
31
52
|
|
|
32
53
|
```sh
|
|
33
54
|
npm ci
|
package/RELEASING.md
CHANGED
|
@@ -252,6 +252,18 @@ live behavior, or exactly-once writes. A large result alone does not prove the
|
|
|
252
252
|
service selected docsUrl; mock tests explicitly exercise that transport path.
|
|
253
253
|
Use existing known development tag/alias refs for additional live ref evidence.
|
|
254
254
|
|
|
255
|
+
## Homebrew handoff
|
|
256
|
+
|
|
257
|
+
The stable formula is maintained in `packaging/homebrew/Formula/lambdadb-cli.rb`.
|
|
258
|
+
It consumes the verified npm artifact and the lockfile from its immutable release
|
|
259
|
+
commit. Development publication does not update Homebrew. After each stable npm
|
|
260
|
+
release, follow the [Homebrew maintainer guide](https://github.com/lambdadb/lambdadb-cli/tree/develop/packaging/homebrew#readme) to
|
|
261
|
+
update checksums, pass installation checks and prepare a tap PR. Tap publication
|
|
262
|
+
is separate from this repository's npm workflow; no cross-repository write or
|
|
263
|
+
automatic tap update is configured. The public
|
|
264
|
+
[LambdaDB tap](https://github.com/lambdadb/homebrew-tap) provides stable `0.1.0`;
|
|
265
|
+
installation evidence is recorded in [VALIDATION.md](VALIDATION.md#homebrew-publication).
|
|
266
|
+
|
|
255
267
|
## Design references
|
|
256
268
|
|
|
257
269
|
- LambdaDB TypeScript client `RELEASING.md` and `publish.yaml`: canonical channels,
|
package/VALIDATION.md
CHANGED
|
@@ -3,6 +3,70 @@
|
|
|
3
3
|
Updated: 2026-09-19. Local contract tests use loopback servers and synthetic
|
|
4
4
|
credentials. A separate authenticated development-project smoke is recorded below.
|
|
5
5
|
|
|
6
|
+
## Homebrew publication
|
|
7
|
+
|
|
8
|
+
On 2026-09-19, the public
|
|
9
|
+
[lambdadb/homebrew-tap](https://github.com/lambdadb/homebrew-tap) was initialized at
|
|
10
|
+
`ca84485149d7915131df686b4c68868d47c00cd5`. Its CLI formula is byte-for-byte equal
|
|
11
|
+
to the formula merged in CLI PR #7 (`3eefaaa`), selecting stable `0.1.0` and the
|
|
12
|
+
release lockfile at `c8d389f`.
|
|
13
|
+
|
|
14
|
+
- Local macOS 26.4 arm64 / Homebrew 6.0.17 verification used the tap's new harness
|
|
15
|
+
in both local and remote modes. Remote mode invoked
|
|
16
|
+
`brew install --formula lambdadb/tap/lambdadb-cli` with no existing tap or CLI,
|
|
17
|
+
exercising automatic public tap discovery and formula-specific trust.
|
|
18
|
+
- Installation, downloaded formula equality, Homebrew style, `brew test`, version
|
|
19
|
+
`0.1.0`, JSON configuration with mode 0600, and the wrapper with an unusable
|
|
20
|
+
ambient Node all passed. No trust checks were disabled.
|
|
21
|
+
- Test installations and taps were removed; existing taps, fnm Node and CLI
|
|
22
|
+
`.env.local` were preserved. Dependencies and caches remain installed.
|
|
23
|
+
- [Tap CI](https://github.com/lambdadb/homebrew-tap/actions/runs/35433096180)
|
|
24
|
+
passed remote installation, style, smoke, runtime selection and cleanup on both
|
|
25
|
+
macOS 15 and Ubuntu 24.04 at the published tap commit.
|
|
26
|
+
- Simulated existing CLI, broken prefix executable symlink and existing remote
|
|
27
|
+
tap cases stopped the new harness before mutations; invalid mode returned 2
|
|
28
|
+
without invoking Homebrew.
|
|
29
|
+
- Tap main protection requires both installation checks, one approving review,
|
|
30
|
+
resolved conversations and an up-to-date base; force pushes and deletion are
|
|
31
|
+
disabled. Organization-level default-branch rules also apply.
|
|
32
|
+
|
|
33
|
+
This publishes an installation path for the existing stable artifact, without a
|
|
34
|
+
new npm release or another LambdaDB live-service smoke. Upgrade behavior between
|
|
35
|
+
two distinct stable versions remains unverified until the next formula update.
|
|
36
|
+
The earlier 35-contract Homebrew verification below used the same stable artifact;
|
|
37
|
+
this tap publication ran the installation smoke checks rather than repeating it.
|
|
38
|
+
|
|
39
|
+
## Homebrew preparation
|
|
40
|
+
|
|
41
|
+
On 2026-09-19, macOS 26.4 arm64 / Homebrew 6.0.17 installed stable `0.1.0`
|
|
42
|
+
from `packaging/homebrew/Formula/lambdadb-cli.rb` through a disposable local tap.
|
|
43
|
+
The npm tarball SHA-256 was checked against the downloaded bytes, whose SHA-512
|
|
44
|
+
matched registry integrity. The release lockfile resource is fixed to `c8d389f`.
|
|
45
|
+
|
|
46
|
+
- Homebrew formula style, installation and `brew test` passed. The formula checks
|
|
47
|
+
CLI version, JSON configuration and mode 0600 without contacting a service.
|
|
48
|
+
- A deliberately unusable `node` placed first on ambient PATH did not prevent
|
|
49
|
+
the installed wrapper from running; it selected Homebrew's Node 24.21.0.
|
|
50
|
+
- All 35 CLI contracts from the stable release commit passed against the installed
|
|
51
|
+
Homebrew package. The harness uses the release commit's tests/examples so future
|
|
52
|
+
development-only features do not create false failures for an older stable CLI.
|
|
53
|
+
- Simulated existing-formula and broken-executable-symlink cases both stopped the
|
|
54
|
+
harness before any installation or tap mutation.
|
|
55
|
+
- The temporary CLI installation and tap were removed. The final harness disables
|
|
56
|
+
automatic dependency removal and cleanup, and does not persist developer mode.
|
|
57
|
+
Homebrew dependencies/caches remain: installing Node also upgraded the required
|
|
58
|
+
ca-certificates, openssl@3, readline, sqlite and xz packages during initial setup.
|
|
59
|
+
The existing fnm-managed Node and global npm CLI were not replaced.
|
|
60
|
+
- Normal clean-install, lint, version/type checks, 59 source tests and 35 npm
|
|
61
|
+
installed-package contracts also passed. CLI runtime and SDK dependencies did
|
|
62
|
+
not change.
|
|
63
|
+
|
|
64
|
+
macOS/Linux Homebrew CI is configured separately from runtime CI; current PR job
|
|
65
|
+
results are the authority for hosted-runner coverage. This initial preparation
|
|
66
|
+
did not create the public tap; publication evidence is recorded above. No new npm
|
|
67
|
+
version was published by the preparation. LambdaDB service smoke was not repeated for
|
|
68
|
+
this packaging-only change; the stable candidate evidence below remains separate.
|
|
69
|
+
|
|
6
70
|
## Stable 0.1.0 publication
|
|
7
71
|
|
|
8
72
|
On 2026-09-19, [GitHub Release v0.1.0](https://github.com/lambdadb/lambdadb-cli/releases/tag/v0.1.0)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@functional-systems/lambdadb-cli",
|
|
3
|
-
"version": "0.1.1-dev.
|
|
3
|
+
"version": "0.1.1-dev.8",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Project-scoped LambdaDB command-line tools",
|
|
6
6
|
"type": "module",
|
|
@@ -53,5 +53,5 @@
|
|
|
53
53
|
"url": "https://github.com/lambdadb/lambdadb-cli/issues"
|
|
54
54
|
},
|
|
55
55
|
"license": "Apache-2.0",
|
|
56
|
-
"gitHead": "
|
|
56
|
+
"gitHead": "225dec37f48dd5603af7fe777c1eb24d9041188c"
|
|
57
57
|
}
|