@lenne.tech/cli 1.50.5 → 1.50.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.
|
@@ -62,7 +62,7 @@ const PruneCommand = {
|
|
|
62
62
|
// driver; the api dir merely improves the driver fallback when present.
|
|
63
63
|
const observed = (0, dev_ticket_1.listDatabaseNames)(undefined, [mainLayout.apiDir, mainRepoRoot].filter(Boolean));
|
|
64
64
|
if (observed === null) {
|
|
65
|
-
warning('Could not list databases (mongosh missing or
|
|
65
|
+
warning('Could not list databases (mongosh missing, MongoDB unreachable, or mongosh slower than 10 s) — only the registry is pruned. Re-run to sweep the databases.');
|
|
66
66
|
}
|
|
67
67
|
const plan = (0, dev_prune_1.collectDevPrunePlan)({
|
|
68
68
|
loadRegistry: dev_state_1.loadRegistry,
|
package/build/lib/dev-ticket.js
CHANGED
|
@@ -260,7 +260,14 @@ function gitFetch(repoDir, remote = 'origin') {
|
|
|
260
260
|
function gitMainRepoRoot(cwd) {
|
|
261
261
|
// `--git-common-dir` is the SHARED `.git` (same for every worktree); its
|
|
262
262
|
// parent is the main repo root.
|
|
263
|
-
|
|
263
|
+
// stderr is captured, not inherited: every caller catches the throw for a
|
|
264
|
+
// non-git directory (a normal case for `lt dev up` / `lt dev prune`), so git's
|
|
265
|
+
// "fatal: not a git repository" belongs in the error, not on the terminal.
|
|
266
|
+
const commonDir = (0, child_process_1.execFileSync)('git', ['rev-parse', '--path-format=absolute', '--git-common-dir'], {
|
|
267
|
+
cwd,
|
|
268
|
+
encoding: 'utf8',
|
|
269
|
+
stdio: ['ignore', 'pipe', 'pipe'],
|
|
270
|
+
}).trim();
|
|
264
271
|
return (0, path_1.dirname)(commonDir);
|
|
265
272
|
}
|
|
266
273
|
/** True if `ref` resolves to a commit in the repo (any ref kind: local, remote, tag, sha). */
|
|
@@ -133,17 +133,20 @@ export function advisoryBulkUrl(registry) {
|
|
|
133
133
|
* and the default is what pnpm itself would use.
|
|
134
134
|
*/
|
|
135
135
|
export function configuredRegistry(env = process.env) {
|
|
136
|
-
//
|
|
137
|
-
//
|
|
136
|
+
// The probe must ask the registry the AUDIT used, so it reads the variable the audit reads.
|
|
137
|
+
// Under pnpm 11 that is `pnpm_config_registry`; `npm_config_registry` is IGNORED by both
|
|
138
|
+
// `pnpm audit` and `pnpm config get registry` — measured 2026-10-06 with pnpm 11.14.0,
|
|
139
|
+
// re-measured 2026-10-09 with 11.28.5:
|
|
138
140
|
//
|
|
139
|
-
//
|
|
140
|
-
// npm_config_registry=http://127.0.0.1:9/
|
|
141
|
+
// pnpm_config_registry=http://127.0.0.1:9/ pnpm audit --json {"error": … "fetch failed"}
|
|
142
|
+
// npm_config_registry=http://127.0.0.1:9/ pnpm audit --json a normal report from npmjs.org
|
|
141
143
|
//
|
|
142
|
-
//
|
|
143
|
-
//
|
|
144
|
-
//
|
|
145
|
-
//
|
|
146
|
-
|
|
144
|
+
// The version before read `npm_config_registry`, from a measurement on 2026-09-04 with an older
|
|
145
|
+
// pnpm. Under pnpm 11 that sent the probe to a registry the audit never talked to: a stub there
|
|
146
|
+
// answered, the run concluded "no outage", and an unreachable audit registry read as clean.
|
|
147
|
+
// `pnpm config get registry` below would report `pnpm_config_registry` too; reading it here saves
|
|
148
|
+
// the spawn and keeps the answer independent of how a pnpm shim forwards the environment.
|
|
149
|
+
const fromEnv = env.pnpm_config_registry ?? env.PNPM_CONFIG_REGISTRY;
|
|
147
150
|
if (typeof fromEnv === 'string' && fromEnv.trim()) return fromEnv.trim();
|
|
148
151
|
|
|
149
152
|
try {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
|
-
"commit": "
|
|
2
|
+
"commit": "a49b79d7a9be72b480ec658de48e909b76c9a45e",
|
|
3
3
|
"files": {
|
|
4
4
|
"build-test-gate.mjs": "865bf1b9dd28151f53b9f2dfe4c3c46d29b9303fb1c2f497ce0e3136bcd37d71",
|
|
5
|
-
"check.mjs": "
|
|
5
|
+
"check.mjs": "0a0377f79d7131c2ddc3705f59804461c12d08a928b35b945e996c31e29b4012",
|
|
6
6
|
"lib/ansi.mjs": "f997ee6e9bf1c7ee54ab612d4040fcc778064ec160eae19bf5c3960a75a6e2ff",
|
|
7
|
-
"lib/audit-report.mjs": "
|
|
7
|
+
"lib/audit-report.mjs": "d8c6fef1bf06d37f5737aaffa1eeb287ec03af608588ce845ba90f16cafac0b9",
|
|
8
8
|
"lib/workspace-packages.mjs": "ccdd133622a88186c924bc8271d35cf1f8357dc26d4a607998ca5e91fce5bf88"
|
|
9
9
|
},
|
|
10
|
-
"ref": "v3.
|
|
10
|
+
"ref": "v3.15.2",
|
|
11
11
|
"repository": "lenneTech/lt-monorepo",
|
|
12
|
-
"version": "3.
|
|
12
|
+
"version": "3.15.2"
|
|
13
13
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lenne.tech/cli",
|
|
3
|
-
"version": "1.50.
|
|
3
|
+
"version": "1.50.6",
|
|
4
4
|
"description": "lenne.Tech CLI: lt",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"lenne.Tech",
|
|
@@ -58,12 +58,12 @@
|
|
|
58
58
|
"bin"
|
|
59
59
|
],
|
|
60
60
|
"dependencies": {
|
|
61
|
-
"@aws-sdk/client-s3": "3.
|
|
61
|
+
"@aws-sdk/client-s3": "3.1149.0",
|
|
62
62
|
"@lenne.tech/cli-plugin-helper": "0.0.14",
|
|
63
63
|
"axios": "1.20.0",
|
|
64
64
|
"bcrypt": "6.0.0",
|
|
65
65
|
"cross-spawn": "7.0.6",
|
|
66
|
-
"defuddle": "0.19.
|
|
66
|
+
"defuddle": "0.19.5",
|
|
67
67
|
"ejs": "7.0.1",
|
|
68
68
|
"glob": "13.0.6",
|
|
69
69
|
"gluegun": "5.2.2",
|
|
@@ -94,14 +94,14 @@
|
|
|
94
94
|
"@types/jest": "30.0.0",
|
|
95
95
|
"@types/js-yaml": "4.0.9",
|
|
96
96
|
"@types/jsdom": "28.0.1",
|
|
97
|
-
"@types/lodash": "4.17.
|
|
98
|
-
"@types/node": "26.6.
|
|
97
|
+
"@types/lodash": "4.17.26",
|
|
98
|
+
"@types/node": "26.6.5",
|
|
99
99
|
"@types/turndown": "5.0.6",
|
|
100
100
|
"eslint": "10.12.0",
|
|
101
101
|
"husky": "9.1.7",
|
|
102
102
|
"jest": "30.5.2",
|
|
103
103
|
"minimatch": "10.2.6",
|
|
104
|
-
"prettier": "3.9.
|
|
104
|
+
"prettier": "3.9.10",
|
|
105
105
|
"rimraf": "6.1.3",
|
|
106
106
|
"ts-jest": "29.4.14"
|
|
107
107
|
},
|