@particle-academy/fancy-echarts 2.0.1 → 2.0.2
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 +6 -6
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -6,18 +6,18 @@ React component library wrapping [Apache ECharts](https://echarts.apache.org/) w
|
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
8
|
# npm
|
|
9
|
-
npm install @particle-academy/fancy-echarts
|
|
9
|
+
npm install @particle-academy/fancy-echarts
|
|
10
10
|
|
|
11
11
|
# pnpm
|
|
12
|
-
pnpm add @particle-academy/fancy-echarts
|
|
12
|
+
pnpm add @particle-academy/fancy-echarts
|
|
13
13
|
|
|
14
14
|
# yarn
|
|
15
|
-
yarn add @particle-academy/fancy-echarts
|
|
15
|
+
yarn add @particle-academy/fancy-echarts
|
|
16
16
|
```
|
|
17
17
|
|
|
18
|
-
`echarts` is a peer dependency
|
|
18
|
+
`echarts` is a peer dependency. **npm 7+** and **yarn 3+** install peer deps automatically — nothing extra needed. **pnpm** needs `auto-install-peers=true` in `.npmrc`, or run `pnpm add echarts` once.
|
|
19
19
|
|
|
20
|
-
|
|
20
|
+
3D charts (globe, surface, scatter3D, bar3D) need the optional `echarts-gl` peer dep:
|
|
21
21
|
|
|
22
22
|
```bash
|
|
23
23
|
npm install echarts-gl
|
|
@@ -25,7 +25,7 @@ npm install echarts-gl
|
|
|
25
25
|
|
|
26
26
|
**Peer dependencies:** `react >= 18`, `react-dom >= 18`, `echarts >= 5.5`, `echarts-gl >= 2.0` (optional, only needed for 3D)
|
|
27
27
|
|
|
28
|
-
> **Breaking change in 2.0** — `echarts` and `echarts-gl` moved from regular dependencies to peer dependencies.
|
|
28
|
+
> **Breaking change in 2.0** — `echarts` and `echarts-gl` moved from regular dependencies to peer dependencies. If you're on npm 7+ or yarn 3+ the upgrade is transparent. On older tooling or pnpm without auto-install, run `npm install echarts` (and `echarts-gl` if you use 3D charts) once.
|
|
29
29
|
|
|
30
30
|
## Quick Start
|
|
31
31
|
|