From b40e2d3b8e870ad8112d427d643e7900b90a6936 Mon Sep 17 00:00:00 2001 From: mnovak Date: Mon, 23 Nov 2026 00:06:05 +0100 Subject: [PATCH] [web] Domi UI: @domi/ui as workspace:* (no Gitea fetch), allowJs instead of the type shim, web.nix sources the vendored package --- apps/web/package.json | 2 +- apps/web/src/domi-ui-types.ts | 14 ------------- apps/web/tsconfig.json | 5 +++-- deploy/nixos/web.nix | 5 ++++- packages/ui/package.json | 2 +- pnpm-lock.yaml | 37 ++++++++++++++++++----------------- 6 files changed, 28 insertions(+), 37 deletions(-) delete mode 100644 apps/web/src/domi-ui-types.ts diff --git a/apps/web/package.json b/apps/web/package.json index 9fd0998..43ea9e8 100644 --- a/apps/web/package.json +++ b/apps/web/package.json @@ -14,7 +14,7 @@ "aula:shots": "playwright test --project=aula" }, "dependencies": { - "@domi/ui": "git+https://gitea.marek-novak.cz/mnovak/domi-design.git#v1.0.1", + "@domi/ui": "workspace:*", "@ianitor/ui": "workspace:*" }, "devDependencies": { diff --git a/apps/web/src/domi-ui-types.ts b/apps/web/src/domi-ui-types.ts deleted file mode 100644 index 222365e..0000000 --- a/apps/web/src/domi-ui-types.ts +++ /dev/null @@ -1,14 +0,0 @@ -// This Source Code Form is subject to the terms of the Mozilla Public -// License, v. 2.0. If a copy of the MPL was not distributed with this -// file, You can obtain one at https://mozilla.org/MPL/2.0/. - -// Types only: tsconfig.json "paths" points "@domi/ui" here for svelte-check; Vite, Vitest and the build use the -// package itself. @domi/ui 1.0's index.ts imports Strike.svelte, which has no