elit 3.5.7 → 3.5.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/Cargo.toml +1 -1
- package/README.md +1 -1
- package/dist/build.d.ts +1 -1
- package/dist/cli.cjs +16 -2
- package/dist/cli.mjs +16 -2
- package/dist/config.d.ts +1 -1
- package/dist/coverage.d.ts +1 -1
- package/dist/desktop-auto-render.cjs +2370 -0
- package/dist/desktop-auto-render.d.ts +13 -0
- package/dist/desktop-auto-render.js +2341 -0
- package/dist/desktop-auto-render.mjs +2344 -0
- package/dist/render-context.cjs +118 -0
- package/dist/render-context.d.ts +39 -0
- package/dist/render-context.js +77 -0
- package/dist/render-context.mjs +87 -0
- package/dist/{server-CNgDUgSZ.d.ts → server-FCdUqabc.d.ts} +1 -1
- package/dist/server.d.ts +1 -1
- package/package.json +21 -1
package/Cargo.toml
CHANGED
package/README.md
CHANGED
|
@@ -955,7 +955,7 @@ The package also exports `elit/test`, `elit/test-runtime`, and `elit/test-report
|
|
|
955
955
|
|
|
956
956
|
Latest release notes live in [CHANGELOG.md](CHANGELOG.md).
|
|
957
957
|
|
|
958
|
-
Highlights in `v3.5.
|
|
958
|
+
Highlights in `v3.5.8`:
|
|
959
959
|
|
|
960
960
|
- Added `elit pm` for detached background process management of shell commands, file targets, and WAPK apps.
|
|
961
961
|
- Added `pm.apps[]` and `pm.dataDir` in `elit.config.*` for config-first process manager workflows.
|
package/dist/build.d.ts
CHANGED
package/dist/cli.cjs
CHANGED
|
@@ -76769,12 +76769,26 @@ function resolveDesktopEntryDisplayName(entryPath, fallbackName) {
|
|
|
76769
76769
|
}
|
|
76770
76770
|
return formatDesktopDisplayName(fallbackName);
|
|
76771
76771
|
}
|
|
76772
|
+
function resolveDesktopBootstrapSupportModulePath(moduleName, packageRoot = PACKAGE_ROOT) {
|
|
76773
|
+
const candidates = [
|
|
76774
|
+
(0, import_node_path3.resolve)(packageRoot, "src", `${moduleName}.ts`),
|
|
76775
|
+
(0, import_node_path3.resolve)(packageRoot, "dist", `${moduleName}.mjs`)
|
|
76776
|
+
];
|
|
76777
|
+
for (const candidate of candidates) {
|
|
76778
|
+
if ((0, import_node_fs3.existsSync)(candidate)) {
|
|
76779
|
+
return candidate;
|
|
76780
|
+
}
|
|
76781
|
+
}
|
|
76782
|
+
throw new Error(
|
|
76783
|
+
`Desktop support module "${moduleName}" was not found in ${packageRoot}. Expected one of: ${candidates.join(", ")}`
|
|
76784
|
+
);
|
|
76785
|
+
}
|
|
76772
76786
|
function createDesktopBootstrapEntry(entryPath, appName) {
|
|
76773
76787
|
const bootstrapId = (0, import_node_crypto3.randomUUID)();
|
|
76774
76788
|
const bootstrapPath = (0, import_node_path3.join)((0, import_node_path3.dirname)(entryPath), `.elit-desktop-bootstrap-${appName}-${bootstrapId}.ts`);
|
|
76775
76789
|
const preludePath = (0, import_node_path3.join)((0, import_node_path3.dirname)(entryPath), `.elit-desktop-prelude-${appName}-${bootstrapId}.ts`);
|
|
76776
|
-
const desktopAutoRenderPath = (
|
|
76777
|
-
const renderContextPath = (
|
|
76790
|
+
const desktopAutoRenderPath = resolveDesktopBootstrapSupportModulePath("desktop-auto-render");
|
|
76791
|
+
const renderContextPath = resolveDesktopBootstrapSupportModulePath("render-context");
|
|
76778
76792
|
const defaultTitle = `${resolveDesktopEntryDisplayName(entryPath, appName)} Desktop`;
|
|
76779
76793
|
(0, import_node_fs3.writeFileSync)(
|
|
76780
76794
|
preludePath,
|
package/dist/cli.mjs
CHANGED
|
@@ -76754,12 +76754,26 @@ function resolveDesktopEntryDisplayName(entryPath, fallbackName) {
|
|
|
76754
76754
|
}
|
|
76755
76755
|
return formatDesktopDisplayName(fallbackName);
|
|
76756
76756
|
}
|
|
76757
|
+
function resolveDesktopBootstrapSupportModulePath(moduleName, packageRoot = PACKAGE_ROOT) {
|
|
76758
|
+
const candidates = [
|
|
76759
|
+
resolve4(packageRoot, "src", `${moduleName}.ts`),
|
|
76760
|
+
resolve4(packageRoot, "dist", `${moduleName}.mjs`)
|
|
76761
|
+
];
|
|
76762
|
+
for (const candidate of candidates) {
|
|
76763
|
+
if (existsSync3(candidate)) {
|
|
76764
|
+
return candidate;
|
|
76765
|
+
}
|
|
76766
|
+
}
|
|
76767
|
+
throw new Error(
|
|
76768
|
+
`Desktop support module "${moduleName}" was not found in ${packageRoot}. Expected one of: ${candidates.join(", ")}`
|
|
76769
|
+
);
|
|
76770
|
+
}
|
|
76757
76771
|
function createDesktopBootstrapEntry(entryPath, appName) {
|
|
76758
76772
|
const bootstrapId = randomUUID2();
|
|
76759
76773
|
const bootstrapPath = join3(dirname4(entryPath), `.elit-desktop-bootstrap-${appName}-${bootstrapId}.ts`);
|
|
76760
76774
|
const preludePath = join3(dirname4(entryPath), `.elit-desktop-prelude-${appName}-${bootstrapId}.ts`);
|
|
76761
|
-
const desktopAutoRenderPath =
|
|
76762
|
-
const renderContextPath =
|
|
76775
|
+
const desktopAutoRenderPath = resolveDesktopBootstrapSupportModulePath("desktop-auto-render");
|
|
76776
|
+
const renderContextPath = resolveDesktopBootstrapSupportModulePath("render-context");
|
|
76763
76777
|
const defaultTitle = `${resolveDesktopEntryDisplayName(entryPath, appName)} Desktop`;
|
|
76764
76778
|
writeFileSync4(
|
|
76765
76779
|
preludePath,
|
package/dist/config.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as DevServerOptions, B as BuildOptions, P as PreviewOptions, T as TestOptions } from './server-
|
|
1
|
+
import { D as DevServerOptions, B as BuildOptions, P as PreviewOptions, T as TestOptions } from './server-FCdUqabc.js';
|
|
2
2
|
import './http.js';
|
|
3
3
|
import 'node:events';
|
|
4
4
|
import './ws.js';
|
package/dist/coverage.d.ts
CHANGED