silgi 0.20.10 → 0.20.11
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/common.mjs +6 -3
- 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/common.mjs
CHANGED
|
@@ -906,7 +906,11 @@ async function prepareServerFiles(silgi) {
|
|
|
906
906
|
const scanned = {
|
|
907
907
|
uris: {},
|
|
908
908
|
services: [],
|
|
909
|
-
shareds: [
|
|
909
|
+
shareds: [
|
|
910
|
+
`createShared({
|
|
911
|
+
modulesURIs,
|
|
912
|
+
})`
|
|
913
|
+
],
|
|
910
914
|
schemas: [],
|
|
911
915
|
modulesURIs: {},
|
|
912
916
|
customImports: [],
|
|
@@ -966,7 +970,6 @@ async function prepareServerFiles(silgi) {
|
|
|
966
970
|
scanned.services.length > 0 ? "])" : "}",
|
|
967
971
|
"",
|
|
968
972
|
scanned.shareds.length > 0 ? "export const shareds = mergeShared([" : "export const shareds = {",
|
|
969
|
-
" modulesURIs,",
|
|
970
973
|
...scanned.shareds.map((name) => {
|
|
971
974
|
return ` ${name},`;
|
|
972
975
|
}),
|
|
@@ -2141,7 +2144,7 @@ async function prepareSchema(silgi) {
|
|
|
2141
2144
|
shareds: [
|
|
2142
2145
|
{
|
|
2143
2146
|
key: "modulesURIs",
|
|
2144
|
-
value: "typeof modulesURIs"
|
|
2147
|
+
value: "{ modulesURIs: typeof modulesURIs }"
|
|
2145
2148
|
}
|
|
2146
2149
|
],
|
|
2147
2150
|
events: [],
|
package/dist/meta/index.d.mts
CHANGED
package/dist/meta/index.d.ts
CHANGED