From 1df5112e8ea4a627c9d37346b92995942949087e Mon Sep 17 00:00:00 2001 From: matijs Date: Tue, 30 Jul 2024 16:29:39 +0200 Subject: [PATCH] chore: update valid-values-license `proprietary/*` packages need their own LICENSE.md so make sure their `package.json#license` is correct. Remove the unneeded `proprietary/LICENSE.md`. --- npmpackagejsonlint.config.cjs | 2 +- proprietary/LICENSE.md | 7 ------- proprietary/assets/package.json | 2 +- proprietary/design-tokens/package.json | 2 +- proprietary/font/package.json | 2 +- 5 files changed, 4 insertions(+), 11 deletions(-) delete mode 100644 proprietary/LICENSE.md diff --git a/npmpackagejsonlint.config.cjs b/npmpackagejsonlint.config.cjs index ccc91747..3cc3bfbf 100644 --- a/npmpackagejsonlint.config.cjs +++ b/npmpackagejsonlint.config.cjs @@ -11,7 +11,7 @@ module.exports = { { patterns: ['proprietary/**/package.json'], rules: { - 'valid-values-license': ['error', ['SEE LICENSE IN ../LICENSE.md']], + 'valid-values-license': ['error', ['SEE LICENSE IN LICENSE.md']], }, }, ], diff --git a/proprietary/LICENSE.md b/proprietary/LICENSE.md deleted file mode 100644 index 1f173a02..00000000 --- a/proprietary/LICENSE.md +++ /dev/null @@ -1,7 +0,0 @@ -# License - -Copyright (c) {year} {author}. All rights reserved. - -The open source license does NOT apply to files in this directory. - -These are properietary assets to {author}. diff --git a/proprietary/assets/package.json b/proprietary/assets/package.json index 9c916c09..ae1863ee 100644 --- a/proprietary/assets/package.json +++ b/proprietary/assets/package.json @@ -2,7 +2,7 @@ "version": "1.0.0-alpha.0", "author": "Community for NL Design System", "description": "Assets", - "license": "SEE LICENSE IN ../LICENSE.md", + "license": "SEE LICENSE IN LICENSE.md", "name": "@tilburg/assets", "keywords": [ "nl-design-system" diff --git a/proprietary/design-tokens/package.json b/proprietary/design-tokens/package.json index 08731481..90cf14dc 100644 --- a/proprietary/design-tokens/package.json +++ b/proprietary/design-tokens/package.json @@ -2,7 +2,7 @@ "version": "1.0.0-alpha.17", "author": "Community for NL Design System", "description": "Example design tokens", - "license": "SEE LICENSE IN ../LICENSE.md", + "license": "SEE LICENSE IN LICENSE.md", "name": "@tilburg/design-tokens", "keywords": [ "nl-design-system" diff --git a/proprietary/font/package.json b/proprietary/font/package.json index 308c4cf3..e92be17c 100644 --- a/proprietary/font/package.json +++ b/proprietary/font/package.json @@ -2,7 +2,7 @@ "version": "1.0.0-alpha.0", "author": "Community for NL Design System", "description": "Font assets", - "license": "SEE LICENSE IN ../LICENSE.md", + "license": "SEE LICENSE IN LICENSE.md", "name": "@tilburg/font", "main": "dist/index.css", "keywords": [