Skip to content

Commit

Permalink
Try moving mobile-assets and mobile-tokens to peerdependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
narin committed Jul 8, 2024
1 parent edb1d81 commit 215def7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
7 changes: 4 additions & 3 deletions packages/components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,16 +39,15 @@
},
"homepage": "https://department-of-veterans-affairs.github.io/va-mobile-library",
"dependencies": {
"@department-of-veterans-affairs/mobile-assets": "0.12.0",
"@department-of-veterans-affairs/mobile-tokens": "0.13.0",
"@os-team/i18next-react-native-language-detector": "^1.0.31",
"i18next": "^23.8.2",
"react-i18next": "^14.0.5",
"react-native-svg": "15.2.0",
"styled-components": "^6.1.8"
},
"peerDependencies": {
"@department-of-veterans-affairs/mobile-assets": "*",
"@department-of-veterans-affairs/mobile-assets": ">=0.12.0",
"@department-of-veterans-affairs/mobile-tokens": ">=0.13.0",
"react": "^18.2.0",
"react-native": ">=0.71.7",
"react-native-gesture-handler": "^2.12.0"
Expand All @@ -58,6 +57,8 @@
"@babel/plugin-transform-react-jsx": "^7.23.4",
"@babel/preset-env": "^7.23.9",
"@babel/preset-typescript": "^7.23.3",
"@department-of-veterans-affairs/mobile-assets": "0.12.0",
"@department-of-veterans-affairs/mobile-tokens": "0.13.0",
"@expo/metro-runtime": "~3.2.1",
"@expo/webpack-config": "~19.0.1",
"@react-native-async-storage/async-storage": "1.23.1",
Expand Down
3 changes: 2 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2202,7 +2202,8 @@ __metadata:
ts-jest: "npm:^29.1.2"
typescript: "npm:^5.3.3"
peerDependencies:
"@department-of-veterans-affairs/mobile-assets": "*"
"@department-of-veterans-affairs/mobile-assets": ">=0.12.0"
"@department-of-veterans-affairs/mobile-tokens": ">=0.13.0"
react: ^18.2.0
react-native: ">=0.71.7"
react-native-gesture-handler: ^2.12.0
Expand Down

0 comments on commit 215def7

Please sign in to comment.