diff --git a/.nycrc.json.license b/.nycrc.json.license new file mode 100644 index 0000000..7f6d295 --- /dev/null +++ b/.nycrc.json.license @@ -0,0 +1,4 @@ +SPDX-FileCopyrightText: 2023 Pere Lev +SPDX-FileCopyrightText: 2024 André Jaenisch + +SPDX-License-Identifier: AGPL-3.0-or-later diff --git a/.reuse/dep5 b/.reuse/dep5 deleted file mode 100644 index c291da2..0000000 --- a/.reuse/dep5 +++ /dev/null @@ -1,10 +0,0 @@ -Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ -Upstream-Name: Anvil -Upstream-Contact: Pere Lev -Source: https://codeberg.org/Anvil/Anvil - -# Sample paragraph, commented out: -# -# Files: src/* -# Copyright: $YEAR $NAME <$CONTACT> -# License: ... diff --git a/REUSE.toml b/REUSE.toml new file mode 100644 index 0000000..673a57d --- /dev/null +++ b/REUSE.toml @@ -0,0 +1,8 @@ +# SPDX-FileCopyrightText: 2024 André Jaenisch +# SPDX-License-Identifier: AGPL-3.0-or-later + +version = 1 +SPDX-PackageName = "Anvil" +SPDX-PackageSupplier = "Pere Lev " +SPDX-PackageDownloadLocation = "https://codeberg.org/Anvil/Anvil" +annotations = [] diff --git a/src/lib/assets/anvil.png.license b/src/lib/assets/anvil.png.license new file mode 100644 index 0000000..7f6d295 --- /dev/null +++ b/src/lib/assets/anvil.png.license @@ -0,0 +1,4 @@ +SPDX-FileCopyrightText: 2023 Pere Lev +SPDX-FileCopyrightText: 2024 André Jaenisch + +SPDX-License-Identifier: AGPL-3.0-or-later diff --git a/tests/components/setup.ts b/tests/components/setup.ts index 7b091ce..732743c 100644 --- a/tests/components/setup.ts +++ b/tests/components/setup.ts @@ -1,3 +1,15 @@ +/* Vitest setup for custom global variables. + * Copyright (C) 2024 André Jaenisch + * SPDX-FileCopyrightText: 2024 André Jaenisch + * SPDX-License-Identifier: AGPL-3.0-or-later + * + * This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License along with this program. If not, see . + */ + Object.defineProperty(window, 'matchMedia', { writable: true, value: vi.fn().mockImplementation((query) => ({