From fd53170631a1c36f673941336896430b79356861 Mon Sep 17 00:00:00 2001 From: Fynn Feldpausch Date: Thu, 1 Aug 2024 08:05:46 +0200 Subject: [PATCH] chore: check licenses --- angular/package.json | 1 + angular/projects/catalyst-formly/package.json | 3 ++- angular/projects/catalyst/package.json | 1 + core/package.json | 1 + package.json | 2 +- react/package.json | 1 + tokens/package.json | 1 + 7 files changed, 8 insertions(+), 2 deletions(-) diff --git a/angular/package.json b/angular/package.json index dd0effdf..53da2893 100644 --- a/angular/package.json +++ b/angular/package.json @@ -9,6 +9,7 @@ "test": "ng test", "prettier": "prettier --write .", "prettier:check": "prettier --check .", + "license": "npx --yes @haiilo/license-check", "clean": "rm -rf ./.angular ./dist", "reset": "rm -rf ./.angular ./dist ./node_modules" }, diff --git a/angular/projects/catalyst-formly/package.json b/angular/projects/catalyst-formly/package.json index cb3db066..140b47f4 100644 --- a/angular/projects/catalyst-formly/package.json +++ b/angular/projects/catalyst-formly/package.json @@ -4,7 +4,8 @@ "description": "Angular Formly bindings for Catalyst Design System", "license": "MIT", "scripts": { - "reset": "rm -rf ./node_modules" + "reset": "rm -rf ./node_modules", + "license": "npx --yes @haiilo/license-check" }, "publishConfig": { "access": "public" diff --git a/angular/projects/catalyst/package.json b/angular/projects/catalyst/package.json index 1a209a81..9fdebac2 100644 --- a/angular/projects/catalyst/package.json +++ b/angular/projects/catalyst/package.json @@ -4,6 +4,7 @@ "description": "Angular wrapper for Catalyst Design System", "license": "MIT", "scripts": { + "license": "npx --yes @haiilo/license-check", "reset": "rm -rf ./node_modules" }, "publishConfig": { diff --git a/core/package.json b/core/package.json index e4bd8f33..769b0963 100644 --- a/core/package.json +++ b/core/package.json @@ -37,6 +37,7 @@ "prettier:check": "prettier --check .", "lint": "eslint . --ext .js,.jsx,.ts,.tsx", "lint:style": "stylelint **/*.scss", + "license": "npx --yes @haiilo/license-check", "clean": "rm -rf ./.stencil ./dist ./loader ./www", "reset": "rm -rf ./.stencil ./dist ./loader ./www ./node_modules" }, diff --git a/package.json b/package.json index b8ae1d91..f9d11416 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "publish:angular": "cd angular/dist/catalyst && pnpm publish", "publish:angular-formly": "cd angular/dist/catalyst-formly && pnpm publish", "publish:react": "pnpm --filter @haiilo/catalyst-react publish", - "publish": "pnpm run publish:tokens && pnpm run publish:core && pnpm run publish:angular && pnpm run publish:angular-formly && pnpm run publish:react", + "license": "pnpm run -r license", "clean": "pnpm run -r clean", "reset": "pnpm run -r reset && rm -rf ./node_modules" }, diff --git a/react/package.json b/react/package.json index 6309939a..af6dd34d 100644 --- a/react/package.json +++ b/react/package.json @@ -16,6 +16,7 @@ "build": "pnpm run tsc", "tsc": "tsc -p .", "rollup": "rollup -c", + "license": "npx --yes @haiilo/license-check", "clean": "rm -rf ./dist", "reset": "rm -rf ./dist ./node_modules" }, diff --git a/tokens/package.json b/tokens/package.json index 418dca20..93bb8e5c 100644 --- a/tokens/package.json +++ b/tokens/package.json @@ -20,6 +20,7 @@ "prebuild": "pnpm run clean", "build": "style-dictionary build --config config.js", "postbuild": "copyfiles -f assets/fonts/* node_modules/source-sans/WOFF*/VF/* dist/assets/fonts", + "license": "npx --yes @haiilo/license-check", "clean": "rm -rf ./dist", "reset": "rm -rf ./dist ./node_modules" },