@absolutejs/absolute 0.20.0-beta.71 → 0.20.0-beta.72
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/angular/components/core/streamingSlotRegistrar.js +1 -1
- package/dist/angular/components/core/streamingSlotRegistry.js +2 -2
- package/dist/cli/{add-jy0b6kdf.js → add-kt4qx8sh.js} +5 -5
- package/dist/cli/{compile-4mkh7bst.js → compile-bra4g79g.js} +1 -1
- package/dist/cli/{doctor-gzhf7nr9.js → doctor-a8afwvf9.js} +1 -1
- package/dist/cli/{generate-j3y5qt2d.js → generate-zy3d9bce.js} +4 -4
- package/dist/cli/{htmx-nmpbk3wn.js → htmx-63kt9qj1.js} +2 -2
- package/dist/cli/{index-jg7m4zpy.js → index-1wgc9e0v.js} +1 -1
- package/dist/cli/{index-6sv0rf9w.js → index-6tnpbjc7.js} +4 -0
- package/dist/cli/{index-2j5d7vt5.js → index-mxmg15c5.js} +2 -2
- package/dist/cli/{index-ybq18wst.js → index-pa3hmzj7.js} +1 -1
- package/dist/cli/index-v1k46q3x.js +11 -0
- package/dist/cli/{index-g5rwcntp.js → index-wspj2mq3.js} +2 -2
- package/dist/cli/index.js +10 -10
- package/dist/cli/{mobile-g6xn9270.js → mobile-a0myydjp.js} +1 -1
- package/dist/cli/{remove-paz2qmx4.js → remove-pwfv4wsd.js} +4 -4
- package/dist/cli/{start-cwy0b5z2.js → start-3nqytx1c.js} +1 -1
- package/dist/cli/typecheck-1yj1wfhw.js +1134 -0
- package/package.json +7 -7
- package/dist/cli/index-fr9x2c4m.js +0 -5
- package/dist/cli/typecheck-j0ytazsm.js +0 -302
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
var __require = import.meta.require;
|
|
3
3
|
|
|
4
|
-
// .angular-partial-tmp-
|
|
4
|
+
// .angular-partial-tmp-88UQkL/src/core/streamingSlotRegistrar.ts
|
|
5
5
|
var STREAMING_SLOT_REGISTRAR_KEY = Symbol.for("absolutejs.streamingSlotRegistrar");
|
|
6
6
|
var STREAMING_SLOT_WARNING_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotWarningController");
|
|
7
7
|
var STREAMING_SLOT_COLLECTION_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotCollectionController");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
var __require = import.meta.require;
|
|
3
3
|
|
|
4
|
-
// .angular-partial-tmp-
|
|
4
|
+
// .angular-partial-tmp-88UQkL/src/core/streamingSlotRegistrar.ts
|
|
5
5
|
var STREAMING_SLOT_REGISTRAR_KEY = Symbol.for("absolutejs.streamingSlotRegistrar");
|
|
6
6
|
var STREAMING_SLOT_WARNING_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotWarningController");
|
|
7
7
|
var STREAMING_SLOT_COLLECTION_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotCollectionController");
|
|
@@ -48,7 +48,7 @@ var warnMissingStreamingSlotCollector = (primitiveName) => {
|
|
|
48
48
|
getWarningController()?.maybeWarn(primitiveName);
|
|
49
49
|
};
|
|
50
50
|
|
|
51
|
-
// .angular-partial-tmp-
|
|
51
|
+
// .angular-partial-tmp-88UQkL/src/core/streamingSlotRegistry.ts
|
|
52
52
|
var STREAMING_SLOT_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotAsyncLocalStorage");
|
|
53
53
|
var isObjectRecord2 = (value) => Boolean(value) && typeof value === "object";
|
|
54
54
|
var isAsyncLocalStorage = (value) => isObjectRecord2(value) && ("getStore" in value) && typeof value.getStore === "function" && ("run" in value) && typeof value.run === "function";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
applyAbsoluteConfigEdit
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-wspj2mq3.js";
|
|
5
5
|
import {
|
|
6
6
|
installFrameworkDependencies,
|
|
7
7
|
installPackages
|
|
@@ -12,8 +12,8 @@ import {
|
|
|
12
12
|
} from "./index-5xfxd7xa.js";
|
|
13
13
|
import {
|
|
14
14
|
generatePage
|
|
15
|
-
} from "./index-
|
|
16
|
-
import"./index-
|
|
15
|
+
} from "./index-mxmg15c5.js";
|
|
16
|
+
import"./index-pa3hmzj7.js";
|
|
17
17
|
import {
|
|
18
18
|
configuredFrameworks,
|
|
19
19
|
frameworks,
|
|
@@ -21,8 +21,8 @@ import {
|
|
|
21
21
|
isFrameworkKey,
|
|
22
22
|
readAbsoluteConfigValues,
|
|
23
23
|
resolveProject
|
|
24
|
-
} from "./index-
|
|
25
|
-
import"./index-
|
|
24
|
+
} from "./index-1wgc9e0v.js";
|
|
25
|
+
import"./index-v1k46q3x.js";
|
|
26
26
|
import {
|
|
27
27
|
colors
|
|
28
28
|
} from "./index-8nym68py.js";
|
|
@@ -7,17 +7,17 @@ import {
|
|
|
7
7
|
toKebabCase,
|
|
8
8
|
toPascalCase,
|
|
9
9
|
toTitleCase
|
|
10
|
-
} from "./index-
|
|
10
|
+
} from "./index-mxmg15c5.js";
|
|
11
11
|
import {
|
|
12
12
|
wirePluginUse
|
|
13
|
-
} from "./index-
|
|
13
|
+
} from "./index-pa3hmzj7.js";
|
|
14
14
|
import {
|
|
15
15
|
frameworks,
|
|
16
16
|
resolveProject,
|
|
17
17
|
selectFramework,
|
|
18
18
|
toModuleSpecifier
|
|
19
|
-
} from "./index-
|
|
20
|
-
import"./index-
|
|
19
|
+
} from "./index-1wgc9e0v.js";
|
|
20
|
+
import"./index-v1k46q3x.js";
|
|
21
21
|
import {
|
|
22
22
|
colors
|
|
23
23
|
} from "./index-8nym68py.js";
|
|
@@ -339,6 +339,10 @@ var start = async (serverEntry, outdir, configPath, options = {}) => {
|
|
|
339
339
|
contents: "export const startServerEntryWatcher = () => {}; export const isAtomicWriteTemp = () => false;",
|
|
340
340
|
loader: "js"
|
|
341
341
|
}));
|
|
342
|
+
bld.onLoad({ filter: /dev\/rebuildTrigger\.ts$/ }, () => ({
|
|
343
|
+
contents: "export const triggerRebuild = () => {}; export const queueFileChange = () => {}; export const drainPendingQueue = () => {};",
|
|
344
|
+
loader: "js"
|
|
345
|
+
}));
|
|
342
346
|
bld.onLoad({ filter: /cli\/(telemetryEvent|scripts\/telemetry)\.ts$/ }, () => ({
|
|
343
347
|
contents: "export const sendTelemetryEvent = () => {}; export const getTelemetryConfig = () => null; export const telemetry = () => {};",
|
|
344
348
|
loader: "js"
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
import {
|
|
3
3
|
findRoutingFile,
|
|
4
4
|
wireRoute
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-pa3hmzj7.js";
|
|
6
6
|
import {
|
|
7
7
|
frameworks,
|
|
8
8
|
sharedDirFor,
|
|
9
9
|
toModuleSpecifier
|
|
10
|
-
} from "./index-
|
|
10
|
+
} from "./index-1wgc9e0v.js";
|
|
11
11
|
|
|
12
12
|
// src/cli/generate/naming.ts
|
|
13
13
|
var tokenize = (raw) => raw.replace(/([a-z0-9])([A-Z])/g, "$1 $2").replace(/([A-Z]+)([A-Z][a-z])/g, "$1 $2").split(/[^a-zA-Z0-9]+/).filter((token) => token.length > 0).map((token) => token.toLowerCase());
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
// src/cli/config/guards.ts
|
|
3
|
+
var getString = (value, key) => {
|
|
4
|
+
if (!isRecord(value))
|
|
5
|
+
return null;
|
|
6
|
+
const found = value[key];
|
|
7
|
+
return typeof found === "string" ? found : null;
|
|
8
|
+
};
|
|
9
|
+
var isRecord = (value) => typeof value === "object" && value !== null && !Array.isArray(value);
|
|
10
|
+
|
|
11
|
+
export { getString, isRecord };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
findConfigObject
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-1wgc9e0v.js";
|
|
5
5
|
import {
|
|
6
6
|
isRecord
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-v1k46q3x.js";
|
|
8
8
|
|
|
9
9
|
// src/cli/config/absolute/editAbsoluteConfig.ts
|
|
10
10
|
import ts from "typescript";
|
package/dist/cli/index.js
CHANGED
|
@@ -71,7 +71,7 @@ if (command === "dev") {
|
|
|
71
71
|
const configPath = parseNamedArg("--config");
|
|
72
72
|
const positionalArgs = stripNamedArgs("--outdir", "--config").filter((arg) => arg !== "--prebuilt");
|
|
73
73
|
const serverEntry = positionalArgs[0] ?? DEFAULT_SERVER_ENTRY;
|
|
74
|
-
const { start } = await import("./start-
|
|
74
|
+
const { start } = await import("./start-3nqytx1c.js");
|
|
75
75
|
await start(serverEntry, outdir, configPath, {
|
|
76
76
|
prebuilt: args.includes("--prebuilt")
|
|
77
77
|
});
|
|
@@ -81,7 +81,7 @@ if (command === "dev") {
|
|
|
81
81
|
const configPath = parseNamedArg("--config");
|
|
82
82
|
const positionalArgs = stripNamedArgs("--outdir", "--config");
|
|
83
83
|
const serverEntry = positionalArgs[0] ?? DEFAULT_SERVER_ENTRY;
|
|
84
|
-
const { start } = await import("./start-
|
|
84
|
+
const { start } = await import("./start-3nqytx1c.js");
|
|
85
85
|
await start(serverEntry, outdir, configPath, { prepareOnly: true });
|
|
86
86
|
} else if (command === "build") {
|
|
87
87
|
sendTelemetryEvent("cli:command", { command });
|
|
@@ -130,11 +130,11 @@ if (command === "dev") {
|
|
|
130
130
|
await runMem(args);
|
|
131
131
|
} else if (command === "generate" || command === "g") {
|
|
132
132
|
sendTelemetryEvent("cli:command", { command: "generate" });
|
|
133
|
-
const { runGenerate } = await import("./generate-
|
|
133
|
+
const { runGenerate } = await import("./generate-zy3d9bce.js");
|
|
134
134
|
await runGenerate(args);
|
|
135
135
|
} else if (command === "add") {
|
|
136
136
|
sendTelemetryEvent("cli:command", { command: "add" });
|
|
137
|
-
const { runAdd } = await import("./add-
|
|
137
|
+
const { runAdd } = await import("./add-kt4qx8sh.js");
|
|
138
138
|
await runAdd(args);
|
|
139
139
|
} else if (command === "analyze") {
|
|
140
140
|
sendTelemetryEvent("cli:command", { command: "analyze" });
|
|
@@ -146,11 +146,11 @@ if (command === "dev") {
|
|
|
146
146
|
await runApi(args);
|
|
147
147
|
} else if (command === "remove") {
|
|
148
148
|
sendTelemetryEvent("cli:command", { command: "remove" });
|
|
149
|
-
const { runRemove } = await import("./remove-
|
|
149
|
+
const { runRemove } = await import("./remove-pwfv4wsd.js");
|
|
150
150
|
await runRemove(args);
|
|
151
151
|
} else if (command === "htmx") {
|
|
152
152
|
sendTelemetryEvent("cli:command", { command: "htmx" });
|
|
153
|
-
const { runHtmx } = await import("./htmx-
|
|
153
|
+
const { runHtmx } = await import("./htmx-63kt9qj1.js");
|
|
154
154
|
await runHtmx(args);
|
|
155
155
|
} else if (command === "env") {
|
|
156
156
|
sendTelemetryEvent("cli:command", { command: "env" });
|
|
@@ -168,7 +168,7 @@ if (command === "dev") {
|
|
|
168
168
|
await runLogs(args);
|
|
169
169
|
} else if (command === "doctor") {
|
|
170
170
|
sendTelemetryEvent("cli:command", { command: "doctor" });
|
|
171
|
-
const { runDoctor } = await import("./doctor-
|
|
171
|
+
const { runDoctor } = await import("./doctor-a8afwvf9.js");
|
|
172
172
|
await runDoctor(args);
|
|
173
173
|
} else if (command === "routes") {
|
|
174
174
|
sendTelemetryEvent("cli:command", { command: "routes" });
|
|
@@ -197,13 +197,13 @@ if (command === "dev") {
|
|
|
197
197
|
const configPath = parseNamedArg("--config");
|
|
198
198
|
const positionalArgs = stripNamedArgs("--outdir", "--outfile", "--config");
|
|
199
199
|
const serverEntry = positionalArgs[0] ?? DEFAULT_SERVER_ENTRY;
|
|
200
|
-
const { compile } = await import("./compile-
|
|
200
|
+
const { compile } = await import("./compile-bra4g79g.js");
|
|
201
201
|
await compile(serverEntry, outdir, outfile, configPath);
|
|
202
202
|
} else if (command === "mobile") {
|
|
203
203
|
sendTelemetryEvent("cli:command", {
|
|
204
204
|
command: `mobile:${workspaceCommand ?? "unknown"}`
|
|
205
205
|
});
|
|
206
|
-
const { runMobile } = await import("./mobile-
|
|
206
|
+
const { runMobile } = await import("./mobile-a0myydjp.js");
|
|
207
207
|
try {
|
|
208
208
|
await runMobile(args);
|
|
209
209
|
} catch (error) {
|
|
@@ -213,7 +213,7 @@ if (command === "dev") {
|
|
|
213
213
|
} else if (command === "typecheck") {
|
|
214
214
|
sendTelemetryEvent("cli:command", { command });
|
|
215
215
|
const configPath = parseNamedArg("--config");
|
|
216
|
-
const { typecheck } = await import("./typecheck-
|
|
216
|
+
const { typecheck } = await import("./typecheck-1yj1wfhw.js");
|
|
217
217
|
await typecheck(configPath);
|
|
218
218
|
} else if (command === "mkcert") {
|
|
219
219
|
sendTelemetryEvent("cli:command", { command });
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
applyAbsoluteConfigEdit
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-wspj2mq3.js";
|
|
5
5
|
import {
|
|
6
6
|
frameworkDependencyNames
|
|
7
7
|
} from "./index-zh6hhrwy.js";
|
|
8
8
|
import {
|
|
9
9
|
findRoutingFile
|
|
10
|
-
} from "./index-
|
|
10
|
+
} from "./index-pa3hmzj7.js";
|
|
11
11
|
import {
|
|
12
12
|
frameworks,
|
|
13
13
|
isFrameworkKey,
|
|
14
14
|
resolveProject
|
|
15
|
-
} from "./index-
|
|
16
|
-
import"./index-
|
|
15
|
+
} from "./index-1wgc9e0v.js";
|
|
16
|
+
import"./index-v1k46q3x.js";
|
|
17
17
|
import {
|
|
18
18
|
colors
|
|
19
19
|
} from "./index-8nym68py.js";
|