@bitmagic/cli 0.1.44 → 0.1.46-dev.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 +84 -4
- package/dist/bin.js +3 -2
- package/dist/bin.js.map +1 -1
- package/dist/commands/allowance.js +2 -6
- package/dist/commands/allowance.js.map +1 -1
- package/dist/commands/dev.js +11 -5
- package/dist/commands/dev.js.map +1 -1
- package/dist/commands/forge.js +2 -3
- package/dist/commands/forge.js.map +1 -1
- package/dist/commands/generate.d.ts +24 -8
- package/dist/commands/generate.js +195 -43
- package/dist/commands/generate.js.map +1 -1
- package/dist/commands/init.js +8 -6
- package/dist/commands/init.js.map +1 -1
- package/dist/commands/login.js +11 -7
- package/dist/commands/login.js.map +1 -1
- package/dist/commands/logout.js +3 -6
- package/dist/commands/logout.js.map +1 -1
- package/dist/commands/publish.js +2 -3
- package/dist/commands/publish.js.map +1 -1
- package/dist/commands/subscribe.js +2 -6
- package/dist/commands/subscribe.js.map +1 -1
- package/dist/commands/upgrade.js +21 -8
- package/dist/commands/upgrade.js.map +1 -1
- package/dist/commands/usage.js +2 -6
- package/dist/commands/usage.js.map +1 -1
- package/dist/commands/whoami.d.ts +8 -1
- package/dist/commands/whoami.js +10 -8
- package/dist/commands/whoami.js.map +1 -1
- package/dist/config/environments.d.ts +34 -0
- package/dist/config/environments.js +71 -6
- package/dist/config/environments.js.map +1 -1
- package/dist/editor/server.js +2 -3
- package/dist/editor/server.js.map +1 -1
- package/dist/project/context.d.ts +32 -0
- package/dist/project/context.js +60 -11
- package/dist/project/context.js.map +1 -1
- package/dist/project/version-compare.d.ts +17 -0
- package/dist/project/version-compare.js +68 -0
- package/dist/project/version-compare.js.map +1 -1
- package/dist/scaffold/project-files.d.ts +13 -0
- package/dist/scaffold/project-files.js +8 -2
- package/dist/scaffold/project-files.js.map +1 -1
- package/dist/scaffold/upgrade-project.d.ts +13 -0
- package/dist/scaffold/upgrade-project.js +8 -1
- package/dist/scaffold/upgrade-project.js.map +1 -1
- package/dist/update/check.d.ts +9 -4
- package/dist/update/check.js +31 -12
- package/dist/update/check.js.map +1 -1
- package/dist/update/notice.d.ts +26 -1
- package/dist/update/notice.js +24 -3
- package/dist/update/notice.js.map +1 -1
- package/package.json +4 -3
package/dist/update/check.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as fs from 'fs';
|
|
2
2
|
import * as path from 'path';
|
|
3
3
|
import { defaultBaseDir } from '../config/credentials.js';
|
|
4
|
-
import { cliUpdateNotice, isCacheStale } from './notice.js';
|
|
5
|
-
/** Public registry metadata
|
|
6
|
-
const
|
|
4
|
+
import { cliUpdateNotice, isCacheStale, updateTagFor, } from './notice.js';
|
|
5
|
+
/** Public registry metadata, one document per dist-tag. No auth, no scope needed. */
|
|
6
|
+
const NPM_PACKAGE_URL = 'https://registry.npmjs.org/@bitmagic/cli';
|
|
7
7
|
/**
|
|
8
8
|
* Cap on the background refresh.
|
|
9
9
|
*
|
|
@@ -19,7 +19,10 @@ function isCache(value) {
|
|
|
19
19
|
if (typeof value !== 'object' || value === null)
|
|
20
20
|
return false;
|
|
21
21
|
const c = value;
|
|
22
|
-
return (c.latest === null || typeof c.latest === 'string') &&
|
|
22
|
+
return ((c.latest === null || typeof c.latest === 'string') &&
|
|
23
|
+
// A cache from before the dev line existed has no tag, fails here, and is treated as absent.
|
|
24
|
+
(c.tag === 'latest' || c.tag === 'dev') &&
|
|
25
|
+
typeof c.checkedAt === 'number');
|
|
23
26
|
}
|
|
24
27
|
/**
|
|
25
28
|
* The last recorded answer, or null if there is none to trust.
|
|
@@ -46,10 +49,15 @@ export function writeUpdateCache(cache, baseDir = defaultBaseDir()) {
|
|
|
46
49
|
// An unwritable home directory costs a cached hint, nothing else. The command proceeds.
|
|
47
50
|
}
|
|
48
51
|
}
|
|
49
|
-
/**
|
|
50
|
-
|
|
52
|
+
/**
|
|
53
|
+
* Ask npm what the newest version published under `tag` is. Null on any failure.
|
|
54
|
+
*
|
|
55
|
+
* Per-tag rather than always `latest`, so a build installed from the dev line is told about the
|
|
56
|
+
* next dev build instead of about a production release it deliberately runs ahead of.
|
|
57
|
+
*/
|
|
58
|
+
export async function fetchTagVersion(tag, fetchImpl = globalThis.fetch) {
|
|
51
59
|
try {
|
|
52
|
-
const response = await fetchImpl(
|
|
60
|
+
const response = await fetchImpl(`${NPM_PACKAGE_URL}/${tag}`, {
|
|
53
61
|
signal: AbortSignal.timeout(REFRESH_TIMEOUT_MS),
|
|
54
62
|
headers: { accept: 'application/json' },
|
|
55
63
|
});
|
|
@@ -73,7 +81,14 @@ export async function fetchLatestVersion(fetchImpl = globalThis.fetch) {
|
|
|
73
81
|
* every command wait on npm to be told something it could just as well be told tomorrow.
|
|
74
82
|
*/
|
|
75
83
|
export function pendingUpdateNotice(currentVersion, baseDir) {
|
|
76
|
-
|
|
84
|
+
const cache = readUpdateCache(baseDir);
|
|
85
|
+
// A cache recorded for the OTHER line answers a different question: a dev build must not be told
|
|
86
|
+
// the production release is newer, and a release must not be offered a prerelease. Stay silent
|
|
87
|
+
// until the background refresh has asked about this one — the same one-quiet-run cost a
|
|
88
|
+
// first-ever invocation already pays.
|
|
89
|
+
if (cache === null || cache.tag !== updateTagFor(currentVersion))
|
|
90
|
+
return null;
|
|
91
|
+
return cliUpdateNotice(currentVersion, cache.latest);
|
|
77
92
|
}
|
|
78
93
|
/**
|
|
79
94
|
* Refresh the cache if it is stale. Fire-and-forget: callers must not await this.
|
|
@@ -81,12 +96,16 @@ export function pendingUpdateNotice(currentVersion, baseDir) {
|
|
|
81
96
|
* Returns a promise only so tests can. In production the process may well exit first, which is
|
|
82
97
|
* fine — the next run reads whatever was written, and an unwritten cache simply stays stale.
|
|
83
98
|
*/
|
|
84
|
-
export async function refreshUpdateCacheInBackground(now = Date.now(), baseDir, fetchImpl = globalThis.fetch) {
|
|
85
|
-
|
|
99
|
+
export async function refreshUpdateCacheInBackground(currentVersion, now = Date.now(), baseDir, fetchImpl = globalThis.fetch) {
|
|
100
|
+
const tag = updateTagFor(currentVersion);
|
|
101
|
+
const cache = readUpdateCache(baseDir);
|
|
102
|
+
// A cache about the other line is refreshed immediately however recent it is — switching lines
|
|
103
|
+
// with `npm i -g @bitmagic/cli@dev` must not leave the nudge mute for up to a day.
|
|
104
|
+
if (cache !== null && cache.tag === tag && !isCacheStale(cache, now))
|
|
86
105
|
return;
|
|
87
|
-
const latest = await
|
|
106
|
+
const latest = await fetchTagVersion(tag, fetchImpl);
|
|
88
107
|
// Recorded even when the fetch failed, so an offline machine backs off for a day rather than
|
|
89
108
|
// retrying npm on every single command.
|
|
90
|
-
writeUpdateCache({ latest, checkedAt: now }, baseDir);
|
|
109
|
+
writeUpdateCache({ latest, tag, checkedAt: now }, baseDir);
|
|
91
110
|
}
|
|
92
111
|
//# sourceMappingURL=check.js.map
|
package/dist/update/check.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"check.js","sourceRoot":"","sources":["../../src/update/check.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,IAAI,CAAC;AACzB,OAAO,KAAK,IAAI,MAAM,MAAM,CAAC;AAC7B,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,
|
|
1
|
+
{"version":3,"file":"check.js","sourceRoot":"","sources":["../../src/update/check.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,IAAI,CAAC;AACzB,OAAO,KAAK,IAAI,MAAM,MAAM,CAAC;AAC7B,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,EACL,eAAe,EACf,YAAY,EACZ,YAAY,GAGb,MAAM,aAAa,CAAC;AAErB,qFAAqF;AACrF,MAAM,eAAe,GAAG,0CAA0C,CAAC;AAEnE;;;;;;GAMG;AACH,MAAM,kBAAkB,GAAG,IAAI,CAAC;AAEhC,MAAM,UAAU,eAAe,CAAC,UAAkB,cAAc,EAAE;IA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AChB,YAAqC,UAAU,CAAC,KAAK;IAErD,MAAM,GAAG,GAAG,YAAY,CAAC,cAAc,CAAC,CAAC;IACzC,MAAM,KAAK,GAAG,eAAe,CAAC,OAAO,CAAC,CAAC;IACvC,+FAA+F;IAC/F,mFAAmF;IACnF,IAAI,KAAK,KAAK,IAAI,IAAI,KAAK,CAAC,GAAG,KAAK,GAAG,IAAI,CAAC,YAAY,CAAC,KAAK,EAAE,GAAG,CAAC;QAAE,OAAO;IAC7E,MAAM,MAAM,GAAG,MAAM,eAAe,CAAC,GAAG,EAAE,SAAS,CAAC,CAAC;IACrD,6FAA6F;IAC7F,wCAAwC;IACxC,gBAAgB,CAAC,EAAE,MAAM,EAAE,GAAG,EAAE,SAAS,EAAE,GAAG,EAAE,EAAE,OAAO,CAAC,CAAC;AAC7D,CAAC"}
|
package/dist/update/notice.d.ts
CHANGED
|
@@ -1,3 +1,16 @@
|
|
|
1
|
+
/** Which published line a build came from: a prerelease was installed from `@bitmagic/cli@dev`. */
|
|
2
|
+
export type UpdateTag = 'latest' | 'dev';
|
|
3
|
+
/**
|
|
4
|
+
* The npm dist-tag a running version was installed from.
|
|
5
|
+
*
|
|
6
|
+
* The publish script derives the tag from the version with exactly this rule
|
|
7
|
+
* (.github/scripts/publish-npm-package.sh), so a prerelease is on `dev` by construction and the
|
|
8
|
+
* two ends cannot drift. Asking `latest` on behalf of a dev build would report the production
|
|
9
|
+
* release as "newer" for half a patch cycle and never mention the dev build that fixes things.
|
|
10
|
+
*/
|
|
11
|
+
export declare function updateTagFor(version: string): UpdateTag;
|
|
12
|
+
/** How to install the line a build is already on, so a nudge never moves someone between lines. */
|
|
13
|
+
export declare function installCommandFor(tag: UpdateTag): string;
|
|
1
14
|
/**
|
|
2
15
|
* How stale a cached npm answer may be before it is refreshed.
|
|
3
16
|
*
|
|
@@ -8,8 +21,16 @@
|
|
|
8
21
|
export declare const UPDATE_CHECK_INTERVAL_MS: number;
|
|
9
22
|
/** What is remembered between runs, so no command pays for the network. */
|
|
10
23
|
export interface UpdateCheckCache {
|
|
11
|
-
/** The newest version npm reported
|
|
24
|
+
/** The newest version npm reported for `tag`, or null if the last check could not reach it. */
|
|
12
25
|
latest: string | null;
|
|
26
|
+
/**
|
|
27
|
+
* The dist-tag that answer is about.
|
|
28
|
+
*
|
|
29
|
+
* Required rather than optional-with-a-default: a cache written by a CLI from before the dev
|
|
30
|
+
* line existed then fails the shape guard, reads as absent and is refreshed — self-healing at
|
|
31
|
+
* the cost of one quiet day, with no "unknown tag" branch for anyone to reason about.
|
|
32
|
+
*/
|
|
33
|
+
tag: UpdateTag;
|
|
13
34
|
/** Epoch ms of that check. */
|
|
14
35
|
checkedAt: number;
|
|
15
36
|
}
|
|
@@ -19,5 +40,9 @@ export declare function isCacheStale(cache: UpdateCheckCache | null, now: number
|
|
|
19
40
|
*
|
|
20
41
|
* Quiet for everything except a confirmed newer release: an unreachable npm, an unparseable
|
|
21
42
|
* version on either side, and a CLI somehow ahead of the registry all produce nothing.
|
|
43
|
+
*
|
|
44
|
+
* `latestVersion` must be the newest version of the line `currentVersion` is ON — the caller is
|
|
45
|
+
* responsible for having asked the right dist-tag. Comparing across lines would tell a tester on
|
|
46
|
+
* 0.1.46-dev.3 to "update" to the older 0.1.45 release.
|
|
22
47
|
*/
|
|
23
48
|
export declare function cliUpdateNotice(currentVersion: string, latestVersion: string | null | undefined): string | null;
|
package/dist/update/notice.js
CHANGED
|
@@ -1,4 +1,19 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { isOlderSemverVersion } from '../project/version-compare.js';
|
|
2
|
+
/**
|
|
3
|
+
* The npm dist-tag a running version was installed from.
|
|
4
|
+
*
|
|
5
|
+
* The publish script derives the tag from the version with exactly this rule
|
|
6
|
+
* (.github/scripts/publish-npm-package.sh), so a prerelease is on `dev` by construction and the
|
|
7
|
+
* two ends cannot drift. Asking `latest` on behalf of a dev build would report the production
|
|
8
|
+
* release as "newer" for half a patch cycle and never mention the dev build that fixes things.
|
|
9
|
+
*/
|
|
10
|
+
export function updateTagFor(version) {
|
|
11
|
+
return version.includes('-') ? 'dev' : 'latest';
|
|
12
|
+
}
|
|
13
|
+
/** How to install the line a build is already on, so a nudge never moves someone between lines. */
|
|
14
|
+
export function installCommandFor(tag) {
|
|
15
|
+
return tag === 'dev' ? 'npm i -g @bitmagic/cli@dev' : 'npm i -g @bitmagic/cli';
|
|
16
|
+
}
|
|
2
17
|
/**
|
|
3
18
|
* How stale a cached npm answer may be before it is refreshed.
|
|
4
19
|
*
|
|
@@ -21,14 +36,20 @@ export function isCacheStale(cache, now) {
|
|
|
21
36
|
*
|
|
22
37
|
* Quiet for everything except a confirmed newer release: an unreachable npm, an unparseable
|
|
23
38
|
* version on either side, and a CLI somehow ahead of the registry all produce nothing.
|
|
39
|
+
*
|
|
40
|
+
* `latestVersion` must be the newest version of the line `currentVersion` is ON — the caller is
|
|
41
|
+
* responsible for having asked the right dist-tag. Comparing across lines would tell a tester on
|
|
42
|
+
* 0.1.46-dev.3 to "update" to the older 0.1.45 release.
|
|
24
43
|
*/
|
|
25
44
|
export function cliUpdateNotice(currentVersion, latestVersion) {
|
|
26
45
|
if (typeof latestVersion !== 'string' || latestVersion === '')
|
|
27
46
|
return null;
|
|
28
47
|
if (typeof currentVersion !== 'string' || currentVersion === '')
|
|
29
48
|
return null;
|
|
30
|
-
if (
|
|
49
|
+
if (isOlderSemverVersion(currentVersion, latestVersion) !== true)
|
|
31
50
|
return null;
|
|
32
|
-
|
|
51
|
+
// Naming the bare install for a dev build would silently move a tester onto the release line.
|
|
52
|
+
const install = installCommandFor(updateTagFor(currentVersion));
|
|
53
|
+
return `A newer bitmagic CLI is available: ${latestVersion} (you have ${currentVersion}). Run \`${install}\` to update.`;
|
|
33
54
|
}
|
|
34
55
|
//# sourceMappingURL=notice.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notice.js","sourceRoot":"","sources":["../../src/update/notice.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,o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O,GAAG,iBAAiB,CAAC,YAAY,CAAC,cAAc,CAAC,CAAC,CAAC;IAChE,OAAO,sCAAsC,aAAa,cAAc,cAAc,YAAY,OAAO,eAAe,CAAC;AAC3H,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bitmagic/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.46-dev.0",
|
|
4
4
|
"description": "Build Bitmagic games from your own agent tool",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -20,8 +20,9 @@
|
|
|
20
20
|
"fflate": "^0.8.2",
|
|
21
21
|
"playwright-core": "^1.59.1",
|
|
22
22
|
"tar": "^7.4.3",
|
|
23
|
-
"@bitmagic/
|
|
24
|
-
"@bitmagic/
|
|
23
|
+
"@bitmagic/animation-forger": "0.1.0",
|
|
24
|
+
"@bitmagic/world-forger": "0.1.6-dev.0",
|
|
25
|
+
"@bitmagic/asset-core": "0.2.0"
|
|
25
26
|
},
|
|
26
27
|
"devDependencies": {
|
|
27
28
|
"@eslint/js": "^9.38.0",
|