Skip to content

Commit

Permalink
fix(deps): update dependencies to use wildcard versions (#5)
Browse files Browse the repository at this point in the history
- Changed package dependencies from workspace references to wildcard
versions ("*") in `package.json` files across all packages.
- Updated dependencies to use `"*"` instead of `"workspace:^"` for
better flexibility in resolving package versions.
- Ensured consistency in how internal package dependencies are
specified.
  • Loading branch information
dmitr1sdae authored Aug 23, 2024
2 parents 332ed24 + a80c6ae commit 206f43d
Show file tree
Hide file tree
Showing 9 changed files with 21 additions and 21 deletions.
6 changes: 3 additions & 3 deletions packages/avatar/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@
"publish": "yarn npm publish --tolerate-republish"
},
"dependencies": {
"@norns-ui/hooks": "workspace:^",
"@norns-ui/norn": "workspace:^",
"@norns-ui/shared": "workspace:^",
"@norns-ui/hooks": "*",
"@norns-ui/norn": "*",
"@norns-ui/shared": "*",
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
Expand Down
6 changes: 3 additions & 3 deletions packages/collection/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@
"publish": "yarn npm publish --tolerate-republish"
},
"dependencies": {
"@norns-ui/hooks": "workspace:^",
"@norns-ui/shared": "workspace:^",
"@norns-ui/slot": "workspace:^",
"@norns-ui/hooks": "*",
"@norns-ui/shared": "*",
"@norns-ui/slot": "*",
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
Expand Down
6 changes: 3 additions & 3 deletions packages/dismissable-layer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@
"publish": "yarn npm publish --tolerate-republish"
},
"dependencies": {
"@norns-ui/hooks": "workspace:^",
"@norns-ui/norn": "workspace:^",
"@norns-ui/shared": "workspace:^",
"@norns-ui/hooks": "*",
"@norns-ui/norn": "*",
"@norns-ui/shared": "*",
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/hooks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"publish": "yarn npm publish --tolerate-republish"
},
"dependencies": {
"@norns-ui/shared": "workspace:^",
"@norns-ui/shared": "*",
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
Expand Down
14 changes: 7 additions & 7 deletions packages/navigation-menu/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@
"publish": "yarn npm publish --tolerate-republish"
},
"dependencies": {
"@norns-ui/collection": "workspace:^",
"@norns-ui/dismissable-layer": "workspace:^",
"@norns-ui/hooks": "workspace:^",
"@norns-ui/norn": "workspace:^",
"@norns-ui/presence": "workspace:^",
"@norns-ui/shared": "workspace:^",
"@norns-ui/visually-hidden": "workspace:^",
"@norns-ui/collection": "*",
"@norns-ui/dismissable-layer": "*",
"@norns-ui/hooks": "*",
"@norns-ui/norn": "*",
"@norns-ui/presence": "*",
"@norns-ui/shared": "*",
"@norns-ui/visually-hidden": "*",
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/norn/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"publish": "yarn npm publish --tolerate-republish"
},
"dependencies": {
"@norns-ui/slot": "workspace:^",
"@norns-ui/slot": "*",
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/presence/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"publish": "yarn npm publish --tolerate-republish"
},
"dependencies": {
"@norns-ui/hooks": "workspace:^",
"@norns-ui/hooks": "*",
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/slot/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"publish": "yarn npm publish --tolerate-republish"
},
"dependencies": {
"@norns-ui/shared": "workspace:^",
"@norns-ui/shared": "*",
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/visually-hidden/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"publish": "yarn npm publish --tolerate-republish"
},
"dependencies": {
"@norns-ui/norn": "workspace:^",
"@norns-ui/norn": "*",
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
Expand Down

0 comments on commit 206f43d

Please sign in to comment.