From 775b63ac22c65794f5845af2a0de9e64032ec197 Mon Sep 17 00:00:00 2001 From: Evyatar Alush Date: Sun, 10 Nov 2024 21:58:33 +0200 Subject: [PATCH] vx: add license to package.json template --- packages/vest-utils/package.json | 3 ++- vx/config/rollup/plugins/handleExports.js | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/vest-utils/package.json b/packages/vest-utils/package.json index ef7658767..96840a6ec 100644 --- a/packages/vest-utils/package.json +++ b/packages/vest-utils/package.json @@ -74,5 +74,6 @@ "./package.json": "./package.json", "./*": "./*" }, - "vxAllowResolve": [] + "vxAllowResolve": [], + "license": "MIT" } diff --git a/vx/config/rollup/plugins/handleExports.js b/vx/config/rollup/plugins/handleExports.js index 22b992d62..bd9d9125a 100644 --- a/vx/config/rollup/plugins/handleExports.js +++ b/vx/config/rollup/plugins/handleExports.js @@ -143,6 +143,7 @@ function genPackageJsonBase(moduleName, { namespace, isNested = false }) { ...umdExports, name: moduleName, types: typesPath, + license: 'MIT', }; }