Releases: rnpm/rnpm-plugin-link
v1.8.0
v1.7.4
v1.7.3
v1.6.6
v1.6.2
1.5.2
v1.5.0
Features
rnpm unlink
It's a big week for rnpm-link! Today we are landing ability to unlink any library from your project. Love testing? Now you can easily swap & test libraries w/o worrying about your project settings.
Just run:
$ rnpm unlink react-native-blur
and see the magic happening!
PS. Unlinking reverts all changes made by link, that means git diff
should produce no changes at all.
Better messages
We now not only print out informations when (un)linking starts, but also when it finishes, so that you no longer have to check if project has been linked manually.
Future improvements
Later this week we are planning to roll out a small fix to #21 bug which may cause some assets being dropped if multiple dependencies declare the same resources (e.g. two packages use fonts awesome and you unlink one of them). Since that's a really rare case, it's likely you are not going to be affected.
Upgrading
To upgrade, just reinstall rnpm
with
npm install -g rnpm
and new rnpm-link package will be loaded automatically.
v1.3.2
Features
This release adds support for project assets, in order to copy your project asset automatically, just define the following:
{
"rnpm": {
"assets": ["Fonts/"]
}
}
in your package.json.
You can also define some paths from node_modules
to copy fonts from projects that do not expose assets
for rnpm
yet, e.g.:
{
"rnpm": {
"assets": ["node_modules/react-native-vector-icons/Fonts"]
}
}
Don't worry when the package author starts supporting rnpm
, we will handle duplicates for you.
We also ship with more unit tests and are constantly making rnpm link
more stable.
We also automatically create Resources
group for you behind the scenes, meaning the warning when copying assets is no longer present.
Bug fixes
We now also ignore Pods
folder when looking for headers. That fixes wrong path from being added to your header search paths.
Upgrading
No action required for upgrading. This version is automatically installed with rnpm
. To update, simply rnpm install -g rnpm
.
Contributors
v1.2.0
Features
This release adds support for automatically adding folders to headerSearchPaths (iOS) when linked library contains some native header files. It also ships with unit-tests and constantly becomes more stable.
Bug fixes
Message about linking assets
is no longer printed when the linked library does not export them.