silgi 0.8.57 → 0.8.59
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/_chunks/index.mjs +1 -1
- package/dist/cli/prepare.mjs +3 -4
- package/dist/meta/index.d.mts +1 -1
- package/dist/meta/index.d.ts +1 -1
- package/package.json +1 -1
package/dist/_chunks/index.mjs
CHANGED
package/dist/cli/prepare.mjs
CHANGED
|
@@ -611,10 +611,7 @@ async function silgiCoreFile(data, frameworkContext, silgi) {
|
|
|
611
611
|
"silgi/types": {
|
|
612
612
|
import: [
|
|
613
613
|
{ name: "SilgiRuntimeOptions", type: true },
|
|
614
|
-
{ name: "SilgiModuleOptions", type: true },
|
|
615
|
-
{ name: "SilgiOptions", type: true },
|
|
616
614
|
{ name: "FrameworkContext", type: true },
|
|
617
|
-
{ name: "DeepPartial", type: true },
|
|
618
615
|
{ name: "BuildConfig", type: true }
|
|
619
616
|
],
|
|
620
617
|
from: "silgi/types"
|
|
@@ -667,6 +664,8 @@ async function silgiCoreFile(data, frameworkContext, silgi) {
|
|
|
667
664
|
[key]: module.options[key]
|
|
668
665
|
};
|
|
669
666
|
}
|
|
667
|
+
} else {
|
|
668
|
+
_data.cliOptions[module.meta.configKey] = {};
|
|
670
669
|
}
|
|
671
670
|
}
|
|
672
671
|
await silgi.callHook("prepare:core.ts", _data);
|
|
@@ -697,7 +696,7 @@ async function silgiCoreFile(data, frameworkContext, silgi) {
|
|
|
697
696
|
""
|
|
698
697
|
];
|
|
699
698
|
const importData = [
|
|
700
|
-
`export const cliOptions: SilgiRuntimeOptions
|
|
699
|
+
`export const cliOptions: SilgiRuntimeOptions = ${JSON.stringify(_data.cliOptions, null, 2)}`,
|
|
701
700
|
"",
|
|
702
701
|
..._data.afterCliOptions,
|
|
703
702
|
"",
|
package/dist/meta/index.d.mts
CHANGED
package/dist/meta/index.d.ts
CHANGED