@krak-stack/registry 0.8.1 → 0.8.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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @krak-stack/registry
2
2
 
3
+ ## 0.8.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Move `motion` and `libphonenumber-js` from required dependencies to optional peers. Consumers only need to install them when using animation components or the phone-number input; notification-menu and unrelated component consumers no longer pull them in.
8
+
3
9
  ## 0.8.1
4
10
 
5
11
  ### Patch Changes
package/README.md CHANGED
@@ -10,6 +10,14 @@ bun add @krak-stack/registry
10
10
 
11
11
  Install the peer dependencies required by the items you use. Each item's registry documentation lists its dependencies and setup.
12
12
 
13
+ Animation components require the optional `motion` peer; the phone-number input
14
+ requires the optional `libphonenumber-js` peer. Install these only when using the
15
+ corresponding components. Notification-menu consumers do not need either package.
16
+
17
+ Les composants animés nécessitent la dépendance paire facultative `motion` ; le
18
+ champ de numéro de téléphone nécessite `libphonenumber-js`. Installez ces paquets
19
+ uniquement pour les composants concernés. Le menu de notifications n'en a pas besoin.
20
+
13
21
  ## Use
14
22
 
15
23
  Import from the specific package subpaths you need:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@krak-stack/registry",
3
- "version": "0.8.1",
3
+ "version": "0.8.2",
4
4
  "description": "Tree-shakable KrakStack components and Effect services.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -379,8 +379,6 @@
379
379
  "@oxlint/plugins": "1.78.0",
380
380
  "bowser": "^2.14.1",
381
381
  "cron-parser": "^5.10.4",
382
- "libphonenumber-js": "^1.13.16",
383
- "motion": "^14.12.0",
384
382
  "react-colorful": "^5.8.1",
385
383
  "web-vitals": "^5.1.0"
386
384
  },
@@ -405,10 +403,18 @@
405
403
  "drizzle-orm": "^1.0.0-rc.4-5d5b77c",
406
404
  "effect": "^4.1.0",
407
405
  "lucide-react": "^1.18.0",
406
+ "libphonenumber-js": "^1.13.16",
407
+ "motion": "^14.12.0",
408
408
  "react": "^19.2.0",
409
409
  "react-dom": "^19.2.0"
410
410
  },
411
411
  "peerDependenciesMeta": {
412
+ "libphonenumber-js": {
413
+ "optional": true
414
+ },
415
+ "motion": {
416
+ "optional": true
417
+ },
412
418
  "@effect/sql-pg": {
413
419
  "optional": true
414
420
  },