Skip to content

Releases: rnpm/rnpm-plugin-link

v1.8.0

11 Jun 13:08
Compare
Choose a tag to compare

Thanks to @appden we now support linking shared libraries for all iOS projects!

v1.7.4

03 May 11:05
Compare
Choose a tag to compare
  • Node v6 fixes
  • Better build.gradle dependencies { detection #75 bd8edc1
  • Preserve line breaks in settings gradle 35f48bc
  • Better DX in unlink command and translation tweaks fa1d6a7

v1.7.3

30 Apr 13:54
Compare
Choose a tag to compare

This version fixes Node v6 compatibility issues

v1.6.6

31 Mar 06:03
Compare
Choose a tag to compare

v1.6.2

19 Mar 20:08
Compare
Choose a tag to compare

This release fixes incorrect paths added to settings.gradle on Windows.

1.5.2

29 Jan 18:17
Compare
Choose a tag to compare

Features

This release adds support for breaking changes to main activity introduced in React 0.18.

v1.5.0

22 Jan 14:28
Compare
Choose a tag to compare

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

09 Dec 08:42
Compare
Choose a tag to compare

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

@grabbou @Kureev @ptmt

v1.2.0

30 Nov 19:49
Compare
Choose a tag to compare

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.