Skip to content

joerromano/nuclide-prebuilt-libs

 
 

Repository files navigation

nuclide-prebuilt-libs

Build Status AppVeyor

This repo exists to build Nuclide's binary dependencies for various architectures.

Usage in application code

const ctags = require('nuclide-prebuilt-libs/ctags');
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

  1. Bump the version in the sub-package you modified. (This is only for bookkeeping purposes).
  2. Run npm version patch.
  3. Push the base package version bump and release tag with git push --follow-tags.
  4. Wait for both Travis and AppVeyor to build and upload the release artifacts.
  5. To test your npm release: Run ./prepublish && npm pack
  6. 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 installs nuclide-prebuilt-libs.

About

Nuclide's binary dependencies

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 78.4%
  • C 7.3%
  • JavaScript 4.0%
  • Python 3.8%
  • TypeScript 2.7%
  • Makefile 1.7%
  • Other 2.1%