vue-echarts 6.6.7 → 6.6.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -238,7 +238,7 @@ Drop `<script>` inside your HTML file and access the component via `window.VueEC
238
238
  ```html
239
239
  <script src="https://cdn.jsdelivr.net/npm/vue@3.3.7"></script>
240
240
  <script src="https://cdn.jsdelivr.net/npm/echarts@5.4.3"></script>
241
- <script src="https://cdn.jsdelivr.net/npm/vue-echarts@6.6.7"></script>
241
+ <script src="https://cdn.jsdelivr.net/npm/vue-echarts@6.6.8"></script>
242
242
  ```
243
243
  <!-- vue3Scripts:end -->
244
244
 
@@ -258,7 +258,7 @@ app.component('v-chart', VueECharts)
258
258
  ```html
259
259
  <script src="https://cdn.jsdelivr.net/npm/vue@2.7.15"></script>
260
260
  <script src="https://cdn.jsdelivr.net/npm/echarts@5.4.3"></script>
261
- <script src="https://cdn.jsdelivr.net/npm/vue-echarts@6.6.7"></script>
261
+ <script src="https://cdn.jsdelivr.net/npm/vue-echarts@6.6.8"></script>
262
262
  ```
263
263
  <!-- vue2Scripts:end -->
264
264
 
package/README.zh-Hans.md CHANGED
@@ -238,7 +238,7 @@ import "echarts";
238
238
  ```html
239
239
  <script src="https://cdn.jsdelivr.net/npm/vue@3.3.7"></script>
240
240
  <script src="https://cdn.jsdelivr.net/npm/echarts@5.4.3"></script>
241
- <script src="https://cdn.jsdelivr.net/npm/vue-echarts@6.6.7"></script>
241
+ <script src="https://cdn.jsdelivr.net/npm/vue-echarts@6.6.8"></script>
242
242
  ```
243
243
  <!-- vue3Scripts:end -->
244
244
 
@@ -258,7 +258,7 @@ app.component('v-chart', VueECharts)
258
258
  ```html
259
259
  <script src="https://cdn.jsdelivr.net/npm/vue@2.7.15"></script>
260
260
  <script src="https://cdn.jsdelivr.net/npm/echarts@5.4.3"></script>
261
- <script src="https://cdn.jsdelivr.net/npm/vue-echarts@6.6.7"></script>
261
+ <script src="https://cdn.jsdelivr.net/npm/vue-echarts@6.6.8"></script>
262
262
  ```
263
263
  <!-- vue2Scripts:end -->
264
264
 
package/package.json CHANGED
@@ -1,8 +1,19 @@
1
1
  {
2
2
  "name": "vue-echarts",
3
- "version": "6.6.7",
3
+ "version": "6.6.8",
4
4
  "description": "Vue.js component for Apache ECharts.",
5
5
  "author": "GU Yiling <justice360@gmail.com>",
6
+ "scripts": {
7
+ "serve": "vue-cli-service serve",
8
+ "build": "pnpm run docs && rimraf dist && pnpm run build:2 && pnpm run build:3 && vue-demi-switch 3",
9
+ "build:2": "vue-demi-switch 2 vue2 && rollup -c rollup.vue2.config.js",
10
+ "build:3": "vue-demi-switch 3 && rollup -c rollup.config.js",
11
+ "lint": "vue-cli-service lint",
12
+ "build:demo": "vue-cli-service build",
13
+ "docs": "node ./scripts/docs.js",
14
+ "postinstall": "node ./scripts/postinstall.js",
15
+ "prepublishOnly": "pnpm run build"
16
+ },
6
17
  "main": "dist/index.cjs.min.js",
7
18
  "module": "dist/index.esm.min.js",
8
19
  "unpkg": "dist/index.umd.min.js",
@@ -77,15 +88,5 @@
77
88
  }
78
89
  },
79
90
  "repository": "https://github.com/ecomfe/vue-echarts.git",
80
- "types": "dist/index.d.ts",
81
- "scripts": {
82
- "serve": "vue-cli-service serve",
83
- "build": "pnpm run docs && rimraf dist && pnpm run build:2 && pnpm run build:3 && vue-demi-switch 3",
84
- "build:2": "vue-demi-switch 2 vue2 && rollup -c rollup.vue2.config.js",
85
- "build:3": "vue-demi-switch 3 && rollup -c rollup.config.js",
86
- "lint": "vue-cli-service lint",
87
- "build:demo": "vue-cli-service build",
88
- "docs": "node ./scripts/docs.js",
89
- "postinstall": "node ./scripts/postinstall.js"
90
- }
91
- }
91
+ "types": "dist/index.d.ts"
92
+ }
@@ -6,7 +6,7 @@ const packageFile = path.resolve(__dirname, "../package.json");
6
6
 
7
7
  const typesPaths = {
8
8
  3: "dist/index.d.ts",
9
- 2.7: "dist/index.vue2-7.d.ts",
9
+ 2.7: "dist/index.vue2_7.d.ts",
10
10
  2: "dist/index.vue2.d.ts"
11
11
  };
12
12