Skip to content

Commit

Permalink
remove unnecessary files when publishing to npm registry. (#7)
Browse files Browse the repository at this point in the history
Co-authored-by: Tate <[email protected]>
  • Loading branch information
tatethurston and Tate authored Jan 20, 2022
1 parent 3ff55df commit e17882e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ jobs:
registry-url: "https://registry.npmjs.org"
- run: yarn
- run: yarn build
- run: yarn publish
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## v1.0.2

Internal: remove unnecessary files when publishing to npm registry.

## v1.0.1

Internal: fix CI publishes.
Expand Down
6 changes: 2 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-use-error-boundary",
"version": "1.0.1",
"version": "1.0.2",
"description": "A React error boundary hook for function components",
"license": "MIT",
"author": "Tate <[email protected]>",
Expand Down Expand Up @@ -30,9 +30,7 @@
"test": "jest src/*",
"test:ci": "yarn test --coverage",
"typecheck": "yarn tsc --noEmit",
"typecheck:watch": "yarn typecheck --watch",
"version": "git add -A package.json",
"postversion": "git push && git push --tags"
"typecheck:watch": "yarn typecheck --watch"
},
"sideEffects": false,
"types": "dist/index.d.ts",
Expand Down

0 comments on commit e17882e

Please sign in to comment.