Skip to content

Commit

Permalink
Add npm publish config
Browse files Browse the repository at this point in the history
  • Loading branch information
oscklm committed Jan 9, 2024
1 parent f85824a commit b4124c6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/sharp-glasses-shout.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"package-stack-example": patch
---

added npm publish config
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"publishConfig": {
"access": "public"
},
"scripts": {
"build": "tsup index.ts --format cjs,esm --dts",
"release": "pnpm run build && changeset publish",
Expand Down

0 comments on commit b4124c6

Please sign in to comment.