@easyops-cn/docusaurus-search-local
Advanced tools
Comparing version 0.6.2 to 0.7.0
@@ -5,2 +5,12 @@ # Changelog | ||
## [0.7.0](https://github.com/easyops-cn/docusaurus-search-local/compare/v0.6.2...v0.7.0) (2020-10-21) | ||
### ⚠ BREAKING CHANGES | ||
- users need to install `nodejieba` if using language of zh. | ||
### Features | ||
- make nodejieba as a peer dependency ([956b3b5](https://github.com/easyops-cn/docusaurus-search-local/commit/956b3b563c8662c8d8cb867ef174548221865754)) | ||
### [0.6.2](https://github.com/easyops-cn/docusaurus-search-local/compare/v0.6.1...v0.6.2) (2020-10-21) | ||
@@ -7,0 +17,0 @@ |
{ | ||
"name": "@easyops-cn/docusaurus-search-local", | ||
"version": "0.6.2", | ||
"version": "0.7.0", | ||
"scripts": { | ||
@@ -27,4 +27,3 @@ "test": "jest", | ||
"lunr": "^2.3.9", | ||
"lunr-languages": "^1.4.0", | ||
"nodejieba": "^2.4.1" | ||
"lunr-languages": "^1.4.0" | ||
}, | ||
@@ -59,2 +58,3 @@ "devDependencies": { | ||
"lint-staged": "^10.4.1", | ||
"nodejieba": "^2.4.1", | ||
"prettier": "^2.1.2", | ||
@@ -64,3 +64,6 @@ "rimraf": "^3.0.2", | ||
"typescript": "^4.0.3" | ||
}, | ||
"peerDependencies": { | ||
"nodejieba": "^2.4.1" | ||
} | ||
} |
@@ -10,4 +10,6 @@ # @easyops-cn/docusaurus-search-local | ||
Live demo: https://easyops-cn.github.io/docusaurus-search-example/ | ||
## Live demo | ||
https://easyops-cn.github.io/docusaurus-search-example/ | ||
## Screen Shots | ||
@@ -47,2 +49,3 @@ | ||
// ``` | ||
// When applying `zh` in language, please install `nodejieba` in your project. | ||
}, | ||
@@ -54,2 +57,12 @@ ], | ||
> Notice! | ||
> | ||
> When applying `"zh"` in language, please also install `nodejieba` in your project, it became a peer dependency since v0.7.0. | ||
```shell | ||
npm install nodejieba | ||
# or | ||
yarn add nodejieba | ||
``` | ||
## Plugin Options | ||
@@ -56,0 +69,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
63166
116
32
- Removednodejieba@^2.4.1