silgi 0.18.4 → 0.18.5

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.18.4";
1
+ const version = "0.18.5";
2
2
  const peerDependencies = {
3
3
  "@fastify/deepmerge": "^2.0.2",
4
4
  "@nuxt/kit": "^3.15.3",
@@ -351,6 +351,9 @@ async function loadSilgiModuleInstance(silgiModule) {
351
351
  return { silgiModule };
352
352
  }
353
353
  async function installModules(silgi, prepare = false) {
354
+ if (prepare) {
355
+ silgi.options.isPreparingModules = true;
356
+ }
354
357
  const jiti = createJiti(silgi.options.rootDir, {
355
358
  alias: silgi.options.alias
356
359
  });
@@ -372,6 +375,9 @@ async function installModules(silgi, prepare = false) {
372
375
  silgi.logger.error(err);
373
376
  }
374
377
  }
378
+ if (prepare) {
379
+ silgi.options.isPreparingModules = false;
380
+ }
375
381
  }
376
382
  async function installModule(moduleToInstall, silgi = useSilgiCLI(), inlineOptions, prepare = false) {
377
383
  const { silgiModule } = await loadSilgiModuleInstance(moduleToInstall);
@@ -1,4 +1,4 @@
1
- const version = "0.18.4";
1
+ const version = "0.18.5";
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.18.4";
1
+ const version = "0.18.5";
2
2
  const peerDependencies = {
3
3
  "@fastify/deepmerge": "^2.0.2",
4
4
  "@nuxt/kit": "^3.15.3",
@@ -590,6 +590,7 @@ interface SilgiCLIOptions extends PresetOptions {
590
590
  compatibilityDate: CompatibilityDates;
591
591
  modules: (SilgiModule<any> | string | [SilgiModule | string, Record<string, any>] | undefined | null | false)[];
592
592
  _modules: (SilgiModule<any> | string | [SilgiModule | string, Record<string, any>] | undefined | null | false)[];
593
+ isPreparingModules: boolean;
593
594
  debug: boolean;
594
595
  preset: PresetName;
595
596
  static: boolean;
@@ -590,6 +590,7 @@ interface SilgiCLIOptions extends PresetOptions {
590
590
  compatibilityDate: CompatibilityDates;
591
591
  modules: (SilgiModule<any> | string | [SilgiModule | string, Record<string, any>] | undefined | null | false)[];
592
592
  _modules: (SilgiModule<any> | string | [SilgiModule | string, Record<string, any>] | undefined | null | false)[];
593
+ isPreparingModules: boolean;
593
594
  debug: boolean;
594
595
  preset: PresetName;
595
596
  static: boolean;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "silgi",
3
3
  "type": "module",
4
- "version": "0.18.4",
4
+ "version": "0.18.5",
5
5
  "private": false,
6
6
  "sideEffects": false,
7
7
  "exports": {