silgi 0.37.19 → 0.37.20
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/build.mjs +4 -0
- package/dist/cli/index.mjs +1 -1
- package/package.json +1 -1
package/dist/cli/build.mjs
CHANGED
|
@@ -1457,6 +1457,10 @@ async function createSilgiCLI(config = {}, opts = {}) {
|
|
|
1457
1457
|
},
|
|
1458
1458
|
adapters: {}
|
|
1459
1459
|
};
|
|
1460
|
+
globalThis.__silgi__ = globalThis.__silgi__ || {};
|
|
1461
|
+
globalThis.__silgi__.useRuntimeConfig = function() {
|
|
1462
|
+
return silgi?.options?.runtimeConfig || {};
|
|
1463
|
+
};
|
|
1460
1464
|
if (silgi.options.adapters && Object.keys(silgi.options.adapters)?.length > 0) {
|
|
1461
1465
|
for (const [key, value] of Object.entries(silgi.options.adapters)) {
|
|
1462
1466
|
silgi.adapters[key] = value;
|
package/dist/cli/index.mjs
CHANGED