gui-environment
Advanced tools
Comparing version 1.0.4 to 1.0.5
@@ -1,1 +0,1 @@ | ||
const buildTypes=()=>{let n="\n\n";return n+="/* ************************************************************************************************\n",n+=" * TYPES *\n",n+=" ************************************************************************************************ */\n\n",n+="/**\n",n+=" * Environment Variables\n",n+=" * The following environment variables are used to modify the behavior of the app based on the\n",n+=" * deployment environment of the build.\n",n+=" */\n",n+="type IEnvironment = {\n",n+=" // the kind of build that was performed\n",n+=" production: boolean,\n\n",n+=" // the current version of the GUI\n",n+=" version: string,\n",n+="}\n",n+="\n\n\n\n\n",n+="/* ************************************************************************************************\n",n+=" * MODULE EXPORTS *\n",n+=" ************************************************************************************************ */\n",n+="export type {\n",n+=" IEnvironment,\n",n+="};\n","\n\n/* ************************************************************************************************\n * TYPES *\n ************************************************************************************************ */\n\n/**\n * Environment Variables\n * The following environment variables are used to modify the behavior of the app based on the\n * deployment environment of the build.\n */\ntype IEnvironment = {\n // the kind of build that was performed\n production: boolean,\n\n // the current version of the GUI\n version: string,\n}\n\n\n\n\n\n/* ************************************************************************************************\n * MODULE EXPORTS *\n ************************************************************************************************ */\nexport type {\n IEnvironment,\n};\n"},buildEnvironment=n=>{let e="import { IEnvironment } from './types';\n\n";return e+="/* ************************************************************************************************\n",e+=" * ENVIRONMENT VARIABLES *\n",e+=" ************************************************************************************************ */\n",e+="const ENVIRONMENT: IEnvironment = {\n",e+=` production: ${n},\n`,e+=" version: '(package.json).version',\n",e+="};\n",e+="\n\n\n\n\n",e+="/* ************************************************************************************************\n",e+=" * MODULE EXPORTS *\n",e+=" ************************************************************************************************ */\n",e+="export {\n",e+=" ENVIRONMENT,\n",e+="};\n",e};export{buildTypes,buildEnvironment}; | ||
const buildTypes=()=>{let n="\n\n";return n+="/* ************************************************************************************************\n",n+=" * TYPES *\n",n+=" ************************************************************************************************ */\n\n",n+="/**\n",n+=" * Environment Variables\n",n+=" * The following environment variables are used to modify the behavior of the app based on the\n",n+=" * deployment environment of the build.\n",n+=" */\n",n+="type IEnvironment = {\n",n+=" // the kind of build that was performed\n",n+=" production: boolean,\n\n",n+=" // the current version of the GUI\n",n+=" version: string,\n",n+="};\n",n+="\n\n\n\n\n",n+="/* ************************************************************************************************\n",n+=" * MODULE EXPORTS *\n",n+=" ************************************************************************************************ */\n",n+="export type {\n",n+=" IEnvironment,\n",n+="};\n","\n\n/* ************************************************************************************************\n * TYPES *\n ************************************************************************************************ */\n\n/**\n * Environment Variables\n * The following environment variables are used to modify the behavior of the app based on the\n * deployment environment of the build.\n */\ntype IEnvironment = {\n // the kind of build that was performed\n production: boolean,\n\n // the current version of the GUI\n version: string,\n};\n\n\n\n\n\n/* ************************************************************************************************\n * MODULE EXPORTS *\n ************************************************************************************************ */\nexport type {\n IEnvironment,\n};\n"},buildEnvironment=n=>{let e="import { IEnvironment } from './types';\n\n";return e+="/* ************************************************************************************************\n",e+=" * ENVIRONMENT VARIABLES *\n",e+=" ************************************************************************************************ */\n",e+="const ENVIRONMENT: IEnvironment = {\n",e+=` production: ${n},\n`,e+=" version: '(package.json).version',\n",e+="};\n",e+="\n\n\n\n\n",e+="/* ************************************************************************************************\n",e+=" * MODULE EXPORTS *\n",e+=" ************************************************************************************************ */\n",e+="export {\n",e+=" ENVIRONMENT,\n",e+="};\n",e};export{buildTypes,buildEnvironment}; |
{ | ||
"name": "gui-environment", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "The gui-environment package is a command-line tool that simplifies managing environment variables for your application. Easily set up different configurations based on your build mode (development or production) for a smooth development workflow.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
17393