@theholocron/cli 2.0.0-alpha.31 → 2.0.0-alpha.32
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 +2 -1
- package/dist/index.mjs +2 -1
- package/package.json +1 -1
package/dist/cli.mjs
CHANGED
|
@@ -4111,7 +4111,8 @@ async function loadTs(filepath) {
|
|
|
4111
4111
|
return extractAndResolve(filepath, await tsImport(pathToFileURL(filepath).href, import.meta.url));
|
|
4112
4112
|
}
|
|
4113
4113
|
function extractAndResolve(filepath, mod) {
|
|
4114
|
-
const
|
|
4114
|
+
const outer = mod.default;
|
|
4115
|
+
const raw = outer?.__esModule === true ? outer.default : outer;
|
|
4115
4116
|
if (raw === void 0 || raw === null) throw new ConfigFileError(`${filepath} must have a default export (use \`export default defineConfig({…})\`)`);
|
|
4116
4117
|
return resolveConfig(raw);
|
|
4117
4118
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -263,7 +263,8 @@ async function loadTs(filepath) {
|
|
|
263
263
|
return extractAndResolve(filepath, await tsImport(pathToFileURL(filepath).href, import.meta.url));
|
|
264
264
|
}
|
|
265
265
|
function extractAndResolve(filepath, mod) {
|
|
266
|
-
const
|
|
266
|
+
const outer = mod.default;
|
|
267
|
+
const raw = outer?.__esModule === true ? outer.default : outer;
|
|
267
268
|
if (raw === void 0 || raw === null) throw new ConfigFileError(`${filepath} must have a default export (use \`export default defineConfig({…})\`)`);
|
|
268
269
|
return resolveConfig(raw);
|
|
269
270
|
}
|
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.32",
|
|
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",
|