@rightkit/release 0.2.15 → 0.2.16
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,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rightkit/release",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.16",
|
|
4
4
|
"description": "Portable Right Suite release CLI/SDK: signed installers, updater artifacts, patch/update routing, hardening, R2 publish, and RightApps registration.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
package/publish-update.test.mjs
CHANGED
|
@@ -189,7 +189,12 @@ test("refuses versioned updater object keys for gated feature updates", () => {
|
|
|
189
189
|
|
|
190
190
|
test("requires the durable release credential before the first patch upload", () => {
|
|
191
191
|
const config = fixture({ materialize: true });
|
|
192
|
-
const env = {
|
|
192
|
+
const env = {
|
|
193
|
+
...process.env,
|
|
194
|
+
APPDATA: path.join(path.dirname(config), "empty-appdata"),
|
|
195
|
+
RIGHT_RELEASE_TIER: "patch",
|
|
196
|
+
RIGHTAPPS_ADMIN_TOKEN: "expired-admin-session",
|
|
197
|
+
};
|
|
193
198
|
delete env.RIGHTAPPS_RELEASE_TOKEN;
|
|
194
199
|
delete env.RIGHTAPPS_RELEASE_TOKEN_FILE;
|
|
195
200
|
const result = spawnSync(process.execPath, [publisher, "--config", config, "--platform", "win"], {
|
|
@@ -19,7 +19,7 @@ const apps = [
|
|
|
19
19
|
test("RightKit exposes one current version manifest", () => {
|
|
20
20
|
assert.equal(existsSync(versionsPath), true, "rightkit-versions.json must be the single current-version source");
|
|
21
21
|
assert.match(versions.packageManager, /^pnpm@\d+\.\d+\.\d+$/);
|
|
22
|
-
assert.equal(versions.npm["@rightkit/release"], "0.2.
|
|
22
|
+
assert.equal(versions.npm["@rightkit/release"], "0.2.16");
|
|
23
23
|
assert.equal(versions.npm["@rightkit/license"], "0.1.5");
|
|
24
24
|
assert.equal(versions.npm["@rightkit/logs"], "0.1.3");
|
|
25
25
|
assert.equal(versions.npm["@rightkit/updates"], "0.2.1");
|