A local-first personal finance app
Updating sync server package name to @actual-app/sync-server (#4370)
Michael Clark87779d31998f
diff --git a/package.json b/package.jsonindex 4d1d66729a..18ddbd1c81 100644--- a/package.json+++ b/package.json@@ -19,7 +19,7 @@},"scripts": {"start": "yarn start:browser",- "start:server": "yarn workspace actual-sync start",+ "start:server": "yarn workspace @actual-app/sync-server start","start:desktop": "yarn rebuild-electron && npm-run-all --parallel 'start:desktop-*'","start:desktop-node": "yarn workspace loot-core watch:node","start:desktop-client": "yarn workspace @actual-app/web watch",@@ -41,7 +41,7 @@"rebuild-node": "yarn workspace loot-core rebuild","lint": "eslint . --max-warnings 0","lint:verbose": "DEBUG=eslint:cli-engine eslint . --max-warnings 0",- "install:server": "yarn workspaces focus actual-sync --production",+ "install:server": "yarn workspaces focus @actual-app/sync-server --production","typecheck": "yarn tsc && tsc-strict","jq": "./node_modules/node-jq/bin/jq","prepare": "husky"diff --git a/packages/sync-server/docker/edge-alpine.Dockerfile b/packages/sync-server/docker/edge-alpine.Dockerfileindex 070ae8f65e..48a7fd6953 100644--- a/packages/sync-server/docker/edge-alpine.Dockerfile+++ b/packages/sync-server/docker/edge-alpine.Dockerfile@@ -4,7 +4,7 @@ WORKDIR /appCOPY .yarn ./.yarnCOPY yarn.lock packages/sync-server/package.json .yarnrc.yml ./RUN if [ "$(uname -m)" = "armv7l" ]; then yarn config set taskPoolConcurrency 2; yarn config set networkConcurrency 5; fi-RUN yarn workspaces focus actual-sync --production+RUN yarn workspaces focus @actual-app/sync-server --productionRUN if [ "$(uname -m)" = "armv7l" ]; then npm install bcrypt better-sqlite3 --build-from-source; fiRUN mkdir /publicdiff --git a/packages/sync-server/docker/edge-ubuntu.Dockerfile b/packages/sync-server/docker/edge-ubuntu.Dockerfileindex b0744a0954..18e009dad9 100644--- a/packages/sync-server/docker/edge-ubuntu.Dockerfile+++ b/packages/sync-server/docker/edge-ubuntu.Dockerfile@@ -4,7 +4,7 @@ WORKDIR /appCOPY .yarn ./.yarnCOPY yarn.lock packages/sync-server/package.json .yarnrc.yml ./RUN if [ "$(uname -m)" = "armv7l" ]; then yarn config set taskPoolConcurrency 2; yarn config set networkConcurrency 5; fi-RUN yarn workspaces focus actual-sync --production+RUN yarn workspaces focus @actual-app/sync-server --productionRUN mkdir /publicCOPY artifacts.json /tmp/artifacts.jsondiff --git a/packages/sync-server/docker/stable-alpine.Dockerfile b/packages/sync-server/docker/stable-alpine.Dockerfileindex 4fbf546ef5..0194d5ba69 100644--- a/packages/sync-server/docker/stable-alpine.Dockerfile+++ b/packages/sync-server/docker/stable-alpine.Dockerfile@@ -4,7 +4,7 @@ WORKDIR /appCOPY .yarn ./.yarnCOPY yarn.lock packages/sync-server/package.json .yarnrc.yml ./RUN if [ "$(uname -m)" = "armv7l" ]; then yarn config set taskPoolConcurrency 2; yarn config set networkConcurrency 5; fi-RUN yarn workspaces focus actual-sync --production+RUN yarn workspaces focus @actual-app/sync-server --productionRUN if [ "$(uname -m)" = "armv7l" ]; then npm install bcrypt better-sqlite3 --build-from-source; fiFROM alpine:3.18 AS proddiff --git a/packages/sync-server/docker/stable-ubuntu.Dockerfile b/packages/sync-server/docker/stable-ubuntu.Dockerfileindex a10d594476..01834a5102 100644--- a/packages/sync-server/docker/stable-ubuntu.Dockerfile+++ b/packages/sync-server/docker/stable-ubuntu.Dockerfile@@ -4,7 +4,7 @@ WORKDIR /appCOPY .yarn ./.yarnCOPY yarn.lock packages/sync-server/package.json .yarnrc.yml ./RUN if [ "$(uname -m)" = "armv7l" ]; then yarn config set taskPoolConcurrency 2; yarn config set networkConcurrency 5; fi-RUN yarn workspaces focus actual-sync --production+RUN yarn workspaces focus @actual-app/sync-server --productionFROM node:18-bookworm-slim AS prodRUN apt-get update && apt-get install tini && apt-get clean -y && rm -rf /var/lib/apt/lists/*diff --git a/packages/sync-server/package.json b/packages/sync-server/package.jsonindex e3532423b9..d5de6102a7 100644--- a/packages/sync-server/package.json+++ b/packages/sync-server/package.json@@ -1,5 +1,5 @@{- "name": "actual-sync",+ "name": "@actual-app/sync-server","version": "25.2.1","license": "MIT","description": "actual syncing server",diff --git a/sync-server.Dockerfile b/sync-server.Dockerfileindex 9d83bf4052..eb17eeef7d 100644--- a/sync-server.Dockerfile+++ b/sync-server.Dockerfile@@ -3,7 +3,7 @@ RUN apt-get update && apt-get install -y opensslWORKDIR /appCOPY .yarn ./.yarnCOPY yarn.lock packages/sync-server/package.json .yarnrc.yml ./-RUN yarn workspaces focus actual-sync --production+RUN yarn workspaces focus @actual-app/sync-server --productionFROM node:18-bookworm-slim as prodRUN apt-get update && apt-get install tini && apt-get clean -y && rm -rf /var/lib/apt/lists/*diff --git a/upcoming-release-notes/4370.md b/upcoming-release-notes/4370.mdnew file mode 100644index 0000000000..f6b8476434--- /dev/null+++ b/upcoming-release-notes/4370.md@@ -0,0 +1,6 @@+---+category: Maintenance+authors: [MikesGlitch]+---++Update package name of sync server to be consistent with the rest of the workspacediff --git a/yarn.lock b/yarn.lockindex 925228ba6b..f8fb5e7d11 100644--- a/yarn.lock+++ b/yarn.lock@@ -79,6 +79,50 @@ __metadata:languageName: unknownlinkType: soft+"@actual-app/sync-server@workspace:packages/sync-server":+ version: 0.0.0-use.local+ resolution: "@actual-app/sync-server@workspace:packages/sync-server"+ dependencies:+ "@actual-app/crdt": "npm:2.1.0"+ "@actual-app/web": "npm:25.2.1"+ "@babel/preset-typescript": "npm:^7.20.2"+ "@types/bcrypt": "npm:^5.0.2"+ "@types/better-sqlite3": "npm:^7.6.12"+ "@types/cors": "npm:^2.8.13"+ "@types/express": "npm:^4.17.17"+ "@types/express-actuator": "npm:^1.8.0"+ "@types/jest": "npm:^29.2.3"+ "@types/node": "npm:^17.0.45"+ "@types/supertest": "npm:^2.0.12"+ "@types/uuid": "npm:^9.0.0"+ "@typescript-eslint/eslint-plugin": "npm:^5.51.0"+ "@typescript-eslint/parser": "npm:^5.51.0"+ bcrypt: "npm:^5.1.1"+ better-sqlite3: "npm:^11.7.0"+ body-parser: "npm:^1.20.3"+ cors: "npm:^2.8.5"+ date-fns: "npm:^2.30.0"+ debug: "npm:^4.3.4"+ eslint: "npm:^8.33.0"+ eslint-plugin-prettier: "npm:^4.2.1"+ express: "npm:4.20.0"+ express-actuator: "npm:1.8.4"+ express-rate-limit: "npm:^6.7.0"+ express-response-size: "npm:^0.0.3"+ express-winston: "npm:^4.2.0"+ jest: "npm:^29.3.1"+ jws: "npm:^4.0.0"+ migrate: "npm:^2.0.1"+ nordigen-node: "npm:^1.4.0"+ openid-client: "npm:^5.4.2"+ prettier: "npm:^2.8.3"+ supertest: "npm:^6.3.1"+ typescript: "npm:^4.9.5"+ uuid: "npm:^9.0.0"+ winston: "npm:^3.14.2"+ languageName: unknown+ linkType: soft+"@actual-app/web@npm:25.2.1":version: 25.2.1resolution: "@actual-app/web@npm:25.2.1"@@ -7485,50 +7529,6 @@ __metadata:languageName: nodelinkType: hard-"actual-sync@workspace:packages/sync-server":- version: 0.0.0-use.local- resolution: "actual-sync@workspace:packages/sync-server"- dependencies:- "@actual-app/crdt": "npm:2.1.0"- "@actual-app/web": "npm:25.2.1"- "@babel/preset-typescript": "npm:^7.20.2"- "@types/bcrypt": "npm:^5.0.2"- "@types/better-sqlite3": "npm:^7.6.12"- "@types/cors": "npm:^2.8.13"- "@types/express": "npm:^4.17.17"- "@types/express-actuator": "npm:^1.8.0"- "@types/jest": "npm:^29.2.3"- "@types/node": "npm:^17.0.45"- "@types/supertest": "npm:^2.0.12"- "@types/uuid": "npm:^9.0.0"- "@typescript-eslint/eslint-plugin": "npm:^5.51.0"- "@typescript-eslint/parser": "npm:^5.51.0"- bcrypt: "npm:^5.1.1"- better-sqlite3: "npm:^11.7.0"- body-parser: "npm:^1.20.3"- cors: "npm:^2.8.5"- date-fns: "npm:^2.30.0"- debug: "npm:^4.3.4"- eslint: "npm:^8.33.0"- eslint-plugin-prettier: "npm:^4.2.1"- express: "npm:4.20.0"- express-actuator: "npm:1.8.4"- express-rate-limit: "npm:^6.7.0"- express-response-size: "npm:^0.0.3"- express-winston: "npm:^4.2.0"- jest: "npm:^29.3.1"- jws: "npm:^4.0.0"- migrate: "npm:^2.0.1"- nordigen-node: "npm:^1.4.0"- openid-client: "npm:^5.4.2"- prettier: "npm:^2.8.3"- supertest: "npm:^6.3.1"- typescript: "npm:^4.9.5"- uuid: "npm:^9.0.0"- winston: "npm:^3.14.2"- languageName: unknown- linkType: soft-"actual@workspace:.":version: 0.0.0-use.localresolution: "actual@workspace:."