Skip to content

Commit 6436b27

Browse files
committed
chore: fix license publishing path
1 parent c0f5811 commit 6436b27

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

packages/try-catch-tuple/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@
2626
"build": "tsup index.ts --format esm,cjs --dts --sourcemap",
2727
"clean": "rm -rf dist && echo done",
2828
"version": "biome format --fix package.json",
29-
"prepublishOnly": "cp ../../LICENSE dist/",
29+
"prepublishOnly": "cp ../../LICENSE ./",
3030
"publish": "bun publish",
3131
"lint": "biome check"
3232
},
3333
"type": "module",
3434
"module": "dist/index.js",
3535
"main": "dist/index.cjs",
3636
"types": "dist/index.d.ts",
37-
"files": ["dist", "package.json", "README.md", "CHANGELOG.md"],
37+
"files": ["dist", "package.json", "README.md", "CHANGELOG.md", "LICENSE"],
3838
"exports": {
3939
".": {
4040
"types": "./dist/index.d.ts",

packages/ts-plugin/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@
1515
"build": "tsup index.ts transformer.ts --format esm,cjs --dts --dts-resolve --sourcemap --splitting false",
1616
"clean": "rm -rf dist && echo done",
1717
"version": "biome format --fix package.json",
18-
"prepublishOnly": "cp ../../LICENSE dist/",
18+
"prepublishOnly": "cp ../../LICENSE ./",
1919
"publish": "bun publish",
2020
"lint": "biome check"
2121
},
2222
"module": "dist/index.mjs",
2323
"main": "dist/index.js",
2424
"types": "dist/index.d.ts",
25-
"files": ["dist", "package.json", "README.md", "CHANGELOG.md"],
25+
"files": ["dist", "package.json", "README.md", "CHANGELOG.md", "LICENSE"],
2626
"exports": {
2727
".": {
2828
"types": "./dist/index.d.ts",

0 commit comments

Comments
 (0)