mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
bump version
This commit is contained in:
11 files changed
+19
-204
No files matched your search
@@ -11,7 +11,11 @@ const processDocument = (doc: Partial<ProblemDoc>) => {
|
||||
doc.content &&= doc.content.replace(/[[\]【】()()]/g, ' ');
|
||||
doc.title &&= doc.title.replace(/[[\]【】()()]/g, ' ')
|
||||
.replace(/([a-zA-Z]{2,})(\d+)/, '$1$2 $1 $2');
|
||||
doc.pid &&= doc.pid.replace(/([a-zA-Z]{2,})(\d+)/, '$1$2 $1 $2');
|
||||
if (doc.pid?.includes('-')) {
|
||||
const ns = doc.pid.split('-')[0];
|
||||
doc.tag.push(ns);
|
||||
}
|
||||
doc.pid &&= doc.pid.replace(/([a-zA-Z]{2,})(\d+)/, '$1$2 $1 $2').replace(/-/g, ' ');
|
||||
return _.omit(doc, indexOmit);
|
||||
};
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@hydrooj/elastic-search",
|
||||
"version": "1.1.7",
|
||||
"version": "1.1.8",
|
||||
"main": "index.ts",
|
||||
"repository": "https://github.com/hydro-dev/Hydro",
|
||||
"author": "undefined <i@undefined.moe>",
|
||||
|
||||
Reference in new issue
Block a user