bombshell-dev / clack

Effortlessly build beautiful command-line apps
https://clack.cc
5.23k stars 88 forks source link

[Request] release version need tasks api #185

Open zhaohuanyuu opened 6 months ago

zhaohuanyuu commented 6 months ago

Environment

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

frontalicious-martijn commented 5 months ago

Yep, tasks is missing when installing via npm.

stekovinbranturry commented 2 months ago

same problem here

ringo360 commented 1 month ago

same problem

codemile commented 1 week ago

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