@stacksjs/actions 0.49.1 → 0.49.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/dev.mjs CHANGED
@@ -18,7 +18,6 @@ export async function dev(options) {
18
18
  return invoke(options);
19
19
  }
20
20
  export async function components(options) {
21
- console.log("here?");
22
21
  log.info("Starting your components dev server...");
23
22
  await runNpmScript(NpmScript.DevComponents, options);
24
23
  }
@@ -8,7 +8,7 @@ export type ActionResult = Promise<Result<CommandResult<string>, Error> | Result
8
8
  * @param options The options to pass to the command.
9
9
  * @returns The result of the command.
10
10
  */
11
- export declare function runAction(action: string, options?: CliOptions): Promise<Result<CommandResult<string>, Error> | Err<CommandResult<string>, string>>;
11
+ export declare function runAction(action: string, options?: CliOptions): Promise<Result<CommandResult<string>, Error> | Result<CommandResult<string>, Error>[] | Err<CommandResult<string>, string>>;
12
12
  /**
13
13
  * Run Actions the Stacks way.
14
14
  *
@@ -20,7 +20,7 @@ export async function runAction(action, options) {
20
20
  const cmd = `npx esno ${actionsPath(`${action}.ts ${opts}`)}`;
21
21
  if (options?.debug)
22
22
  log.info("Running command:", cmd, options);
23
- return options?.shouldShowSpinner ? await runCommands([cmd], options) : await runCommand(cmd, options);
23
+ return options?.showSpinner ? await runCommands([cmd], options) : await runCommand(cmd, options);
24
24
  }
25
25
  export async function runActions(actions, options) {
26
26
  if (!actions.length)
package/dist/lint-fix.mjs CHANGED
@@ -1,4 +1,4 @@
1
1
  import { runCommands } from "@stacksjs/cli";
2
2
  import { projectPath } from "@stacksjs/path";
3
3
  import { NpmScript } from "@stacksjs/types";
4
- await runCommands([NpmScript.LintFix], { cwd: projectPath(), shouldShowSpinner: true, spinnerText: "Auto-fixing lint issues..." });
4
+ await runCommands([NpmScript.LintFix], { cwd: projectPath(), showSpinner: true, spinnerText: "Auto-fixing lint issues..." });
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@stacksjs/actions",
3
3
  "type": "module",
4
- "version": "0.49.1",
5
- "packageManager": "pnpm@7.25.0",
4
+ "version": "0.49.3",
5
+ "packageManager": "pnpm@7.25.1",
6
6
  "description": "The Stacks actions.",
7
7
  "author": "Chris Breuer",
8
8
  "license": "MIT",
@@ -37,28 +37,28 @@
37
37
  ],
38
38
  "engines": {
39
39
  "node": ">=v18.13.0",
40
- "pnpm": ">=7.25.0"
40
+ "pnpm": ">=7.25.1"
41
41
  },
42
42
  "peerDependencies": {
43
43
  "markdown-it": "^13.0.1",
44
44
  "vue-component-meta": "^1.0.24",
45
- "@stacksjs/cli": "0.49.1",
46
- "@stacksjs/config": "0.49.1",
47
- "@stacksjs/logging": "0.49.1",
48
- "@stacksjs/path": "0.49.1",
49
- "@stacksjs/security": "0.49.1",
50
- "@stacksjs/storage": "0.49.1",
51
- "@stacksjs/types": "0.49.1",
52
- "@stacksjs/utils": "0.49.1"
45
+ "@stacksjs/cli": "0.49.3",
46
+ "@stacksjs/config": "0.49.3",
47
+ "@stacksjs/logging": "0.49.3",
48
+ "@stacksjs/path": "0.49.3",
49
+ "@stacksjs/security": "0.49.3",
50
+ "@stacksjs/storage": "0.49.3",
51
+ "@stacksjs/types": "0.49.3",
52
+ "@stacksjs/utils": "0.49.3"
53
53
  },
54
54
  "dependencies": {
55
55
  "esno": "^0.16.3",
56
- "@stacksjs/strings": "0.49.1"
56
+ "@stacksjs/strings": "0.49.3"
57
57
  },
58
58
  "devDependencies": {
59
59
  "mkdist": "^1.1.0",
60
60
  "typescript": "^4.9.4",
61
- "@stacksjs/testing": "0.49.1"
61
+ "@stacksjs/testing": "0.49.3"
62
62
  },
63
63
  "scripts": {
64
64
  "build": "mkdist -d",