@ultimat3/cli 27.1.0 → 27.2.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/package.json +28 -28
- package/src/island-bundle.ts +12 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ultimat3/cli",
|
|
3
|
-
"version": "27.
|
|
3
|
+
"version": "27.2.0",
|
|
4
4
|
"description": "The `x` binary: new, dev, build, verify, generate, db, mcp, doctor, deploy",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -39,33 +39,33 @@
|
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"@babel/core": "^8.0.1",
|
|
42
|
-
"@ultimat3/action": "27.
|
|
43
|
-
"@ultimat3/admin": "27.
|
|
44
|
-
"@ultimat3/ai": "27.
|
|
45
|
-
"@ultimat3/auth": "27.
|
|
46
|
-
"@ultimat3/cache": "27.
|
|
47
|
-
"@ultimat3/core": "27.
|
|
48
|
-
"@ultimat3/db": "27.
|
|
49
|
-
"@ultimat3/entity": "27.
|
|
50
|
-
"@ultimat3/flags": "27.
|
|
51
|
-
"@ultimat3/http": "27.
|
|
52
|
-
"@ultimat3/i18n": "27.
|
|
53
|
-
"@ultimat3/jobs": "27.
|
|
54
|
-
"@ultimat3/mail": "27.
|
|
55
|
-
"@ultimat3/manifest": "27.
|
|
56
|
-
"@ultimat3/mcp": "27.
|
|
57
|
-
"@ultimat3/money": "27.
|
|
58
|
-
"@ultimat3/notify": "27.
|
|
59
|
-
"@ultimat3/policy": "27.
|
|
60
|
-
"@ultimat3/pwa": "27.
|
|
61
|
-
"@ultimat3/query": "27.
|
|
62
|
-
"@ultimat3/realtime": "27.
|
|
63
|
-
"@ultimat3/render": "27.
|
|
64
|
-
"@ultimat3/schema": "27.
|
|
65
|
-
"@ultimat3/seo": "27.
|
|
66
|
-
"@ultimat3/storage": "27.
|
|
67
|
-
"@ultimat3/testing": "27.
|
|
68
|
-
"@ultimat3/time": "27.
|
|
42
|
+
"@ultimat3/action": "27.2.0",
|
|
43
|
+
"@ultimat3/admin": "27.2.0",
|
|
44
|
+
"@ultimat3/ai": "27.2.0",
|
|
45
|
+
"@ultimat3/auth": "27.2.0",
|
|
46
|
+
"@ultimat3/cache": "27.2.0",
|
|
47
|
+
"@ultimat3/core": "27.2.0",
|
|
48
|
+
"@ultimat3/db": "27.2.0",
|
|
49
|
+
"@ultimat3/entity": "27.2.0",
|
|
50
|
+
"@ultimat3/flags": "27.2.0",
|
|
51
|
+
"@ultimat3/http": "27.2.0",
|
|
52
|
+
"@ultimat3/i18n": "27.2.0",
|
|
53
|
+
"@ultimat3/jobs": "27.2.0",
|
|
54
|
+
"@ultimat3/mail": "27.2.0",
|
|
55
|
+
"@ultimat3/manifest": "27.2.0",
|
|
56
|
+
"@ultimat3/mcp": "27.2.0",
|
|
57
|
+
"@ultimat3/money": "27.2.0",
|
|
58
|
+
"@ultimat3/notify": "27.2.0",
|
|
59
|
+
"@ultimat3/policy": "27.2.0",
|
|
60
|
+
"@ultimat3/pwa": "27.2.0",
|
|
61
|
+
"@ultimat3/query": "27.2.0",
|
|
62
|
+
"@ultimat3/realtime": "27.2.0",
|
|
63
|
+
"@ultimat3/render": "27.2.0",
|
|
64
|
+
"@ultimat3/schema": "27.2.0",
|
|
65
|
+
"@ultimat3/seo": "27.2.0",
|
|
66
|
+
"@ultimat3/storage": "27.2.0",
|
|
67
|
+
"@ultimat3/testing": "27.2.0",
|
|
68
|
+
"@ultimat3/time": "27.2.0",
|
|
69
69
|
"babel-preset-solid": "^1.9.15"
|
|
70
70
|
}
|
|
71
71
|
}
|
package/src/island-bundle.ts
CHANGED
|
@@ -305,6 +305,17 @@ async function builtOutputs(
|
|
|
305
305
|
return outputs;
|
|
306
306
|
}
|
|
307
307
|
|
|
308
|
+
/**
|
|
309
|
+
* The entry's own file, added to sources the map resolved into the root. A pure re-export island
|
|
310
|
+
* (`export { mountMenu as mount } from '../shared/menu'`) emits no code of its own, so its source
|
|
311
|
+
* map names only what it re-exports: the store then recorded nothing that changes when the entry
|
|
312
|
+
* is edited, and `writeIslandStore` refused it as a map whose paths left the root. A map that
|
|
313
|
+
* resolved NOTHING into the root stays empty — that is the cwd failure, and it is still refused.
|
|
314
|
+
*/
|
|
315
|
+
function withOwnFile(file: string, sources: SourcePaths): SourcePaths {
|
|
316
|
+
return sources.length === 0 || sources.includes(file) ? sources : [...sources, file].sort();
|
|
317
|
+
}
|
|
318
|
+
|
|
308
319
|
/** The linked outputs, as the chunk table: the entries in `files` order, their chunks attached. */
|
|
309
320
|
function entryChunks(
|
|
310
321
|
files: readonly string[],
|
|
@@ -345,7 +356,7 @@ function entryChunks(
|
|
|
345
356
|
// different files at one address. `bytes` is measured on THAT code, never on this build's.
|
|
346
357
|
...stableChunk(file, entry.identity, entry.code),
|
|
347
358
|
imports: closure(entry.imports),
|
|
348
|
-
sources: sources.get(entry.path) ?? [],
|
|
359
|
+
sources: withOwnFile(file, sources.get(entry.path) ?? []),
|
|
349
360
|
});
|
|
350
361
|
}
|
|
351
362
|
return chunks;
|