New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bump parcel cli dependencies #5615
Conversation
|
Chalk has the types included in its package. Doesn't flow understand typescript types? |
No, Flow doesn't understand Typescript definitons. It the API hasn't changed (much), you could take https://unpkg.com/chalk@2.4.2/index.js.flow and add it to https://github.com/parcel-bundler/parcel/tree/v2/flow-libs (and wrapping the contents with |
There's no |
I added this manually. This can be easily integrated into flowgen using an optional flag. I don't use flow anymore (converted everything using
There is a flag for this. |
@mischnic Could you check why it still does not detect the types? |
Renaming the file to
|
Changed in v3.0.0
``` npm i -g flowgen flowgen ./node_modules/chalk/index.d.ts -o ./flow-libs/chalk.js.flow --add-flow-header --no-module-exports ```
feb08bf
to
8fad7b6
Compare
``` flowgen ./node_modules/filesize/filesize.d.ts -o ./flow-libs/filesize.js.flow --add-flow-header --no-module-exports ```
``` flowgen ./node_modules/term-size/index.d.ts -o ./flow-libs/term-size.js.flow --add-flow-header --no-module-exports ```
``` flowgen ./node_modules/ora/index.d.ts -o ./flow-libs/ora.js.flow --add-flow-header --no-module-exports ```
Who can review this? I'm getting security warnings just from installing latest from npm. 🙄 |
This is ready to go unless other PRs create conflicts. |
↪️ Pull Request
This PR bumps the dependencies for the cli package.
These dependency bumps include various performance, bug, and security fixes.
For example:
bl
package instead ofmute-stream
sindresorhus/ora#163💻 Examples
🚨 Test instructions
CI and the tests pass.
✔️ PR Todo