Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove unnecessary files when publishing to npm registry. #7

Merged
merged 1 commit into from
Jan 20, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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