You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by sh...@apache.org on 2020/12/22 04:28:25 UTC
[incubator-echarts] branch treeshakable-exports updated: chore:
remove support of 3.4.0
This is an automated email from the ASF dual-hosted git repository.
shenyi pushed a commit to branch treeshakable-exports
in repository https://gitbox.apache.org/repos/asf/incubator-echarts.git
The following commit(s) were added to refs/heads/treeshakable-exports by this push:
new 0c681a1 chore: remove support of 3.4.0
0c681a1 is described below
commit 0c681a1b00e649536c3f2fac7e07bc3bb14731c9
Author: pissang <bm...@gmail.com>
AuthorDate: Tue Dec 22 12:22:08 2020 +0800
chore: remove support of 3.4.0
---
build/pre-publish.js | 20 ++++++++++----------
build/testDts.js | 2 +-
2 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/build/pre-publish.js b/build/pre-publish.js
index 17c524d..429a516 100644
--- a/build/pre-publish.js
+++ b/build/pre-publish.js
@@ -412,16 +412,16 @@ async function bundleDTS() {
plugins: [
dts({
respectExternal: true
- }),
- {
- generateBundle(options, bundle) {
- for (let chunk of Object.values(bundle)) {
- chunk.code = `
-type Omit<T, K> = Pick<T, Exclude<keyof T, K>>;
-${chunk.code}`
- }
- }
- }
+ })
+// {
+// generateBundle(options, bundle) {
+// for (let chunk of Object.values(bundle)) {
+// chunk.code = `
+// type Omit<T, K> = Pick<T, Exclude<keyof T, K>>;
+// ${chunk.code}`
+// }
+// }
+// }
]
};
diff --git a/build/testDts.js b/build/testDts.js
index df111c8..813fd08 100644
--- a/build/testDts.js
+++ b/build/testDts.js
@@ -28,7 +28,7 @@ const { runTsCompile } = require('./pre-publish');
const globby = require('globby');
const semver = require('semver');
-const MIN_VERSION = '3.4.0';
+const MIN_VERSION = '3.5.0';
async function installTs() {
// await cleanTypeScriptInstalls();
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org