bombshell-dev / clack

Effortlessly build beautiful command-line apps

Home Page:https://clack.cc

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Request] release version need tasks api

zhaohuanyuu opened this issue · comments

commented

Environment

  • OS: macOs
  • Node Version: v20.10.0
  • Package: @clack/prompts
  • Package Version: 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

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: #181