[web] Domi UI: @domi/ui as workspace:* (no Gitea fetch), allowJs instead of the type shim, web.nix sources the vendored package
This commit is contained in:
@@ -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 <script lang="ts">, and a strict
|
||||
// svelte-check outside the package refuses that import (implicit any). These are the same exports Ianitor uses,
|
||||
// taken from the components directly. Remove this file and the "paths" entry when @domi/ui fixes Strike.svelte.
|
||||
export { default as Button } from "../node_modules/@domi/ui/src/components/Button.svelte";
|
||||
export { default as TextField } from "../node_modules/@domi/ui/src/components/TextField.svelte";
|
||||
export { default as Checkbox } from "../node_modules/@domi/ui/src/components/Checkbox.svelte";
|
||||
export { default as Select } from "../node_modules/@domi/ui/src/components/Select.svelte";
|
||||
export { default as Segmented } from "../node_modules/@domi/ui/src/components/Segmented.svelte";
|
||||
export { DomiError } from "../node_modules/@domi/ui/src/lib/keys";
|
||||
Reference in New Issue
Block a user