silgi 0.20.8 → 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.8";
1
+ const version = "0.20.10";
2
2
  const peerDependencies = {
3
3
  "@fastify/deepmerge": "^3.0.0",
4
4
  "@nuxt/kit": "^3.15.3",
@@ -879,7 +879,7 @@ async function prepareServerFiles(silgi) {
879
879
  { name: "createSilgi", key: "createSilgi" },
880
880
  { name: "createShared", key: "createShared" }
881
881
  ],
882
- from: "silgi/core"
882
+ from: "silgi"
883
883
  },
884
884
  "silgi/types": {
885
885
  import: [
@@ -965,10 +965,6 @@ async function prepareServerFiles(silgi) {
965
965
  }),
966
966
  scanned.services.length > 0 ? "])" : "}",
967
967
  "",
968
- "export interface ScanShared extends ExtendShared {",
969
- " modulesURIs: typeof modulesURIs",
970
- "}",
971
- "",
972
968
  scanned.shareds.length > 0 ? "export const shareds = mergeShared([" : "export const shareds = {",
973
969
  " modulesURIs,",
974
970
  ...scanned.shareds.map((name) => {
@@ -2126,6 +2122,14 @@ async function prepareSchema(silgi) {
2126
2122
  }
2127
2123
  ],
2128
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`)
2129
2133
  }
2130
2134
  };
2131
2135
  const data = {
@@ -2134,7 +2138,12 @@ async function prepareSchema(silgi) {
2134
2138
  options: [],
2135
2139
  contexts: [],
2136
2140
  actions: [],
2137
- shareds: [],
2141
+ shareds: [
2142
+ {
2143
+ key: "modulesURIs",
2144
+ value: "typeof modulesURIs"
2145
+ }
2146
+ ],
2138
2147
  events: [],
2139
2148
  storeBase: [],
2140
2149
  hooks: [],
@@ -1,4 +1,4 @@
1
- const version = "0.20.8";
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.8";
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.8",
4
+ "version": "0.20.10",
5
5
  "private": false,
6
6
  "sideEffects": false,
7
7
  "exports": {