@js-utils-kit/types 1.5.0 → 1.6.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.
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","names":[],"sources":["../src/Environment.ts"],"sourcesContent":["/**\n * Represents the standard runtime environments used in application development.\n *\n * This enum is typically used with {@link https://nodejs.org/en/learn/getting-started/nodejs-the-difference-between-development-and-production process.env.NODE_ENV } to determine\n * whether the app is running in development, production, or test mode.\n *\n * @example\n * ```ts\n * if (process.env.NODE_ENV === Environment.DEV) {\n * console.log('Running in development mode');\n * }\n * ```\n */\nexport const Environment = {\n /** Production environment (`\"production\"`) */\n PROD: 'production',\n /** Development environment (`\"development\"`) */\n DEV: 'development',\n /** Testing environment (`\"test\"`) */\n TEST: 'test',\n /** Unknown or undefined environment */\n UNKNOWN: 'unknown',\n} as const;\n\n// eslint-disable-next-line no-redeclare\nexport type Environment = (typeof Environment)[keyof typeof Environment];\n"],"mappings":"AAaA,MAAa,EAAc,CAEzB,KAAM,aAEN,IAAK,cAEL,KAAM,OAEN,QAAS,UACV"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@js-utils-kit/types",
3
- "version": "1.5.0",
3
+ "version": "1.6.0",
4
4
  "description": "Type Declarations",
5
5
  "homepage": "https://js-utils.js.org",
6
6
  "repository": {