pedroslopez / whatsapp-web.js

A WhatsApp client library for NodeJS that connects through the WhatsApp Web browser app
https://wwebjs.dev
Apache License 2.0
15.53k stars 3.7k forks source link

fix: enable docs generation before the release #3300

Closed alechkos closed 1 month ago

alechkos commented 1 month ago

PR Details

It's important to automatically generate documentation for new functionality before each release. The PR fixes an issue where the node_modules/.bin/jsdoc is not found during the release publishing process:

> whatsapp-web.js@1.26.0 generate-docs
> node_modules/.bin/jsdoc --configure .jsdoc.json --verbose

sh: 1: node_modules/.bin/jsdoc: not found
### Action screenshot (click to expand) [Link to action](https://github.com/pedroslopez/whatsapp-web.js/actions/runs/10929944843/job/30341779020)

How Has This Been Tested

Tested locally by installing dependencies and generating docs:

:: using cmd
npm install && npm run generate-docs

Types of changes

Checklist