@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.
@@ -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", { debug: true, cwd: frameworkPath() });
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();
@@ -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
- ], { debug: true, cwd: frameworkPath(), shell: true });
8
+ ], { verbose: true, cwd: frameworkPath(), shell: true });
@@ -9,4 +9,4 @@ await runCommands([
9
9
  // command to build the Stacks Core
10
10
  "cp -a ./core/. ./"
11
11
  // copy the core stacks to the famework's root
12
- ], { debug: true, cwd: frameworkPath() });
12
+ ], { verbose: true, cwd: frameworkPath() });
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
- { debug: true, cwd: frameworkPath(), shell: true }
5
+ { verbose: true, cwd: frameworkPath(), shell: true }
6
6
  );
@@ -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
- { debug: true, cwd: projectPath(), shell: true }
5
+ { verbose: true, cwd: projectPath(), shell: true }
6
6
  );
@@ -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(), debug: true });
4
+ await runCommand(NpmScript.DevComponents, { cwd: frameworkPath(), verbose: true });
@@ -1,3 +1,3 @@
1
1
  import { runCommand } from "@stacksjs/cli";
2
2
  import { projectPath } from "@stacksjs/path";
3
- await runCommand("npx eslint . --fix", { debug: true, cwd: projectPath() });
3
+ await runCommand("npx eslint . --fix", { verbose: true, cwd: projectPath() });
package/dist/fresh.mjs CHANGED
@@ -3,4 +3,4 @@ import { frameworkPath } from "@stacksjs/path";
3
3
  await runCommands([
4
4
  "pnpm run clean",
5
5
  "pnpm install"
6
- ], { cwd: frameworkPath(), debug: true });
6
+ ], { cwd: frameworkPath(), verbose: true });
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,2 @@
1
+ import { generateOnboarding } from "@stacksjs/pages";
2
+ await generateOnboarding();
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env node
2
+ export {};
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env node
2
+ import { generateSettings } from "@stacksjs/pages";
3
+ await generateSettings();
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, debug: true, cwd: projectPath() });
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, { debug: true });
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, { debug: true });
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, { debug: true });
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(), debug: true });
4
+ await runCommand(NpmScript.Lint, { cwd: projectPath(), verbose: true });
@@ -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, { debug: true, cwd: runtimePath() });
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
@@ -10,4 +10,4 @@ await runActions([
10
10
  // Action.Test, // run the tests
11
11
  Action.Bump
12
12
  // bump the versions, create the git (version) tag, generate the changelog, commit & push the changes
13
- ], { debug: true, cwd: frameworkPath() });
13
+ ], { verbose: true, cwd: frameworkPath() });
@@ -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(), debug: true });
4
+ await runCommand(NpmScript.TestCoverage, { cwd: frameworkPath(), verbose: true });
@@ -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, { debug: true, cwd: frameworkPath() });
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, { debug: true, cwd: frameworkPath() });
4
+ await runCommand(NpmScript.TestUi, { verbose: true, cwd: frameworkPath() });
@@ -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, { debug: true, cwd: frameworkPath() });
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, { debug: true, cwd: frameworkPath() });
4
+ await runCommand(NpmScript.Test, { verbose: true, cwd: frameworkPath() });
@@ -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...", debug: true });
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.49.3",
5
- "packageManager": "pnpm@7.25.1",
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.13.0",
40
- "pnpm": ">=7.25.1"
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.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"
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.49.3"
57
+ "@stacksjs/strings": "0.51.0"
57
58
  },
58
59
  "devDependencies": {
59
60
  "mkdist": "^1.1.0",
60
- "typescript": "^4.9.4",
61
- "@stacksjs/testing": "0.49.3"
61
+ "typescript": "^4.9.5",
62
+ "@stacksjs/testing": "0.51.0"
62
63
  },
63
64
  "scripts": {
64
65
  "build": "mkdist -d",