silgi 0.20.9 → 0.20.10
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 +15 -7
- 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
|
@@ -884,8 +884,7 @@ async function prepareServerFiles(silgi) {
|
|
|
884
884
|
"silgi/types": {
|
|
885
885
|
import: [
|
|
886
886
|
{ name: "SilgiRuntimeOptions", type: true, key: "SilgiRuntimeOptions" },
|
|
887
|
-
{ name: "FrameworkContext", type: true, key: "FrameworkContext" }
|
|
888
|
-
{ name: "ExtendShared", type: true, key: "ExtendShared" }
|
|
887
|
+
{ name: "FrameworkContext", type: true, key: "FrameworkContext" }
|
|
889
888
|
],
|
|
890
889
|
from: "silgi/types"
|
|
891
890
|
},
|
|
@@ -966,10 +965,6 @@ async function prepareServerFiles(silgi) {
|
|
|
966
965
|
}),
|
|
967
966
|
scanned.services.length > 0 ? "])" : "}",
|
|
968
967
|
"",
|
|
969
|
-
"export interface ScanShared extends ExtendShared {",
|
|
970
|
-
" modulesURIs: typeof modulesURIs",
|
|
971
|
-
"}",
|
|
972
|
-
"",
|
|
973
968
|
scanned.shareds.length > 0 ? "export const shareds = mergeShared([" : "export const shareds = {",
|
|
974
969
|
" modulesURIs,",
|
|
975
970
|
...scanned.shareds.map((name) => {
|
|
@@ -2127,6 +2122,14 @@ async function prepareSchema(silgi) {
|
|
|
2127
2122
|
}
|
|
2128
2123
|
],
|
|
2129
2124
|
from: "silgi/types"
|
|
2125
|
+
},
|
|
2126
|
+
"silgi/scan": {
|
|
2127
|
+
import: [{
|
|
2128
|
+
key: "modulesURIs",
|
|
2129
|
+
name: "modulesURIs",
|
|
2130
|
+
type: false
|
|
2131
|
+
}],
|
|
2132
|
+
from: relativeWithDot(silgi.options.build.typesDir, `${silgi.options.silgi.serverDir}/scan.ts`)
|
|
2130
2133
|
}
|
|
2131
2134
|
};
|
|
2132
2135
|
const data = {
|
|
@@ -2135,7 +2138,12 @@ async function prepareSchema(silgi) {
|
|
|
2135
2138
|
options: [],
|
|
2136
2139
|
contexts: [],
|
|
2137
2140
|
actions: [],
|
|
2138
|
-
shareds: [
|
|
2141
|
+
shareds: [
|
|
2142
|
+
{
|
|
2143
|
+
key: "modulesURIs",
|
|
2144
|
+
value: "typeof modulesURIs"
|
|
2145
|
+
}
|
|
2146
|
+
],
|
|
2139
2147
|
events: [],
|
|
2140
2148
|
storeBase: [],
|
|
2141
2149
|
hooks: [],
|
package/dist/meta/index.d.mts
CHANGED
package/dist/meta/index.d.ts
CHANGED