silgi 0.24.10 → 0.24.12
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/index.mjs
CHANGED
package/dist/cli/prepare.mjs
CHANGED
|
@@ -1805,15 +1805,6 @@ async function prepareCoreFile(data, frameworkContext, silgi) {
|
|
|
1805
1805
|
import: [],
|
|
1806
1806
|
from: "./vfs"
|
|
1807
1807
|
},
|
|
1808
|
-
"silgi/runtime": {
|
|
1809
|
-
import: [
|
|
1810
|
-
{
|
|
1811
|
-
name: "mergeDeep",
|
|
1812
|
-
key: "mergeDeep"
|
|
1813
|
-
}
|
|
1814
|
-
],
|
|
1815
|
-
from: "silgi/runtime"
|
|
1816
|
-
},
|
|
1817
1808
|
"scan.ts": {
|
|
1818
1809
|
import: [
|
|
1819
1810
|
{
|
|
@@ -1885,6 +1876,7 @@ async function prepareCoreFile(data, frameworkContext, silgi) {
|
|
|
1885
1876
|
plugins.push(pluginImportName);
|
|
1886
1877
|
}
|
|
1887
1878
|
const importsContent = [
|
|
1879
|
+
'import deepmerge from "@fastify/deepmerge"',
|
|
1888
1880
|
...Object.entries(importItems).map(([_name, { from, import: imports }]) => {
|
|
1889
1881
|
if (silgi.options.typescript.removeFileExtension) {
|
|
1890
1882
|
from = from.replace(/\.(js|ts|mjs|cjs|jsx|tsx)$/, "");
|
|
@@ -1896,6 +1888,8 @@ async function prepareCoreFile(data, frameworkContext, silgi) {
|
|
|
1896
1888
|
""
|
|
1897
1889
|
];
|
|
1898
1890
|
const importData = [
|
|
1891
|
+
"",
|
|
1892
|
+
"const mergeDeep = deepmerge({all: true})",
|
|
1899
1893
|
"",
|
|
1900
1894
|
"export async function buildSilgi(framework: FrameworkContext, moduleOptions?: Partial<SilgiRuntimeOptions>,buildOptions?: Partial<SilgiOptions>) {",
|
|
1901
1895
|
"",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "silgi",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.24.
|
|
4
|
+
"version": "0.24.12",
|
|
5
5
|
"private": false,
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"exports": {
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
"./presets": "./dist/presets/index.mjs",
|
|
17
17
|
"./runtime": "./dist/runtime/index.mjs",
|
|
18
18
|
"./runtime/internal": "./dist/runtime/internal/index.mjs",
|
|
19
|
+
"./runtime/internal/*": "./dist/runtime/internal/*.mjs",
|
|
19
20
|
"./runtime/meta": "./lib/runtime-meta.mjs"
|
|
20
21
|
},
|
|
21
22
|
"main": "./dist/index.mjs",
|