silgi 0.24.7 → 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.7";
4
+ const version = "0.24.9";
5
5
  const packageJson = {
6
6
  version: version};
7
7
 
@@ -1582,12 +1582,13 @@ async function installPackages(silgi) {
1582
1582
  }
1583
1583
 
1584
1584
  function useCLIRuntimeConfig(silgi) {
1585
- const _sharedRuntimeConfig = initRuntimeConfig(silgi.options.envOptions, silgi.options.runtimeConfig);
1586
- silgi.options.runtimeConfig = _sharedRuntimeConfig;
1585
+ const safeRuntimeConfig = JSON.parse(JSON.stringify(silgi.options.runtimeConfig));
1587
1586
  silgi.hook("prepare:configs.ts", (data) => {
1588
- data.runtimeConfig = _sharedRuntimeConfig;
1587
+ data.runtimeConfig = safeRuntimeConfig;
1589
1588
  silgi.options.envOptions = silgi.options.envOptions;
1590
1589
  });
1590
+ const _sharedRuntimeConfig = initRuntimeConfig(silgi.options.envOptions, silgi.options.runtimeConfig);
1591
+ silgi.options.runtimeConfig = _sharedRuntimeConfig;
1591
1592
  return _sharedRuntimeConfig;
1592
1593
  }
1593
1594
 
@@ -1804,14 +1805,14 @@ async function prepareCoreFile(data, frameworkContext, silgi) {
1804
1805
  import: [],
1805
1806
  from: "./vfs"
1806
1807
  },
1807
- "silgi/runtime/internal/defu": {
1808
+ "silgi/runtime": {
1808
1809
  import: [
1809
1810
  {
1810
1811
  name: "mergeDeep",
1811
1812
  key: "mergeDeep"
1812
1813
  }
1813
1814
  ],
1814
- from: "silgi/runtime/internal/defu"
1815
+ from: "silgi/runtime"
1815
1816
  },
1816
1817
  "scan.ts": {
1817
1818
  import: [
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "silgi",
3
3
  "type": "module",
4
- "version": "0.24.7",
4
+ "version": "0.24.9",
5
5
  "private": false,
6
6
  "sideEffects": false,
7
7
  "exports": {