Skip to content

Commit d68821a

Browse files
committed
fix: Copy license to package
1 parent 66a5237 commit d68821a

4 files changed

Lines changed: 10 additions & 9 deletions

File tree

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"name": "dme-monorepo",
33
"version": "1.0.0",
4+
"private": true,
45
"description": "",
56
"main": "index.js",
67
"scripts": {
@@ -12,7 +13,5 @@
1213
"format:fix": "pnpm -r format:fix"
1314
},
1415
"keywords": [],
15-
"author": "BootNode",
16-
"license": "MIT",
1716
"packageManager": "pnpm@10.17.1"
1817
}

packages/onboarding-modal/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
{
22
"name": "dme-onboarding-modal",
3-
"version": "0.0.4",
3+
"version": "0.0.5",
4+
"author": "BootNode",
5+
"license": "MIT",
46
"type": "module",
57
"files": [
68
"dist"
@@ -48,8 +50,6 @@
4850
"dependencies": {
4951
"react-qr-code": "^2.0.18"
5052
},
51-
"author": "BootNode",
52-
"license": "MIT",
5353
"prettier": {
5454
"tabWidth": 2,
5555
"printWidth": 100

packages/onboarding-modal/vite.config.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,11 @@ export default defineConfig({
1515
rollupTypes: true,
1616
}),
1717
{
18-
name: "copy-css",
19-
closeBundle: () => copyFileSync("lib/index.css", "dist/index.css"),
18+
name: "copy-files",
19+
closeBundle: () => {
20+
copyFileSync("lib/index.css", "dist/index.css");
21+
copyFileSync("../../LICENSE", "dist/LICENSE");
22+
},
2023
},
2124
],
2225
build: {

packages/server/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"name": "server",
33
"version": "1.0.0",
4+
"private": true,
45
"description": "",
56
"main": "dist/index.js",
67
"scripts": {
@@ -14,8 +15,6 @@
1415
"format:fix": "prettier . --write"
1516
},
1617
"keywords": [],
17-
"author": "BootNode",
18-
"license": "MIT",
1918
"packageManager": "pnpm@10.17.1",
2019
"devDependencies": {
2120
"@eslint/js": "^9.36.0",

0 commit comments

Comments
 (0)