Skip to content

A local-first personal finance app

🐳 @actual-app/web workspace in sync-server (#4569)

Michael Clark379a84d2e269
diff --git a/.github/workflows/docker-edge.yml b/.github/workflows/docker-edge.yml
index 8a3ac2db18..a43308cdc0 100644
--- a/.github/workflows/docker-edge.yml
+++ b/.github/workflows/docker-edge.yml
@@ -73,17 +73,19 @@ jobs:
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- - name: Download artifacts
- run: ./packages/sync-server/docker/download-artifacts.sh
- env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ # Building outside of the docker image allows us to build once and push to multiple platforms
+ # This is faster and avoids yarn memory issues
+ - name: Set up environment
+ uses: ./.github/actions/setup
+ - name: Build Web
+ run: ./bin/package-browser
- name: Build and push image
uses: docker/build-push-action@v5
with:
context: .
push: ${{ github.event_name != 'pull_request' }}
- file: packages/sync-server/docker/edge-${{ matrix.os }}.Dockerfile
+ file: packages/sync-server/docker/${{ matrix.os }}.Dockerfile
platforms: linux/amd64,linux/arm64,linux/arm/v7${{ matrix.os == 'alpine' && ',linux/arm/v6' || '' }}
tags: ${{ steps.meta.outputs.tags }}
build-args: |
diff --git a/.github/workflows/docker-release.yml b/.github/workflows/docker-release.yml
index 0c5954f813..ccc6b4d886 100644
--- a/.github/workflows/docker-release.yml
+++ b/.github/workflows/docker-release.yml
@@ -70,12 +70,19 @@ jobs:
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
+ # Building outside of the docker image allows us to build once and push to multiple platforms
+ # This is faster and avoids yarn memory issues
+ - name: Set up environment
+ uses: ./.github/actions/setup
+ - name: Build Web
+ run: ./bin/package-browser
+
- name: Build and push ubuntu image
uses: docker/build-push-action@v5
with:
context: .
push: true
- file: packages/sync-server/docker/stable-ubuntu.Dockerfile
+ file: packages/sync-server/docker/ubuntu.Dockerfile
platforms: linux/amd64,linux/arm64,linux/arm/v7
tags: ${{ steps.meta.outputs.tags }}
@@ -84,6 +91,6 @@ jobs:
with:
context: .
push: true
- file: packages/sync-server/docker/stable-alpine.Dockerfile
+ file: packages/sync-server/docker/alpine.Dockerfile
platforms: linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6
tags: ${{ steps.alpine-meta.outputs.tags }}
diff --git a/package.json b/package.json
index 41be2fd200..54ee96a290 100644
--- a/package.json
+++ b/package.json
@@ -30,6 +30,7 @@
"start:browser": "npm-run-all --parallel 'start:browser-*'",
"start:browser-backend": "yarn workspace loot-core watch:browser",
"start:browser-frontend": "yarn workspace @actual-app/web start:browser",
+ "build:server": "yarn build:browser",
"build:browser": "./bin/package-browser",
"build:desktop": "./bin/package-electron",
"build:api": "yarn workspace @actual-app/api build",
diff --git a/packages/sync-server/docker/alpine.Dockerfile b/packages/sync-server/docker/alpine.Dockerfile
new file mode 100644
index 0000000000..9f1a82953b
--- /dev/null
+++ b/packages/sync-server/docker/alpine.Dockerfile
@@ -0,0 +1,62 @@
+FROM alpine:3.18 AS deps
+
+# Install required packages
+RUN apk add --no-cache nodejs yarn python3 openssl build-base
+
+WORKDIR /app
+
+# Copy only the files needed for installing dependencies
+COPY .yarn ./.yarn
+COPY yarn.lock package.json .yarnrc.yml ./
+COPY packages/api/package.json packages/api/package.json
+COPY packages/component-library/package.json packages/component-library/package.json
+COPY packages/crdt/package.json packages/crdt/package.json
+COPY packages/desktop-client/package.json packages/desktop-client/package.json
+COPY packages/desktop-electron/package.json packages/desktop-electron/package.json
+COPY packages/eslint-plugin-actual/package.json packages/eslint-plugin-actual/package.json
+COPY packages/loot-core/package.json packages/loot-core/package.json
+COPY packages/sync-server/package.json packages/sync-server/package.json
+
+# Avoiding memory issues with ARMv7
+RUN if [ "$(uname -m)" = "armv7l" ]; then yarn config set taskPoolConcurrency 2; yarn config set networkConcurrency 5; fi
+
+# Focus the workspaces in production mode
+RUN if [ "$(uname -m)" = "armv7l" ]; then npm_config_build_from_source=true yarn workspaces focus @actual-app/sync-server --production; else yarn workspaces focus @actual-app/sync-server --production; fi
+
+FROM deps AS builder
+
+WORKDIR /app
+
+COPY packages/sync-server ./packages/sync-server
+
+# Remove symbolic links for @actual-app/web and @actual-app/sync-server
+RUN rm -rf ./node_modules/@actual-app/web ./node_modules/@actual-app/sync-server
+
+# Copy in the @actual-app/web artifacts manually, so we don't need the entire packages folder
+COPY packages/desktop-client/package.json ./node_modules/@actual-app/web/package.json
+COPY packages/desktop-client/build ./node_modules/@actual-app/web/build
+
+FROM alpine:3.18 AS prod
+
+# Minimal runtime dependencies
+RUN apk add --no-cache nodejs tini
+
+# Create a non-root user
+ARG USERNAME=actual
+ARG USER_UID=1001
+ARG USER_GID=$USER_UID
+RUN addgroup -S ${USERNAME} -g ${USER_GID} && adduser -S ${USERNAME} -G ${USERNAME} -u ${USER_UID}
+RUN mkdir /data && chown -R ${USERNAME}:${USERNAME} /data
+
+WORKDIR /app
+ENV NODE_ENV=production
+
+# Pull in only the necessary artifacts (built node_modules, server files, etc.)
+COPY --from=builder /app/node_modules /app/node_modules
+COPY --from=builder /app/packages/sync-server/package.json /app/packages/sync-server/app.js ./
+COPY --from=builder /app/packages/sync-server/src ./src
+COPY --from=builder /app/packages/sync-server/migrations ./migrations
+
+ENTRYPOINT ["/sbin/tini","-g", "--"]
+EXPOSE 5006
+CMD ["node", "app.js"]
diff --git a/packages/sync-server/docker/download-artifacts.sh b/packages/sync-server/docker/download-artifacts.sh
deleted file mode 100755
index e378954efd..0000000000
--- a/packages/sync-server/docker/download-artifacts.sh
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/bin/bash
-
-URL="https://api.github.com/repos/actualbudget/actual/actions/artifacts?name=actual-web&per_page=100"
-
-if [ -n "$GITHUB_TOKEN" ]; then
- curl -L -o artifacts.json --header "Authorization: Bearer ${GITHUB_TOKEN}" $URL
-else
- curl -L -o artifacts.json $URL
-fi
-
-if [ $? -ne 0 ]; then
- echo "Failed to download artifacts.json"
- exit 1
-fi
diff --git a/packages/sync-server/docker/edge-alpine.Dockerfile b/packages/sync-server/docker/edge-alpine.Dockerfile
deleted file mode 100644
index 48a7fd6953..0000000000
--- a/packages/sync-server/docker/edge-alpine.Dockerfile
+++ /dev/null
@@ -1,37 +0,0 @@
-FROM alpine:3.18 AS base
-RUN apk add --no-cache nodejs yarn npm python3 openssl build-base jq curl
-WORKDIR /app
-COPY .yarn ./.yarn
-COPY 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-app/sync-server --production
-RUN if [ "$(uname -m)" = "armv7l" ]; then npm install bcrypt better-sqlite3 --build-from-source; fi
-
-RUN mkdir /public
-COPY artifacts.json /tmp/artifacts.json
-RUN jq -r '[.artifacts[] | select(.workflow_run.head_branch == "master" and .workflow_run.head_repository_id == .workflow_run.repository_id)][0]' /tmp/artifacts.json > /tmp/latest-build.json
-
-ARG GITHUB_TOKEN
-RUN curl -L -o /tmp/desktop-client.zip --header "Authorization: Bearer ${GITHUB_TOKEN}" $(jq -r '.archive_download_url' /tmp/latest-build.json)
-RUN unzip /tmp/desktop-client.zip -d /public
-
-FROM alpine:3.18 AS prod
-RUN apk add --no-cache nodejs tini
-
-ARG USERNAME=actual
-ARG USER_UID=1001
-ARG USER_GID=$USER_UID
-RUN addgroup -S ${USERNAME} -g ${USER_GID} && adduser -S ${USERNAME} -G ${USERNAME} -u ${USER_UID}
-RUN mkdir /data && chown -R ${USERNAME}:${USERNAME} /data
-
-WORKDIR /app
-ENV NODE_ENV production
-COPY --from=base /app/node_modules /app/node_modules
-COPY --from=base /public /public
-COPY /packages/sync-server/package.json /packages/sync-server/app.js ./
-COPY /packages/sync-server/src ./src
-COPY /packages/sync-server/migrations ./migrations
-ENTRYPOINT ["/sbin/tini","-g", "--"]
-ENV ACTUAL_WEB_ROOT=/public
-EXPOSE 5006
-CMD ["node", "app.js"]
diff --git a/packages/sync-server/docker/edge-ubuntu.Dockerfile b/packages/sync-server/docker/edge-ubuntu.Dockerfile
deleted file mode 100644
index 18e009dad9..0000000000
--- a/packages/sync-server/docker/edge-ubuntu.Dockerfile
+++ /dev/null
@@ -1,37 +0,0 @@
-FROM node:18-bookworm AS base
-RUN apt-get update && apt-get install -y openssl jq
-WORKDIR /app
-COPY .yarn ./.yarn
-COPY 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-app/sync-server --production
-
-RUN mkdir /public
-COPY artifacts.json /tmp/artifacts.json
-RUN jq -r '[.artifacts[] | select(.workflow_run.head_branch == "master" and .workflow_run.head_repository_id == .workflow_run.repository_id)][0]' /tmp/artifacts.json > /tmp/latest-build.json
-
-ARG GITHUB_TOKEN
-RUN curl -L -o /tmp/desktop-client.zip --header "Authorization: Bearer ${GITHUB_TOKEN}" $(jq -r '.archive_download_url' /tmp/latest-build.json)
-RUN unzip /tmp/desktop-client.zip -d /public
-
-FROM node:18-bookworm-slim AS prod
-RUN apt-get update && apt-get install tini && apt-get clean -y && rm -rf /var/lib/apt/lists/*
-
-ARG USERNAME=actual
-ARG USER_UID=1001
-ARG USER_GID=$USER_UID
-RUN groupadd --gid $USER_GID $USERNAME \
- && useradd --uid $USER_UID --gid $USER_GID -m $USERNAME
-RUN mkdir /data && chown -R ${USERNAME}:${USERNAME} /data
-
-WORKDIR /app
-ENV NODE_ENV production
-COPY --from=base /app/node_modules /app/node_modules
-COPY --from=base /public /public
-COPY /packages/sync-server/package.json /packages/sync-server/app.js ./
-COPY /packages/sync-server/src ./src
-COPY /packages/sync-server/migrations ./migrations
-ENTRYPOINT ["/usr/bin/tini","-g", "--"]
-ENV ACTUAL_WEB_ROOT=/public
-EXPOSE 5006
-CMD ["node", "app.js"]
diff --git a/packages/sync-server/docker/stable-alpine.Dockerfile b/packages/sync-server/docker/stable-alpine.Dockerfile
deleted file mode 100644
index 0194d5ba69..0000000000
--- a/packages/sync-server/docker/stable-alpine.Dockerfile
+++ /dev/null
@@ -1,27 +0,0 @@
-FROM alpine:3.18 AS base
-RUN apk add --no-cache nodejs yarn npm python3 openssl build-base
-WORKDIR /app
-COPY .yarn ./.yarn
-COPY 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-app/sync-server --production
-RUN if [ "$(uname -m)" = "armv7l" ]; then npm install bcrypt better-sqlite3 --build-from-source; fi
-
-FROM alpine:3.18 AS prod
-RUN apk add --no-cache nodejs tini
-
-ARG USERNAME=actual
-ARG USER_UID=1001
-ARG USER_GID=$USER_UID
-RUN addgroup -S ${USERNAME} -g ${USER_GID} && adduser -S ${USERNAME} -G ${USERNAME} -u ${USER_UID}
-RUN mkdir /data && chown -R ${USERNAME}:${USERNAME} /data
-
-WORKDIR /app
-ENV NODE_ENV production
-COPY --from=base /app/node_modules /app/node_modules
-COPY /packages/sync-server/package.json /packages/sync-server/app.js ./
-COPY /packages/sync-server/src ./src
-COPY /packages/sync-server/migrations ./migrations
-ENTRYPOINT ["/sbin/tini","-g", "--"]
-EXPOSE 5006
-CMD ["node", "app.js"]
diff --git a/packages/sync-server/docker/stable-ubuntu.Dockerfile b/packages/sync-server/docker/stable-ubuntu.Dockerfile
deleted file mode 100644
index 01834a5102..0000000000
--- a/packages/sync-server/docker/stable-ubuntu.Dockerfile
+++ /dev/null
@@ -1,27 +0,0 @@
-FROM node:18-bookworm AS base
-RUN apt-get update && apt-get install -y openssl
-WORKDIR /app
-COPY .yarn ./.yarn
-COPY 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-app/sync-server --production
-
-FROM node:18-bookworm-slim AS prod
-RUN apt-get update && apt-get install tini && apt-get clean -y && rm -rf /var/lib/apt/lists/*
-
-ARG USERNAME=actual
-ARG USER_UID=1001
-ARG USER_GID=$USER_UID
-RUN groupadd --gid $USER_GID $USERNAME \
- && useradd --uid $USER_UID --gid $USER_GID -m $USERNAME
-RUN mkdir /data && chown -R ${USERNAME}:${USERNAME} /data
-
-WORKDIR /app
-ENV NODE_ENV production
-COPY --from=base /app/node_modules /app/node_modules
-COPY /packages/sync-server/package.json /packages/sync-server/app.js ./
-COPY /packages/sync-server/src ./src
-COPY /packages/sync-server/migrations ./migrations
-ENTRYPOINT ["/usr/bin/tini","-g", "--"]
-EXPOSE 5006
-CMD ["node", "app.js"]
diff --git a/packages/sync-server/docker/ubuntu.Dockerfile b/packages/sync-server/docker/ubuntu.Dockerfile
new file mode 100644
index 0000000000..104e071082
--- /dev/null
+++ b/packages/sync-server/docker/ubuntu.Dockerfile
@@ -0,0 +1,63 @@
+FROM node:18-bookworm AS deps
+
+# Install required packages
+RUN apt-get update && apt-get install -y openssl
+
+WORKDIR /app
+
+# Copy only the files needed for installing dependencies
+COPY .yarn ./.yarn
+COPY yarn.lock package.json .yarnrc.yml ./
+COPY packages/api/package.json packages/api/package.json
+COPY packages/component-library/package.json packages/component-library/package.json
+COPY packages/crdt/package.json packages/crdt/package.json
+COPY packages/desktop-client/package.json packages/desktop-client/package.json
+COPY packages/desktop-electron/package.json packages/desktop-electron/package.json
+COPY packages/eslint-plugin-actual/package.json packages/eslint-plugin-actual/package.json
+COPY packages/loot-core/package.json packages/loot-core/package.json
+COPY packages/sync-server/package.json packages/sync-server/package.json
+
+# Avoiding memory issues with ARMv7
+RUN if [ "$(uname -m)" = "armv7l" ]; then yarn config set taskPoolConcurrency 2; yarn config set networkConcurrency 5; fi
+
+# Focus the workspaces in production mode
+RUN yarn workspaces focus @actual-app/sync-server --production
+
+FROM deps AS builder
+
+WORKDIR /app
+
+COPY packages/sync-server ./packages/sync-server
+
+# Remove symbolic links for @actual-app/web and @actual-app/sync-server
+RUN rm -rf ./node_modules/@actual-app/web ./node_modules/@actual-app/sync-server
+
+# Copy in the @actual-app/web artifacts manually, so we don't need the entire packages folder
+COPY packages/desktop-client/package.json ./node_modules/@actual-app/web/package.json
+COPY packages/desktop-client/build ./node_modules/@actual-app/web/build
+
+FROM node:18-bookworm-slim AS prod
+
+# Minimal runtime dependencies
+RUN apt-get update && apt-get install tini && apt-get clean -y && rm -rf /var/lib/apt/lists/*
+
+# Create a non-root user
+ARG USERNAME=actual
+ARG USER_UID=1001
+ARG USER_GID=$USER_UID
+RUN groupadd --gid $USER_GID $USERNAME \
+ && useradd --uid $USER_UID --gid $USER_GID -m $USERNAME \
+ && mkdir /data && chown -R ${USERNAME}:${USERNAME} /data
+
+WORKDIR /app
+ENV NODE_ENV=production
+
+# Pull in only the necessary artifacts (built node_modules, server files, etc.)
+COPY --from=builder /app/node_modules /app/node_modules
+COPY --from=builder /app/packages/sync-server/package.json /app/packages/sync-server/app.js ./
+COPY --from=builder /app/packages/sync-server/src ./src
+COPY --from=builder /app/packages/sync-server/migrations ./migrations
+
+ENTRYPOINT ["/usr/bin/tini","-g", "--"]
+EXPOSE 5006
+CMD ["node", "app.js"]
diff --git a/packages/sync-server/package.json b/packages/sync-server/package.json
index 83709082d5..f928880544 100644
--- a/packages/sync-server/package.json
+++ b/packages/sync-server/package.json
@@ -20,7 +20,7 @@
},
"dependencies": {
"@actual-app/crdt": "2.1.0",
- "@actual-app/web": "25.3.1",
+ "@actual-app/web": "workspace:*",
"bcrypt": "^5.1.1",
"better-sqlite3": "^11.7.0",
"body-parser": "^1.20.3",
diff --git a/sync-server.Dockerfile b/sync-server.Dockerfile
index eb17eeef7d..176c5c9c13 100644
--- a/sync-server.Dockerfile
+++ b/sync-server.Dockerfile
@@ -1,26 +1,65 @@
-FROM node:18-bookworm as base
+FROM node:18-bookworm as deps
+
+# Install required packages
RUN apt-get update && apt-get install -y openssl
+
WORKDIR /app
+
+# Copy only the files needed for installing dependencies
COPY .yarn ./.yarn
-COPY yarn.lock packages/sync-server/package.json .yarnrc.yml ./
+COPY yarn.lock package.json .yarnrc.yml tsconfig.json ./
+COPY packages/api/package.json packages/api/package.json
+COPY packages/component-library/package.json packages/component-library/package.json
+COPY packages/crdt/package.json packages/crdt/package.json
+COPY packages/desktop-client/package.json packages/desktop-client/package.json
+COPY packages/desktop-electron/package.json packages/desktop-electron/package.json
+COPY packages/eslint-plugin-actual/package.json packages/eslint-plugin-actual/package.json
+COPY packages/loot-core/package.json packages/loot-core/package.json
+COPY packages/sync-server/package.json packages/sync-server/package.json
+
+COPY ./bin/package-browser ./bin/package-browser
+
+RUN yarn install
+
+FROM deps as builder
+
+WORKDIR /app
+
+COPY packages/ ./packages/
+RUN yarn build:browser
+
+# Focus the workspaces in production mode (including @actual-app/web you just built)
RUN yarn workspaces focus @actual-app/sync-server --production
+# Remove symbolic links for @actual-app/web and @actual-app/sync-server
+RUN rm -rf ./node_modules/@actual-app/web ./node_modules/@actual-app/sync-server
+
+# Copy in the @actual-app/web artifacts manually, so we don't need the entire packages folder
+COPY packages/desktop-client/package.json ./node_modules/@actual-app/web/package.json
+COPY packages/desktop-client/build ./node_modules/@actual-app/web/build
+
FROM node:18-bookworm-slim as prod
-RUN apt-get update && apt-get install tini && apt-get clean -y && rm -rf /var/lib/apt/lists/*
+# Minimal runtime dependencies
+RUN apt-get update && apt-get install -y tini && apt-get clean -y && rm -rf /var/lib/apt/lists/*
+
+# Create a non-root user
ARG USERNAME=actual
ARG USER_UID=1001
ARG USER_GID=$USER_UID
RUN groupadd --gid $USER_GID $USERNAME \
- && useradd --uid $USER_UID --gid $USER_GID -m $USERNAME
-RUN mkdir /data && chown -R ${USERNAME}:${USERNAME} /data
+ && useradd --uid $USER_UID --gid $USER_GID -m $USERNAME \
+ && mkdir /data && chown -R ${USERNAME}:${USERNAME} /data
WORKDIR /app
-ENV NODE_ENV production
-COPY --from=base /app/node_modules /app/node_modules
-COPY /packages/sync-server/package.json /packages/sync-server/app.js ./
-COPY /packages/sync-server/src ./src
-COPY /packages/sync-server/migrations ./migrations
-ENTRYPOINT ["/usr/bin/tini","-g", "--"]
+ENV NODE_ENV=production
+
+# Pull in only the necessary artifacts (built node_modules, server files, etc.)
+COPY --from=builder /app/node_modules /app/node_modules
+COPY --from=builder /app/packages/sync-server/package.json /app/packages/sync-server/app.js ./
+COPY --from=builder /app/packages/sync-server/src ./src
+COPY --from=builder /app/packages/sync-server/migrations ./migrations
+
+ENTRYPOINT ["/usr/bin/tini", "-g", "--"]
EXPOSE 5006
CMD ["node", "app.js"]
diff --git a/upcoming-release-notes/4569.md b/upcoming-release-notes/4569.md
new file mode 100644
index 0000000000..f57a86227e
--- /dev/null
+++ b/upcoming-release-notes/4569.md
@@ -0,0 +1,6 @@
+---
+category: Maintenance
+authors: [MikesGlitch, lelemm]
+---
+
+Adding workspace reference to the sync-server for the web client
diff --git a/yarn.lock b/yarn.lock
index 3f6021879a..eabc4e5aca 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -88,7 +88,7 @@ __metadata:
resolution: "@actual-app/sync-server@workspace:packages/sync-server"
dependencies:
"@actual-app/crdt": "npm:2.1.0"
- "@actual-app/web": "npm:25.3.1"
+ "@actual-app/web": "workspace:*"
"@babel/core": "npm:^7.26.10"
"@babel/preset-typescript": "npm:^7.20.2"
"@types/babel__core": "npm:^7"
@@ -129,14 +129,7 @@ __metadata:
languageName: unknown
linkType: soft
-"@actual-app/web@npm:25.3.1":
- version: 25.3.1
- resolution: "@actual-app/web@npm:25.3.1"
- checksum: 10/a582c288b6ee5414dc0b8bf6bc10c585bd5ddb3612a564142a4f44cf6a38bfd0cecc5cbcdc3781d8be6891fef12d588d4179e7e0582f53b751184d8aaba9e43b
- languageName: node
- linkType: hard
-
-"@actual-app/web@workspace:^, @actual-app/web@workspace:packages/desktop-client":
+"@actual-app/web@workspace:*, @actual-app/web@workspace:^, @actual-app/web@workspace:packages/desktop-client":
version: 0.0.0-use.local
resolution: "@actual-app/web@workspace:packages/desktop-client"
dependencies:
@@ -250,7 +243,7 @@ __metadata:
languageName: node
linkType: hard
-"@babel/code-frame@npm:^7.0.0, @babel/code-frame@npm:^7.10.4, @babel/code-frame@npm:^7.12.13, @babel/code-frame@npm:^7.26.2":
+"@babel/code-frame@npm:^7.0.0, @babel/code-frame@npm:^7.10.4, @babel/code-frame@npm:^7.12.13, @babel/code-frame@npm:^7.25.9, @babel/code-frame@npm:^7.26.2":
version: 7.26.2
resolution: "@babel/code-frame@npm:7.26.2"
dependencies:
@@ -291,7 +284,7 @@ __metadata:
languageName: node
linkType: hard
-"@babel/generator@npm:^7.26.10, @babel/generator@npm:^7.7.2":
+"@babel/generator@npm:^7.26.10":
version: 7.26.10
resolution: "@babel/generator@npm:7.26.10"
dependencies:
@@ -304,6 +297,19 @@ __metadata:
languageName: node
linkType: hard
+"@babel/generator@npm:^7.26.5, @babel/generator@npm:^7.7.2":
+ version: 7.26.5
+ resolution: "@babel/generator@npm:7.26.5"
+ dependencies:
+ "@babel/parser": "npm:^7.26.5"
+ "@babel/types": "npm:^7.26.5"
+ "@jridgewell/gen-mapping": "npm:^0.3.5"
+ "@jridgewell/trace-mapping": "npm:^0.3.25"
+ jsesc: "npm:^3.0.2"
+ checksum: 10/aa5f176155431d1fb541ca11a7deddec0fc021f20992ced17dc2f688a0a9584e4ff4280f92e8a39302627345cd325762f70f032764806c579c6fd69432542bcb
+ languageName: node
+ linkType: hard
+
"@babel/helper-annotate-as-pure@npm:^7.22.5, @babel/helper-annotate-as-pure@npm:^7.25.9":
version: 7.25.9
resolution: "@babel/helper-annotate-as-pure@npm:7.25.9"
@@ -553,6 +559,17 @@ __metadata:
languageName: node
linkType: hard
+"@babel/parser@npm:^7.25.9, @babel/parser@npm:^7.26.5, @babel/parser@npm:^7.26.7":
+ version: 7.26.7
+ resolution: "@babel/parser@npm:7.26.7"
+ dependencies:
+ "@babel/types": "npm:^7.26.7"
+ bin:
+ parser: ./bin/babel-parser.js
+ checksum: 10/3ccc384366ca9a9b49c54f5b24c9d8cff9a505f2fbdd1cfc04941c8e1897084cc32f100e77900c12bc14a176cf88daa3c155faad680d9a23491b997fd2a59ffc
+ languageName: node
+ linkType: hard
+
"@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@npm:^7.23.3":
version: 7.23.3
resolution: "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@npm:7.23.3"
@@ -1569,7 +1586,33 @@ __metadata:
languageName: node
linkType: hard
-"@babel/traverse@npm:^7.25.9, @babel/traverse@npm:^7.26.10, @babel/traverse@npm:^7.26.5":
+"@babel/template@npm:^7.25.9":
+ version: 7.25.9
+ resolution: "@babel/template@npm:7.25.9"
+ dependencies:
+ "@babel/code-frame": "npm:^7.25.9"
+ "@babel/parser": "npm:^7.25.9"
+ "@babel/types": "npm:^7.25.9"
+ checksum: 10/e861180881507210150c1335ad94aff80fd9e9be6202e1efa752059c93224e2d5310186ddcdd4c0f0b0fc658ce48cb47823f15142b5c00c8456dde54f5de80b2
+ languageName: node
+ linkType: hard
+
+"@babel/traverse@npm:^7.25.9, @babel/traverse@npm:^7.26.5":
+ version: 7.26.7
+ resolution: "@babel/traverse@npm:7.26.7"
+ dependencies:
+ "@babel/code-frame": "npm:^7.26.2"
+ "@babel/generator": "npm:^7.26.5"
+ "@babel/parser": "npm:^7.26.7"
+ "@babel/template": "npm:^7.25.9"
+ "@babel/types": "npm:^7.26.7"
+ debug: "npm:^4.3.1"
+ globals: "npm:^11.1.0"
+ checksum: 10/c821c9682fe0b9edf7f7cbe9cc3e0787ffee3f73b52c13b21b463f8979950a6433f5e7e482a74348d22c0b7a05180e6f72b23eb6732328b49c59fc6388ebf6e5
+ languageName: node
+ linkType: hard
+
+"@babel/traverse@npm:^7.26.10":
version: 7.26.10
resolution: "@babel/traverse@npm:7.26.10"
dependencies:
@@ -1584,7 +1627,17 @@ __metadata:
languageName: node
linkType: hard
-"@babel/types@npm:^7.0.0, @babel/types@npm:^7.20.7, @babel/types@npm:^7.21.3, @babel/types@npm:^7.22.15, @babel/types@npm:^7.22.19, @babel/types@npm:^7.22.5, @babel/types@npm:^7.23.0, @babel/types@npm:^7.24.5, @babel/types@npm:^7.25.9, @babel/types@npm:^7.26.10, @babel/types@npm:^7.26.9, @babel/types@npm:^7.3.0, @babel/types@npm:^7.3.3, @babel/types@npm:^7.4.4":
+"@babel/types@npm:^7.0.0, @babel/types@npm:^7.20.7, @babel/types@npm:^7.21.3, @babel/types@npm:^7.22.15, @babel/types@npm:^7.22.19, @babel/types@npm:^7.22.5, @babel/types@npm:^7.23.0, @babel/types@npm:^7.24.5, @babel/types@npm:^7.25.9, @babel/types@npm:^7.26.5, @babel/types@npm:^7.26.7, @babel/types@npm:^7.3.0, @babel/types@npm:^7.3.3, @babel/types@npm:^7.4.4":
+ version: 7.26.7
+ resolution: "@babel/types@npm:7.26.7"
+ dependencies:
+ "@babel/helper-string-parser": "npm:^7.25.9"
+ "@babel/helper-validator-identifier": "npm:^7.25.9"
+ checksum: 10/2264efd02cc261ca5d1c5bc94497c8995238f28afd2b7483b24ea64dd694cf46b00d51815bf0c87f0d0061ea221569c77893aeecb0d4b4bb254e9c2f938d7669
+ languageName: node
+ linkType: hard
+
+"@babel/types@npm:^7.26.10, @babel/types@npm:^7.26.9":
version: 7.26.10
resolution: "@babel/types@npm:7.26.10"
dependencies:
@@ -5515,7 +5568,7 @@ __metadata:
languageName: node
linkType: hard
-"@types/babel__core@npm:^7, @types/babel__core@npm:^7.1.14":
+"@types/babel__core@npm:^7":
version: 7.20.5
resolution: "@types/babel__core@npm:7.20.5"
dependencies:
@@ -5528,6 +5581,19 @@ __metadata:
languageName: node
linkType: hard
+"@types/babel__core@npm:^7.1.14":
+ version: 7.20.0
+ resolution: "@types/babel__core@npm:7.20.0"
+ dependencies:
+ "@babel/parser": "npm:^7.20.7"
+ "@babel/types": "npm:^7.20.7"
+ "@types/babel__generator": "npm:*"
+ "@types/babel__template": "npm:*"
+ "@types/babel__traverse": "npm:*"
+ checksum: 10/b82e432bfc42075d4f6218e5ed5c4a7cdeb087e0416f969fc65a755c41d129d7e369c93e9a9dc59d43291327aa8d7cd149f3573d1c3b54d0192561d02bb225eb
+ languageName: node
+ linkType: hard
+
"@types/babel__generator@npm:*":
version: 7.6.4
resolution: "@types/babel__generator@npm:7.6.4"
@@ -6883,7 +6949,7 @@ __metadata:
languageName: node
linkType: hard
-"ajv@npm:^8.0.0, ajv@npm:^8.6.0, ajv@npm:^8.9.0":
+"ajv@npm:^8.0.0, ajv@npm:^8.9.0":
version: 8.17.1
resolution: "ajv@npm:8.17.1"
dependencies:
@@ -6895,6 +6961,18 @@ __metadata:
languageName: node
linkType: hard
+"ajv@npm:^8.6.0":
+ version: 8.12.0
+ resolution: "ajv@npm:8.12.0"
+ dependencies:
+ fast-deep-equal: "npm:^3.1.1"
+ json-schema-traverse: "npm:^1.0.0"
+ require-from-string: "npm:^2.0.2"
+ uri-js: "npm:^4.2.2"
+ checksum: 10/b406f3b79b5756ac53bfe2c20852471b08e122bc1ee4cde08ae4d6a800574d9cd78d60c81c69c63ff81e4da7cd0b638fafbb2303ae580d49cf1600b9059efb85
+ languageName: node
+ linkType: hard
+
"ansi-escapes@npm:^4.2.1":
version: 4.3.2
resolution: "ansi-escapes@npm:4.3.2"