Skip to content

Commit

Permalink
chore: Update dependencies (#228)
Browse files Browse the repository at this point in the history
* Update supported nodejieba versions to `^2.5.0 || ^3.0.0`
* Update cheerio to 1.0.0
* Update TypeScript to v5.0.0

Fixes: #218
Fixes: #219
Fixes: #224
  • Loading branch information
cmfcmf authored Nov 10, 2024
1 parent 96c7803 commit ab8f8d6
Show file tree
Hide file tree
Showing 9 changed files with 157 additions and 99 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,6 @@ jobs:
node-version: ${{ matrix.node-version }}
cache: 'npm'

# Uninstall nodejieba for the moment, as it's not compatible with Node 18 on Windows.
# TODO: Remove this once a new version of nodejieba is released (the fix is already on its master branch).
- run: npm uninstall --ignore-scripts --save -w packages/docusaurus-search-local nodejieba
if: runner.os == 'Windows' && (matrix.node-version == '18.x' || matrix.node-version == '20.x' || matrix.node-version == '22.x')

- run: npm ci
- run: npm run lint

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ The following languages are available:

ar, da, de, en, es, fi, fr, hi, hu, it, ja, nl, no, pt, ro, ru, sv, th, tr, vi, zh

**Important: For Chinese language support (`zh`), you also have to install the `nodejieba` npm package at `^2.5.0`.**
**Important: For Chinese language support (`zh`), you also have to install the `nodejieba` npm package at `^2.5.0 || ^3.0.0`.**

### Documentation Versions

Expand Down
Loading

0 comments on commit ab8f8d6

Please sign in to comment.