diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 80328b02..04e85d8c 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -113,7 +113,7 @@ When you're sending a pull request: Maintainers with write access to the GitHub repo and the npm organization can publish new versions. To publish a new version, first, you need to export a `GH_TOKEN` environment variable as mentioned [here](https://github.com/lerna/lerna/tree/master/commands/version#--create-release-type). Then run: ```sh -yarn lerna publish +yarn release ``` This will automatically bump the version and publish the packages. It'll also publish the changelogs on GitHub for each package. diff --git a/package.json b/package.json index 18619050..10be4c32 100644 --- a/package.json +++ b/package.json @@ -20,6 +20,7 @@ "lint": "eslint --ext '.js,.ts,.tsx' .", "typescript": "tsc --noEmit", "test": "jest", + "release": "lerna publish", "example": "yarn --cwd example" }, "devDependencies": { diff --git a/packages/bottom-tabs/package.json b/packages/bottom-tabs/package.json index 6d05f1ae..a782b5c2 100644 --- a/packages/bottom-tabs/package.json +++ b/packages/bottom-tabs/package.json @@ -1,6 +1,7 @@ { "name": "@react-navigation/bottom-tabs", "description": "Bottom tab navigator following iOS design guidelines", + "version": "5.0.5", "keywords": [ "react-native-component", "react-component", @@ -10,7 +11,6 @@ "android", "tab" ], - "version": "5.0.4", "license": "MIT", "repository": "https://github.com/react-navigation/react-navigation/tree/master/packages/bottom-tabs", "main": "lib/commonjs/index.js", @@ -46,7 +46,7 @@ "typescript": "^3.7.5" }, "peerDependencies": { - "@react-navigation/native": "^5.0.0", + "@react-navigation/native": "^5.0.5", "react": "*", "react-native": "*", "react-native-safe-area-context": ">= 0.6.0" diff --git a/packages/compat/package.json b/packages/compat/package.json index 19d1242f..be85793e 100644 --- a/packages/compat/package.json +++ b/packages/compat/package.json @@ -1,7 +1,7 @@ { "name": "@react-navigation/compat", "description": "Compatibility layer to write navigator definitions in static configuration format", - "version": "5.0.4", + "version": "5.0.5", "license": "MIT", "repository": "https://github.com/react-navigation/react-navigation/tree/master/packages/compat", "bugs": { @@ -32,7 +32,7 @@ "typescript": "^3.7.5" }, "peerDependencies": { - "@react-navigation/native": "^5.0.0", + "@react-navigation/native": "^5.0.5", "react": "*" }, "@react-native-community/bob": { diff --git a/packages/core/package.json b/packages/core/package.json index 886fcbff..88ec1f31 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,7 +1,7 @@ { "name": "@react-navigation/core", "description": "Core utilities for building navigators", - "version": "5.1.3", + "version": "5.1.4", "keywords": [ "react", "react-native", diff --git a/packages/drawer/package.json b/packages/drawer/package.json index 056f04e1..f45de1b9 100644 --- a/packages/drawer/package.json +++ b/packages/drawer/package.json @@ -1,7 +1,7 @@ { "name": "@react-navigation/drawer", "description": "Drawer navigator component with animated transitions and gesturess", - "version": "5.0.4", + "version": "5.0.5", "keywords": [ "react-native-component", "react-component", @@ -53,7 +53,7 @@ "typescript": "^3.7.5" }, "peerDependencies": { - "@react-navigation/native": "^5.0.0", + "@react-navigation/native": "^5.0.5", "react": "*", "react-native": "*", "react-native-gesture-handler": ">= 1.0.0", diff --git a/packages/material-bottom-tabs/package.json b/packages/material-bottom-tabs/package.json index 65d77c9c..60a799c1 100644 --- a/packages/material-bottom-tabs/package.json +++ b/packages/material-bottom-tabs/package.json @@ -1,7 +1,7 @@ { "name": "@react-navigation/material-bottom-tabs", "description": "Integration for bottom navigation component from react-native-paper", - "version": "5.0.4", + "version": "5.0.5", "keywords": [ "react-native-component", "react-component", @@ -48,7 +48,7 @@ "typescript": "^3.7.5" }, "peerDependencies": { - "@react-navigation/native": "^5.0.0", + "@react-navigation/native": "^5.0.5", "react": "*", "react-native": "*", "react-native-paper": ">= 3.0.0", diff --git a/packages/material-top-tabs/package.json b/packages/material-top-tabs/package.json index 091e0121..8955efa0 100644 --- a/packages/material-top-tabs/package.json +++ b/packages/material-top-tabs/package.json @@ -1,7 +1,7 @@ { "name": "@react-navigation/material-top-tabs", "description": "Integration for the animated tab view component from react-native-tab-view", - "version": "5.0.4", + "version": "5.0.5", "keywords": [ "react-native-component", "react-component", @@ -51,7 +51,7 @@ "typescript": "^3.7.5" }, "peerDependencies": { - "@react-navigation/native": "^5.0.0", + "@react-navigation/native": "^5.0.5", "react": "*", "react-native": "*", "react-native-gesture-handler": ">= 1.0.0", diff --git a/packages/native/package.json b/packages/native/package.json index 0d18d45a..cdfc247f 100644 --- a/packages/native/package.json +++ b/packages/native/package.json @@ -1,7 +1,7 @@ { "name": "@react-navigation/native", "description": "React Native integration for React Navigation", - "version": "5.0.4", + "version": "5.0.5", "keywords": [ "react-native", "react-navigation", diff --git a/packages/stack/package.json b/packages/stack/package.json index 4923a7e7..ad61fa3b 100644 --- a/packages/stack/package.json +++ b/packages/stack/package.json @@ -1,7 +1,7 @@ { "name": "@react-navigation/stack", "description": "Stack navigator component for iOS and Android with animated transitions and gestures", - "version": "5.0.4", + "version": "5.0.5", "keywords": [ "react-native-component", "react-component", @@ -54,7 +54,7 @@ }, "peerDependencies": { "@react-native-community/masked-view": ">= 0.1.0", - "@react-navigation/native": "^5.0.0", + "@react-navigation/native": "^5.0.5", "react": "*", "react-native": "*", "react-native-gesture-handler": ">= 1.0.0",