Skip to content
This repository has been archived by the owner on Feb 8, 2020. It is now read-only.

Commit

Permalink
fix: fix peer deps and add git urls
Browse files Browse the repository at this point in the history
  • Loading branch information
satya164 committed Aug 21, 2019
1 parent c1a2fd6 commit 6b4fc74
Show file tree
Hide file tree
Showing 14 changed files with 67 additions and 17 deletions.
2 changes: 1 addition & 1 deletion packages/bottom-tabs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Bottom tab navigator for React Navigation following iOS design guidelines.
Open a Terminal in your project's folder and run,

```sh
yarn add @react-navigation/bottom-tabs
yarn add @react-navigation/core @react-navigation/bottom-tabs
```

## Usage
Expand Down
7 changes: 6 additions & 1 deletion packages/bottom-tabs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@
],
"version": "5.0.0-alpha.0",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/react-navigation/navigation-ex.git",
"directory": "packages/bottom-tabs"
},
"main": "lib/commonjs/index.js",
"react-native": "src/index.tsx",
"module": "lib/module/index.js",
Expand All @@ -28,7 +33,6 @@
"clean": "del lib"
},
"dependencies": {
"@react-navigation/core": "^5.0.0-alpha.0",
"@react-navigation/routers": "^5.0.0-alpha.0",
"react-native-safe-area-view": "^0.14.6"
},
Expand All @@ -42,6 +46,7 @@
"typescript": "^3.5.3"
},
"peerDependencies": {
"@react-navigation/core": "^5.0.0-alpha.0",
"react": "*",
"react-native": "*"
},
Expand Down
5 changes: 5 additions & 0 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@
],
"version": "5.0.0-alpha.0",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/react-navigation/navigation-ex.git",
"directory": "packages/core"
},
"main": "lib/commonjs/index.js",
"react-native": "src/index.tsx",
"module": "lib/module/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/drawer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Bottom tab navigator for React Navigation following iOS design guidelines.
Open a Terminal in your project's folder and run,

```sh
yarn add @react-navigation/drawer
yarn add @react-navigation/core @react-navigation/drawer
```

Now we need to install [`react-native-gesture-handler`](https://github.com/kmagiera/react-native-gesture-handler) and [`react-native-reanimated`](https://github.com/kmagiera/react-native-reanimated).
Expand Down
12 changes: 10 additions & 2 deletions packages/drawer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@
],
"version": "5.0.0-alpha.0",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/react-navigation/navigation-ex.git",
"directory": "packages/drawer"
},
"main": "lib/commonjs/index.js",
"react-native": "src/index.tsx",
"module": "lib/module/index.js",
Expand All @@ -29,7 +34,6 @@
"clean": "del lib"
},
"dependencies": {
"@react-navigation/core": "^5.0.0-alpha.0",
"@react-navigation/routers": "^5.0.0-alpha.0",
"react-native-safe-area-view": "^0.14.6"
},
Expand All @@ -46,8 +50,12 @@
"typescript": "^3.5.3"
},
"peerDependencies": {
"@react-navigation/core": "^5.0.0-alpha.0",
"react": "*",
"react-native": "*"
"react-native": "*",
"react-native-gesture-handler": "^1.0.0",
"react-native-reanimated": "^1.0.0",
"react-native-screens": "^1.0.0-alpha.0"
},
"@react-native-community/bob": {
"source": "src",
Expand Down
2 changes: 1 addition & 1 deletion packages/material-bottom-tabs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ React Navigation integration for [bottom navigation](https://material.io/design/
Open a Terminal in your project's folder and run,

```sh
yarn add @react-navigation/material-bottom-tabs
yarn add @react-navigation/core @react-navigation/material-bottom-tabs
```

Setup `react-native-paper` following the [Getting Started guide](https://callstack.github.io/react-native-paper/getting-started.html).
Expand Down
7 changes: 6 additions & 1 deletion packages/material-bottom-tabs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@
],
"version": "5.0.0-alpha.0",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/react-navigation/navigation-ex.git",
"directory": "packages/material-bottom-tabs"
},
"main": "lib/commonjs/index.js",
"react-native": "src/index.tsx",
"module": "lib/module/index.js",
Expand All @@ -29,7 +34,6 @@
"clean": "del lib"
},
"dependencies": {
"@react-navigation/core": "^5.0.0-alpha.0",
"@react-navigation/routers": "^5.0.0-alpha.0"
},
"devDependencies": {
Expand All @@ -45,6 +49,7 @@
"typescript": "^3.5.3"
},
"peerDependencies": {
"@react-navigation/core": "^5.0.0-alpha.0",
"react": "*",
"react-native": "*",
"react-native-paper": "^3.0.0-alpha.3",
Expand Down
2 changes: 1 addition & 1 deletion packages/material-top-tabs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ React Navigation integration for animated tab view component from [`react-native
Open a Terminal in your project's folder and run,

```sh
yarn add @react-navigation/material-top-tabs react-native-tab-view
yarn add @react-navigation/core @react-navigation/material-top-tabs react-native-tab-view
```

Now we need to install [`react-native-gesture-handler`](https://github.com/kmagiera/react-native-gesture-handler) and [`react-native-reanimated`](https://github.com/kmagiera/react-native-reanimated).
Expand Down
10 changes: 9 additions & 1 deletion packages/material-top-tabs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@
],
"version": "5.0.0-alpha.0",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/react-navigation/navigation-ex.git",
"directory": "packages/material-top-tabs"
},
"main": "lib/commonjs/index.js",
"react-native": "src/index.tsx",
"module": "lib/module/index.js",
Expand All @@ -29,7 +34,6 @@
"clean": "del lib"
},
"dependencies": {
"@react-navigation/core": "^5.0.0-alpha.0",
"@react-navigation/routers": "^5.0.0-alpha.0"
},
"devDependencies": {
Expand All @@ -39,13 +43,17 @@
"del-cli": "^2.0.0",
"react": "16.8.3",
"react-native": "^0.59.8",
"react-native-gesture-handler": "^1.3.0",
"react-native-reanimated": "^1.1.0",
"react-native-tab-view": "^2.10.0",
"typescript": "^3.5.3"
},
"peerDependencies": {
"@react-navigation/core": "^5.0.0-alpha.0",
"react": "*",
"react-native": "*",
"react-native-gesture-handler": "^1.0.0",
"react-native-reanimated": "^1.0.0",
"react-native-tab-view": "^2.10.0"
},
"@react-native-community/bob": {
Expand Down
2 changes: 1 addition & 1 deletion packages/native/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ React Native integration for React Navigation
Open a Terminal in your project's folder and run,

```sh
yarn add @react-navigation/native
yarn add @react-navigation/core @react-navigation/native
```

## Usage
Expand Down
9 changes: 6 additions & 3 deletions packages/native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@
],
"version": "5.0.0-alpha.0",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/react-navigation/navigation-ex.git",
"directory": "packages/native"
},
"main": "lib/commonjs/index.js",
"react-native": "src/index.tsx",
"module": "lib/module/index.js",
Expand All @@ -24,9 +29,6 @@
"prepare": "bob build",
"clean": "del lib"
},
"dependencies": {
"@react-navigation/core": "^5.0.0-alpha.0"
},
"devDependencies": {
"@react-native-community/bob": "^0.7.0",
"@types/react": "^16.8.24",
Expand All @@ -37,6 +39,7 @@
"typescript": "^3.5.3"
},
"peerDependencies": {
"@react-navigation/core": "^5.0.0-alpha.0",
"react": "*",
"react-native": "*"
},
Expand Down
9 changes: 8 additions & 1 deletion packages/routers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@
],
"version": "5.0.0-alpha.0",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/react-navigation/navigation-ex.git",
"directory": "packages/routers"
},
"main": "lib/commonjs/index.js",
"react-native": "src/index.tsx",
"module": "lib/module/index.js",
Expand All @@ -24,14 +29,16 @@
"clean": "del lib"
},
"dependencies": {
"@react-navigation/core": "^5.0.0-alpha.0",
"shortid": "^2.2.14"
},
"devDependencies": {
"@react-native-community/bob": "^0.7.0",
"del-cli": "^2.0.0",
"typescript": "^3.5.3"
},
"peerDependencies": {
"@react-navigation/core": "^5.0.0-alpha.0"
},
"@react-native-community/bob": {
"source": "src",
"output": "lib",
Expand Down
2 changes: 1 addition & 1 deletion packages/stack/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Bottom tab navigator for React Navigation following iOS design guidelines.
Open a Terminal in your project's folder and run,

```sh
yarn add @react-navigation/stack
yarn add @react-navigation/core @react-navigation/stack @react-native-community/masked-view
```

Now we need to install [`react-native-gesture-handler`](https://github.com/kmagiera/react-native-gesture-handler) and [`react-native-reanimated`](https://github.com/kmagiera/react-native-reanimated).
Expand Down
13 changes: 11 additions & 2 deletions packages/stack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@
],
"version": "5.0.0-alpha.0",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/react-navigation/navigation-ex.git",
"directory": "packages/stack"
},
"main": "lib/commonjs/index.js",
"react-native": "src/index.tsx",
"module": "lib/module/index.js",
Expand All @@ -28,7 +33,6 @@
"clean": "del lib"
},
"dependencies": {
"@react-navigation/core": "^5.0.0-alpha.0",
"@react-navigation/routers": "^5.0.0-alpha.0",
"react-native-safe-area-view": "^0.14.6"
},
Expand All @@ -46,8 +50,13 @@
"typescript": "^3.5.3"
},
"peerDependencies": {
"@react-native-community/masked-view": "^0.1.1",
"@react-navigation/core": "^5.0.0-alpha.0",
"react": "*",
"react-native": "*"
"react-native": "*",
"react-native-gesture-handler": "^1.0.0",
"react-native-reanimated": "^1.0.0",
"react-native-screens": "^1.0.0-alpha.0"
},
"@react-native-community/bob": {
"source": "src",
Expand Down

0 comments on commit 6b4fc74

Please sign in to comment.