stacks 0.59.1 → 0.59.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.
@@ -1661,6 +1661,7 @@ import process26 from "process";
1661
1661
  import {path as p6} from "@stacksjs/path";
1662
1662
  import {Action as Action15} from "@stacksjs/enums";
1663
1663
  import {handleError} from "@stacksjs/error-handling";
1664
+ import {storage as storage3} from "@stacksjs/storage";
1664
1665
  import {log as log26, runCommand as runCommand9} from "@stacksjs/cli";
1665
1666
  import {ExitCode as ExitCode19} from "@stacksjs/types";
1666
1667
  function setup(buddy) {
@@ -1739,7 +1740,7 @@ async function optimizePkgxDeps() {
1739
1740
  }
1740
1741
  async function ensureEnvIsSet(options) {
1741
1742
  log26.info("Ensuring .env exists...");
1742
- if (storage.doesNotExist(p6.projectPath(".env"))) {
1743
+ if (storage3.doesNotExist(p6.projectPath(".env"))) {
1743
1744
  const envResult = await runCommand9("cp .env.example .env", {
1744
1745
  cwd: options.cwd || p6.projectPath()
1745
1746
  });
@@ -1993,7 +1994,7 @@ var hasNoOptions2 = function(options) {
1993
1994
  // src/commands/version.ts
1994
1995
  import process31 from "process";
1995
1996
  import {bold as bold3, dim as dim2, green, intro as intro21, log as log30} from "@stacksjs/cli";
1996
- import {storage as storage4} from "@stacksjs/storage";
1997
+ import {storage as storage5} from "@stacksjs/storage";
1997
1998
  function version(buddy) {
1998
1999
  const descriptions2 = {
1999
2000
  version: "Retrieving Stacks build version"
@@ -2001,7 +2002,7 @@ function version(buddy) {
2001
2002
  buddy.command("version", descriptions2.version).action(async () => {
2002
2003
  log30.debug("Running `buddy version` ...");
2003
2004
  await intro21("buddy version");
2004
- const pkg = await storage4.readPackageJson("./package.json");
2005
+ const pkg = await storage5.readPackageJson("./package.json");
2005
2006
  const bunVersion = "wip";
2006
2007
  const stacksVersion = pkg.version;
2007
2008
  log30.info(green(bold3("@stacksjs/ ")) + dim2(` ${stacksVersion}`));
package/buddy/dist/cli.js CHANGED
@@ -28,7 +28,7 @@ setup,
28
28
  test,
29
29
  upgrade,
30
30
  version
31
- } from "./chunk-32440b2561f1e29c.js";
31
+ } from "./chunk-d2428b387d843985.js";
32
32
  import"./chunk-970e033f764e29fc.js";
33
33
 
34
34
  // src/cli.ts
@@ -34,7 +34,7 @@ tinker,
34
34
  types,
35
35
  upgrade,
36
36
  version
37
- } from "./chunk-32440b2561f1e29c.js";
37
+ } from "./chunk-d2428b387d843985.js";
38
38
  import"./chunk-970e033f764e29fc.js";
39
39
  export {
40
40
  version,
package/buddy/dist/stacks CHANGED
Binary file
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/buddy",
3
3
  "type": "module",
4
- "version": "0.59.1",
4
+ "version": "0.59.2",
5
5
  "description": "Meet Buddy. The Stacks runtime.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -2,6 +2,7 @@ import process from 'node:process'
2
2
  import { path as p } from '@stacksjs/path'
3
3
  import { Action } from '@stacksjs/enums'
4
4
  import { handleError } from '@stacksjs/error-handling'
5
+ import { storage } from '@stacksjs/storage'
5
6
  import { log, runCommand } from '@stacksjs/cli'
6
7
  import { ExitCode } from '@stacksjs/types'
7
8
  import type { CLI, CliOptions } from '@stacksjs/types'
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "stacks",
3
3
  "type": "module",
4
- "version": "0.59.1",
4
+ "version": "0.59.2",
5
5
  "description": "The Stacks framework.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",