@stacksjs/env 0.61.24 → 0.62.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.
Files changed (2) hide show
  1. package/dist/index.js +5 -47
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -684,11 +684,7 @@ var init_utils = __esm(() => {
684
684
  // ../../../../node_modules/consola/dist/chunks/prompt.mjs
685
685
  var exports_prompt = {};
686
686
  __export(exports_prompt, {
687
- prompt: () => {
688
- {
689
- return prompt;
690
- }
691
- }
687
+ prompt: () => prompt
692
688
  });
693
689
  import {stdin, stdout} from "process";
694
690
  import f from "readline";
@@ -3678,7 +3674,7 @@ var require_number = __commonJS((exports, module) => {
3678
3674
  this.float = !!opts.float;
3679
3675
  this.round = opts.round || 2;
3680
3676
  this.inc = opts.increment || 1;
3681
- this.min = isDef(opts.min) ? opts.min : (-Infinity);
3677
+ this.min = isDef(opts.min) ? opts.min : -Infinity;
3682
3678
  this.max = isDef(opts.max) ? opts.max : Infinity;
3683
3679
  this.errorMsg = opts.error || `Please Enter A Valid Value`;
3684
3680
  this.validator = opts.validate || (() => true);
@@ -6014,7 +6010,7 @@ var require_number2 = __commonJS((exports, module) => {
6014
6010
  this.float = !!opts.float;
6015
6011
  this.round = opts.round || 2;
6016
6012
  this.inc = opts.increment || 1;
6017
- this.min = isDef(opts.min) ? opts.min : (-Infinity);
6013
+ this.min = isDef(opts.min) ? opts.min : -Infinity;
6018
6014
  this.max = isDef(opts.max) ? opts.max : Infinity;
6019
6015
  this.errorMsg = opts.error || `Please Enter A Valid Value`;
6020
6016
  this.validator = opts.validate || (() => true);
@@ -10312,44 +10308,6 @@ import process3 from "process";
10312
10308
  // ../../../../node_modules/cac/dist/index.mjs
10313
10309
  var processArgs = process.argv;
10314
10310
  var platformInfo = `${process.platform}-${process.arch} node-${process.version}`;
10315
- // ../types/src/cron-jobs.ts
10316
- var Every;
10317
- (function(Every2) {
10318
- Every2["Minute"] = "* * * * *";
10319
- Every2["TwoMinutes"] = "*/2 * * * *";
10320
- Every2["FiveMinutes"] = "*/5 * * * *";
10321
- Every2["TenMinutes"] = "*/10 * * * *";
10322
- Every2["FifteenMinutes"] = "*/15 * * * *";
10323
- Every2["ThirtyMinutes"] = "*/30 * * * *";
10324
- Every2["Hour"] = "0 * * * *";
10325
- Every2["HalfHour"] = "0,30 * * * *";
10326
- Every2["Day"] = "0 0 * * *";
10327
- Every2["Week"] = "0 0 * * 0";
10328
- Every2["Weekday"] = "0 0 * * 1-5";
10329
- Every2["Weekend"] = "0 0 * * 0,6";
10330
- Every2["Month"] = "0 0 1 * *";
10331
- Every2["Year"] = "0 0 1 1 *";
10332
- })(Every || (Every = {}));
10333
- // ../types/src/docs.ts
10334
- var SocialLinkIcon;
10335
- (function(SocialLinkIcon2) {
10336
- SocialLinkIcon2["Discord"] = "discord";
10337
- SocialLinkIcon2["Facebook"] = "facebook";
10338
- SocialLinkIcon2["GitHub"] = "github";
10339
- SocialLinkIcon2["Instagram"] = "instagram";
10340
- SocialLinkIcon2["LinkedIn"] = "linkedin";
10341
- SocialLinkIcon2["Mastodon"] = "mastodon";
10342
- SocialLinkIcon2["Slack"] = "slack";
10343
- SocialLinkIcon2["Twitter"] = "twitter";
10344
- SocialLinkIcon2["YouTube"] = "youtube";
10345
- })(SocialLinkIcon || (SocialLinkIcon = {}));
10346
- // ../types/src/exit-code.ts
10347
- var ExitCode;
10348
- (function(ExitCode2) {
10349
- ExitCode2[ExitCode2["Success"] = 0] = "Success";
10350
- ExitCode2[ExitCode2["FatalError"] = 1] = "FatalError";
10351
- ExitCode2[ExitCode2["InvalidArgument"] = 9] = "InvalidArgument";
10352
- })(ExitCode || (ExitCode = {}));
10353
10311
  // ../../../../node_modules/consola/dist/index.mjs
10354
10312
  init_consola_36c0034f();
10355
10313
  init_core();
@@ -10535,7 +10493,7 @@ class ErrorHandler {
10535
10493
  static writeErrorToConsole(err) {
10536
10494
  if (err === "Failed to execute command: bunx biome check --fix" || err === "Failed to execute command: bun --bun storage/framework/core/actions/src/lint/fix.ts")
10537
10495
  console.error(err);
10538
- process.exit(ExitCode.FatalError);
10496
+ process.exit(1 /* FatalError */);
10539
10497
  console.error(err);
10540
10498
  }
10541
10499
  }
@@ -11054,7 +11012,7 @@ function dump(...args) {
11054
11012
  }
11055
11013
  function dd(...args) {
11056
11014
  args.forEach((arg) => log.debug(arg));
11057
- process3.exit(ExitCode.FatalError);
11015
+ process3.exit(1 /* FatalError */);
11058
11016
  }
11059
11017
  function echo(...args) {
11060
11018
  console.log(...args);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/env",
3
3
  "type": "module",
4
- "version": "0.61.24",
4
+ "version": "0.62.0",
5
5
  "description": "Stacks env helper methods.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",