GithubHelp home page GithubHelp logo

kryndex / flow-bin Goto Github PK

View Code? Open in Web Editor NEW

This project forked from flow/flow-bin

0.0 2.0 0.0 65 KB

Binary wrapper for Flow - A static type checker for JavaScript

Home Page: http://flowtype.org

License: Other

Makefile 25.77% JavaScript 74.23%

flow-bin's Introduction

flow-bin Build Status

Binary wrapper for Flow - A static type checker for JavaScript

OS X, Linux (64-bit) and Windows binaries are currently provided.

CLI

$ npm install --global flow-bin
$ flow --help

API

$ npm install --save flow-bin
const execFile = require('child_process').execFile;
const flow = require('flow-bin');

execFile(flow, ['check'], (err, stdout) => {
	console.log(stdout);
});

License

flow-bin is BSD-licensed. We also provide an additional patent grant.

Releases

New Release

  1. Update the "version" in package.json to reflect the flow version to publish. (For now, flow-bin's version is also the version of the flow binary).
  2. Run make.
  • There should be 2 uncommitted changes at this point: SHASUM256.txt and package.json.
  1. Commit the changes with the message Updated binary to v0.30.0, with the correct version.
  2. Push/merge to master.
  3. Tag the update:
git checkout master &&
git pull &&
make test &&
git tag v$(node -p 'require("./package.json").version') &&
git push v$(node -p 'require("./package.json").version')
  1. Publish to npm.

Inspect a Release Before Publishing

npm pack
tar xf "flow-bin-$(node -p 'require("./package.json").version').tgz"
cd package
npm run verify

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.