Skip to content

Commit

Permalink
Update publish workflow and package.json formatting for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiodxa committed Dec 12, 2024
1 parent 494b527 commit 0032159
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- uses: oven-sh/setup-bun@v2
- run: bun install --frozen-lockfile
- run: bun run build
- run: bun run test:exports
- run: bun run exports

- uses: actions/setup-node@v4
with:
Expand Down
10 changes: 2 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@
"node": ">=20.0.0"
},
"type": "module",
"funding": [
"https://github.com/sponsors/sergiodxa"
],
"funding": ["https://github.com/sponsors/sergiodxa"],
"exports": {
"./package.json": "./package.json",
"./promise": "./build/common/promise.js",
Expand Down Expand Up @@ -150,9 +148,5 @@
"dependencies": {
"type-fest": "^4.30.0"
},
"files": [
"build",
"package.json",
"README.md"
]
"files": ["build", "package.json", "README.md"]
}

0 comments on commit 0032159

Please sign in to comment.