@stacksjs/actions 0.49.3 → 0.51.0
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-component-libs.mjs +1 -1
- package/dist/build-core.mjs +1 -1
- package/dist/build-stacks.mjs +1 -1
- package/dist/bump.mjs +1 -1
- package/dist/changelog.mjs +1 -1
- package/dist/dev-components.mjs +1 -1
- package/dist/fix-lint-issues.mjs +1 -1
- package/dist/fresh.mjs +1 -1
- package/dist/generate-onboarding.d.ts +1 -0
- package/dist/generate-onboarding.mjs +2 -0
- package/dist/generate-settings.d.ts +2 -0
- package/dist/generate-settings.mjs +3 -0
- package/dist/generate.mjs +4 -4
- package/dist/lint.mjs +1 -1
- package/dist/prepublish.mjs +1 -1
- package/dist/release.mjs +1 -1
- package/dist/test-coverage.mjs +1 -1
- package/dist/test-feature.mjs +1 -1
- package/dist/test-ui.mjs +1 -1
- package/dist/test-unit.mjs +1 -1
- package/dist/test.mjs +1 -1
- package/dist/typecheck.mjs +1 -1
- package/package.json +16 -15
|
@@ -2,7 +2,7 @@ import { log } from "@stacksjs/logging";
|
|
|
2
2
|
import { frameworkPath } from "@stacksjs/path";
|
|
3
3
|
import { runCommand } from "@stacksjs/cli";
|
|
4
4
|
log.info("Building Component Libraries...");
|
|
5
|
-
const result = await runCommand("npx mkdist -d", {
|
|
5
|
+
const result = await runCommand("npx mkdist -d", { verbose: true, cwd: frameworkPath() });
|
|
6
6
|
if (result.isErr()) {
|
|
7
7
|
log.error("There was an error running `npx mkdist -d`.", result.error);
|
|
8
8
|
process.exit();
|
package/dist/build-core.mjs
CHANGED
|
@@ -5,4 +5,4 @@ await runCommands([
|
|
|
5
5
|
// command to build the core packages, excluding the config & x-ray package
|
|
6
6
|
"pnpm --filter './core/config' build"
|
|
7
7
|
// command to build the config package
|
|
8
|
-
], {
|
|
8
|
+
], { verbose: true, cwd: frameworkPath(), shell: true });
|
package/dist/build-stacks.mjs
CHANGED
package/dist/bump.mjs
CHANGED
|
@@ -2,5 +2,5 @@ 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 buddy changelog" --all',
|
|
5
|
-
{
|
|
5
|
+
{ verbose: true, cwd: frameworkPath(), shell: true }
|
|
6
6
|
);
|
package/dist/changelog.mjs
CHANGED
|
@@ -2,5 +2,5 @@ import { runCommand } from "@stacksjs/cli";
|
|
|
2
2
|
import { projectPath } from "@stacksjs/path";
|
|
3
3
|
await runCommand(
|
|
4
4
|
"changelogen --output CHANGELOG.md --from $(git describe --abbrev=0 --tags HEAD^) --to $(git describe)",
|
|
5
|
-
{
|
|
5
|
+
{ verbose: true, cwd: projectPath(), shell: true }
|
|
6
6
|
);
|
package/dist/dev-components.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { runCommand } from "@stacksjs/cli";
|
|
2
2
|
import { frameworkPath } from "@stacksjs/path";
|
|
3
3
|
import { NpmScript } from "@stacksjs/types";
|
|
4
|
-
await runCommand(NpmScript.DevComponents, { cwd: frameworkPath(),
|
|
4
|
+
await runCommand(NpmScript.DevComponents, { cwd: frameworkPath(), verbose: true });
|
package/dist/fix-lint-issues.mjs
CHANGED
package/dist/fresh.mjs
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/generate.mjs
CHANGED
|
@@ -24,7 +24,7 @@ export async function generate(options) {
|
|
|
24
24
|
return invoke(options);
|
|
25
25
|
}
|
|
26
26
|
export async function libEntries(options) {
|
|
27
|
-
const result = await runCommand("esno .stacks/core/actions/src/generate-package-json.ts", { ...options,
|
|
27
|
+
const result = await runCommand("esno .stacks/core/actions/src/generate-package-json.ts", { ...options, verbose: true, cwd: projectPath() });
|
|
28
28
|
if (result.isErr()) {
|
|
29
29
|
log.error("There was an error generating your library entry points.", result.error);
|
|
30
30
|
process.exit();
|
|
@@ -53,7 +53,7 @@ export async function vsCodeCustomData(options) {
|
|
|
53
53
|
log.error("There was an error generating the custom-elements.json file.", result.error);
|
|
54
54
|
process.exit();
|
|
55
55
|
}
|
|
56
|
-
await runAction(Action.LintFix, {
|
|
56
|
+
await runAction(Action.LintFix, { verbose: true });
|
|
57
57
|
log.success("Successfully generated the custom-elements.json file");
|
|
58
58
|
}
|
|
59
59
|
export async function ideHelpers(options) {
|
|
@@ -62,7 +62,7 @@ export async function ideHelpers(options) {
|
|
|
62
62
|
log.error("There was an error generating IDE helpers.", result.error);
|
|
63
63
|
process.exit();
|
|
64
64
|
}
|
|
65
|
-
await runAction(Action.LintFix, {
|
|
65
|
+
await runAction(Action.LintFix, { verbose: true });
|
|
66
66
|
log.success("Successfully generated IDE helpers");
|
|
67
67
|
}
|
|
68
68
|
export async function componentMeta(options) {
|
|
@@ -71,7 +71,7 @@ export async function componentMeta(options) {
|
|
|
71
71
|
log.error("There was an error generating your component meta information.", result.error);
|
|
72
72
|
process.exit();
|
|
73
73
|
}
|
|
74
|
-
await runAction(Action.LintFix, {
|
|
74
|
+
await runAction(Action.LintFix, { verbose: true });
|
|
75
75
|
log.success("Successfully generated component meta information");
|
|
76
76
|
}
|
|
77
77
|
export async function types(options) {
|
package/dist/lint.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { runCommand } from "@stacksjs/cli";
|
|
2
2
|
import { projectPath } from "@stacksjs/path";
|
|
3
3
|
import { NpmScript } from "@stacksjs/types";
|
|
4
|
-
await runCommand(NpmScript.Lint, { cwd: projectPath(),
|
|
4
|
+
await runCommand(NpmScript.Lint, { cwd: projectPath(), verbose: true });
|
package/dist/prepublish.mjs
CHANGED
|
@@ -3,7 +3,7 @@ import { runtimePath } from "@stacksjs/path";
|
|
|
3
3
|
import { runNpmScript } from "@stacksjs/utils";
|
|
4
4
|
import { NpmScript } from "@stacksjs/types";
|
|
5
5
|
log.info("Running prepublish command...");
|
|
6
|
-
const result = await runNpmScript(NpmScript.BuildStacks, {
|
|
6
|
+
const result = await runNpmScript(NpmScript.BuildStacks, { verbose: true, cwd: runtimePath() });
|
|
7
7
|
if (result.isErr()) {
|
|
8
8
|
log.error("There was an error while prepublishing your stack, during the process of building Stacks.", result.error);
|
|
9
9
|
process.exit();
|
package/dist/release.mjs
CHANGED
package/dist/test-coverage.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { NpmScript } from "@stacksjs/types";
|
|
2
2
|
import { runCommand } from "@stacksjs/cli";
|
|
3
3
|
import { frameworkPath } from "@stacksjs/path";
|
|
4
|
-
await runCommand(NpmScript.TestCoverage, { cwd: frameworkPath(),
|
|
4
|
+
await runCommand(NpmScript.TestCoverage, { cwd: frameworkPath(), verbose: true });
|
package/dist/test-feature.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { NpmScript } from "@stacksjs/types";
|
|
2
2
|
import { runCommand } from "@stacksjs/cli";
|
|
3
3
|
import { frameworkPath } from "@stacksjs/path";
|
|
4
|
-
await runCommand(NpmScript.TestFeature, {
|
|
4
|
+
await runCommand(NpmScript.TestFeature, { verbose: true, cwd: frameworkPath() });
|
package/dist/test-ui.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { NpmScript } from "@stacksjs/types";
|
|
2
2
|
import { runCommand } from "@stacksjs/cli";
|
|
3
3
|
import { frameworkPath } from "@stacksjs/path";
|
|
4
|
-
await runCommand(NpmScript.TestUi, {
|
|
4
|
+
await runCommand(NpmScript.TestUi, { verbose: true, cwd: frameworkPath() });
|
package/dist/test-unit.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { NpmScript } from "@stacksjs/types";
|
|
2
2
|
import { runCommand } from "@stacksjs/cli";
|
|
3
3
|
import { frameworkPath } from "@stacksjs/path";
|
|
4
|
-
await runCommand(NpmScript.TestUnit, {
|
|
4
|
+
await runCommand(NpmScript.TestUnit, { verbose: true, cwd: frameworkPath() });
|
package/dist/test.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { NpmScript } from "@stacksjs/types";
|
|
2
2
|
import { runCommand } from "@stacksjs/cli";
|
|
3
3
|
import { frameworkPath } from "@stacksjs/path";
|
|
4
|
-
await runCommand(NpmScript.Test, {
|
|
4
|
+
await runCommand(NpmScript.Test, { verbose: true, cwd: frameworkPath() });
|
package/dist/typecheck.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { NpmScript } from "@stacksjs/types";
|
|
2
2
|
import { runCommands } from "@stacksjs/cli";
|
|
3
3
|
import { projectPath } from "@stacksjs/path";
|
|
4
|
-
await runCommands([NpmScript.TestTypes], { cwd: projectPath(), spinnerText: "Type checking...",
|
|
4
|
+
await runCommands([NpmScript.TestTypes], { cwd: projectPath(), spinnerText: "Type checking...", verbose: true });
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/actions",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
5
|
-
"packageManager": "pnpm@7.
|
|
4
|
+
"version": "0.51.0",
|
|
5
|
+
"packageManager": "pnpm@7.26.3",
|
|
6
6
|
"description": "The Stacks actions.",
|
|
7
7
|
"author": "Chris Breuer",
|
|
8
8
|
"license": "MIT",
|
|
@@ -36,29 +36,30 @@
|
|
|
36
36
|
"README.md"
|
|
37
37
|
],
|
|
38
38
|
"engines": {
|
|
39
|
-
"node": ">=v18.
|
|
40
|
-
"pnpm": ">=7.
|
|
39
|
+
"node": ">=v18.14.0",
|
|
40
|
+
"pnpm": ">=7.26.3"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
43
43
|
"markdown-it": "^13.0.1",
|
|
44
44
|
"vue-component-meta": "^1.0.24",
|
|
45
|
-
"@stacksjs/cli": "0.
|
|
46
|
-
"@stacksjs/config": "0.
|
|
47
|
-
"@stacksjs/logging": "0.
|
|
48
|
-
"@stacksjs/
|
|
49
|
-
"@stacksjs/
|
|
50
|
-
"@stacksjs/
|
|
51
|
-
"@stacksjs/
|
|
52
|
-
"@stacksjs/
|
|
45
|
+
"@stacksjs/cli": "0.51.0",
|
|
46
|
+
"@stacksjs/config": "0.51.0",
|
|
47
|
+
"@stacksjs/logging": "0.51.0",
|
|
48
|
+
"@stacksjs/pages": "0.51.0",
|
|
49
|
+
"@stacksjs/path": "0.51.0",
|
|
50
|
+
"@stacksjs/security": "0.51.0",
|
|
51
|
+
"@stacksjs/storage": "0.51.0",
|
|
52
|
+
"@stacksjs/types": "0.51.0",
|
|
53
|
+
"@stacksjs/utils": "0.51.0"
|
|
53
54
|
},
|
|
54
55
|
"dependencies": {
|
|
55
56
|
"esno": "^0.16.3",
|
|
56
|
-
"@stacksjs/strings": "0.
|
|
57
|
+
"@stacksjs/strings": "0.51.0"
|
|
57
58
|
},
|
|
58
59
|
"devDependencies": {
|
|
59
60
|
"mkdist": "^1.1.0",
|
|
60
|
-
"typescript": "^4.9.
|
|
61
|
-
"@stacksjs/testing": "0.
|
|
61
|
+
"typescript": "^4.9.5",
|
|
62
|
+
"@stacksjs/testing": "0.51.0"
|
|
62
63
|
},
|
|
63
64
|
"scripts": {
|
|
64
65
|
"build": "mkdist -d",
|