@absolutejs/absolute 0.20.0-beta.181 → 0.20.0-beta.182
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/CHANGELOG.md +32 -0
- package/changelog.json +54 -0
- package/dist/angular/browser.js +2 -2
- package/dist/angular/browser.js.map +4 -4
- package/dist/angular/components/constants.js +4 -0
- package/dist/angular/components/core/streamingSlotRegistrar.js +1 -1
- package/dist/angular/components/core/streamingSlotRegistry.js +2 -2
- package/dist/angular/index.js +344 -48
- package/dist/angular/index.js.map +10 -10
- package/dist/angular/server.js +344 -48
- package/dist/angular/server.js.map +10 -10
- package/dist/build.js +431 -78
- package/dist/build.js.map +15 -15
- package/dist/cli/{add-8gw9mk2b.js → add-jft96bp4.js} +9 -9
- package/dist/cli/{analyze-e57zz9x8.js → analyze-5w46d1f0.js} +3 -3
- package/dist/cli/{androidEmulatorController-vqc5m2rp.js → androidEmulatorController-gbf9r660.js} +6 -6
- package/dist/cli/{androidNativeWatcher-s03aczxv.js → androidNativeWatcher-3astrxxz.js} +6 -6
- package/dist/cli/{api-8ppxw487.js → api-zmvnvdsf.js} +8 -8
- package/dist/cli/{build-fz7qbdn3.js → build-mskrk9zb.js} +3 -3
- package/dist/cli/{build-ptx5a72p.js → build-p3qra1nj.js} +64 -6
- package/dist/cli/{buildDepVendor-qnwfct22.js → buildDepVendor-36d1aa7c.js} +2 -2
- package/dist/cli/{buildReactServerComponents-01s87hnk.js → buildReactServerComponents-vc9hh2rd.js} +5 -5
- package/dist/cli/{compile-54rb8szn.js → compile-7mjd739p.js} +10 -6
- package/dist/cli/config/server.js +18 -17
- package/dist/cli/{db-qbzjw3en.js → db-mpmj37jq.js} +2 -2
- package/dist/cli/{dev-6s6g5tnk.js → dev-9d6d7757.js} +14 -14
- package/dist/cli/{doctor-m36tmx4d.js → doctor-nng9szw6.js} +3 -3
- package/dist/cli/{emulatorDoctor-s1z5tkp7.js → emulatorDoctor-3eszsqs8.js} +5 -5
- package/dist/cli/{emulatorInstaller-pgkdswvq.js → emulatorInstaller-1r6cawm0.js} +6 -6
- package/dist/cli/{env-5nz1qm8e.js → env-bfa7vs35.js} +3 -3
- package/dist/cli/{expoDevController-018anvbm.js → expoDevController-s0msdwbm.js} +6 -6
- package/dist/cli/{generate-5vyz1s44.js → generate-xk3a7qnc.js} +8 -8
- package/dist/cli/{heapDiff-kncvdtn8.js → heapDiff-3ba8p8wf.js} +3 -3
- package/dist/cli/{htmx-26hs6jdm.js → htmx-an2x3gpx.js} +6 -6
- package/dist/cli/{index-7854xf0m.js → index-1bszxtdj.js} +1 -1
- package/dist/cli/{index-kx2d067c.js → index-3066eqr3.js} +8 -5
- package/dist/cli/{index-8khbn8qr.js → index-3a9h87v5.js} +3 -3
- package/dist/cli/{index-9djrap79.js → index-3pz5sjaz.js} +1 -1
- package/dist/cli/{index-50ag35xg.js → index-3ys9tz53.js} +2 -2
- package/dist/cli/{index-6f448d7m.js → index-4ynx0cq6.js} +26 -12
- package/dist/cli/{index-btp4fyf1.js → index-785hpa2r.js} +2 -2
- package/dist/cli/{index-5w8arh3m.js → index-7zwzyymv.js} +2 -2
- package/dist/cli/{index-kes8he5s.js → index-9sqqzeq4.js} +1 -1
- package/dist/cli/{index-pr1skxen.js → index-akseq9ps.js} +1 -1
- package/dist/cli/{index-23hvdyxf.js → index-c6j2727a.js} +1 -1
- package/dist/cli/{index-pkw3jktb.js → index-eh786rj4.js} +2 -2
- package/dist/cli/{index-aemhvvwb.js → index-eydgkr7w.js} +1 -1
- package/dist/cli/{index-rz56x932.js → index-fbmfpqk8.js} +1 -1
- package/dist/cli/{index-c8rcfe5a.js → index-fy4th3n0.js} +1 -1
- package/dist/cli/{index-prza6tkp.js → index-gx6pjzzk.js} +3 -3
- package/dist/cli/{index-125cfzvn.js → index-hker5fs4.js} +2 -2
- package/dist/cli/{index-cgmp9d02.js → index-hqkcxa2p.js} +1 -1
- package/dist/cli/{index-jkg2h10c.js → index-mmm6d3k5.js} +3 -3
- package/dist/cli/{index-enbw9484.js → index-wpgsermq.js} +1 -1
- package/dist/cli/{index-0z5fgb80.js → index-wqpg377f.js} +1 -1
- package/dist/cli/{index-3sfcmb49.js → index-x7h6w6td.js} +1 -1
- package/dist/cli/{index-a6xx0p9e.js → index-ydaxsftq.js} +1 -1
- package/dist/cli/{index-3ewt17wm.js → index-yhkg5by0.js} +1 -1
- package/dist/cli/{index-aqe25w4h.js → index-zeeep92g.js} +1 -1
- package/dist/cli/index.js +32 -32
- package/dist/cli/{info-k124sh7g.js → info-5rwsbhe2.js} +4 -4
- package/dist/cli/{inspect-n6pcfvfw.js → inspect-nmwb0q5k.js} +5 -5
- package/dist/cli/{iosNativeWatcher-wdq2fvj1.js → iosNativeWatcher-7r9gnk87.js} +7 -7
- package/dist/cli/{iosSimulatorController-n97dpa8p.js → iosSimulatorController-w963vv9r.js} +7 -7
- package/dist/cli/{islands-17tfx8jf.js → islands-w9xrehpk.js} +3 -3
- package/dist/cli/{logs-shg23fbt.js → logs-m793x8a7.js} +3 -3
- package/dist/cli/{ls-0wr74w0b.js → ls-k31npd5b.js} +3 -3
- package/dist/cli/{mem-16sy1707.js → mem-jm6kw6gr.js} +5 -5
- package/dist/cli/{migrate-k91k050s.js → migrate-95bjkqkr.js} +2 -2
- package/dist/cli/{mobile-hpqpy61f.js → mobile-cpp8vfn7.js} +13 -13
- package/dist/cli/prerender-26pzynh4.js +13 -0
- package/dist/cli/{prettier-dh5fh786.js → prettier-0ws9pbc1.js} +1 -1
- package/dist/cli/{ps-pk7ncjac.js → ps-fx8mz3e3.js} +6 -6
- package/dist/cli/{psTui-50wf0b72.js → psTui-0e9c7an6.js} +7 -7
- package/dist/cli/{remoteMacProtocol-g10s408w.js → remoteMacProtocol-y7h79gr8.js} +7 -7
- package/dist/cli/{remove-x987pvd3.js → remove-xhvph8bz.js} +8 -8
- package/dist/cli/{routes-mc3ymp8t.js → routes-hq9yje5z.js} +3 -3
- package/dist/cli/{start-mbn2zgs2.js → start-5mjh9hh2.js} +5 -5
- package/dist/cli/{typecheck-ynzw2eep.js → typecheck-yjme4fv1.js} +36 -14
- package/dist/cli/{workspace-7sbyyc59.js → workspace-xeb6abxj.js} +5 -5
- package/dist/index.js +446 -90
- package/dist/index.js.map +17 -17
- package/dist/islands/index.js +312 -23
- package/dist/islands/index.js.map +5 -5
- package/dist/mobile/index.js +2 -2
- package/dist/mobile/index.js.map +3 -3
- package/dist/react/browser.js +18 -1
- package/dist/react/browser.js.map +6 -4
- package/dist/react/components/index.js +2 -2
- package/dist/react/components/index.js.map +3 -3
- package/dist/react/index.js +361 -61
- package/dist/react/index.js.map +13 -12
- package/dist/react/server.js +42 -35
- package/dist/react/server.js.map +9 -9
- package/dist/src/angular/components/constants.d.ts +1 -0
- package/dist/src/angular/components/defer-slot-payload.d.ts +5 -0
- package/dist/src/cli/scripts/manifestKeysEditorHint.d.ts +9 -0
- package/dist/src/constants.d.ts +1 -0
- package/dist/src/core/prerender.d.ts +10 -0
- package/dist/src/react/browser.d.ts +1 -0
- package/dist/src/react/index.d.ts +1 -0
- package/dist/src/svelte/lowerAwaitSlotSyntax.d.ts +23 -0
- package/dist/src/utils/pageCspNonce.d.ts +14 -0
- package/dist/svelte/index.js +363 -68
- package/dist/svelte/index.js.map +10 -10
- package/dist/svelte/server.js +354 -59
- package/dist/svelte/server.js.map +10 -10
- package/dist/types/manifest.d.ts +3 -2
- package/dist/types/svelte.d.ts +3 -0
- package/dist/vue/components/Image.js +2 -2
- package/dist/vue/components/Image.js.map +3 -3
- package/dist/vue/components/index.js +2 -2
- package/dist/vue/components/index.js.map +3 -3
- package/dist/vue/index.js +355 -60
- package/dist/vue/index.js.map +10 -10
- package/dist/vue/server.js +45 -39
- package/dist/vue/server.js.map +8 -8
- package/package.json +1 -1
- package/dist/cli/prerender-w65xp6h8.js +0 -11
- /package/dist/cli/{index-t8jmj8w1.js → index-fm9x6sjs.js} +0 -0
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import"./index-71gchbzt.js";
|
|
3
|
-
import"./index-
|
|
3
|
+
import"./index-fm9x6sjs.js";
|
|
4
4
|
import {
|
|
5
5
|
colors,
|
|
6
6
|
padLine
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-3pz5sjaz.js";
|
|
8
8
|
import {
|
|
9
9
|
discoverInstances,
|
|
10
10
|
enrichInstances
|
|
11
|
-
} from "./index-
|
|
11
|
+
} from "./index-eydgkr7w.js";
|
|
12
12
|
|
|
13
13
|
// src/cli/scripts/routes.ts
|
|
14
14
|
var METHOD_COLOR = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
start2
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-3066eqr3.js";
|
|
5
5
|
import"./index-js2hksgv.js";
|
|
6
6
|
import"./index-42xjh6gg.js";
|
|
7
7
|
import"./index-w6xsk8cv.js";
|
|
@@ -14,10 +14,10 @@ import"./index-0gd30trc.js";
|
|
|
14
14
|
import"./index-ycqdxy55.js";
|
|
15
15
|
import"./index-4j1twret.js";
|
|
16
16
|
import"./index-pch0v1z6.js";
|
|
17
|
-
import"./index-
|
|
18
|
-
import"./index-
|
|
19
|
-
import"./index-
|
|
20
|
-
import"./index-
|
|
17
|
+
import"./index-hker5fs4.js";
|
|
18
|
+
import"./index-yhkg5by0.js";
|
|
19
|
+
import"./index-akseq9ps.js";
|
|
20
|
+
import"./index-fm9x6sjs.js";
|
|
21
21
|
export {
|
|
22
22
|
start2 as start
|
|
23
23
|
};
|
|
@@ -10,15 +10,15 @@ import {
|
|
|
10
10
|
} from "./index-4j1twret.js";
|
|
11
11
|
import {
|
|
12
12
|
ANSI_ESCAPE_CODE
|
|
13
|
-
} from "./index-
|
|
13
|
+
} from "./index-fm9x6sjs.js";
|
|
14
14
|
import {
|
|
15
15
|
ensureFileRouteModule
|
|
16
16
|
} from "./index-47e8fwha.js";
|
|
17
|
-
import"./index-
|
|
17
|
+
import"./index-zeeep92g.js";
|
|
18
18
|
import {
|
|
19
19
|
MANIFEST_KEYS_DECLARATION,
|
|
20
20
|
writeManifestKeysDeclaration
|
|
21
|
-
} from "./index-
|
|
21
|
+
} from "./index-mmm6d3k5.js";
|
|
22
22
|
import {
|
|
23
23
|
getString,
|
|
24
24
|
isRecord
|
|
@@ -26,9 +26,9 @@ import {
|
|
|
26
26
|
import"./index-w6xsk8cv.js";
|
|
27
27
|
import {
|
|
28
28
|
DEFAULT_SERVER_ENTRY
|
|
29
|
-
} from "./index-
|
|
30
|
-
import"./index-
|
|
31
|
-
import"./index-
|
|
29
|
+
} from "./index-hker5fs4.js";
|
|
30
|
+
import"./index-yhkg5by0.js";
|
|
31
|
+
import"./index-akseq9ps.js";
|
|
32
32
|
|
|
33
33
|
// src/cli/scripts/typecheck.ts
|
|
34
34
|
import { dirname as dirname3, join as join2, parse as parse3, relative as relative2, resolve as resolve4 } from "path";
|
|
@@ -1241,6 +1241,31 @@ var svelteDeclarationRootDirs = (projectRoot, fromDir) => [
|
|
|
1241
1241
|
];
|
|
1242
1242
|
var tsconfigHasSvelteDeclarationRoot = (rootDirs) => Array.isArray(rootDirs) && rootDirs.some((entry) => typeof entry === "string" && entry.replace(/^\.\//, "").replace(/\/$/, "") === SVELTE_DECLARATIONS_ROOT);
|
|
1243
1243
|
|
|
1244
|
+
// src/cli/scripts/manifestKeysEditorHint.ts
|
|
1245
|
+
var toEntries = (value) => Array.isArray(value) ? value.filter((entry) => typeof entry === "string").map((entry) => entry.trim().replace(/\\/g, "/").replace(/^(?:\.\/)+/, "").replace(/\/+$/, "")) : [];
|
|
1246
|
+
var escapeRegex = (text) => text.replace(/[.+^${}()|[\]\\]/g, "\\$&");
|
|
1247
|
+
var patternMatches = (pattern, path) => {
|
|
1248
|
+
const source = pattern.split("/").map((segment) => {
|
|
1249
|
+
if (segment === "**")
|
|
1250
|
+
return "(?:[^./][^/]*/)*";
|
|
1251
|
+
const body = escapeRegex(segment).replace(/\*/g, "[^/]*").replace(/\?/g, "[^/]");
|
|
1252
|
+
return /^[*?]/.test(segment) ? `(?!\\.)${body}/` : `${body}/`;
|
|
1253
|
+
}).join("");
|
|
1254
|
+
return new RegExp(`^${source}`).test(`${path}/`);
|
|
1255
|
+
};
|
|
1256
|
+
var manifestKeysEditorHint = (config) => {
|
|
1257
|
+
const path = MANIFEST_KEYS_DECLARATION;
|
|
1258
|
+
const files = toEntries(config.files);
|
|
1259
|
+
if (files.includes(path))
|
|
1260
|
+
return null;
|
|
1261
|
+
const excluded = toEntries(config.exclude).some((pattern) => patternMatches(pattern, path));
|
|
1262
|
+
const included = toEntries(config.include).some((pattern) => patternMatches(pattern, path));
|
|
1263
|
+
if (included && !excluded)
|
|
1264
|
+
return null;
|
|
1265
|
+
const where = excluded ? `to "files" in tsconfig.json ("exclude" removes it from "include", but not from "files"): "files": ["${path}"]` : `to "include" in tsconfig.json`;
|
|
1266
|
+
return `\x1B[33mnote\x1B[0m asset(manifest, key) keys are checked by this command. For the same check in your editor, add "${path}" ${where}.`;
|
|
1267
|
+
};
|
|
1268
|
+
|
|
1244
1269
|
// src/cli/scripts/typecheckDiagnostics.ts
|
|
1245
1270
|
import { resolve as resolve3 } from "path";
|
|
1246
1271
|
var ANSI_COLOR_REGEX = new RegExp(`${String.fromCharCode(ANSI_ESCAPE_CODE)}\\[[0-9;]*m`, "g");
|
|
@@ -1533,7 +1558,6 @@ var svelteRoots = (projectRoot, svelteDirs, svelteFiles) => {
|
|
|
1533
1558
|
return roots.map((dir) => relative2(projectRoot, dir) || ".");
|
|
1534
1559
|
};
|
|
1535
1560
|
var manifestKeyDeclarations = [];
|
|
1536
|
-
var MANIFEST_KEYS_EDITOR_HINT = `\x1B[33mnote\x1B[0m asset(manifest, key) keys are checked by this command. For the same check in your editor, add "${MANIFEST_KEYS_DECLARATION}" to include in tsconfig.json.`;
|
|
1537
1561
|
var prepareManifestKeys = async (targets) => {
|
|
1538
1562
|
const byRoot = new Map;
|
|
1539
1563
|
for (const target of targets) {
|
|
@@ -1542,13 +1566,11 @@ var prepareManifestKeys = async (targets) => {
|
|
|
1542
1566
|
}
|
|
1543
1567
|
const written = await Promise.all([...byRoot].map(([root, configs]) => writeManifestKeysDeclaration(configs, root)));
|
|
1544
1568
|
manifestKeyDeclarations = written.filter((path) => path !== null);
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
if (manifestKeyDeclarations.length > 0 && !listed)
|
|
1551
|
-
console.log(MANIFEST_KEYS_EDITOR_HINT);
|
|
1569
|
+
if (manifestKeyDeclarations.length === 0)
|
|
1570
|
+
return;
|
|
1571
|
+
const hint = manifestKeysEditorHint(readProjectTsconfig());
|
|
1572
|
+
if (hint)
|
|
1573
|
+
console.log(hint);
|
|
1552
1574
|
};
|
|
1553
1575
|
var svelteDeclarationsReady = false;
|
|
1554
1576
|
var getTypecheckRootDirs = (cacheDir) => {
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
WORKSPACE_TUI_STATUS_WIDTH,
|
|
26
26
|
WORKSPACE_TUI_TARGET_PADDING_WIDTH,
|
|
27
27
|
WORKSPACE_TUI_VISIBILITY_WIDTH
|
|
28
|
-
} from "./index-
|
|
28
|
+
} from "./index-fm9x6sjs.js";
|
|
29
29
|
import {
|
|
30
30
|
getWorkspaceServices,
|
|
31
31
|
loadRawConfig
|
|
@@ -45,16 +45,16 @@ import {
|
|
|
45
45
|
stripAnsi,
|
|
46
46
|
truncateText,
|
|
47
47
|
wrapText
|
|
48
|
-
} from "./index-
|
|
48
|
+
} from "./index-3pz5sjaz.js";
|
|
49
49
|
import {
|
|
50
50
|
DEFAULT_SERVER_ENTRY,
|
|
51
51
|
isWSLEnvironment,
|
|
52
52
|
killStaleProcesses
|
|
53
|
-
} from "./index-
|
|
54
|
-
import"./index-
|
|
53
|
+
} from "./index-hker5fs4.js";
|
|
54
|
+
import"./index-yhkg5by0.js";
|
|
55
55
|
import {
|
|
56
56
|
getDurationString
|
|
57
|
-
} from "./index-
|
|
57
|
+
} from "./index-akseq9ps.js";
|
|
58
58
|
|
|
59
59
|
// src/cli/scripts/workspace.ts
|
|
60
60
|
import {
|