@theholocron/cli 2.0.0-alpha.26 → 2.0.0-alpha.27
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/cli.mjs +1 -2
- package/dist/index.mjs +1 -2
- package/package.json +1 -1
package/dist/cli.mjs
CHANGED
|
@@ -4052,8 +4052,7 @@ async function loadJs(filepath) {
|
|
|
4052
4052
|
}
|
|
4053
4053
|
async function loadTs(filepath) {
|
|
4054
4054
|
const { tsImport } = await import("tsx/esm/api");
|
|
4055
|
-
|
|
4056
|
-
return extractAndResolve(filepath, outer.default ?? outer);
|
|
4055
|
+
return extractAndResolve(filepath, await tsImport(pathToFileURL(filepath).href, import.meta.url));
|
|
4057
4056
|
}
|
|
4058
4057
|
function extractAndResolve(filepath, mod) {
|
|
4059
4058
|
const raw = mod.default;
|
package/dist/index.mjs
CHANGED
|
@@ -260,8 +260,7 @@ async function loadJs(filepath) {
|
|
|
260
260
|
}
|
|
261
261
|
async function loadTs(filepath) {
|
|
262
262
|
const { tsImport } = await import("tsx/esm/api");
|
|
263
|
-
|
|
264
|
-
return extractAndResolve(filepath, outer.default ?? outer);
|
|
263
|
+
return extractAndResolve(filepath, await tsImport(pathToFileURL(filepath).href, import.meta.url));
|
|
265
264
|
}
|
|
266
265
|
function extractAndResolve(filepath, mod) {
|
|
267
266
|
const raw = mod.default;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theholocron/cli",
|
|
3
|
-
"version": "2.0.0-alpha.
|
|
3
|
+
"version": "2.0.0-alpha.27",
|
|
4
4
|
"description": "The Holocron CLI — a pluggable, capability-based orchestrator for spinning up and operating software projects.",
|
|
5
5
|
"homepage": "https://github.com/theholocron/holocron/tree/main/packages/cli#readme",
|
|
6
6
|
"bugs": "https://github.com/theholocron/holocron/issues",
|