Share UI code through an npm workspace

Extracts the avatar components and the style tokens into shared/ui, which
both apps consume as a workspace package, to try out ADR 2. Nix and the
Docker setups are not updated yet.
This commit is contained in:
Rūdolfs Ošiņš
2026-10-29 16:27:03 +01:00
parent 84995442a5
commit f79b23dde7
97 changed files with 1898 additions and 9022 deletions
+13 -2
View File
@@ -1,13 +1,24 @@
name: desktop-e2e
# Only desktop changes, or changes to this workflow, run it.
# Only desktop, shared/ui and root npm changes, or changes to this workflow,
# run it.
on:
pull_request:
paths:
- "desktop/**"
- "shared/**"
- "package.json"
- "package-lock.json"
- ".npmrc"
- ".nvmrc"
- ".github/workflows/desktop-e2e.yml"
push:
paths:
- "desktop/**"
- "shared/**"
- "package.json"
- "package-lock.json"
- ".npmrc"
- ".nvmrc"
- ".github/workflows/desktop-e2e.yml"
workflow_dispatch:
@@ -31,7 +42,7 @@ jobs:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version-file: "desktop/.nvmrc"
node-version-file: ".nvmrc"
- run: |
apt-get update && apt-get install -y --no-install-recommends \