@rightkit/release 0.6.4 → 0.6.6
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 +109 -7
- package/admission-files.mjs +279 -0
- package/admission-host.mjs +403 -0
- package/admission.mjs +146 -0
- package/android-play-upload.mjs +4 -4
- package/app-check.mjs +1326 -0
- package/apple-profile-create.mjs +4 -3
- package/apple-profile-renew.mjs +5 -4
- package/bin/darwin/rightkit-swap +0 -0
- package/bin/rightkit-gate.mjs +495 -69
- package/binary-license-notices.mjs +2 -1
- package/build-release.mjs +87 -26
- package/cache-command.mjs +4 -3
- package/cargo-license-notices.mjs +2 -1
- package/cargo-manifest-text.mjs +25 -0
- package/cargo-profile-contract.mjs +26 -13
- package/cli/right-release.mjs +45 -5
- package/command-spec.mjs +4 -5
- package/deps.mjs +5 -4
- package/deterministic-scans.mjs +301 -37
- package/development.mjs +5 -5
- package/github-release.mjs +5 -3
- package/github-upload-gate.mjs +6 -6
- package/init-command.mjs +134 -8
- package/inventory-check.mjs +12 -1
- package/ios-upload.mjs +4 -4
- package/mirror-root-artifact.mjs +3 -4
- package/npm-license-notices.mjs +2 -1
- package/outdated-command.mjs +91 -0
- package/ownership-dependency-allowlist.json +2 -0
- package/package.json +41 -3
- package/pipeline-admission.mjs +12 -0
- package/prebuild-gates.mjs +7 -3
- package/publish-cargo.mjs +215 -3
- package/publish-update.mjs +5 -3
- package/release-config.mjs +36 -5
- package/release-dependencies-command.mjs +4 -3
- package/release-qa-audit.mjs +12 -10
- package/release-qa-command.mjs +42 -7
- package/release-qa-hardening.mjs +10 -3
- package/release-qa-policy.mjs +214 -47
- package/release.mjs +117 -62
- package/rightkit-registry-resolver.mjs +5 -2
- package/rightkit-versions.json +18 -13
- package/stage-sidecar-command.mjs +5 -5
- package/test-command.mjs +3 -2
- package/upload-release.mjs +3 -2
- package/web-build.mjs +2 -1
package/upload-release.mjs
CHANGED
|
@@ -3,6 +3,7 @@ import { createHash } from "node:crypto";
|
|
|
3
3
|
import { existsSync, mkdirSync, readFileSync, writeFileSync } from "node:fs";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
import { prepareGitHubRelease, publishGitHubRelease } from "./github-release.mjs";
|
|
6
|
+
import { defaultReleaseConfigFile } from "./release-config.mjs";
|
|
6
7
|
import { authorizeGitHubUpload } from "./github-upload-gate.mjs";
|
|
7
8
|
import { recordPublishedVersion } from "./artifact-storage.mjs";
|
|
8
9
|
import { admitInstalledQa } from "./release-qa-audit.mjs";
|
|
@@ -12,7 +13,7 @@ let platform = process.platform === "win32" ? "win" : process.platform === "darw
|
|
|
12
13
|
let releaseId = "";
|
|
13
14
|
let tier = "";
|
|
14
15
|
let repo = "";
|
|
15
|
-
let configName =
|
|
16
|
+
let configName = defaultReleaseConfigFile();
|
|
16
17
|
let dryRun = false;
|
|
17
18
|
let apply = false;
|
|
18
19
|
|
|
@@ -87,7 +88,7 @@ function writeJson(file, value) {
|
|
|
87
88
|
}
|
|
88
89
|
|
|
89
90
|
function usage(code) {
|
|
90
|
-
console.log("usage: right-release upload --release <sealed-id> --platform win|mac --tier patch|update [--config right-release.config.
|
|
91
|
+
console.log("usage: right-release upload --release <sealed-id> --platform win|mac --tier patch|update [--config right-release.config.json] [--repo owner/repo] [--dry-run]\n right-release upload --platform android --release <sealed-id> [--config right-release.config.json] [--apply] (Play internal track; dry run unless --apply)\n right-release upload --platform ios --release <sealed-id> [--config right-release.config.json] [--apply] (TestFlight; dry run unless --apply)");
|
|
91
92
|
process.exit(code);
|
|
92
93
|
}
|
|
93
94
|
|
package/web-build.mjs
CHANGED
|
@@ -15,9 +15,10 @@
|
|
|
15
15
|
import { pathToFileURL } from "node:url";
|
|
16
16
|
import { spawnSync } from "./background-process.mjs";
|
|
17
17
|
import { CommandSpecError, loadAppConfig, resolveInvocation, validateStep } from "./command-spec.mjs";
|
|
18
|
+
import { defaultReleaseConfigFile } from "./release-config.mjs";
|
|
18
19
|
|
|
19
20
|
export function parseWebBuildArgs(argv) {
|
|
20
|
-
const opts = { config:
|
|
21
|
+
const opts = { config: defaultReleaseConfigFile(), dryRun: false };
|
|
21
22
|
for (let i = 0; i < argv.length; i += 1) {
|
|
22
23
|
const arg = argv[i];
|
|
23
24
|
if (arg === "--config") {
|