@absolutejs/absolute 0.19.0-beta.1033 → 0.19.0-beta.1035
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.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
var __require = import.meta.require;
|
|
3
3
|
|
|
4
|
-
// .angular-partial-tmp-
|
|
4
|
+
// .angular-partial-tmp-MABBir/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-MABBir/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-MABBir/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";
|
package/dist/cli/index.js
CHANGED
|
@@ -171134,7 +171134,7 @@ var init_formatBytes = __esm(() => {
|
|
|
171134
171134
|
});
|
|
171135
171135
|
|
|
171136
171136
|
// src/cli/discoverInstances.ts
|
|
171137
|
-
var MS_PER_SECOND = 1000, isJsRuntime = (command) => /\b(bun|deno|node)\b/.test(command), untrackedName = (command) => {
|
|
171137
|
+
var MS_PER_SECOND = 1000, isJsRuntime = (command) => /\b(bun|deno|node)\b/.test(command), TOOLING_RE, isToolingProcess = (command) => TOOLING_RE.test(command), untrackedName = (command) => {
|
|
171138
171138
|
const entry = command.split(/\s+/).find((token) => /\.(cjs|js|mjs|ts)$/.test(token));
|
|
171139
171139
|
if (entry === undefined)
|
|
171140
171140
|
return "untracked";
|
|
@@ -171179,6 +171179,8 @@ var MS_PER_SECOND = 1000, isJsRuntime = (command) => /\b(bun|deno|node)\b/.test(
|
|
|
171179
171179
|
continue;
|
|
171180
171180
|
if (!isJsRuntime(listener.command))
|
|
171181
171181
|
continue;
|
|
171182
|
+
if (isToolingProcess(listener.command))
|
|
171183
|
+
continue;
|
|
171182
171184
|
seen.add(listener.pid);
|
|
171183
171185
|
untracked.push(toUntrackedRecord(listener));
|
|
171184
171186
|
}
|
|
@@ -171187,6 +171189,7 @@ var MS_PER_SECOND = 1000, isJsRuntime = (command) => /\b(bun|deno|node)\b/.test(
|
|
|
171187
171189
|
var init_discoverInstances = __esm(() => {
|
|
171188
171190
|
init_instanceRegistry();
|
|
171189
171191
|
init_portScan();
|
|
171192
|
+
TOOLING_RE = /\.vscode-server|\.vscode\b|\.cursor-server|\.cursor\b|\.windsurf|jetbrains|bootstrap-fork|tsserver|typescript-language-server|language-?server|eslintserver|vscode-eslint|copilot/i;
|
|
171190
171193
|
});
|
|
171191
171194
|
|
|
171192
171195
|
// src/cli/instanceStatus.ts
|
|
@@ -171653,7 +171656,7 @@ var TUI_HEADERS, STATUS_INDEX = 6, URL_INDEX = 7, helpLines2, statusLevelColor =
|
|
|
171653
171656
|
};
|
|
171654
171657
|
const pushInstanceRows = (rows, width) => {
|
|
171655
171658
|
if (instances.length === 0) {
|
|
171656
|
-
rows.push(padLine(`${colors.dim}No servers
|
|
171659
|
+
rows.push(padLine(`${colors.dim}No running servers found. Start one with \`absolute dev\`, \`start\`, or \`workspace dev\`.${colors.reset}`, width));
|
|
171657
171660
|
return;
|
|
171658
171661
|
}
|
|
171659
171662
|
const allCells = instances.map(instanceRowCells);
|
|
@@ -171812,7 +171815,7 @@ var killPid = (pid) => {
|
|
|
171812
171815
|
instance.url ?? "-"
|
|
171813
171816
|
], columnWidths3 = (rows) => TABLE_HEADERS.map((header, index) => Math.max(visibleLength(header), ...rows.map((cells) => visibleLength(cells[index] ?? "")))), renderRow = (cells, widths) => cells.map((cell, index) => padLine(cell, widths[index] ?? 0)).join(" ".repeat(LIST_TUI_COLUMN_GAP)), printInstanceTable = (instances) => {
|
|
171814
171817
|
if (instances.length === 0) {
|
|
171815
|
-
process.stdout.write(`${colors.dim}No
|
|
171818
|
+
process.stdout.write(`${colors.dim}No running servers found. Start one with \`absolute dev\`, \`start\`, or \`workspace dev\`.${colors.reset}
|
|
171816
171819
|
`);
|
|
171817
171820
|
return;
|
|
171818
171821
|
}
|