This is an automated email from the ASF dual-hosted git repository.
kristw pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git
The following commit(s) were added to refs/heads/master by this push:
new c97a71b Make package.json cross platform (#8035)
c97a71b is described below
commit c97a71b6b96d573632c650c67b730b2738c2f96e
Author: fzzylogic <[email protected]>
AuthorDate: Tue Aug 20 16:57:41 2019 +0900
Make package.json cross platform (#8035)
* Fix: Chain var declaration and webpack invocation
* enh: Add cross-env to make package.json work cross-platform
* Fix: Update lock-file for new package cross-env
* Chores: Update lock-file for new package cross-env
---
superset/assets/package-lock.json | 18 ++++++++++++++++++
superset/assets/package.json | 3 ++-
2 files changed, 20 insertions(+), 1 deletion(-)
diff --git a/superset/assets/package-lock.json
b/superset/assets/package-lock.json
index 556e318..b3ff706 100644
--- a/superset/assets/package-lock.json
+++ b/superset/assets/package-lock.json
@@ -6185,6 +6185,24 @@
"object-assign": "^4.1.1"
}
},
+ "cross-env": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/cross-env/-/cross-env-5.2.0.tgz",
+ "integrity":
"sha512-jtdNFfFW1hB7sMhr/H6rW1Z45LFqyI431m3qU6bFXcQ3Eh7LtBuG3h74o7ohHZ3crrRkkqHlo4jYHFPcjroANg==",
+ "dev": true,
+ "requires": {
+ "cross-spawn": "^6.0.5",
+ "is-windows": "^1.0.0"
+ },
+ "dependencies": {
+ "is-windows": {
+ "version": "1.0.2",
+ "resolved":
"https://registry.npmjs.org/is-windows/-/is-windows-1.0.2.tgz",
+ "integrity":
"sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==",
+ "dev": true
+ }
+ }
+ },
"cross-spawn": {
"version": "6.0.5",
"resolved":
"https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz",
diff --git a/superset/assets/package.json b/superset/assets/package.json
index 91db5ad..59e0841 100644
--- a/superset/assets/package.json
+++ b/superset/assets/package.json
@@ -14,7 +14,7 @@
"dev": "webpack --mode=development --colors --progress --debug --watch",
"dev-server": "webpack-dev-server --mode=development --progress",
"prod": "node --max_old_space_size=4096 webpack --mode=production --colors
--progress",
- "build": "NODE_ENV=production webpack --mode=production --colors
--progress",
+ "build": "cross-env NODE_ENV=production webpack --mode=production --colors
--progress",
"lint": "eslint --ignore-path=.eslintignore --ext .js,.jsx . && tslint -c
tslint.json ./{src,spec}/**/*.ts{,x}",
"lint-fix": "eslint --fix --ignore-path=.eslintignore --ext .js,.jsx . &&
tslint -c tslint.json --fix ./{src,spec}/**/*.ts{,x}",
"cypress": "cypress",
@@ -166,6 +166,7 @@
"babel-preset-airbnb": "^3.2.0",
"cache-loader": "^1.2.2",
"clean-webpack-plugin": "^0.1.19",
+ "cross-env": "^5.2.0",
"css-loader": "^1.0.0",
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.1.1",