Skip to content

Commit 8b19fc1

Browse files
committed
[MERGE]
1 parent d832bbb commit 8b19fc1

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"workspaces": [
44
"packages/*"
55
],
6-
"version": "0.1.36",
6+
"version": "1.0.0",
77
"packageManager": "[email protected]",
88
"scripts": {
99
"build": "yarn workspaces foreach --all run build",

packages/main/package.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,17 +30,19 @@
3030
"clean": "rm -rf tsconfig.build.tsbuildinfo && rm -rf dist",
3131
"build:js": "yarn node esbuild.config.js",
3232
"build:types": "tsc -p tsconfig.build.json",
33-
"build": "yarn run clean && yarn run build:js && yarn run build:types",
33+
"build": "yarn run clean && yarn run build:js && yarn run build:types && yarn run copy:readme",
3434
"start": "tsx --tsconfig tsconfig.json src/index.ts",
3535
"dev": "npm run build:js -- --watch",
3636
"dev:types": "npm run build:types -- --watch",
37-
"prepublishOnly": "cp ../../README.md ./ && if [ -z \"$CI\" ]; then echo 'please publish with CI!' && exit 1; fi"
37+
"copy:readme": "cp ../../README.md ./",
38+
"prepublishOnly": "if [ -z \"$CI\" ]; then echo 'please publish with CI!' && exit 1; fi"
3839
},
3940
"main": "dist/index.js",
4041
"types": "dist/index.d.ts",
4142
"source": "src/index.ts",
4243
"files": [
43-
"dist"
44+
"dist",
45+
"./README.md"
4446
],
4547
"type": "module",
4648
"exports": {

0 commit comments

Comments
 (0)