Skip to content

Commit

Permalink
fix: peer-deps
Browse files Browse the repository at this point in the history
liho00 committed Mar 16, 2022
1 parent 19afe00 commit 5917ccc
Showing 4 changed files with 12,777 additions and 3,901 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: '🚀 release'

on:
release:
types: [published]

jobs:
release:
name: 🚀 release
runs-on: ubuntu-latest
steps:
- name: 📚 checkout
uses: actions/checkout@v2.1.1
- name: 🟢 node
uses: actions/setup-node@v1.4.2
with:
node-version: 12
registry-url: https://registry.npmjs.org
- name: 🚀 publish
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}}
12,748 changes: 12,748 additions & 0 deletions package-lock.json

Large diffs are not rendered by default.

17 changes: 7 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
@@ -2,9 +2,9 @@
"name": "react-modal-hook",
"version": "3.0.0",
"description": "React hook for showing modal windows",
"author": "mpontus",
"author": "liho00",
"license": "MIT",
"repository": "mpontus/react-modal-hook",
"repository": "git://github.com/liho00/react-modal-hook.git",
"main": "dist/index.js",
"module": "dist/index.es.js",
"jsnext:main": "dist/index.es.js",
@@ -22,12 +22,6 @@
"predeploy": "cd example && yarn install && yarn run build",
"deploy": "gh-pages -d example/build"
},
"dependencies": {},
"peerDependencies": {
"prop-types": "^15.5.4",
"react": "^16.8.3",
"react-dom": "^16.8.3"
},
"devDependencies": {
"@rollup/plugin-typescript": "^3.0.0",
"@testing-library/jest-dom": "^5.1.1",
@@ -38,8 +32,8 @@
"cross-env": "^7.0.0",
"gh-pages": "^2.2.0",
"jest": "^25.1.0",
"react": "^16.8.3",
"react-dom": "^16.8.3",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"rollup": "^1.31.1",
"rollup-plugin-peer-deps-external": "^2.2.0",
"ts-jest": "^25.2.1",
@@ -51,5 +45,8 @@
],
"jest": {
"preset": "ts-jest"
},
"publishConfig": {
"registry": "https://npm.pkg.github.com"
}
}
3,891 changes: 0 additions & 3,891 deletions yarn.lock

This file was deleted.

0 comments on commit 5917ccc

Please sign in to comment.