Commit Graph

5 Commits

Author SHA1 Message Date
Pascal Hartig
09d0b4c841 Update tslint rules
Summary:
Make sure that we can pass with the combinations of eslint/tslint
rules.

Reviewed By: nikoant

Differential Revision: D20067199

fbshipit-source-id: 40e208f75f09a1eff584f111fbb9bc1be87dba01
2020-02-27 04:42:04 -08:00
Pascal Hartig
2ee9778a8e Bundle command scaffolding
Summary:
This sets up a basic UI for a bundling command. It checks for the source, creates an output directory if necessary and automatically creates an output name, so it should hopefully be as intuitive as possible.

There are plenty of potential error case that I don't directly handle. That's something we may want to consider in the future.

Reviewed By: nikoant

Differential Revision: D19973889

fbshipit-source-id: 5638ed0e45187c5ad567b9e2559c8befe52c6085
2020-02-25 06:07:02 -08:00
Pascal Hartig
a1260a9789 Set up oclif
Summary:
Provides some really nice helpers and generators for
multi command CLIs, including test helpers and all
sorts of output niceties. This should make it quite
easy for us to add additional sub-commands for
bundling, publishing and keeping docs for all of it.

Heroku maintains this and provides some excellent
docs, too: https://oclif.io/

My only complaint is that it's class-based but that's
effectively only the way to declare new commands and
enforces a set of required/static properties on it.

Reviewed By: nikoant

Differential Revision: D19970293

fbshipit-source-id: 4228e502198c6fd376854a90ed2f01da29e96bc2
2020-02-24 14:04:42 -08:00
Pascal Hartig
e54b8f06f8 Bump all packages
Summary: Enabling greenkeeper in the next diff.

Reviewed By: nikoant

Differential Revision: D19969790

fbshipit-source-id: 9a81c0505429512dc2e70523ab0b87eb0c6a2050
2020-02-21 03:51:18 -08:00
Pascal Hartig
6f15e29b99 Set up project skeleton for flipper-pkg
Summary: TypeScript cli tool basics.

Reviewed By: jknoxville, nikoant

Differential Revision: D19856513

fbshipit-source-id: da148d1435c09221f74dc94285b655bed53d0494
2020-02-13 09:08:41 -08:00