@janiscommerce/settings
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -8,2 +8,6 @@ # Changelog | ||
## [1.0.1] - 2019-07-17 | ||
### Changed | ||
- path for `.janniscommercerc.json`, to `[MS_PATH]/config` | ||
## [1.0.0] - 2019-07-04 | ||
@@ -10,0 +14,0 @@ ### Added |
@@ -9,3 +9,3 @@ 'use strict'; | ||
const prefix = typeof process.env.MS_PATH === 'string' ? process.env.MS_PATH : ''; | ||
return path.join(process.cwd(), prefix, '.janiscommercerc.json'); | ||
return path.join(process.cwd(), prefix, 'config', '.janiscommercerc.json'); | ||
} | ||
@@ -12,0 +12,0 @@ |
{ | ||
"name": "@janiscommerce/settings", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -8,3 +8,3 @@ # settings | ||
```bash | ||
npm install janiscommerce/settings | ||
npm install @janiscommerce/settings | ||
``` | ||
@@ -23,2 +23,7 @@ | ||
It's located in `path/to/root/[MS_PATH]/config/.janiscommercerc.json`. | ||
`[MS_PATH]` : ENV variable. Default is empty. | ||
### Example | ||
@@ -25,0 +30,0 @@ ```json |
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
3550
62