@controlcairn/cli 0.0.0-stage → 0.9.1

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/package.json CHANGED
@@ -1,6 +1,57 @@
1
1
  {
2
2
  "name": "@controlcairn/cli",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
3
+ "version": "0.9.1",
4
+ "type": "module",
5
+ "//": "The `cairn` CLI (ADR-009, ADR-017, ADR-022): check, generate, drift, verify, push and pull over a repository-mode program, check, generate and drift judged through the API in the markdown format. Published as ONE bundle (#38, owner ruling B9): bundle/cairn.cjs holds cairn and everything it reaches, the fingerprint's cutting and hashing, the readers' TypeScript, the ledger verifier and the catalog's pin line, and never the engine, which judges on ControlCairn's servers alone (ADR-073; check:shipped-bundles holds it), so the package installs with no dependency and the single-file binaries and the image run the same bytes. Every dependency is therefore a devDependency: the bundler reads it at build time and no consumer installs it.",
6
+ "description": "cairn: check, generate, verify, push and pull a compliance program kept in its repository, against ControlCairn.",
7
+ "license": "SEE LICENSE IN LICENSE",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "git+https://github.com/controlcairn/cairn.git"
11
+ },
12
+ "bin": {
13
+ "cairn": "./bundle/cairn.cjs"
14
+ },
15
+ "files": [
16
+ "bundle/",
17
+ "LICENSE"
18
+ ],
19
+ "engines": {
20
+ "node": ">=24"
21
+ },
22
+ "publishConfig": {
23
+ "registry": "https://registry.npmjs.org/",
24
+ "access": "public"
25
+ },
26
+ "devDependencies": {
27
+ "@controlcairn/catalog": "0.0.0",
28
+ "@controlcairn/check": "0.0.0",
29
+ "@controlcairn/engine": "0.27.0",
30
+ "@controlcairn/fingerprint": "0.0.0",
31
+ "@controlcairn/ledger-verify": "0.0.0",
32
+ "@types/node": "^24.19.2",
33
+ "@vitest/coverage-v8": "^5.1.1",
34
+ "ajv": "^8.20.0",
35
+ "ajv-draft-04": "^1.0.0",
36
+ "cairn-released": "npm:@controlcairn/cli@0.9.0",
37
+ "esbuild": "^0.28.2",
38
+ "gitlab-ci-local": "4.77.1",
39
+ "js-yaml": "^5.5.0",
40
+ "postject": "1.0.0-alpha.6",
41
+ "typescript": "^6.0.3",
42
+ "vitest": "^5.1.1",
43
+ "xmllint-wasm": "^5.3.0"
44
+ },
45
+ "scripts": {
46
+ "//prepare": "A clean checkout builds dist/ and the bundle on install, so `cairn` runs from the workspace before any build. `prepare`, never `postinstall`: the published manifest keeps its scripts, and a consumer installing the tarball runs `postinstall` with none of the build's tools, while `prepare` runs only in a checkout.",
47
+ "build": "tsc -p tsconfig.build.json && node release/bundle.ts",
48
+ "typecheck": "tsc -p tsconfig.json --noEmit && tsc -p tsconfig.build.json",
49
+ "test:unit": "vitest run --coverage",
50
+ "//binaries": "The single-file binaries (#38): the bundle injected into the pinned Node of each platform, written with SHA256SUMS to release-out/.",
51
+ "binaries": "node release/sea.ts --bundle bundle/cairn.cjs --out release-out",
52
+ "//smoke": "One binary's smoke on a Linux runner (owner ruling B3): `pnpm smoke <target> release-out/<file> --fixture tests/fixtures/program`.",
53
+ "smoke": "node release/smoke.ts",
54
+ "//proof": "The CI integrations' proof (#39): a stack and an API this run starts, a sample repository, and the GitHub Action under act and the GitLab component under gitlab-ci-local each checking and pushing it through the cairn image named by `--image <ref>`, every report validated. Needs Docker; the stack comes down whether the proof holds or fails. CI runs it inside the cairn-proof image, by smoke/proof.sh.",
55
+ "proof": "node integrations/proof.ts"
56
+ }
6
57
  }
package/README.md DELETED
@@ -1,3 +0,0 @@
1
- # Temporary Holding Version
2
-
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.