@stacksjs/actions 0.70.36 → 0.70.42

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.
Files changed (122) hide show
  1. package/dist/changelog.d.ts +10 -0
  2. package/dist/{src/index.d.ts → index.d.ts} +4 -4
  3. package/dist/src/bump.js +1 -1
  4. package/dist/src/changelog.js +1 -1
  5. package/dist/src/generate/pantry-file.js +1 -1
  6. package/dist/src/upgrade.js +1 -1
  7. package/package.json +16 -16
  8. package/dist/src/changelog.d.ts +0 -1
  9. /package/dist/{src/action.d.ts → action.d.ts} +0 -0
  10. /package/dist/{src/actions.d.ts → actions.d.ts} +0 -0
  11. /package/dist/{src/add.d.ts → add.d.ts} +0 -0
  12. /package/dist/{src/ai → ai}/request-model-access.d.ts +0 -0
  13. /package/dist/{src/auth → auth}/client.d.ts +0 -0
  14. /package/dist/{src/auth → auth}/prune.d.ts +0 -0
  15. /package/dist/{src/auth → auth}/setup.d.ts +0 -0
  16. /package/dist/{src/auth → auth}/token.d.ts +0 -0
  17. /package/dist/{src/build → build}/cli.d.ts +0 -0
  18. /package/dist/{src/build → build}/component-libs.d.ts +0 -0
  19. /package/dist/{src/build → build}/core.d.ts +0 -0
  20. /package/dist/{src/build → build}/desktop.d.ts +0 -0
  21. /package/dist/{src/build → build}/docs.d.ts +0 -0
  22. /package/dist/{src/build → build}/server.d.ts +0 -0
  23. /package/dist/{src/build → build}/stacks.d.ts +0 -0
  24. /package/dist/{src/build → build}/views.d.ts +0 -0
  25. /package/dist/{src/build.d.ts → build.d.ts} +0 -0
  26. /package/dist/{src/bump.d.ts → bump.d.ts} +0 -0
  27. /package/dist/{src/cdn → cdn}/invalidate-cache.d.ts +0 -0
  28. /package/dist/{src/check → check}/ports.d.ts +0 -0
  29. /package/dist/{src/clean.d.ts → clean.d.ts} +0 -0
  30. /package/dist/{src/commit.d.ts → commit.d.ts} +0 -0
  31. /package/dist/{src/copy-types.d.ts → copy-types.d.ts} +0 -0
  32. /package/dist/{src/database → database}/seed.d.ts +0 -0
  33. /package/dist/{src/deploy → deploy}/create-receipt-rule.d.ts +0 -0
  34. /package/dist/{src/deploy → deploy}/index.d.ts +0 -0
  35. /package/dist/{src/dev → dev}/api.d.ts +0 -0
  36. /package/dist/{src/dev → dev}/components.d.ts +0 -0
  37. /package/dist/{src/dev → dev}/dashboard-globals.d.ts +0 -0
  38. /package/dist/{src/dev → dev}/dashboard-utils.d.ts +0 -0
  39. /package/dist/{src/dev → dev}/dashboard.d.ts +0 -0
  40. /package/dist/{src/dev → dev}/desktop.d.ts +0 -0
  41. /package/dist/{src/dev → dev}/docs.d.ts +0 -0
  42. /package/dist/{src/dev → dev}/index.d.ts +0 -0
  43. /package/dist/{src/dev → dev}/system-tray.d.ts +0 -0
  44. /package/dist/{src/dev → dev}/views.d.ts +0 -0
  45. /package/dist/{src/discover-packages.d.ts → discover-packages.d.ts} +0 -0
  46. /package/dist/{src/domains → domains}/add.d.ts +0 -0
  47. /package/dist/{src/domains → domains}/purchase.d.ts +0 -0
  48. /package/dist/{src/domains → domains}/remove.d.ts +0 -0
  49. /package/dist/{src/examples.d.ts → examples.d.ts} +0 -0
  50. /package/dist/{src/find-projects.d.ts → find-projects.d.ts} +0 -0
  51. /package/dist/{src/fresh.d.ts → fresh.d.ts} +0 -0
  52. /package/dist/{src/generate → generate}/action-types.d.ts +0 -0
  53. /package/dist/{src/generate → generate}/component-meta.d.ts +0 -0
  54. /package/dist/{src/generate → generate}/custom-cli-file.d.ts +0 -0
  55. /package/dist/{src/generate → generate}/env-files.d.ts +0 -0
  56. /package/dist/{src/generate → generate}/ide-helpers.d.ts +0 -0
  57. /package/dist/{src/generate → generate}/index.d.ts +0 -0
  58. /package/dist/{src/generate → generate}/lib-entries.d.ts +0 -0
  59. /package/dist/{src/generate → generate}/pantry-file.d.ts +0 -0
  60. /package/dist/{src/generate → generate}/symlink-core.d.ts +0 -0
  61. /package/dist/{src/generate → generate}/types.d.ts +0 -0
  62. /package/dist/{src/generate → generate}/vscode-custom-data.d.ts +0 -0
  63. /package/dist/{src/generate → generate}/web-types.d.ts +0 -0
  64. /package/dist/{src/helpers → helpers}/component-meta.d.ts +0 -0
  65. /package/dist/{src/helpers → helpers}/index.d.ts +0 -0
  66. /package/dist/{src/helpers → helpers}/lib-entries.d.ts +0 -0
  67. /package/dist/{src/helpers → helpers}/package-json.d.ts +0 -0
  68. /package/dist/{src/helpers → helpers}/utils.d.ts +0 -0
  69. /package/dist/{src/helpers → helpers}/vscode-custom-data.d.ts +0 -0
  70. /package/dist/{src/key-generate.d.ts → key-generate.d.ts} +0 -0
  71. /package/dist/{src/lint → lint}/fix.d.ts +0 -0
  72. /package/dist/{src/lint → lint}/index.d.ts +0 -0
  73. /package/dist/{src/make-command.d.ts → make-command.d.ts} +0 -0
  74. /package/dist/{src/make-job.d.ts → make-job.d.ts} +0 -0
  75. /package/dist/{src/make-policy.d.ts → make-policy.d.ts} +0 -0
  76. /package/dist/{src/make-resource.d.ts → make-resource.d.ts} +0 -0
  77. /package/dist/{src/make.d.ts → make.d.ts} +0 -0
  78. /package/dist/{src/migrate → migrate}/database.d.ts +0 -0
  79. /package/dist/{src/migrate → migrate}/fresh.d.ts +0 -0
  80. /package/dist/{src/orm → orm}/base.d.ts +0 -0
  81. /package/dist/{src/orm → orm}/test.d.ts +0 -0
  82. /package/dist/{src/prepublish.d.ts → prepublish.d.ts} +0 -0
  83. /package/dist/{src/queue → queue}/clear.d.ts +0 -0
  84. /package/dist/{src/queue → queue}/failed.d.ts +0 -0
  85. /package/dist/{src/queue → queue}/flush.d.ts +0 -0
  86. /package/dist/{src/queue → queue}/inspect.d.ts +0 -0
  87. /package/dist/{src/queue → queue}/monitor.d.ts +0 -0
  88. /package/dist/{src/queue → queue}/retry.d.ts +0 -0
  89. /package/dist/{src/queue → queue}/schedule-list.d.ts +0 -0
  90. /package/dist/{src/queue → queue}/schedule.d.ts +0 -0
  91. /package/dist/{src/queue → queue}/status.d.ts +0 -0
  92. /package/dist/{src/queue → queue}/table.d.ts +0 -0
  93. /package/dist/{src/queue → queue}/work.d.ts +0 -0
  94. /package/dist/{src/release.d.ts → release.d.ts} +0 -0
  95. /package/dist/{src/route → route}/list.d.ts +0 -0
  96. /package/dist/{src/run-action.d.ts → run-action.d.ts} +0 -0
  97. /package/dist/{src/saas → saas}/setup.d.ts +0 -0
  98. /package/dist/{src/scaffold-crud.d.ts → scaffold-crud.d.ts} +0 -0
  99. /package/dist/{src/schedule → schedule}/run.d.ts +0 -0
  100. /package/dist/{src/search → search}/flush.d.ts +0 -0
  101. /package/dist/{src/search → search}/import.d.ts +0 -0
  102. /package/dist/{src/search → search}/settings-list.d.ts +0 -0
  103. /package/dist/{src/search → search}/settings.d.ts +0 -0
  104. /package/dist/{src/serve → serve}/api.d.ts +0 -0
  105. /package/dist/{src/setup → setup}/index.d.ts +0 -0
  106. /package/dist/{src/setup → setup}/ssl.d.ts +0 -0
  107. /package/dist/{src/stacks.d.ts → stacks.d.ts} +0 -0
  108. /package/dist/{src/templates.d.ts → templates.d.ts} +0 -0
  109. /package/dist/{src/test → test}/feature.d.ts +0 -0
  110. /package/dist/{src/test → test}/index.d.ts +0 -0
  111. /package/dist/{src/test → test}/ui.d.ts +0 -0
  112. /package/dist/{src/test → test}/unit.d.ts +0 -0
  113. /package/dist/{src/typecheck.d.ts → typecheck.d.ts} +0 -0
  114. /package/dist/{src/types.d.ts → types.d.ts} +0 -0
  115. /package/dist/{src/upgrade → upgrade}/binary.d.ts +0 -0
  116. /package/dist/{src/upgrade → upgrade}/bun.d.ts +0 -0
  117. /package/dist/{src/upgrade → upgrade}/dependencies.d.ts +0 -0
  118. /package/dist/{src/upgrade → upgrade}/framework-utils.d.ts +0 -0
  119. /package/dist/{src/upgrade → upgrade}/framework.d.ts +0 -0
  120. /package/dist/{src/upgrade → upgrade}/index.d.ts +0 -0
  121. /package/dist/{src/upgrade → upgrade}/shell.d.ts +0 -0
  122. /package/dist/{src/upgrade.d.ts → upgrade.d.ts} +0 -0
@@ -0,0 +1,10 @@
1
+ declare const version: unknown;
2
+ type ChangelogOptions = {
3
+ dryRun?: boolean
4
+ quiet?: boolean
5
+ verbose?: boolean
6
+ from?: string
7
+ to?: string
8
+ version?: string
9
+ r?: string
10
+ }
@@ -3,10 +3,10 @@ export type { DiscoveredPackagesManifest, PackageStacksMeta } from './discover-p
3
3
  export * from './action';
4
4
  export { add as runAdd } from './add';
5
5
  export { commit as runCommit } from './commit';
6
- export * from './dev';
7
- export * from './generate';
8
- export * from './helpers';
9
- export * from './setup';
6
+ export * from './dev/index';
7
+ export * from './generate/index';
8
+ export * from './helpers/index';
9
+ export * from './setup/index';
10
10
  // makeFactory,
11
11
  export {
12
12
  createComponent,
package/dist/src/bump.js CHANGED
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import{log as L,parseOptions as Y,runCommand as T}from"@stacksjs/cli";import{path as J}from"@stacksjs/path";import{join as Z,relative as _}from"path";var M=Y(),$=new Set(["patch","minor","major","prepatch","preminor","premajor","prerelease"]),H=M?.bump?.toString(),U=H?$.has(H)||/^\d+\.\d+\.\d+(?:-[\w.]+)?$/.test(H)?H:null:null;if(H&&!U)L.warn(`Ignoring invalid --bump "${H}"; expected one of patch|minor|major or x.y.z`);async function O(q){if(!q||/^\d+\.\d+\.\d+(?:-[\w.]+)?$/.test(q))return q;if(!["patch","minor","major"].includes(q))return q;let D=(await Bun.file(J.frameworkPath("core/package.json")).json()).version?.match(/^(\d+)\.(\d+)\.(\d+)$/);if(!D)return q;let[,z,E,X]=D.map(Number);if(q==="major")return`${z+1}.0.0`;if(q==="minor")return`${z}.${E+1}.0`;return`${z}.${E}.${X+1}`}var Q=await O(U),R=J.projectPath("buddy"),S=M?.dryRun?`${R} changelog --quiet --dry-run`:`${R} changelog --quiet`,G=J.frameworkPath("core");async function K(q,I){let D=new Bun.Glob(q),z=[];for await(let E of D.scan({cwd:I,absolute:!0,onlyFiles:!0})){if(E.includes("/node_modules/")||E.includes("/dist/")||E.includes("/pantry/"))continue;z.push(`./${_(G,E)}`)}return z}async function P(q){let I=[];for(let D of q){let z=Z(G,D);if(await Bun.file(z).exists())I.push(D)}return I}var x=new Set([...await K("package.json",G),...await K("*/package.json",G),...await K("*/*/package.json",G),...await P(["../package.json","../defaults/ide/vscode/package.json","../api/package.json","../cloud/package.json","../docs/package.json","../orm/package.json","../server/package.json"]),...await K("../libs/**/package.json",G)]),V=Array.from(x).join(","),N=["--all","--no-recursive"];if(M?.dryRun)N.push("--dry-run","--no-push");if(Q)N.push("--yes");if(M?.verbose)N.push("--verbose");var W=`bunx --bun bumpx ${Q?`${Q} `:""}--files ${V} ${N.join(" ")}`;L.debug(`Running: ${W}`);L.debug(`Bumping ${V.split(",").filter(Boolean).length} package manifest(s)`);L.debug(`In frameworkPath: ${J.frameworkPath()}`);await T(W,{cwd:G,stdin:"inherit"});await T(S,{cwd:J.projectPath(),stdin:"inherit"});
2
+ import{execSync as R,log as U,parseOptions as O,runCommand as j}from"@stacksjs/cli";import{path as J}from"@stacksjs/path";import{join as V,relative as v}from"path";var Y=O(),y=new Set(["patch","minor","major","prepatch","preminor","premajor","prerelease"]),L=Y?.bump?.toString(),$=L?y.has(L)||/^\d+\.\d+\.\d+(?:-[\w.]+)?$/.test(L)?L:null:null;if(L&&!$)U.warn(`Ignoring invalid --bump "${L}"; expected one of patch|minor|major or x.y.z`);async function x(q){if(!q||/^\d+\.\d+\.\d+(?:-[\w.]+)?$/.test(q))return q;if(!["patch","minor","major"].includes(q))return q;let z=(await Bun.file(J.frameworkPath("core/package.json")).json()).version?.match(/^(\d+)\.(\d+)\.(\d+)$/);if(!z)return q;let[,G,H,D]=z.map(Number);if(q==="major")return`${G+1}.0.0`;if(q==="minor")return`${G}.${H+1}.0`;return`${G}.${H}.${D+1}`}var M=await x($),W=Y?.dryRun===!0;async function P(q,E){let z=await j(q,E);if(z.isErr)throw z.error}async function K(q,E=J.projectPath()){return await R(["git",...q],{cwd:E,stdin:"inherit"})}async function A(){let q=await Bun.file(J.frameworkPath("core/package.json")).json();if(!q.version||!/^\d+\.\d+\.\d+(?:-[0-9A-Za-z.-]+)?$/.test(q.version))throw Error(`Invalid framework version in package.json: ${q.version??"<missing>"}`);return q.version}var Z=J.projectPath("buddy"),I=J.frameworkPath("core");async function Q(q,E){let z=new Bun.Glob(q),G=[];for await(let H of z.scan({cwd:E,absolute:!0,onlyFiles:!0})){if(H.includes("/node_modules/")||H.includes("/dist/")||H.includes("/pantry/"))continue;G.push(`./${v(I,H)}`)}return G}async function h(q){let E=[];for(let z of q){let G=V(I,z);if(await Bun.file(G).exists())E.push(z)}return E}var C=new Set([...await Q("package.json",I),...await Q("*/package.json",I),...await Q("*/*/package.json",I),...await h(["../package.json","../defaults/ide/vscode/package.json","../api/package.json","../cloud/package.json","../docs/package.json","../orm/package.json","../server/package.json"]),...await Q("../libs/**/package.json",I)]),S=Array.from(C).join(","),X=["--no-commit","--no-tag","--no-push","--no-recursive","--no-changelog"];if(W)X.push("--dry-run");if(M)X.push("--yes");if(Y?.verbose)X.push("--verbose");var T=`bunx --bun bumpx ${M?`${M} `:""}--files ${S} ${X.join(" ")}`;U.debug(`Running: ${T}`);U.debug(`Bumping ${S.split(",").filter(Boolean).length} package manifest(s)`);U.debug(`In frameworkPath: ${J.frameworkPath()}`);await P(T,{cwd:I,stdin:"inherit"});var _=(await K(["describe","--abbrev=0","--tags"])).trim(),N=W&&M&&/^\d+\.\d+\.\d+(?:-[0-9A-Za-z.-]+)?$/.test(M)?M:await A(),k=W?`${Z} changelog --quiet --dry-run --from ${_} --to HEAD --version ${N}`:`${Z} changelog --quiet --from ${_} --to HEAD --version ${N}`;await P(k,{cwd:J.projectPath(),stdin:"inherit"});if(!W)await K(["add","--all"]),await K(["commit","-m",`chore: release v${N}`]),await K(["tag",`v${N}`]),await K(["push"]),await K(["push","origin",`v${N}`]);
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import{execSync as F,log as A,parseOptions as I,runCommand as J}from"@stacksjs/cli";import{projectPath as K}from"@stacksjs/path";var G=(H)=>{let B=H.trim();if(!/^[A-Za-z0-9._/-]+$/.test(B))throw Error(`Invalid git revision: ${B}`);return B};A.debug("Generating changelog");var D=G(await F("git describe --abbrev=0 --tags HEAD^"));A.debug("FromRevision",D);var E=G(await F("git describe"));A.debug("ToRevision",E);var q=I();A.debug("Changelog Options",q);var L=q?.dryRun?`bunx --bun changelogen --no-output --from ${D} --to ${E}`:`bunx --bun changelogen --output CHANGELOG.md --from ${D} --to ${E}`;await J(L,{cwd:K(),quiet:q?.quiet,verbose:q?.verbose});
2
+ import{execSync as J,log as B,parseOptions as L,runCommand as M}from"@stacksjs/cli";import{projectPath as N}from"@stacksjs/path";var K=(D)=>{let A=D.trim();if(!/^[A-Za-z0-9._/-]+$/.test(A))throw Error(`Invalid git revision: ${A}`);return A},Q=(D)=>{let A=D.trim().replace(/^v/,"");if(!/^\d+\.\d+\.\d+(?:-[0-9A-Za-z.-]+)?$/.test(A))throw Error(`Invalid changelog version: ${A}`);return A};B.debug("Generating changelog");var q=L(),E=K(q?.from?.toString()??await J("git describe --abbrev=0 --tags HEAD^"));B.debug("FromRevision",E);var G=K(q?.to?.toString()??await J("git describe"));B.debug("ToRevision",G);B.debug("Changelog Options",q);var H=q?.version??q?.r,I=H?` -r ${Q(H.toString())}`:"",T=q?.dryRun?`bunx --bun changelogen --no-output --from ${E} --to ${G}${I}`:`bunx --bun changelogen --output CHANGELOG.md --from ${E} --to ${G}${I}`;await M(T,{cwd:N(),quiet:q?.quiet,verbose:q?.verbose});
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import{log as q,runCommand as v}from"@stacksjs/cli";import{config as z}from"@stacksjs/config";import b from"../../../../../pantry.yaml";if(!b)throw Error("pantry.yaml file not found");if(b.dependencies["aws.amazon.com/cdk"]===void 0){if(q.info("aws.amazon.com/cdk dependency not found in pantry.yaml."),(await v("which cdk")).isErr)throw Error("aws.amazon.com/cdk dependency not found in pantry.yaml. To confirm, run `which cdk`")}if(b.dependencies["aws.amazon.com/cli"]===void 0){if(q.info("aws.amazon.com/cli dependency not found in pantry.yaml."),(await v("which aws")).isErr)throw Error("aws.amazon.com/cli dependency not found in pantry.yaml. To confirm, run `which aws`")}if(b.dependencies["bun.sh"]===void 0){if(q.info("bun.sh dependency not found in pantry.yaml."),(await v("which bun")).isErr)throw Error("bun.sh dependency not found in pantry.yaml. To confirm, run `which bun`")}if(b.dependencies["info-zip.org/zip"]===void 0){if(q.info("info-zip.org/zip dependency not found in pantry.yaml."),(await v("which zip")).isErr)throw Error("info-zip.org/zip dependency not found in pantry.yaml. To confirm, run `which zip`")}if(b.dependencies["info-zip.org/unzip"]===void 0){if(q.info("info-zip.org/unzip dependency not found in pantry.yaml."),(await v("which unzip")).isErr)throw Error("info-zip.org/unzip dependency not found in pantry.yaml. To confirm, run `which unzip`")}if(b.dependencies["mailpit.axllent.org"]===void 0){if(q.info("mailpit.axllent.org dependency not found in pantry.yaml."),(await v("which mailpit")).isErr)throw Error("mailpit.axllent.org dependency not found in pantry.yaml. To confirm, run `which mailpit`")}if(b.dependencies["redis.io"]===void 0){if(q.info("redis.io dependency not found in pantry.yaml."),(await v("which redis")).isErr)throw Error("redis.io dependency not found in pantry.yaml. To confirm, run `which redis`")}if(z.database.default==="sqlite"&&b.dependencies["sqlite.org"]===void 0){if(q.info("sqlite.org dependency not found in pantry.yaml."),(await v("which sqlite")).isErr)throw Error("sqlite.org dependency not found in pantry.yaml. To confirm, run `which sqlite`")}
2
+ import{log as b,runCommand as q}from"@stacksjs/cli";import{config as A}from"@stacksjs/config";var z=Bun.file(new URL("../../../../../pantry.yaml",import.meta.url));if(!await z.exists())throw Error("pantry.yaml file not found");var v=Bun.YAML.parse(await z.text());if(v.dependencies["aws.amazon.com/cdk"]===void 0){if(b.info("aws.amazon.com/cdk dependency not found in pantry.yaml."),(await q("which cdk")).isErr)throw Error("aws.amazon.com/cdk dependency not found in pantry.yaml. To confirm, run `which cdk`")}if(v.dependencies["aws.amazon.com/cli"]===void 0){if(b.info("aws.amazon.com/cli dependency not found in pantry.yaml."),(await q("which aws")).isErr)throw Error("aws.amazon.com/cli dependency not found in pantry.yaml. To confirm, run `which aws`")}if(v.dependencies["bun.sh"]===void 0){if(b.info("bun.sh dependency not found in pantry.yaml."),(await q("which bun")).isErr)throw Error("bun.sh dependency not found in pantry.yaml. To confirm, run `which bun`")}if(v.dependencies["info-zip.org/zip"]===void 0){if(b.info("info-zip.org/zip dependency not found in pantry.yaml."),(await q("which zip")).isErr)throw Error("info-zip.org/zip dependency not found in pantry.yaml. To confirm, run `which zip`")}if(v.dependencies["info-zip.org/unzip"]===void 0){if(b.info("info-zip.org/unzip dependency not found in pantry.yaml."),(await q("which unzip")).isErr)throw Error("info-zip.org/unzip dependency not found in pantry.yaml. To confirm, run `which unzip`")}if(v.dependencies["mailpit.axllent.org"]===void 0){if(b.info("mailpit.axllent.org dependency not found in pantry.yaml."),(await q("which mailpit")).isErr)throw Error("mailpit.axllent.org dependency not found in pantry.yaml. To confirm, run `which mailpit`")}if(v.dependencies["redis.io"]===void 0){if(b.info("redis.io dependency not found in pantry.yaml."),(await q("which redis")).isErr)throw Error("redis.io dependency not found in pantry.yaml. To confirm, run `which redis`")}if(A.database.default==="sqlite"&&v.dependencies["sqlite.org"]===void 0){if(b.info("sqlite.org dependency not found in pantry.yaml."),(await q("which sqlite")).isErr)throw Error("sqlite.org dependency not found in pantry.yaml. To confirm, run `which sqlite`")}
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import"../chunk-96b7fcmd.js";import r from"process";import{intro as b,outro as e,runCommand as d}from"@stacksjs/cli";import{NpmScript as j}from"@stacksjs/enums";import{log as k}from"@stacksjs/logging";import{projectPath as u}from"@stacksjs/path";import*as c from"@stacksjs/storage";import{ExitCode as n}from"@stacksjs/types";var i="0.70.36";function v(s){try{console.log("checkForUncommittedChanges",s)}catch(t){console.error(t)}}async function f(s){let a=u("updates");if(c.doesFolderExist(a))await c.deleteFolder(a);k.info("Downloading framework updates..."),await d("giget stacks updates",s),k.success(`Your framework updated correctly to version: v${i}`)}async function B(){let s=await b("buddy upgrade:dependencies"),t=await d(j.UpgradeDependencies,{cwd:u()});if(t.isErr)await e("While running the upgrade:dependencies command, there was an issue",{startTime:s,useSeconds:!0},t.error),r.exit(n.FatalError);await e("Freshly updated your dependencies.",{startTime:s,useSeconds:!0}),r.exit(n.Success)}export{B as updateDependencies,f as downloadFrameworkUpdate,v as checkForUncommittedChanges};
2
+ import"../chunk-96b7fcmd.js";import{readFileSync as K}from"fs";import A from"process";import{intro as L,outro as B,runCommand as I}from"@stacksjs/cli";import{NpmScript as M}from"@stacksjs/enums";import{log as G}from"@stacksjs/logging";import{projectPath as J}from"@stacksjs/path";import*as w from"@stacksjs/storage";import{ExitCode as H}from"@stacksjs/types";var{version:Q}=JSON.parse(K(new URL("../package.json",import.meta.url),"utf8"));function _(b){try{console.log("checkForUncommittedChanges",b)}catch(q){console.error(q)}}async function $(b){let z=J("updates");if(w.doesFolderExist(z))await w.deleteFolder(z);G.info("Downloading framework updates..."),await I("giget stacks updates",b),G.success(`Your framework updated correctly to version: v${Q}`)}async function v(){let b=await L("buddy upgrade:dependencies"),q=await I(M.UpgradeDependencies,{cwd:J()});if(q.isErr)await B("While running the upgrade:dependencies command, there was an issue",{startTime:b,useSeconds:!0},q.error),A.exit(H.FatalError);await B("Freshly updated your dependencies.",{startTime:b,useSeconds:!0}),A.exit(H.Success)}export{v as updateDependencies,$ as downloadFrameworkUpdate,_ as checkForUncommittedChanges};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/actions",
3
3
  "type": "module",
4
- "version": "0.70.36",
4
+ "version": "0.70.42",
5
5
  "description": "The Stacks actions.",
6
6
  "author": "Chris Breuer",
7
7
  "contributors": [
@@ -59,22 +59,22 @@
59
59
  "@stacksjs/ts-md": "^0.1.1"
60
60
  },
61
61
  "devDependencies": {
62
- "@stacksjs/api": "0.70.30",
63
- "@stacksjs/cli": "0.70.30",
64
- "@stacksjs/config": "0.70.30",
65
- "@stacksjs/database": "0.70.30",
62
+ "@stacksjs/api": "^0.70.42",
63
+ "@stacksjs/cli": "^0.70.42",
64
+ "@stacksjs/config": "^0.70.42",
65
+ "@stacksjs/database": "^0.70.42",
66
66
  "@stacksjs/tlsx": "^0.13.2",
67
67
  "better-dx": "^0.2.12",
68
- "@stacksjs/dns": "0.70.30",
69
- "@stacksjs/enums": "0.70.30",
70
- "@stacksjs/env": "0.70.30",
71
- "@stacksjs/error-handling": "0.70.30",
72
- "@stacksjs/logging": "0.70.30",
73
- "@stacksjs/path": "0.70.30",
74
- "@stacksjs/security": "0.70.30",
75
- "@stacksjs/storage": "0.70.30",
76
- "@stacksjs/strings": "0.70.30",
77
- "@stacksjs/utils": "0.70.30",
78
- "@stacksjs/validation": "0.70.30"
68
+ "@stacksjs/dns": "^0.70.42",
69
+ "@stacksjs/enums": "^0.70.42",
70
+ "@stacksjs/env": "^0.70.42",
71
+ "@stacksjs/error-handling": "^0.70.42",
72
+ "@stacksjs/logging": "^0.70.42",
73
+ "@stacksjs/path": "^0.70.42",
74
+ "@stacksjs/security": "^0.70.42",
75
+ "@stacksjs/storage": "^0.70.42",
76
+ "@stacksjs/strings": "^0.70.42",
77
+ "@stacksjs/utils": "^0.70.42",
78
+ "@stacksjs/validation": "^0.70.42"
79
79
  }
80
80
  }
@@ -1 +0,0 @@
1
-
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes