Open zhaohuanyuu opened 6 months ago
Yep, tasks
is missing when installing via npm.
same problem here
same problem
It's not missing from 0.7.0
. You're reading the wrong version of the docs from the main
branch.
You have to read the docs from the release tag for 0.7.0
which can be found here:
https://github.com/bombshell-dev/clack/tree/%40clack/prompts%400.7.0/packages/prompts
Note: That NPM publishes the correct docs on the package home page. https://www.npmjs.com/package/@clack/prompts
Related to: https://github.com/bombshell-dev/clack/issues/181
Environment
v20.10.0
@clack/prompts
v0.7.0
Describe the bug The latest 0.7.0 version lacks the tasks method export on the document
To Reproduce package released code
Expected behavior tasks api should be packaged and exported