Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gui-environment

Package Overview
Dependencies
Maintainers
0
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gui-environment - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

2

dist/templates/templates.js

@@ -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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc