Skip to content

Commit

Permalink
Bring Up To Date + General Tweaks (#26)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
PauloMFJ authored May 31, 2022
1 parent ae7dd51 commit 25f041e
Show file tree
Hide file tree
Showing 13 changed files with 6,504 additions and 16,527 deletions.
3 changes: 1 addition & 2 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
"env": {
"browser": true,
"node": true,
"es6": true,
"jest": true
"es6": true
},
"parser": "@typescript-eslint/parser",
"parserOptions": {
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:

strategy:
matrix:
node-version: [12.x, 14.x]
node-version: [12.x, 14.x, 16.x]

steps:
- uses: actions/checkout@v1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:

strategy:
matrix:
node-version: [12.x, 14.x]
node-version: [12.x, 14.x, 16.x]

steps:
- uses: actions/checkout@v1
Expand All @@ -35,7 +35,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 14
node-version: 16
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm publish --access=public
Expand Down
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v16.15.0
6 changes: 0 additions & 6 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,6 @@ Please submit an issue if you need help with anything.
We have a [code of conduct](./CODE_OF_CONDUCT.md) so please make sure you follow
it.

## Testing

Testing is performed using `jest` and is tested on Windows, Linux and MacOS with
Node 10 and 12 runtimes. For a PR to be considered all these environments need to
pass. Testing is automated using GitHub Actions CI.

## Submitting changes

Please send a
Expand Down
60 changes: 30 additions & 30 deletions README.md

Large diffs are not rendered by default.

24 changes: 0 additions & 24 deletions jest.config.js

This file was deleted.

Loading

0 comments on commit 25f041e

Please sign in to comment.