@stacksjs/actions 0.45.0 → 0.45.1

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/bump.mjs CHANGED
@@ -1,8 +1,6 @@
1
1
  import { runCommand } from "@stacksjs/cli";
2
2
  import { frameworkPath } from "@stacksjs/path";
3
- const result = await runCommand(
3
+ await runCommand(
4
4
  "npx bumpp ./package.json ./buddy/package.json ./core/**/package.json ./vscode/package.json --execute 'pnpm run changelog' --all",
5
5
  { debug: true, cwd: frameworkPath(), shell: true }
6
6
  );
7
- if (result.isErr())
8
- console.error(result.error);
@@ -4,7 +4,7 @@ import { actionsPath, functionsPath } from "@stacksjs/path";
4
4
  import { err } from "@stacksjs/error-handling";
5
5
  export async function runAction(action, options) {
6
6
  if (!hasAction(action))
7
- return err(`The specified action "${action}" does not exist`);
7
+ return err(`The specified action "${action}" does not exist.`);
8
8
  const cmd = `npx esno ${actionsPath(`${action}.ts`)}`;
9
9
  return options?.shouldShowSpinner ? await runCommands([cmd], options) : await runCommand(cmd, options);
10
10
  }
package/dist/lint-fix.mjs CHANGED
@@ -3,5 +3,5 @@ import { log } from "@stacksjs/cli";
3
3
  import { projectPath } from "@stacksjs/path";
4
4
  import { Action } from "@stacksjs/types";
5
5
  log.info("Linting your project.");
6
- await runAction(Action.FixLintIssues, { debug: true, cwd: projectPath(), shouldShowSpinner: true });
6
+ await runAction(Action.FixLintIssues, { cwd: projectPath(), shouldShowSpinner: true, spinnerText: "Linting..." });
7
7
  log.success("Linted your project.");
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/actions",
3
3
  "type": "module",
4
- "version": "0.45.0",
4
+ "version": "0.45.1",
5
5
  "packageManager": "pnpm@7.18.2",
6
6
  "description": "The Stacks actions.",
7
7
  "author": "Chris Breuer",
@@ -42,22 +42,22 @@
42
42
  "peerDependencies": {
43
43
  "markdown-it": "^13.0.1",
44
44
  "vue-component-meta": "^1.0.16",
45
- "@stacksjs/cli": "0.45.0",
46
- "@stacksjs/config": "0.45.0",
47
- "@stacksjs/logging": "0.45.0",
48
- "@stacksjs/path": "0.45.0",
49
- "@stacksjs/storage": "0.45.0",
50
- "@stacksjs/types": "0.45.0",
51
- "@stacksjs/utils": "0.45.0"
45
+ "@stacksjs/cli": "0.45.1",
46
+ "@stacksjs/config": "0.45.1",
47
+ "@stacksjs/logging": "0.45.1",
48
+ "@stacksjs/path": "0.45.1",
49
+ "@stacksjs/storage": "0.45.1",
50
+ "@stacksjs/types": "0.45.1",
51
+ "@stacksjs/utils": "0.45.1"
52
52
  },
53
53
  "dependencies": {
54
54
  "esno": "^0.16.3",
55
- "@stacksjs/strings": "0.45.0"
55
+ "@stacksjs/strings": "0.45.1"
56
56
  },
57
57
  "devDependencies": {
58
58
  "mkdist": "^1.0.0",
59
59
  "typescript": "^4.9.4",
60
- "@stacksjs/testing": "0.45.0"
60
+ "@stacksjs/testing": "0.45.1"
61
61
  },
62
62
  "scripts": {
63
63
  "build": "mkdist -d",