Skip to content

Build your personal knowledge base with Trilium Notes

chore(monorepo): adapt update-build-info

Elian Doranc62fb0fb5484
diff --git a/_regroup/package.json b/_regroup/package.json
index 092c2ea317..f9faa2831e 100644
--- a/_regroup/package.json
+++ b/_regroup/package.json
@@ -43,8 +43,7 @@
"dev:format-check": "eslint -c eslint.format.config.js .",
"dev:format-fix": "eslint -c eslint.format.config.js . --fix",
"dev:linter-check": "eslint .",
- "dev:linter-fix": "eslint . --fix",
- "chore:update-build-info": "tsx bin/update-build-info.ts",
+ "dev:linter-fix": "eslint . --fix",
"chore:generate-document": "cross-env nodemon ./bin/generate_document.ts 1000",
"chore:generate-openapi": "tsx bin/generate-openapi.js"
},
diff --git a/package.json b/package.json
index 67e65d3201..ebbec3f99f 100644
--- a/package.json
+++ b/package.json
@@ -13,7 +13,8 @@
"packages/*"
],
"scripts": {
- "chore:ci-update-nightly-version": "tsx ./scripts/update-nightly-version.ts"
+ "chore:ci-update-nightly-version": "tsx ./scripts/update-nightly-version.ts",
+ "chore:update-build-info": "tsx ./scripts/update-build-info.ts"
},
"devDependencies": {
"tsx": "^4.19.3"
diff --git a/_regroup/bin/update-build-info.ts b/scripts/update-build-info.ts
similarity index 87%
rename from _regroup/bin/update-build-info.ts
rename to scripts/update-build-info.ts
index 4635bb8ea3..619be801f1 100644
--- a/_regroup/bin/update-build-info.ts
+++ b/scripts/update-build-info.ts
@@ -18,4 +18,4 @@ export default {
};
`;
-fs.writeFileSync("src/services/build.ts", output);
+fs.writeFileSync("apps/server/src/services/build.ts", output);