@spree/docs 0.1.124 → 0.1.126
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.
|
@@ -15,9 +15,9 @@ Your plugin imports React, the dashboard, Tailwind, i18next, etc., but **you don
|
|
|
15
15
|
"peerDependencies": {
|
|
16
16
|
"react": "^19",
|
|
17
17
|
"react-dom": "^19",
|
|
18
|
-
"@spree/dashboard-core": "^0.
|
|
19
|
-
"@spree/dashboard-ui": "^0.
|
|
20
|
-
"@spree/admin-sdk": "^0.
|
|
18
|
+
"@spree/dashboard-core": "^0.10.0",
|
|
19
|
+
"@spree/dashboard-ui": "^0.10.0",
|
|
20
|
+
"@spree/admin-sdk": "^0.6.0",
|
|
21
21
|
"i18next": "^26",
|
|
22
22
|
"react-i18next": "^17",
|
|
23
23
|
"@tanstack/react-query": "^5",
|
|
@@ -27,7 +27,7 @@ Your plugin imports React, the dashboard, Tailwind, i18next, etc., but **you don
|
|
|
27
27
|
}
|
|
28
28
|
```
|
|
29
29
|
|
|
30
|
-
Use ranges, not exact versions — pin too tightly and consumers can't upgrade the dashboard without you cutting a release. One Developer Preview caveat: for `0.x` versions, `^` only allows patch-level drift (`^0.
|
|
30
|
+
Use ranges, not exact versions — pin too tightly and consumers can't upgrade the dashboard without you cutting a release. One Developer Preview caveat: for `0.x` versions, `^` only allows patch-level drift (`^0.10.0` matches `0.10.x`, not `0.11.0`), so expect to bump your `@spree/dashboard-*` peers alongside dashboard releases until 1.0. `spree plugin new` scaffolds these ranges for you, matched to the current release.
|
|
31
31
|
|
|
32
32
|
`dependencies` is for things your plugin *uses* that the host *doesn't* — small utilities (e.g., `clsx`, `date-fns` if you need a specific version, your own helper packages). When in doubt, peer-dep it. The trade-off is "user has to install one more thing" vs. "user has two copies of React" — always pay the first cost.
|
|
33
33
|
|