@stacksjs/env 0.58.58 → 0.58.60

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/env",
3
3
  "type": "module",
4
- "version": "0.58.58",
4
+ "version": "0.58.60",
5
5
  "description": "Stacks env helper methods.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -45,7 +45,8 @@
45
45
  },
46
46
  "dependencies": {
47
47
  "@stacksjs/validation": "latest",
48
- "fs-extra": "^11.2.0"
48
+ "fs-extra": "^11.2.0",
49
+ "std-env": "^3.7.0"
49
50
  },
50
51
  "devDependencies": {
51
52
  "@stacksjs/development": "latest",
package/src/index.js CHANGED
@@ -2096,7 +2096,7 @@ import {validator} from "@stacksjs/validation";
2096
2096
  import {validate} from "@stacksjs/validation";
2097
2097
  var env_default = {
2098
2098
  APP_NAME: validate.string(),
2099
- APP_ENV: validate.enum(["development", "staging", "production"]),
2099
+ APP_ENV: validate.enum(["local", "dev", "stage", "prod"]),
2100
2100
  APP_KEY: validate.string(),
2101
2101
  APP_URL: validate.string(),
2102
2102
  APP_PORT: validate.number(),
package/src/utils.ts ADDED
@@ -0,0 +1 @@
1
+ export { platform, isCI, hasTTY, hasWindow, isDebug, isMinimal, isWindows, isLinux, isMacOS, isColorSupported, providerInfo, provider, isBun, isNode, runtimeInfo, runtime } from 'std-env'