Skip to content

Commit b3adf68

Browse files
committed
added auto-release & updated names
1 parent 2ab21e2 commit b3adf68

File tree

8 files changed

+55
-14
lines changed

8 files changed

+55
-14
lines changed

.github/release.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: auto-release
2+
3+
on:
4+
release:
5+
types: [published]
6+
7+
jobs:
8+
release:
9+
runs-on: ubuntu-latest
10+
11+
strategy:
12+
matrix:
13+
node-version: ['16']
14+
15+
environment:
16+
name: Production
17+
18+
steps:
19+
- uses: actions/checkout@v2
20+
21+
- name: use node.js ${{ matrix.node_version }}
22+
uses: actions/setup-node@v2
23+
with:
24+
node-version: ${{ matrix.node_version }}
25+
registry-url: 'https://registry.npmjs.org'
26+
27+
- name: install dependencies
28+
run: yarn --frozen-lockfile
29+
30+
- name: check types
31+
run: yarn typecheck
32+
33+
- name: build
34+
run: yarn build
35+
36+
- name: publish package
37+
run: yarn publish
38+
env:
39+
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

LICENSE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
The MIT License (MIT)
2-
Copyright © 2020 llldar
2+
Copyright © 2020 natelindev
33

44
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
55

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
<br/>
44

55
<p align="center">
6-
<a aria-label="Downloads" href="https://github.com/llldar/react-use-hoverintent/">
6+
<a aria-label="Downloads" href="https://github.com/natelindev/react-use-hoverintent/">
77
<img alt="Downloads" src="https://img.shields.io/npm/dt/react-use-hoverintent?style=for-the-badge">
88
</a>
9-
<a aria-label="License" href="https://github.com/llldar/react-use-hoverintent/blob/master/LICENSE">
10-
<img alt="MIT License" src="https://img.shields.io/github/license/llldar/vlepo?style=for-the-badge">
9+
<a aria-label="License" href="https://github.com/natelindev/react-use-hoverintent/blob/master/LICENSE">
10+
<img alt="MIT License" src="https://img.shields.io/github/license/natelindev/vlepo?style=for-the-badge">
1111
</a>
1212
</p>
1313

dist/LICENSE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
The MIT License (MIT)
2-
Copyright © 2020 llldar
2+
Copyright © 2020 natelindev
33

44
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
55

dist/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
<br/>
44

55
<p align="center">
6-
<a aria-label="Downloads" href="https://github.com/llldar/react-use-hoverintent/">
6+
<a aria-label="Downloads" href="https://github.com/natelindev/react-use-hoverintent/">
77
<img alt="Downloads" src="https://img.shields.io/npm/dt/react-use-hoverintent?style=for-the-badge">
88
</a>
9-
<a aria-label="License" href="https://github.com/llldar/react-use-hoverintent/blob/master/LICENSE">
10-
<img alt="MIT License" src="https://img.shields.io/github/license/llldar/vlepo?style=for-the-badge">
9+
<a aria-label="License" href="https://github.com/natelindev/react-use-hoverintent/blob/master/LICENSE">
10+
<img alt="MIT License" src="https://img.shields.io/github/license/natelindev/vlepo?style=for-the-badge">
1111
</a>
1212
</p>
1313

dist/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,12 @@
2626
"rimraf": "3.0.2",
2727
"typescript": "4.4.3"
2828
},
29-
"repository": "https://github.com/llldar/react-use-hoverintent",
29+
"repository": "https://github.com/natelindev/react-use-hoverintent",
3030
"exclude": [
3131
"node_modules"
3232
],
3333
"scripts": {
34-
"build": "rimraf dist && tsc --emitDeclarationOnly && babel src --out-dir dist --extensions .ts,.tsx && copyfiles package.json LICENSE.md README.md ./dist"
34+
"build": "rimraf dist && tsc --emitDeclarationOnly && babel src --out-dir dist --extensions .ts,.tsx && copyfiles package.json LICENSE.md README.md ./dist",
35+
"typecheck": "tsc --noEmit"
3536
}
3637
}

0 commit comments

Comments
 (0)