Skip to content

Commit 46b8354

Browse files
authored
feat: add mit license to the published package (#432)
1 parent 2577ae3 commit 46b8354

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.changeset/witty-garlics-lay.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@cube-dev/ui-kit': minor
3+
---
4+
5+
Add license field to the published package.json

scripts/copy-files.js

+2
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ function copyPackageJson() {
2222
keywords,
2323
repository,
2424
sideEffects,
25+
license,
2526
} = JSON.parse(packageData);
2627
const newPackageData = {
2728
name,
@@ -34,6 +35,7 @@ function copyPackageJson() {
3435
sideEffects,
3536
peerDependencies,
3637
dependencies,
38+
license,
3739
module: './es/index.js',
3840
types: './types/index.d.ts',
3941
main: './cjs/index.js',

0 commit comments

Comments
 (0)