This is an automated email from the ASF dual-hosted git repository.
shenyi pushed a commit to branch next-npm-env
in repository https://gitbox.apache.org/repos/asf/incubator-echarts.git
The following commit(s) were added to refs/heads/next-npm-env by this push:
new fb1eeb8 chore(prepublish): fix babel types dependency
fb1eeb8 is described below
commit fb1eeb8fe27891cebc4f882fd3c75e7bb1d09f26
Author: pissang <[email protected]>
AuthorDate: Tue Jul 28 12:14:09 2020 +0800
chore(prepublish): fix babel types dependency
---
package-lock.json | 28 +++++++++++++++++++++++++++-
package.json | 5 +++--
tsconfig.json | 2 +-
3 files changed, 31 insertions(+), 4 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index 8e43d9a..ca49dba 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -202,6 +202,12 @@
}
}
},
+ "@babel/helper-validator-identifier": {
+ "version": "7.10.4",
+ "resolved":
"https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.10.4.tgz",
+ "integrity":
"sha512-3U9y+43hz7ZM+rzG24Qe2mufW5KhvFg/NhnNph+i9mgCtdTCtMJuI1TMkrIUiK7Ix4PYlRF9I5dhqaLYA/ADXw==",
+ "dev": true
+ },
"@babel/helpers": {
"version": "7.6.0",
"resolved":
"https://registry.npmjs.org/@babel/helpers/-/helpers-7.6.0.tgz",
@@ -327,6 +333,25 @@
}
}
},
+ "@babel/types": {
+ "version": "7.10.5",
+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.10.5.tgz",
+ "integrity":
"sha512-ixV66KWfCI6GKoA/2H9v6bQdbfXEwwpOdQ8cRvb4F+eyvhlaHxWFMQB4+3d9QFJXZsiiiqVrewNV0DFEQpyT4Q==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-validator-identifier": "^7.10.4",
+ "lodash": "^4.17.19",
+ "to-fast-properties": "^2.0.0"
+ },
+ "dependencies": {
+ "lodash": {
+ "version": "4.17.19",
+ "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.19.tgz",
+ "integrity":
"sha512-JNvd8XER9GQX0v2qJgsaN/mzFCNA5BRe/j8JN9d+tWyGLSodKQHKFicdwNYzWwI3wjRnaKPsGj1XkBjx/F96DQ==",
+ "dev": true
+ }
+ }
+ },
"@cnakazawa/watch": {
"version": "1.0.3",
"resolved":
"https://registry.npmjs.org/@cnakazawa/watch/-/watch-1.0.3.tgz",
@@ -8017,7 +8042,8 @@
"uglify-js": {
"version": "3.10.0",
"resolved":
"https://registry.npmjs.org/uglify-js/-/uglify-js-3.10.0.tgz",
- "integrity":
"sha512-Esj5HG5WAyrLIdYU74Z3JdG2PxdIusvj6IWHMtlyESxc7kcDz7zYlYjpnSokn1UbpV0d/QX9fan7gkCNd/9BQA=="
+ "integrity":
"sha512-Esj5HG5WAyrLIdYU74Z3JdG2PxdIusvj6IWHMtlyESxc7kcDz7zYlYjpnSokn1UbpV0d/QX9fan7gkCNd/9BQA==",
+ "dev": true
},
"union-value": {
"version": "1.0.1",
diff --git a/package.json b/package.json
index ec05762..6a985b5 100644
--- a/package.json
+++ b/package.json
@@ -32,8 +32,8 @@
"zrender": "4.3.1"
},
"devDependencies": {
- "uglify-js": "^3.10.0",
"@babel/core": "7.3.4",
+ "@babel/types": "^7.10.5",
"@microsoft/api-extractor": "7.7.2",
"@typescript-eslint/eslint-plugin": "^2.15.0",
"@typescript-eslint/parser": "^2.18.0",
@@ -67,6 +67,7 @@
"serve-handler": "6.1.1",
"slugify": "1.3.4",
"socket.io": "2.2.0",
- "typescript": "3.8.3"
+ "typescript": "3.8.3",
+ "uglify-js": "^3.10.0"
}
}
diff --git a/tsconfig.json b/tsconfig.json
index aa178b5..dfbbd5d 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -9,7 +9,7 @@
"sourceMap": true,
//
https://github.com/ezolenko/rollup-plugin-typescript2/issues/12#issuecomment-536173372
- "moduleResolution": "Node",
+ "moduleResolution": "node",
"declaration": true,
"declarationMap": false,
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]