@arcgis/lumina-compiler 4.34.0-next.5 → 4.34.0-next.8
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/dist/index.js +18 -17
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -5208,18 +5208,21 @@ async function Te(e) {
|
|
|
5208
5208
|
return e._loadersCache ??= Zc(e), await e._loadersCache;
|
|
5209
5209
|
}
|
|
5210
5210
|
async function Zc(e) {
|
|
5211
|
-
const t = e.viteCommand === "build" ? "cdn" : "lazyNpm", i = e.viteConfig.base
|
|
5212
|
-
|
|
5213
|
-
|
|
5214
|
-
)
|
|
5215
|
-
|
|
5211
|
+
const t = e.viteCommand === "build" ? "cdn" : "lazyNpm", i = e.viteConfig.base;
|
|
5212
|
+
let n = 0;
|
|
5213
|
+
const s = async (l) => (await Promise.all(
|
|
5214
|
+
l.map(async (d) => {
|
|
5215
|
+
const p = n++;
|
|
5216
|
+
return d.type === "stencil" ? await Vc(i, d, t, p) : d.type === "@arcgis/lumina" ? await Xc(i, d, t, p) : void 0;
|
|
5217
|
+
})
|
|
5218
|
+
)).filter(j).flat(), r = await Promise.all([
|
|
5216
5219
|
// This may contain an import map so must be first
|
|
5217
5220
|
xc(i, t),
|
|
5218
|
-
ve.then(
|
|
5219
|
-
Qn(e).then(
|
|
5220
|
-
]),
|
|
5221
|
+
ve.then(s),
|
|
5222
|
+
Qn(e).then(s)
|
|
5223
|
+
]), a = u.join(e.dir.src, "loader.ts");
|
|
5221
5224
|
return [
|
|
5222
|
-
...
|
|
5225
|
+
...r.flat(),
|
|
5223
5226
|
{
|
|
5224
5227
|
optimizableImports: [
|
|
5225
5228
|
/**
|
|
@@ -5228,7 +5231,7 @@ async function Zc(e) {
|
|
|
5228
5231
|
*/
|
|
5229
5232
|
],
|
|
5230
5233
|
javascriptCode: [
|
|
5231
|
-
`import { defineCustomElements } from "${
|
|
5234
|
+
`import { defineCustomElements } from "${a}";`,
|
|
5232
5235
|
"globalThis.devOnly$ownTagNames = new Set();",
|
|
5233
5236
|
`defineCustomElements(${t === "cdn" ? `{resourcesUrl:"./${e.options.build?.cdn?.namespace ?? Dt}/"}` : ""});`
|
|
5234
5237
|
]
|
|
@@ -5864,10 +5867,11 @@ const pe = {
|
|
|
5864
5867
|
};
|
|
5865
5868
|
async function as(e, t, i, n, s = R()) {
|
|
5866
5869
|
const r = Sl(e, i, n, s), a = u.join(t, "lumina.ts"), l = await U(a) ? await J(a, "utf8") : "";
|
|
5867
|
-
if (l
|
|
5870
|
+
if (l.trim().replaceAll(`\r
|
|
5871
|
+
`, `
|
|
5872
|
+
`) === r.trim())
|
|
5868
5873
|
return !1;
|
|
5869
|
-
if (process.env.CI)
|
|
5870
|
-
const d = (p) => Array.from(p, (m) => m.codePointAt(0).toString(16).padStart(4, "0")).join(",");
|
|
5874
|
+
if (process.env.CI)
|
|
5871
5875
|
throw Error(
|
|
5872
5876
|
w(
|
|
5873
5877
|
"@arcgis/lumina:updateLuminaTs",
|
|
@@ -5877,12 +5881,9 @@ ${r}
|
|
|
5877
5881
|
|
|
5878
5882
|
Current content:
|
|
5879
5883
|
|
|
5880
|
-
${l}
|
|
5881
|
-
Hex new content: ${d(r)}
|
|
5882
|
-
Hex current content: ${d(l)}`
|
|
5884
|
+
${l}`
|
|
5883
5885
|
)
|
|
5884
5886
|
);
|
|
5885
|
-
}
|
|
5886
5887
|
return Wi(a, r), !0;
|
|
5887
5888
|
}
|
|
5888
5889
|
function Sl(e, t, i, n = R()) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcgis/lumina-compiler",
|
|
3
|
-
"version": "4.34.0-next.
|
|
3
|
+
"version": "4.34.0-next.8",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
],
|
|
19
19
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@arcgis/api-extractor": "4.34.0-next.
|
|
22
|
-
"@arcgis/components-build-utils": "4.34.0-next.
|
|
23
|
-
"@arcgis/components-utils": "4.34.0-next.
|
|
21
|
+
"@arcgis/api-extractor": "4.34.0-next.8",
|
|
22
|
+
"@arcgis/components-build-utils": "4.34.0-next.8",
|
|
23
|
+
"@arcgis/components-utils": "4.34.0-next.8",
|
|
24
24
|
"chalk": "^5.3.0",
|
|
25
25
|
"esbuild": "^0.25.4",
|
|
26
26
|
"glob": "^11.0.0",
|
|
@@ -37,6 +37,6 @@
|
|
|
37
37
|
"vitest-fail-on-console": "^0.7.1"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
40
|
-
"@arcgis/lumina": "~4.34.0-next.
|
|
40
|
+
"@arcgis/lumina": "~4.34.0-next.8"
|
|
41
41
|
}
|
|
42
42
|
}
|