silgi 0.19.1 → 0.19.2

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.19.1";
1
+ const version = "0.19.2";
2
2
  const peerDependencies = {
3
3
  "@fastify/deepmerge": "^2.0.2",
4
4
  "@nuxt/kit": "^3.15.3",
package/dist/cli/run.mjs CHANGED
@@ -96,6 +96,9 @@ const run = defineCommand({
96
96
  }
97
97
  for (const cmd of selectedCommands) {
98
98
  consola.info(`Running ${cmd.command}:${cmd.script}...`);
99
+ if (!cmd.handler.enabled) {
100
+ continue;
101
+ }
99
102
  if (cmd.handler.type === "command") {
100
103
  execSync(cmd.handler.handler, { stdio: "inherit" });
101
104
  }
@@ -1,4 +1,4 @@
1
- const version = "0.19.1";
1
+ const version = "0.19.2";
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.19.1";
1
+ const version = "0.19.2";
2
2
  const peerDependencies = {
3
3
  "@fastify/deepmerge": "^2.0.2",
4
4
  "@nuxt/kit": "^3.15.3",
@@ -280,6 +280,7 @@ interface SilgiCLIHooks extends SilgiHooks {
280
280
  handler: string;
281
281
  description?: string;
282
282
  tags?: string[];
283
+ enabled?: boolean;
283
284
  }>>) => HookResult;
284
285
  'prepare:installPackages': (packages: Record<'dependencies' | 'devDependencies', Record<string, string>>) => HookResult;
285
286
  }
@@ -280,6 +280,7 @@ interface SilgiCLIHooks extends SilgiHooks {
280
280
  handler: string;
281
281
  description?: string;
282
282
  tags?: string[];
283
+ enabled?: boolean;
283
284
  }>>) => HookResult;
284
285
  'prepare:installPackages': (packages: Record<'dependencies' | 'devDependencies', Record<string, string>>) => HookResult;
285
286
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "silgi",
3
3
  "type": "module",
4
- "version": "0.19.1",
4
+ "version": "0.19.2",
5
5
  "private": false,
6
6
  "sideEffects": false,
7
7
  "exports": {