Skip to content

Commit da1108d

Browse files
Pierre PoupinAlmouro
authored andcommitted
chore: add formik as peer dependency (#23)
* chore: add formik as peer dependency * docs: add formik installation
1 parent 775383b commit da1108d

3 files changed

Lines changed: 32 additions & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ This repository is a set of high order components designed to help you take cont
3030
## Installation
3131

3232
```shell
33-
yarn add react-native-formik
33+
yarn add formik react-native-formik
3434
```
3535

3636
## Advanced Example

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,5 +56,8 @@
5656
"commitizen": {
5757
"path": "./node_modules/cz-conventional-changelog"
5858
}
59+
},
60+
"peerDependencies": {
61+
"formik": ">= 0.11.x < 2"
5962
}
6063
}

yarn.lock

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2719,6 +2719,16 @@ form-data@~2.3.1:
27192719
combined-stream "1.0.6"
27202720
mime-types "^2.1.12"
27212721

2722+
formik@^0.11.11:
2723+
version "0.11.11"
2724+
resolved "https://registry.yarnpkg.com/formik/-/formik-0.11.11.tgz#4b02838133c0196b1ef443aa973766cd097ec4a5"
2725+
dependencies:
2726+
lodash.clonedeep "^4.5.0"
2727+
lodash.isequal "4.5.0"
2728+
lodash.topath "4.5.2"
2729+
prop-types "^15.5.10"
2730+
warning "^3.0.0"
2731+
27222732
fragment-cache@^0.2.1:
27232733
version "0.2.1"
27242734
resolved "https://registry.yarnpkg.com/fragment-cache/-/fragment-cache-0.2.1.tgz#4290fad27f13e89be7f33799c6bc5a0abfff0d19"
@@ -4310,6 +4320,10 @@ lodash.assign@^4.2.0:
43104320
version "4.2.0"
43114321
resolved "https://registry.yarnpkg.com/lodash.assign/-/lodash.assign-4.2.0.tgz#0d99f3ccd7a6d261d19bdaeb9245005d285808e7"
43124322

4323+
lodash.clonedeep@^4.5.0:
4324+
version "4.5.0"
4325+
resolved "https://registry.yarnpkg.com/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz#e23f3f9c4f8fbdde872529c1071857a086e5ccef"
4326+
43134327
lodash.escape@^3.0.0:
43144328
version "3.2.0"
43154329
resolved "https://registry.yarnpkg.com/lodash.escape/-/lodash.escape-3.2.0.tgz#995ee0dc18c1b48cc92effae71a10aab5b487698"
@@ -4328,6 +4342,10 @@ lodash.isarray@^3.0.0:
43284342
version "3.0.4"
43294343
resolved "https://registry.yarnpkg.com/lodash.isarray/-/lodash.isarray-3.0.4.tgz#79e4eb88c36a8122af86f844aa9bcd851b5fbb55"
43304344

4345+
lodash.isequal@4.5.0:
4346+
version "4.5.0"
4347+
resolved "https://registry.yarnpkg.com/lodash.isequal/-/lodash.isequal-4.5.0.tgz#415c4478f2bcc30120c22ce10ed3226f7d3e18e0"
4348+
43314349
lodash.keys@^3.0.0:
43324350
version "3.1.2"
43334351
resolved "https://registry.yarnpkg.com/lodash.keys/-/lodash.keys-3.1.2.tgz#4dbc0472b156be50a0b286855d1bd0b0c656098a"
@@ -4389,6 +4407,10 @@ lodash.toarray@^4.4.0:
43894407
version "4.4.0"
43904408
resolved "https://registry.yarnpkg.com/lodash.toarray/-/lodash.toarray-4.4.0.tgz#24c4bfcd6b2fba38bfd0594db1179d8e9b656561"
43914409

4410+
lodash.topath@4.5.2:
4411+
version "4.5.2"
4412+
resolved "https://registry.yarnpkg.com/lodash.topath/-/lodash.topath-4.5.2.tgz#3616351f3bba61994a0931989660bd03254fd009"
4413+
43924414
lodash@4.17.2:
43934415
version "4.17.2"
43944416
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.2.tgz#34a3055babe04ce42467b607d700072c7ff6bf42"
@@ -6919,6 +6941,12 @@ walker@~1.0.5:
69196941
dependencies:
69206942
makeerror "1.0.x"
69216943

6944+
warning@^3.0.0:
6945+
version "3.0.0"
6946+
resolved "https://registry.yarnpkg.com/warning/-/warning-3.0.0.tgz#32e5377cb572de4ab04753bdf8821c01ed605b7c"
6947+
dependencies:
6948+
loose-envify "^1.0.0"
6949+
69226950
watch@~0.18.0:
69236951
version "0.18.0"
69246952
resolved "https://registry.yarnpkg.com/watch/-/watch-0.18.0.tgz#28095476c6df7c90c963138990c0a5423eb4b986"

0 commit comments

Comments
 (0)