bump version

This commit is contained in:
undefined committed 2024-10-24 06:50:18 +08:00
1 parent f7b1ca5b93
commit 3c642de4e6
11 files changed
+19 -204

No files matched your search

+5 -1
View File
@@ -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 -1
View File
@@ -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>",