@theholocron/cli 2.0.0-alpha.31 → 2.0.0-alpha.33
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 +3 -1
- package/dist/index.mjs +2 -1
- package/package.json +1 -1
package/dist/cli.mjs
CHANGED
|
@@ -3602,6 +3602,7 @@ indent_size = 2
|
|
|
3602
3602
|
|
|
3603
3603
|
[*.md]
|
|
3604
3604
|
trim_trailing_whitespace = false
|
|
3605
|
+
indent_style = unset
|
|
3605
3606
|
|
|
3606
3607
|
[.*{rc,ignore}]
|
|
3607
3608
|
indent_style = space
|
|
@@ -4111,7 +4112,8 @@ async function loadTs(filepath) {
|
|
|
4111
4112
|
return extractAndResolve(filepath, await tsImport(pathToFileURL(filepath).href, import.meta.url));
|
|
4112
4113
|
}
|
|
4113
4114
|
function extractAndResolve(filepath, mod) {
|
|
4114
|
-
const
|
|
4115
|
+
const outer = mod.default;
|
|
4116
|
+
const raw = outer?.__esModule === true ? outer.default : outer;
|
|
4115
4117
|
if (raw === void 0 || raw === null) throw new ConfigFileError(`${filepath} must have a default export (use \`export default defineConfig({…})\`)`);
|
|
4116
4118
|
return resolveConfig(raw);
|
|
4117
4119
|
}
|
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.33",
|
|
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",
|