Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
chore(monorepo): scripts to build globally
Elian Doranb3946db40af8
diff --git a/apps/client/package.json b/apps/client/package.jsonindex d182ca9515..b634517781 100644--- a/apps/client/package.json+++ b/apps/client/package.json@@ -20,7 +20,7 @@"type": "module","main": "index.js","scripts": {- "build:webpack": "tsx node_modules/webpack/bin/webpack.js -c webpack.config.ts",+ "build:webpack": "tsx ../../node_modules/webpack/bin/webpack.js -c webpack.config.ts","test": "vitest"},"devDependencies": {diff --git a/package.json b/package.jsonindex 3f445dfbcf..c78040156d 100644--- a/package.json+++ b/package.json@@ -13,13 +13,15 @@"packages/*"],"scripts": {- "test": "npm --workspace=apps/client --workspace=apps/server test",+ "build": "npm run client:build && npm run server:build",+ "test": "npm --workspace=apps/client --workspace=apps/server run test",- "client:test": "npm --workspace=apps/client test",- "client:build": "npm --workspace=apps/client build:webpack",+ "client:test": "npm --workspace=apps/client run test",+ "client:build": "npm --workspace=apps/client run build:webpack",- "server:test": "npm --workspace=apps/server test",- "server:coverage": "npm --workspace=apps/server coverage",+ "server:test": "npm --workspace=apps/server run test",+ "server:coverage": "npm --workspace=apps/server run coverage",+ "server:build": "npm --workspace=apps/client run build:ts","chore:ci-update-nightly-version": "tsx ./scripts/update-nightly-version.ts","chore:update-build-info": "tsx ./scripts/update-build-info.ts"