fix: enable docs generation before the release (#3300)

The commit fixes an issue where the node_modules\/.bin\/jsdoc is not found
This commit is contained in:
alechkos 2024-10-04 07:22:19 +03:00 • committed by GitHub
commit 6887c4a886
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 1 deletions

View file

@ -8,7 +8,7 @@
"test": "mocha tests --recursive --timeout 5000", "test": "mocha tests --recursive --timeout 5000",
"test-single": "mocha", "test-single": "mocha",
"shell": "node --experimental-repl-await ./shell.js", "shell": "node --experimental-repl-await ./shell.js",
"generate-docs": "node_modules/.bin/jsdoc --configure .jsdoc.json --verbose" "generate-docs": "npx jsdoc --configure .jsdoc.json --verbose"
}, },
"repository": { "repository": {
"type": "git", "type": "git",

View file

@ -70,6 +70,8 @@ npm version $VERSION_ARGS || exit 1
git push && git push --tags || exit 1 git push && git push --tags || exit 1
npm install
npm run generate-docs npm run generate-docs
git add . git add .