Skip to content

fix(deps): update dependency rnpm to v1.9.0 #9

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mend-5034428[bot]
Copy link

@mend-5034428 mend-5034428 bot commented Oct 18, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
rnpm 1.6.5 -> 1.9.0 age adoption passing confidence

Release Notes

rnpm/rnpm (rnpm)

v1.9.0

Compare Source

Since React Native (and therefore rnpm) expects native modules to be linked in as static libraries, it's up to the application to link to the shared libraries that the static library might need (frameworks seem to be automatically handled by the module auto-linking feature). As a native module author, you can provide additional setup instructions or try to automate it yourself, like realm does in their postlink script here.

Thanks to @​appden from realm team, this is now getting automated by rnpm so that you can specify an array of shared libraries to link:

"rnpm": {
  "ios": {
    "sharedLibraries": ["libc++", "libxml2", "libz"]
  }
}

It is also fully supported by the unlink part.

v1.8.0: 1.8.0

Compare Source

This release adds support for flags in the custom rnpm plugins.

Simply define an array of options, like the one below:

options: [{
  flags: '-L, --list [path]',
  description: 'List flag',
  parse: (val) => val.split(',').map(Number),
  default: [1,2,3],
}],

and your exported function will now receive a 3rd argument which will be an object containing list property (which is an array).

E.g. when run rnpm plugin, the list will be [1,2,3]. When run rnpm plugin --list=1,4,5, the list will be [1,4,5].

Note: parse and default are optional.

v1.7.0

Compare Source

This release adds uninstall command, it's an equivalent of these two steps run manually:

$ rnpm unlink abc
$ npm uninstall abc

We have also fixed a bunch of Android edge-cases and improved general compatibility with Node v6 - you can check more details here -> https://github.com/rnpm/rnpm-plugin-link/releases/tag/v1.7.4


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

disabled

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants