Skip to content

Commit 02e0f20

Browse files
authored
add readme and license to published package (#101)
1 parent 1a7516e commit 02e0f20

File tree

5 files changed

+15
-3
lines changed

5 files changed

+15
-3
lines changed

.changeset/heavy-ladybugs-marry.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
'@web3-ui/components': patch
3+
'@web3-ui/core': patch
4+
'@web3-ui/hooks': patch
5+
---
6+
7+
Add README and LICENSE to published packages

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
.DS_STORE
2+
packages/**/LICENSE
3+
packages/**/README.md
24

35
node_modules
46
.rpt2_cache

packages/components/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
"build": "preconstruct build",
2222
"format": "prettier --write \"src/**/*.{ts,tsx,json,js,jsx}\"",
2323
"format:check": "prettier --list-different \"src/**/*.{ts,tsx,json,js,jsx}\"",
24-
"pre-commit-hook": "yarn lint-staged"
24+
"pre-commit-hook": "yarn lint-staged",
25+
"prepublishOnly": "cp ../../LICENSE ./LICENSE && cp ../../README.md ./README.md"
2526
},
2627
"main": "dist/web3-ui-components.cjs.js",
2728
"module": "dist/web3-ui-components.esm.js",

packages/core/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
"build": "preconstruct build",
2222
"format": "prettier --write \"src/**/*.{ts,tsx,json,js,jsx}\"",
2323
"format:check": "prettier --list-different \"src/**/*.{ts,tsx,json,js,jsx}\"",
24-
"pre-commit-hook": "yarn lint-staged"
24+
"pre-commit-hook": "yarn lint-staged",
25+
"prepublishOnly": "cp ../../LICENSE ./LICENSE && cp ../../README.md ./README.md"
2526
},
2627
"main": "dist/web3-ui-core.cjs.js",
2728
"module": "dist/web3-ui-core.esm.js",

packages/hooks/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@
2424
"test": "jest --maxWorkers=2",
2525
"test:watch": "yarn test --watch",
2626
"test:coverage": "jest --coverage --colors --maxWorkers=2",
27-
"pre-commit-hook": "yarn lint-staged"
27+
"pre-commit-hook": "yarn lint-staged",
28+
"prepublishOnly": "cp ../../LICENSE ./LICENSE && cp ../../README.md ./README.md"
2829
},
2930
"main": "dist/web3-ui-hooks.cjs.js",
3031
"module": "dist/web3-ui-hooks.esm.js",

0 commit comments

Comments
 (0)