silgi 0.24.8 → 0.24.9

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.
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { defineCommand, runMain } from 'citty';
3
3
 
4
- const version = "0.24.8";
4
+ const version = "0.24.9";
5
5
  const packageJson = {
6
6
  version: version};
7
7
 
@@ -1582,8 +1582,9 @@ async function installPackages(silgi) {
1582
1582
  }
1583
1583
 
1584
1584
  function useCLIRuntimeConfig(silgi) {
1585
+ const safeRuntimeConfig = JSON.parse(JSON.stringify(silgi.options.runtimeConfig));
1585
1586
  silgi.hook("prepare:configs.ts", (data) => {
1586
- data.runtimeConfig = silgi.options.runtimeConfig;
1587
+ data.runtimeConfig = safeRuntimeConfig;
1587
1588
  silgi.options.envOptions = silgi.options.envOptions;
1588
1589
  });
1589
1590
  const _sharedRuntimeConfig = initRuntimeConfig(silgi.options.envOptions, silgi.options.runtimeConfig);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "silgi",
3
3
  "type": "module",
4
- "version": "0.24.8",
4
+ "version": "0.24.9",
5
5
  "private": false,
6
6
  "sideEffects": false,
7
7
  "exports": {