Skip to content

Commit 25f041e

Browse files
authored
Bring Up To Date + General Tweaks (#26)
* Add nvmrc + bring upto date * Make imageAlt optional * Remove rest of jest * Tweaks * Update README * Update node version * Remove window.location.href from copyToClipboard * Remove return * Update package version * Make copyToClipboard generic
1 parent ae7dd51 commit 25f041e

File tree

13 files changed

+6504
-16527
lines changed

13 files changed

+6504
-16527
lines changed

.eslintrc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
"env": {
33
"browser": true,
44
"node": true,
5-
"es6": true,
6-
"jest": true
5+
"es6": true
76
},
87
"parser": "@typescript-eslint/parser",
98
"parserOptions": {

.github/workflows/pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111

1212
strategy:
1313
matrix:
14-
node-version: [12.x, 14.x]
14+
node-version: [12.x, 14.x, 16.x]
1515

1616
steps:
1717
- uses: actions/checkout@v1

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010

1111
strategy:
1212
matrix:
13-
node-version: [12.x, 14.x]
13+
node-version: [12.x, 14.x, 16.x]
1414

1515
steps:
1616
- uses: actions/checkout@v1
@@ -35,7 +35,7 @@ jobs:
3535
- uses: actions/checkout@v2
3636
- uses: actions/setup-node@v1
3737
with:
38-
node-version: 14
38+
node-version: 16
3939
registry-url: https://registry.npmjs.org/
4040
- run: npm ci
4141
- run: npm publish --access=public

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
v16.15.0

CONTRIBUTING.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,6 @@ Please submit an issue if you need help with anything.
1111
We have a [code of conduct](./CODE_OF_CONDUCT.md) so please make sure you follow
1212
it.
1313

14-
## Testing
15-
16-
Testing is performed using `jest` and is tested on Windows, Linux and MacOS with
17-
Node 10 and 12 runtimes. For a PR to be considered all these environments need to
18-
pass. Testing is automated using GitHub Actions CI.
19-
2014
## Submitting changes
2115

2216
Please send a

README.md

Lines changed: 30 additions & 30 deletions
Large diffs are not rendered by default.

jest.config.js

Lines changed: 0 additions & 24 deletions
This file was deleted.

0 commit comments

Comments
 (0)