@acryps/environment
Advanced tools
Comparing version 1.0.4 to 2.0.0
{ | ||
"name": "@acryps/environment", | ||
"version": "1.0.4", | ||
"version": "2.0.0", | ||
"license": "GPL-3.0-only", | ||
@@ -13,6 +13,10 @@ "bin": { | ||
}, | ||
"dependencies": { | ||
"which": "^3.0.1" | ||
}, | ||
"devDependencies": { | ||
"@types/node": "^20.3.3", | ||
"@types/which": "^3.0.0", | ||
"typescript": "^5.1.6" | ||
} | ||
} |
@@ -7,5 +7,5 @@ # acryps environment | ||
Active environment by adding `environment` before launching your application in your scripts | ||
Active environment by adding `environment` before launching your application in your scripts (will work with any tool) | ||
`tsc && node index.js` → `tsc && environment index.js` | ||
`tsc && node index.js` → `tsc && environment node index.js` | ||
@@ -39,8 +39,2 @@ Define environment variables in your `package.json` | ||
Adding an uppercase letter in the variables name will automatically be expanded with a `_`: `accessKey` → `ACCESS_KEY` | ||
## Node Options | ||
Options for node can still be used, just add them before your modules location | ||
`node --max-old-space-size=16192 index.js` → `environment --max-old-space-size=16192 index.js` | ||
The child program will be executed with the same node as environment (using `process.execPath`) | ||
Adding an uppercase letter in the variables name will automatically be expanded with a `_`: `accessKey` → `ACCESS_KEY` |
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
8452
1
3
38
+ Addedwhich@^3.0.1
+ Addedisexe@2.0.0(transitive)
+ Addedwhich@3.0.1(transitive)