@stacksjs/actions 0.45.0 → 0.45.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.
- package/dist/build-core.mjs +1 -1
- package/dist/bump.mjs +1 -3
- package/dist/helpers/utils.mjs +1 -1
- package/dist/lint-fix.mjs +1 -4
- package/dist/lint.mjs +4 -9
- package/package.json +12 -12
package/dist/build-core.mjs
CHANGED
|
@@ -3,4 +3,4 @@ import { runCommands } from "@stacksjs/cli";
|
|
|
3
3
|
await runCommands([
|
|
4
4
|
"pnpm --filter './core/**' --filter='!./core/config' --filter='!./core/x-ray' build",
|
|
5
5
|
"pnpm --filter '../core/config' build"
|
|
6
|
-
], { debug: true, cwd: frameworkPath() });
|
|
6
|
+
], { debug: true, cwd: frameworkPath(), shell: true });
|
package/dist/bump.mjs
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { runCommand } from "@stacksjs/cli";
|
|
2
2
|
import { frameworkPath } from "@stacksjs/path";
|
|
3
|
-
|
|
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);
|
package/dist/helpers/utils.mjs
CHANGED
|
@@ -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
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
import { runAction } from "@stacksjs/actions";
|
|
2
|
-
import { log } from "@stacksjs/cli";
|
|
3
2
|
import { projectPath } from "@stacksjs/path";
|
|
4
3
|
import { Action } from "@stacksjs/types";
|
|
5
|
-
|
|
6
|
-
await runAction(Action.FixLintIssues, { debug: true, cwd: projectPath(), shouldShowSpinner: true });
|
|
7
|
-
log.success("Linted your project.");
|
|
4
|
+
await runAction(Action.FixLintIssues, { cwd: projectPath(), shouldShowSpinner: true, spinnerText: "Linting..." });
|
package/dist/lint.mjs
CHANGED
|
@@ -1,9 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
if (result.isErr()) {
|
|
6
|
-
outro("While running `buddy lint`, there was an issue", { startTime: perf, useSeconds: true, isError: true });
|
|
7
|
-
process.exit(ExitCode.FatalError);
|
|
8
|
-
}
|
|
9
|
-
outro("Linted", { startTime: perf, useSeconds: true });
|
|
1
|
+
import { runCommand } from "@stacksjs/cli";
|
|
2
|
+
import { projectPath } from "@stacksjs/path";
|
|
3
|
+
import { NpmScript } from "@stacksjs/types";
|
|
4
|
+
await runCommand(NpmScript.Lint, { cwd: projectPath(), debug: true });
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/actions",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.45.
|
|
5
|
-
"packageManager": "pnpm@7.
|
|
4
|
+
"version": "0.45.2",
|
|
5
|
+
"packageManager": "pnpm@7.19.0",
|
|
6
6
|
"description": "The Stacks actions.",
|
|
7
7
|
"author": "Chris Breuer",
|
|
8
8
|
"license": "MIT",
|
|
@@ -37,27 +37,27 @@
|
|
|
37
37
|
],
|
|
38
38
|
"engines": {
|
|
39
39
|
"node": ">=v18.12.1",
|
|
40
|
-
"pnpm": ">=7.
|
|
40
|
+
"pnpm": ">=7.19.0"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
43
43
|
"markdown-it": "^13.0.1",
|
|
44
44
|
"vue-component-meta": "^1.0.16",
|
|
45
|
-
"@stacksjs/cli": "0.45.
|
|
46
|
-
"@stacksjs/config": "0.45.
|
|
47
|
-
"@stacksjs/logging": "0.45.
|
|
48
|
-
"@stacksjs/path": "0.45.
|
|
49
|
-
"@stacksjs/storage": "0.45.
|
|
50
|
-
"@stacksjs/types": "0.45.
|
|
51
|
-
"@stacksjs/utils": "0.45.
|
|
45
|
+
"@stacksjs/cli": "0.45.2",
|
|
46
|
+
"@stacksjs/config": "0.45.2",
|
|
47
|
+
"@stacksjs/logging": "0.45.2",
|
|
48
|
+
"@stacksjs/path": "0.45.2",
|
|
49
|
+
"@stacksjs/storage": "0.45.2",
|
|
50
|
+
"@stacksjs/types": "0.45.2",
|
|
51
|
+
"@stacksjs/utils": "0.45.2"
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
54
|
"esno": "^0.16.3",
|
|
55
|
-
"@stacksjs/strings": "0.45.
|
|
55
|
+
"@stacksjs/strings": "0.45.2"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"mkdist": "^1.0.0",
|
|
59
59
|
"typescript": "^4.9.4",
|
|
60
|
-
"@stacksjs/testing": "0.45.
|
|
60
|
+
"@stacksjs/testing": "0.45.2"
|
|
61
61
|
},
|
|
62
62
|
"scripts": {
|
|
63
63
|
"build": "mkdist -d",
|