@iyulab/desktop-patterns 0.1.3 → 0.2.0

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.
Files changed (2) hide show
  1. package/README.md +4 -3
  2. package/package.json +5 -2
package/README.md CHANGED
@@ -125,9 +125,10 @@ npm run build # per-component ESM output, type declarations
125
125
  npm run storybook # interactive component browser
126
126
  ```
127
127
 
128
- Until `@iyulab/desktop-compact` publishes its first npm release, this package resolves it via
129
- `file:../desktop-compact` for local development (a sibling checkout at that relative path) — this
130
- switches to a registry semver range once `desktop-compact` publishes.
128
+ `@iyulab/desktop-compact` is a **peer** dependency: this package reads its `--dc-*` tokens but never
129
+ imports its code, so the consumer installs one copy and both packages share it. A regular dependency
130
+ would give a consumer on a newer `desktop-compact` minor a second, unused copy nested under this
131
+ package.
131
132
 
132
133
  ## License
133
134
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iyulab/desktop-patterns",
3
- "version": "0.1.3",
3
+ "version": "0.2.0",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "engines": {
@@ -57,10 +57,13 @@
57
57
  "build-storybook": "storybook build"
58
58
  },
59
59
  "dependencies": {
60
- "@iyulab/desktop-compact": "^0.2.0",
61
60
  "lit": "^3.2.1"
62
61
  },
62
+ "peerDependencies": {
63
+ "@iyulab/desktop-compact": "^0.2.0 || ^0.3.0"
64
+ },
63
65
  "devDependencies": {
66
+ "@iyulab/desktop-compact": "^0.3.0",
64
67
  "@open-wc/testing": "^4.0.0",
65
68
  "@storybook/addon-essentials": "^8.3.0",
66
69
  "@storybook/web-components": "^8.3.0",