@rightkit/ci 0.2.45 → 0.3.0
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 +90 -3
- package/artifacts.mjs +290 -0
- package/artifacts.test.mjs +168 -0
- package/checkout.test.mjs +1 -0
- package/cli/right-git.mjs +4 -0
- package/guard-coverage.test.mjs +1 -0
- package/manifest.mjs +545 -30
- package/manifest.schema.json +138 -6
- package/manifest.test.mjs +48 -0
- package/orkflows.test.mjs +0 -0
- package/package.json +2 -2
- package/render.test.mjs +362 -27
- package/supersede.mjs +127 -0
- package/supersede.test.mjs +84 -0
- package/swift-check.test.mjs +95 -0
- package/sync.mjs +4 -1
- package/templates/ci.yml +4 -4
- package/templates/profiles/rust-hybrid/ci.yml +4 -4
- package/templates/profiles/rust-hybrid/release-candidate.yml +2 -1
- package/templates/profiles/rust-hybrid/sign-existing.yml +36 -0
- package/templates/swift-check.yml +85 -0
- package/workflows.mjs +638 -0
- package/workflows.test.mjs +213 -0
package/cli/right-git.mjs
CHANGED
|
@@ -6,6 +6,7 @@ import { syncCommand } from "../sync.mjs";
|
|
|
6
6
|
import { driftCommand, driftAll } from "../drift.mjs";
|
|
7
7
|
import { adoptCommand } from "../adopt.mjs";
|
|
8
8
|
import { uninstallCommand } from "../uninstall.mjs";
|
|
9
|
+
import { artifactsCommand } from "../artifacts.mjs";
|
|
9
10
|
|
|
10
11
|
const commands = new Map([
|
|
11
12
|
["install", runInstall],
|
|
@@ -13,6 +14,7 @@ const commands = new Map([
|
|
|
13
14
|
["drift", runDrift],
|
|
14
15
|
["adopt", runAdopt],
|
|
15
16
|
["uninstall", runUninstall],
|
|
17
|
+
["artifacts", (argv) => artifactsCommand(argv)],
|
|
16
18
|
]);
|
|
17
19
|
|
|
18
20
|
// F7 fix: flags that are always boolean and must never consume the next
|
|
@@ -213,6 +215,8 @@ Commands:
|
|
|
213
215
|
drift --all [workspace-root] Drift-check + re-check visibility for every managed repo found
|
|
214
216
|
adopt <repo-path> [--out <dir>] Map an existing repo's workflows onto right-git lanes for review
|
|
215
217
|
uninstall <repo-path> Remove every right-git-managed workflow file
|
|
218
|
+
artifacts fetch --run <id> --out <dir> [--name <glob>] [--repo owner/repo] [--expect-sha256 <hex> [--file <path>]] [--receipt <file>] [--json]
|
|
219
|
+
Download a run's artifacts via gh, merge them, verify the sha256 pin, write a JSON receipt
|
|
216
220
|
|
|
217
221
|
Public-repo only: install/sync refuse private, internal, or unconfirmed-visibility repos. No override flag (invariant I1).`);
|
|
218
222
|
}
|
package/guard-coverage.test.mjs
CHANGED
|
@@ -54,6 +54,7 @@ const FULL_MANIFEST = {
|
|
|
54
54
|
schemaVersion: 1,
|
|
55
55
|
compile: "github-actions-only",
|
|
56
56
|
lanes: [...KNOWN_LANES],
|
|
57
|
+
swift: { check: { runner: "macos-15", xcodeVersion: "16.4", projectDirectory: "ios", spec: "project.yml", project: "Widgets.xcodeproj", scheme: "Widgets", xcodegenVersion: "2.44.1" } },
|
|
57
58
|
regenerate: { script: "regenerate" },
|
|
58
59
|
matrix: { os: ["ubuntu-latest", "macos-latest", "windows-latest"], node: ["22.13", "24"] },
|
|
59
60
|
packageManager: "pnpm@11.24.0",
|