Skip to content

Commit dc9dccb

Browse files
committed
fix: fix postinstall script
1 parent 476efa4 commit dc9dccb

File tree

5 files changed

+10
-6
lines changed

5 files changed

+10
-6
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 6.6.8
2+
3+
* Fixed the postinstall script to patch the correct `types` entry for Vue 2.7.
4+
15
## 6.6.7
26

37
* Added missing type file for Vue 2.7.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ Drop `<script>` inside your HTML file and access the component via `window.VueEC
238238
```html
239239
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>
240240
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>
241-
<script src="https://cdn.jsdelivr.net/npm/[email protected].7"></script>
241+
<script src="https://cdn.jsdelivr.net/npm/[email protected].8"></script>
242242
```
243243
<!-- vue3Scripts:end -->
244244

@@ -258,7 +258,7 @@ app.component('v-chart', VueECharts)
258258
```html
259259
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>
260260
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>
261-
<script src="https://cdn.jsdelivr.net/npm/[email protected].7"></script>
261+
<script src="https://cdn.jsdelivr.net/npm/[email protected].8"></script>
262262
```
263263
<!-- vue2Scripts:end -->
264264

README.zh-Hans.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ import "echarts";
238238
```html
239239
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>
240240
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>
241-
<script src="https://cdn.jsdelivr.net/npm/[email protected].7"></script>
241+
<script src="https://cdn.jsdelivr.net/npm/[email protected].8"></script>
242242
```
243243
<!-- vue3Scripts:end -->
244244

@@ -258,7 +258,7 @@ app.component('v-chart', VueECharts)
258258
```html
259259
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>
260260
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>
261-
<script src="https://cdn.jsdelivr.net/npm/[email protected].7"></script>
261+
<script src="https://cdn.jsdelivr.net/npm/[email protected].8"></script>
262262
```
263263
<!-- vue2Scripts:end -->
264264

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vue-echarts",
3-
"version": "6.6.7",
3+
"version": "6.6.8",
44
"description": "Vue.js component for Apache ECharts.",
55
"author": "GU Yiling <[email protected]>",
66
"scripts": {

scripts/postinstall.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const packageFile = path.resolve(__dirname, "../package.json");
66

77
const typesPaths = {
88
3: "dist/index.d.ts",
9-
2.7: "dist/index.vue2-7.d.ts",
9+
2.7: "dist/index.vue2_7.d.ts",
1010
2: "dist/index.vue2.d.ts"
1111
};
1212

0 commit comments

Comments
 (0)