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

@thinkmill/devops-env-vars

Package Overview
Dependencies
Maintainers
11
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@thinkmill/devops-env-vars - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

2

package.json
{
"name": "@thinkmill/devops-env-vars",
"version": "1.0.3",
"version": "1.0.4",
"description": "Helper functions that encapsulate our treatment of environment vars for KeystoneJS apps",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -6,6 +6,7 @@ Devops: Environment Variables

## Usage
The partial code block below is taken from `config.js` in the `admyt-platform` codebase.
It demonstrates how this library should be used in a modern KeystoneJS app.
The code block below demonstrates how this library should be used in a modern KeystoneJS app.
It's based on the [`config.js` in the `admyt-platform` codebase](https://github.com/Thinkmill/admyt-platform/blob/develop/config.js).

@@ -145,2 +146,3 @@ ```javascript

## `dotenv.config(..)`

@@ -166,2 +168,3 @@

## `envLib.mergeConfig(APP_ENV, flags, process.env, rules)`

@@ -191,2 +194,3 @@

## Other Config Values

@@ -225,2 +229,5 @@

Since both these approaches add values directly to the config object (without using `mergeConfig()`),
values set in this way can't be overridden/set without code changes.
#### blueshyft Apps

@@ -259,6 +266,3 @@

Since both these approaches add values directly to the config object (without using `mergeConfig()`),
values set in this way can't be overridden/set without code changes.
### Feature Flags

@@ -280,2 +284,3 @@

## Exporting the Values

@@ -282,0 +287,0 @@

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