webpack-auto-inject-version
Advanced tools
Comparing version 1.2.1 to 1.2.2
{ | ||
"name": "webpack-auto-inject-version", | ||
"version": "1.2.1", | ||
"version": "1.2.2", | ||
"repository": "radswiat/webpack-auto-inject-version", | ||
@@ -5,0 +5,0 @@ "description": "Webpack plugin for auto inject version from package.json", |
@@ -59,2 +59,3 @@ # Auto inject version - Webpack plugin | ||
PACKAGE_JSON_PATH: './package.json', | ||
PACKAGE_JSON_INDENT: 4, | ||
components: { | ||
@@ -244,2 +245,4 @@ AutoIncreaseVersion: true, | ||
# Change log | ||
## [1.2.2] - 27/10/2018 | ||
- add PACKAGE_JSON_INDENT @trevyn | ||
## [1.2.1] - 27/10/2018 | ||
@@ -246,0 +249,0 @@ - security updates |
@@ -116,3 +116,3 @@ import path from 'path'; | ||
path.resolve(this.context.config.PACKAGE_JSON_PATH), | ||
JSON.stringify(this.packageFile, null, 4), (err) => { | ||
JSON.stringify(this.packageFile, null, this.context.config.PACKAGE_JSON_INDENT), (err) => { | ||
if (err) { | ||
@@ -119,0 +119,0 @@ this.reject(err); |
@@ -5,2 +5,3 @@ export default { | ||
PACKAGE_JSON_PATH: './package.json', | ||
PACKAGE_JSON_INDENT: 4, | ||
components: { | ||
@@ -7,0 +8,0 @@ AutoIncreaseVersion: true, |
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
299502
9100
274