Skip to content

Commit

Permalink
fix(licenses): SPDF license in package.json and khroma
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
max-nextcloud committed Dec 16, 2024
1 parent ec3c7a1 commit 3e4c01d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"role": "Developer"
}
],
"license": "agpl",
"license": "AGPL-3.0-or-later",
"type": "module",
"files": [
"dist"
Expand Down
6 changes: 5 additions & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down

0 comments on commit 3e4c01d

Please sign in to comment.