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.
@@ -1,4 +1,4 @@
1
- const version = "0.20.9";
1
+ const version = "0.20.10";
2
2
  const peerDependencies = {
3
3
  "@fastify/deepmerge": "^3.0.0",
4
4
  "@nuxt/kit": "^3.15.3",
@@ -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: [],
@@ -1,4 +1,4 @@
1
- const version = "0.20.9";
1
+ const version = "0.20.10";
2
2
  const peerDependencies = {
3
3
  "@fastify/deepmerge": "^3.0.0",
4
4
  "@nuxt/kit": "^3.15.3",
@@ -1,4 +1,4 @@
1
- const version = "0.20.9";
1
+ const version = "0.20.10";
2
2
  const peerDependencies = {
3
3
  "@fastify/deepmerge": "^3.0.0",
4
4
  "@nuxt/kit": "^3.15.3",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "silgi",
3
3
  "type": "module",
4
- "version": "0.20.9",
4
+ "version": "0.20.10",
5
5
  "private": false,
6
6
  "sideEffects": false,
7
7
  "exports": {