From 3e4c01dcac97b4819e81fa91056e241aa9db6bb7 Mon Sep 17 00:00:00 2001 From: Max Date: Mon, 16 Dec 2024 14:18:15 +0100 Subject: [PATCH] fix(licenses): SPDF license in package.json and khroma khroma has a MIT `license` file but nothing set in their package.json. `rollup-license-plugin` seems to not understand that. Signed-off-by: Max --- package.json | 2 +- vite.config.ts | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 85dc6862bc8..9d8178ebc5d 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "role": "Developer" } ], - "license": "agpl", + "license": "AGPL-3.0-or-later", "type": "module", "files": [ "dist" diff --git a/vite.config.ts b/vite.config.ts index 4759e0afef7..578472c5725 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -14,7 +14,11 @@ const config = createAppConfig({ init: path.join(__dirname, 'src', 'init.js'), }, { createEmptyCSSEntryPoints: true, - extractLicenseInformation: true, + extractLicenseInformation: { + overwriteLicenses: { + khroma: 'MIT', + }, + }, thirdPartyLicense: false, config: { resolve: {