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