[CONTRIB] Make it easier to work on libdefs
See original GitHub issueEverytime I tried to write libdefs, I usually took one of my projects which are already using other flow-sources and then work in this project folder… which is not always ideal, since sometimes you want to use a more current version of flow
, or you depend on other libdefs
which will break then…
So I can think of these simple solutions:
- Either add the eslint / flowtype tooling to the root of this project, so whenever I work in
definitions
, my tooling works - Create a cli command which turns an empty directory to a testing facility (similar to how my
javascript-fatigue
project works… it creates me all the scruff I need to get down to work for a redux-project) - Create a pre-configured
playground
directory insideflow-typed
, which is set up with its ownpackage.json
, similar to thecli
directory
Issue Analytics
- State:
- Created 7 years ago
- Reactions:2
- Comments:14 (14 by maintainers)
Top Results From Across the Web
flow-typed/CONTRIBUTING.md at master
Contributing library definitions is as easy as sending a pull request! ToC. Understanding the definitions structure; Making a contribution. Create package ...
Read more >Why do flow-typed libdefs types not work consistently?
I'm doing this with other flow-typed types and it is working. ... x.x.js libdef from flow-typed/npm/ ; I believe that explicit imports of ......
Read more >Introducing Flow-Typed
We've built a simple CLI tool called flow-typed that helps to automate the process of finding, installing, and upgrading libdefs in your Flow ......
Read more >flow-typed - WorldLink资源网
for use with Flow. You can grab definitions directly from this GitHub repo, or you can use the CLI (currently in beta) to...
Read more >4. Deploying IPKISS libraries and PDKs in L-Edit
Use that OpenAccess library in L-Edit using the IPKISS Link for Siemens EDA ... contributions to one tape-out run), he makes a folder...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Just to sum up this whole discussion:
We want to be able to test specific libdefs with specific tests more easily and independent from existing projects.
We need a command similar to this:
Whenever I change my libdef / test-file, it should re-run the tests (similar to how mocha etc. would do it) Got this on my radar.
@ctrlplusb I agree, IMO this is something which is absolutely required for a 1.0 release… AFAIK @thejameskyle is working on a flow handbook (https://twitter.com/thejameskyle/status/751889868288978944) … maybe this would be a good opportunity to piggy-back?