silgi 0.11.3 → 0.11.4

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.11.3";
1
+ const version = "0.11.4";
2
2
  const peerDependencies = {
3
3
  "@fastify/deepmerge": "^2.0.2",
4
4
  "@nuxt/kit": "^3.15.3",
@@ -260,7 +260,7 @@ async function registerModuleExportScan(silgi) {
260
260
  type: true,
261
261
  key: importName
262
262
  });
263
- options.contexts.push({ key: configKey, value: importName });
263
+ options.shareds.push({ key: configKey, value: importName });
264
264
  }
265
265
  if (exportedTypes.includes("ModuleEvents")) {
266
266
  const importName = `_${hash(`${configKey}ModuleEvents`)}`;
@@ -269,7 +269,7 @@ async function registerModuleExportScan(silgi) {
269
269
  type: true,
270
270
  key: importName
271
271
  });
272
- options.actions.push({ key: configKey, value: importName });
272
+ options.events.push({ key: configKey, value: importName });
273
273
  }
274
274
  if (exportedTypes.includes("ModuleRuntimeContexts")) {
275
275
  const importName = `_${hash(`${configKey}ModuleRuntimeContexts`)}`;
@@ -278,7 +278,7 @@ async function registerModuleExportScan(silgi) {
278
278
  type: true,
279
279
  key: importName
280
280
  });
281
- options.shareds.push({ key: configKey, value: importName });
281
+ options.contexts.push({ key: configKey, value: importName });
282
282
  }
283
283
  if (exportedTypes.includes("ModuleHooks")) {
284
284
  const importName = `_${hash(`${configKey}ModuleHooks`)}`;
@@ -305,7 +305,7 @@ async function registerModuleExportScan(silgi) {
305
305
  type: true,
306
306
  key: importName
307
307
  });
308
- options.runtimeOptions.push({ key: configKey, value: importName });
308
+ options.actions.push({ key: configKey, value: importName });
309
309
  }
310
310
  if (exportedTypes.includes("ModuleRuntimeMethods")) {
311
311
  const importName = `_${hash(`${configKey}ModuleRuntimeMethods`)}`;
@@ -1,4 +1,4 @@
1
- const version = "0.11.3";
1
+ const version = "0.11.4";
2
2
  const peerDependencies = {
3
3
  "@fastify/deepmerge": "^2.0.2",
4
4
  "@nuxt/kit": "^3.15.3",
@@ -1,4 +1,4 @@
1
- const version = "0.11.3";
1
+ const version = "0.11.4";
2
2
  const peerDependencies = {
3
3
  "@fastify/deepmerge": "^2.0.2",
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.11.3",
4
+ "version": "0.11.4",
5
5
  "private": false,
6
6
  "sideEffects": false,
7
7
  "exports": {