Commit Graph

11 Commits

Author SHA1 Message Date
Pascal Hartig
07f1ddb1c4 Disable lint pkg (#867)
Summary:
This is too aggressive right now.
Pull Request resolved: https://github.com/facebook/flipper/pull/867

Reviewed By: nikoant

Differential Revision: D20279641

Pulled By: passy

fbshipit-source-id: cdf1d65f0d4137ab689d228846e9c20ec1230b1a
2020-03-05 05:41:29 -08:00
Anton Nikolaev
3ddd1c14f2 Bundle operation implementation
Summary: Plugin bundling operation implemented in flipper-pkg

Reviewed By: passy

Differential Revision: D20191845

fbshipit-source-id: 6a7156debf96668c323dcb740b33542f129f0689
2020-03-02 10:29:09 -08:00
greenkeeper[bot]
6766fb9d56 Update @types/node in group pkg to the latest version � (#841)
Summary:
## The dependency [types/node](https://github.com/DefinitelyTyped/DefinitelyTyped) was updated from `12.12.28` to `13.7.5`.
This version is **not covered** by your **current version range**.

If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.

 ---

**Publisher:** [types](https://www.npmjs.com/~types)
**License:** MIT

[Find out more about this release](https://github.com/DefinitelyTyped/DefinitelyTyped).

 ---

<details>
  <summary>FAQ and help</summary>

  There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html). If those don’t help, you can always [ask the humans behind Greenkeeper](https://github.com/greenkeeperio/greenkeeper/issues/new).
</details>

 ---

Your [Greenkeeper](https://greenkeeper.io) bot 🌴
Pull Request resolved: https://github.com/facebook/flipper/pull/841

Reviewed By: mweststrate

Differential Revision: D20184881

Pulled By: passy

fbshipit-source-id: e08d8bda9f9382bd5c9f2c44759a4a778f4de156
2020-03-02 07:59:56 -08:00
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
16a24d82c8 Update jest config
Summary:
We don't want to test again against the compiled JS output.
Also, we *do* want to fail if we break the config and don't
actually run any tests.

Reviewed By: nikoant

Differential Revision: D20068114

fbshipit-source-id: c46e5a25fcd155d160f717a9db8f088787913a28
2020-02-24 07:22:49 -08:00
Pascal Hartig
05a1c70bc7 Set up separate cli tool
Summary:
Discussed that we want this to be both a library and a CLI
tool. Also added a README stub.

Reviewed By: nikoant

Differential Revision: D19969788

fbshipit-source-id: 2c54935ce5953d2053c7bdf601debe0e5e911647
2020-02-21 03:51:19 -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
96c4d24cb9 Add boilerplate test
Summary: To verify that the infra is working.

Reviewed By: mweststrate

Differential Revision: D19881083

fbshipit-source-id: 92d5f55ecbef84003b6000b4c95df1fe0518719c
2020-02-14 12:52:49 -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