nuclide-prebuilt-libs
v0.6.3
Published
Nuclide's binary dependencies prebuilt for various platforms
Downloads
107
Readme
nuclide-prebuilt-libs
This repo exists to build Nuclide's binary dependencies for various architectures.
Usage in application code
const fuzzyNative = require('nuclide-prebuilt-libs/fuzzy-native');
const keytar = require('nuclide-prebuilt-libs/keytar');
const ptyjs = require('nuclide-prebuilt-libs/pty');
Publishing nuclide-prebuilt-libs
- Run
npm version patch
. - Push the base package version bump and release tag with
git push --follow-tags
. - Wait for both Travis and AppVeyor to build and upload the release artifacts.
- To test your npm release: Run
./prepublish && npm pack
- Run
npm publish
.
Things to know about sub-packages
- They're semi independent in that you can run
npm install
inside any of them to do work on one of them. - The empty
.npmignore
in the sub-packages and the"files"
field in the root package are super important. - Be careful not to fall into https://github.com/atom/atom/blob/128f661/src/package.coffee#L486-L503.
- The
"dependencies"
in the sub-packages DO NOT get installed when someone installsnuclide-prebuilt-libs
.
License
nuclide-prebuilt-libs
is Nuclide licensed, as found in the LICENSE file.