From b1a151eaf1509400dcb1d86294c737b6c2b74e33 Mon Sep 17 00:00:00 2001 From: Andy Scherzinger Date: Fri, 12 Jul 2024 17:40:18 +0200 Subject: [PATCH] chore: Migrate REUSE to TOML format ...and add a badge Signed-off-by: Andy Scherzinger --- .github/workflows/reuse.yml | 4 ++-- .reuse/dep5 | 8 -------- README.md | 2 ++ REUSE.toml | 12 ++++++++++++ 4 files changed, 16 insertions(+), 10 deletions(-) delete mode 100644 .reuse/dep5 create mode 100644 REUSE.toml diff --git a/.github/workflows/reuse.yml b/.github/workflows/reuse.yml index e0098ad..031e80a 100644 --- a/.github/workflows/reuse.yml +++ b/.github/workflows/reuse.yml @@ -9,7 +9,7 @@ name: REUSE Compliance Check -on: pull_request +on: [pull_request] jobs: reuse-compliance-check: @@ -19,4 +19,4 @@ jobs: uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 - name: REUSE Compliance Check - uses: fsfe/reuse-action@a46482ca367aef4454a87620aa37c2be4b2f8106 # v3.0.0 + uses: fsfe/reuse-action@3ae3c6bdf1257ab19397fab11fd3312144692083 # v4.0.0 diff --git a/.reuse/dep5 b/.reuse/dep5 deleted file mode 100644 index 19064f3..0000000 --- a/.reuse/dep5 +++ /dev/null @@ -1,8 +0,0 @@ -Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ -Upstream-Name: nextcloud-vite-config -Upstream-Contact: Ferdinand Thiessen -Source: https://github.com/nextcloud-libraries/nextcloud-vite-config - -Files: package-lock.json package.json tsconfig.json banner-template.txt README.md CHANGELOG.md __tests__/__snapshots__/* -Copyright: Ferdinand Thiessen -License: AGPL-3.0-or-later diff --git a/README.md b/README.md index 08a73c8..1f3a06b 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,6 @@ # `@nextcloud/vite-config` + +[![REUSE status](https://api.reuse.software/badge/github.com/nextcloud-libraries/nextcloud-vite-config)](https://api.reuse.software/info/github.com/nextcloud-libraries/nextcloud-vite-config) [![npm last version](https://img.shields.io/npm/v/@nextcloud/vite-config.svg?style=flat-square)](https://www.npmjs.com/package/@nextcloud/vite-config) [![Project documentation](https://img.shields.io/badge/documentation-online-blue?style=flat-square)](https://nextcloud-libraries.github.io/nextcloud-vite-config/) Shared Vite ⚡ config for Nextcloud apps and libraries, which also can be easily extended. diff --git a/REUSE.toml b/REUSE.toml new file mode 100644 index 0000000..9f6b996 --- /dev/null +++ b/REUSE.toml @@ -0,0 +1,12 @@ +# SPDX-FileCopyrightText: 2024 Ferdinand Thiessen +# SPDX-License-Identifier: AGPL-3.0-or-later +version = 1 +SPDX-PackageName = "nextcloud-vite-config" +SPDX-PackageSupplier = "Ferdinand Thiessen " +SPDX-PackageDownloadLocation = "https://github.com/nextcloud-libraries/nextcloud-vite-config" + +[[annotations]] +path = ["package-lock.json", "package.json", "tsconfig.json", "banner-template.txt", "README.md", "CHANGELOG.md", "__tests__/__snapshots__/**"] +precedence = "aggregate" +SPDX-FileCopyrightText = "Ferdinand Thiessen " +SPDX-License-Identifier = "AGPL-3.0-or-later"