@stacksjs/actions 0.61.16 → 0.61.18

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.js CHANGED
@@ -4,13 +4,14 @@ import {parseOptions, runCommand} from "@stacksjs/cli";
4
4
  import {path as p} from "@stacksjs/path";
5
5
  var options = parseOptions();
6
6
  var changelogCommand = options?.dryRun ? "buddy changelog --quiet --dry-run" : "buddy changelog --quiet";
7
- await runCommand(changelogCommand, {
8
- cwd: p.projectPath()
9
- });
10
- var bumpCommand = options?.dryRun ? "bunx bumpp ./package.json ./**/package.json ../ide/vscode/package.json --no-push" : "bunx bumpp ./package.json ./**/package.json ../ide/vscode/package.json --all";
7
+ var bumpCommand = options?.dryRun ? `bunx bumpp ./package.json ./**/package.json ../ide/vscode/package.json --no-push --execute "../scripts/lint"` : `bunx bumpp ./package.json ./**/package.json ../ide/vscode/package.json --all --execute "../scripts/lint"`;
11
8
  console.log(`Running: ${bumpCommand}`);
12
9
  console.log(`In frameworkPath: ${p.frameworkPath()}`);
13
10
  await runCommand(bumpCommand, {
14
11
  cwd: p.frameworkPath("core"),
15
12
  stdin: "inherit"
16
13
  });
14
+ await runCommand(changelogCommand, {
15
+ cwd: p.projectPath(),
16
+ stdin: "inherit"
17
+ });
package/dist/upgrade.js CHANGED
@@ -7,7 +7,7 @@ import {log} from "@stacksjs/logging";
7
7
  import {projectPath} from "@stacksjs/path";
8
8
  import * as storage from "@stacksjs/storage";
9
9
  // package.json
10
- var version = "0.61.16";
10
+ var version = "0.61.18";
11
11
 
12
12
  // src/upgrade.ts
13
13
  function checkForUncommittedChanges(options) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/actions",
3
3
  "type": "module",
4
- "version": "0.61.16",
4
+ "version": "0.61.18",
5
5
  "description": "The Stacks actions.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
package/src/bump.ts CHANGED
@@ -4,13 +4,13 @@ import { path as p } from '@stacksjs/path'
4
4
  const options = parseOptions()
5
5
  const changelogCommand = options?.dryRun ? 'buddy changelog --quiet --dry-run' : 'buddy changelog --quiet'
6
6
 
7
- await runCommand(changelogCommand, {
8
- cwd: p.projectPath(),
9
- })
7
+ // await runCommand(changelogCommand, {
8
+ // cwd: p.projectPath(),
9
+ // })
10
10
 
11
11
  const bumpCommand = options?.dryRun
12
- ? 'bunx bumpp ./package.json ./**/package.json ../ide/vscode/package.json --no-push'
13
- : 'bunx bumpp ./package.json ./**/package.json ../ide/vscode/package.json --all'
12
+ ? `bunx bumpp ./package.json ./**/package.json ../ide/vscode/package.json --no-push --execute "../scripts/lint"`
13
+ : `bunx bumpp ./package.json ./**/package.json ../ide/vscode/package.json --all --execute "../scripts/lint"`
14
14
 
15
15
  console.log(`Running: ${bumpCommand}`)
16
16
  console.log(`In frameworkPath: ${p.frameworkPath()}`)
@@ -19,3 +19,8 @@ await runCommand(bumpCommand, {
19
19
  cwd: p.frameworkPath('core'),
20
20
  stdin: 'inherit',
21
21
  })
22
+
23
+ await runCommand(changelogCommand, {
24
+ cwd: p.projectPath(),
25
+ stdin: 'inherit',
26
+ })