chore: update REUSE
REUSE had a breaking change that changed the way they configure the tool: https://github.com/fsfe/reuse-tool/releases/tag/v4.0.0 This PR adjusts our code to get compliant again. Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
This commit is contained in:
parent
dd5bd6d96a
commit
119b681d4d
5 changed files with 28 additions and 10 deletions
4
.nycrc.json.license
Normal file
4
.nycrc.json.license
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
SPDX-FileCopyrightText: 2023 Pere Lev
|
||||||
|
SPDX-FileCopyrightText: 2024 André Jaenisch
|
||||||
|
|
||||||
|
SPDX-License-Identifier: AGPL-3.0-or-later
|
10
.reuse/dep5
10
.reuse/dep5
|
@ -1,10 +0,0 @@
|
||||||
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
|
||||||
Upstream-Name: Anvil
|
|
||||||
Upstream-Contact: Pere Lev <pere@towards.vision>
|
|
||||||
Source: https://codeberg.org/Anvil/Anvil
|
|
||||||
|
|
||||||
# Sample paragraph, commented out:
|
|
||||||
#
|
|
||||||
# Files: src/*
|
|
||||||
# Copyright: $YEAR $NAME <$CONTACT>
|
|
||||||
# License: ...
|
|
8
REUSE.toml
Normal file
8
REUSE.toml
Normal file
|
@ -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 <pere@towards.vision>"
|
||||||
|
SPDX-PackageDownloadLocation = "https://codeberg.org/Anvil/Anvil"
|
||||||
|
annotations = []
|
4
src/lib/assets/anvil.png.license
Normal file
4
src/lib/assets/anvil.png.license
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
SPDX-FileCopyrightText: 2023 Pere Lev
|
||||||
|
SPDX-FileCopyrightText: 2024 André Jaenisch
|
||||||
|
|
||||||
|
SPDX-License-Identifier: AGPL-3.0-or-later
|
|
@ -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 <http://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
Object.defineProperty(window, 'matchMedia', {
|
Object.defineProperty(window, 'matchMedia', {
|
||||||
writable: true,
|
writable: true,
|
||||||
value: vi.fn().mockImplementation((query) => ({
|
value: vi.fn().mockImplementation((query) => ({
|
||||||
|
|
Loading…
Reference in a new issue