Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): bump react-native-paper to 5.12.5 #606

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/snack-sdk/src/__fixtures__/snackager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ const config: SnackagerConfig = {
'@react-navigation/[email protected]': {
peerDependencies,
},
'react-native-paper@3.10.1': {
'react-native-paper@5.12.5': {
peerDependencies: {
...peerDependencies,
'@expo/vector-icons': null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ Object {
"wantedVersion": "~11.10.3",
},
"react-native-paper": Object {
"handle": "snackager-1/react-native-paper@3.10.1",
"handle": "snackager-1/react-native-paper@5.12.5",
"peerDependencies": Object {
"@expo/vector-icons": null,
"react": "*",
"react-native": "*",
},
"version": "3.10.1",
"version": "5.12.5",
},
}
`;
Expand Down Expand Up @@ -77,13 +77,13 @@ Object {
"version": "5.1.1",
},
"react-native-paper": Object {
"handle": "snackager-1/react-native-paper@3.10.1",
"handle": "snackager-1/react-native-paper@5.12.5",
"peerDependencies": Object {
"@expo/vector-icons": null,
"react": "*",
"react-native": "*",
},
"version": "3.10.1",
"version": "5.12.5",
},
}
`;
Expand Down Expand Up @@ -179,13 +179,13 @@ Object {
"wantedVersion": "~11.10.3",
},
"react-native-paper": Object {
"handle": "snackager-1/react-native-paper@3.10.1",
"handle": "snackager-1/react-native-paper@5.12.5",
"peerDependencies": Object {
"@expo/vector-icons": null,
"react": "*",
"react-native": "*",
},
"version": "3.10.1",
"version": "5.12.5",
},
}
`;
Expand Down
2 changes: 1 addition & 1 deletion packages/snack-sdk/src/__tests__/code-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ describe('code', () => {
dependencies: {
'expo-font': { version: '8.1.0' },
'@react-navigation/native': { version: '5.1.1' },
'react-native-paper': { version: '3.10.1' },
'react-native-paper': { version: '5.12.5' },
},
});
const transport = Transport.instances[0];
Expand Down
6 changes: 3 additions & 3 deletions packages/snack-sdk/src/__tests__/dependencies-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ describe('dependencies', () => {
dependencies: {
'expo-font': { version: '~10.0.4' },
'@react-navigation/native': { version: '5.1.1' },
'react-native-paper': { version: '3.10.1' },
'react-native-paper': { version: '5.12.5' },
},
});
const state = await snack.getStateAsync();
Expand Down Expand Up @@ -73,7 +73,7 @@ describe('dependencies', () => {
snack.updateDependencies({
'expo-font': { version: '8.1.0' },
'@react-navigation/native': { version: '5.1.1' },
'react-native-paper': { version: '3.10.1' },
'react-native-paper': { version: '5.12.5' },
});
const state = await snack.getStateAsync();
expect(Object.keys(state.dependencies).length).toBe(3);
Expand All @@ -85,7 +85,7 @@ describe('dependencies', () => {
snack.updateDependencies({
'expo-font': { version: '8.1.0' },
'@react-navigation/native': { version: '5.1.1' },
'react-native-paper': { version: '3.10.1' },
'react-native-paper': { version: '5.12.5' },
});
snack.updateDependencies({
'expo-font': null,
Expand Down
2 changes: 1 addition & 1 deletion snackager/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ To get a bundle, do a `GET` request with the following format:
Example:

```sh
curl "http://localhost:3012/bundle/react-native-paper@4.1.0?platforms=ios,android,web"
curl "http://localhost:3012/bundle/react-native-paper@5.12.5?platforms=ios,android,web"
```

You can specify a semver range in `[version]`, e.g. - `^12.4.5`, or omit it to get the `latest` version.
Expand Down
4 changes: 2 additions & 2 deletions website/src/client/configs/defaults.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -105,10 +105,10 @@ Snack is Open Source. You can find the code on the [GitHub repo](https://github.

export const DEFAULT_DEPENDENCIES: SnackDependencies = {
'react-native-paper': {
version: '4.9.2',
version: '5.12.5',
// The handle ensures that the dependency doesn't need to be resolved
// on startup
handle: 'snackager-1/react-native-paper@4.9.2',
handle: 'snackager-1/react-native-paper@5.12.5',
},
'@expo/vector-icons': {
version: '*',
Expand Down