A local-first personal finance app
[AI] sync-server: use workspace reference for @actual-app/crdt (#7541)
Matiss Janis Aboltins9fb6876f3b55
diff --git a/bin/package-browser b/bin/package-browserindex 67204a5b20..fe6c178d1a 100755--- a/bin/package-browser+++ b/bin/package-browser@@ -16,6 +16,7 @@ packages/desktop-client/bin/remove-untranslated-languagesexport NODE_OPTIONS="--max-old-space-size=4096"+yarn workspace @actual-app/crdt buildyarn workspace plugins-service buildyarn workspace @actual-app/core build:browseryarn workspace @actual-app/web build:browserdiff --git a/bin/package-electron b/bin/package-electronindex 397d280451..1525d29512 100755--- a/bin/package-electron+++ b/bin/package-electron@@ -51,6 +51,7 @@ fiexport NODE_OPTIONS="--max-old-space-size=4096"+yarn workspace @actual-app/crdt buildyarn workspace plugins-service buildyarn workspace @actual-app/core build:nodeyarn workspace @actual-app/web build --mode=desktop # electron specific builddiff --git a/packages/crdt/package.json b/packages/crdt/package.jsonindex 47c9fcf22f..58916f8a0a 100644--- a/packages/crdt/package.json+++ b/packages/crdt/package.json@@ -9,7 +9,11 @@"main": "dist/index.js","types": "dist/index.d.ts","exports": {- ".": "./src/index.ts"+ ".": {+ "types": "./dist/index.d.ts",+ "development": "./src/index.ts",+ "default": "./dist/index.js"+ }},"publishConfig": {"exports": {diff --git a/packages/sync-server/package.json b/packages/sync-server/package.jsonindex fdb27bdb83..3416d73cd8 100644--- a/packages/sync-server/package.json+++ b/packages/sync-server/package.json@@ -63,7 +63,7 @@"scripts": {"start": "yarn build && node build/app","start-monitor": "nodemon --exec 'yarn build && node build/app' --ignore './build/**/*' --ext 'ts,js' build/app",- "build": "tsgo && yarn add-import-extensions && yarn copy-static-assets",+ "build": "tsgo -b && yarn add-import-extensions && yarn copy-static-assets","typecheck": "tsgo -b && tsc-strict","add-import-extensions": "node bin/add-import-extensions.mjs","copy-static-assets": "rm -rf build/src/sql && cp -r src/sql build/src/sql",@@ -77,7 +77,7 @@"health-check": "yarn build && node build/src/scripts/health-check.js"},"dependencies": {- "@actual-app/crdt": "2.1.0",+ "@actual-app/crdt": "workspace:*","@actual-app/web": "workspace:*","bcrypt": "^6.0.0","better-sqlite3": "^12.8.0",diff --git a/upcoming-release-notes/7541.md b/upcoming-release-notes/7541.mdnew file mode 100644index 0000000000..d959536c78--- /dev/null+++ b/upcoming-release-notes/7541.md@@ -0,0 +1,6 @@+---+category: Maintenance+authors: [MatissJanis]+---++Server: consume latest version of crdt packagediff --git a/yarn.lock b/yarn.lockindex b02b9099a8..06b1c94ed4 100644--- a/yarn.lock+++ b/yarn.lock@@ -153,17 +153,6 @@ __metadata:languageName: unknownlinkType: soft-"@actual-app/crdt@npm:2.1.0":- version: 2.1.0- resolution: "@actual-app/crdt@npm:2.1.0"- dependencies:- google-protobuf: "npm:^3.12.0-rc.1"- murmurhash: "npm:^2.0.1"- uuid: "npm:^9.0.0"- checksum: 10/1007e78eb9bdfdca8ce5c6fc72543d6a9fb34cd13ea2eefd2176abcb181100418b51774fd6217f0b62418567a51f7724b4c72f7ebc9231f0ee13b6c1bdc729ba- languageName: node- linkType: hard-"@actual-app/crdt@workspace:*, @actual-app/crdt@workspace:packages/crdt":version: 0.0.0-use.localresolution: "@actual-app/crdt@workspace:packages/crdt"@@ -184,7 +173,7 @@ __metadata:version: 0.0.0-use.localresolution: "@actual-app/sync-server@workspace:packages/sync-server"dependencies:- "@actual-app/crdt": "npm:2.1.0"+ "@actual-app/crdt": "workspace:*""@actual-app/web": "workspace:*""@types/bcrypt": "npm:^6.0.0""@types/better-sqlite3": "npm:^7.6.13"@@ -17033,7 +17022,7 @@ __metadata:languageName: nodelinkType: hard-"google-protobuf@npm:^3.12.0-rc.1, google-protobuf@npm:^3.15.5, google-protobuf@npm:^3.21.4":+"google-protobuf@npm:^3.15.5, google-protobuf@npm:^3.21.4":version: 3.21.4resolution: "google-protobuf@npm:3.21.4"checksum: 10/0d87fe8ef221d105cbaa808f4024bd577638524d8e461469e3733f2e4933391ad4da86b7fcbd11e8781bee04eacf2e8ba19aaacd5f9deb336a220485841d980f@@ -28064,15 +28053,6 @@ __metadata:languageName: nodelinkType: hard-"uuid@npm:^9.0.0":- version: 9.0.1- resolution: "uuid@npm:9.0.1"- bin:- uuid: dist/bin/uuid- checksum: 10/9d0b6adb72b736e36f2b1b53da0d559125ba3e39d913b6072f6f033e0c87835b414f0836b45bcfaf2bdf698f92297fea1c3cc19b0b258bc182c9c43cc0fab9f2- languageName: node- linkType: hard-"v8-compile-cache-lib@npm:^3.0.1":version: 3.0.1resolution: "v8-compile-cache-lib@npm:3.0.1"