silgi 0.29.2 → 0.29.3

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.
package/dist/cli/dev.mjs CHANGED
@@ -71,7 +71,7 @@ const dev = defineCommand({
71
71
  },
72
72
  async run() {
73
73
  await runCommand(prepare, {
74
- rawArgs: ["--commands", "run", "--dev", "true"]
74
+ rawArgs: ["--command_type", "dev", "--dev", "true"]
75
75
  });
76
76
  const silgi = useSilgiCLI();
77
77
  silgi.options.watchOptions.ignored ??= [];
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { defineCommand, runMain } from 'citty';
3
3
 
4
- const version = "0.29.2";
4
+ const version = "0.29.3";
5
5
  const packageJson = {
6
6
  version: version};
7
7
 
@@ -98,7 +98,7 @@ const install = defineCommand({
98
98
  },
99
99
  async run() {
100
100
  await runCommand(prepare, {
101
- rawArgs: []
101
+ rawArgs: ["--command_type", "install"]
102
102
  }).catch(() => {
103
103
  });
104
104
  await installPackages();
@@ -114,7 +114,7 @@ const run = defineCommand({
114
114
  },
115
115
  async run({ args }) {
116
116
  const data = args.active ? await runCommand(prepare, {
117
- rawArgs: ["--commands", "run"]
117
+ rawArgs: ["--command_type", "run"]
118
118
  }) : void 0;
119
119
  const silgi = useSilgiCLI$1();
120
120
  const commands = await scanCommands();
@@ -210,10 +210,6 @@ const prepare = defineCommand({
210
210
  type: "string",
211
211
  description: "The environment to use"
212
212
  },
213
- commands: {
214
- type: "string",
215
- description: "The commands to run"
216
- },
217
213
  command_type: {
218
214
  type: "string",
219
215
  description: "The command type to run"
@@ -230,7 +226,7 @@ const prepare = defineCommand({
230
226
  activeEnvironment: args.env
231
227
  });
232
228
  await build(silgi);
233
- if (!args.commands) {
229
+ if (args.command_type !== "run") {
234
230
  await runCommand(run, {
235
231
  rawArgs: ["--tag", "init", "--active", "false"]
236
232
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "silgi",
3
3
  "type": "module",
4
- "version": "0.29.2",
4
+ "version": "0.29.3",
5
5
  "private": false,
6
6
  "sideEffects": false,
7
7
  "exports": {