Skip to content

Commit 5327979

Browse files
authored
Merge pull request #1 from smastrom/1.0.0
1.0.0
2 parents be8ed3b + 8a4ae19 commit 5327979

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+2327
-6435
lines changed

.eslintrc.json

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,29 @@
11
{
2-
"env": {
3-
"browser": true,
4-
"es2021": true
5-
},
6-
"extends": [
7-
"eslint:recommended",
8-
"plugin:react/recommended",
9-
"plugin:@typescript-eslint/recommended",
10-
"plugin:react-hooks/recommended",
11-
"plugin:react/jsx-runtime"
12-
],
13-
"settings": {
14-
"react": {
15-
"version": "detect"
16-
}
17-
},
18-
"overrides": [],
19-
"parser": "@typescript-eslint/parser",
20-
"parserOptions": {
21-
"ecmaVersion": "latest",
22-
"sourceType": "module"
23-
},
24-
"plugins": ["react", "@typescript-eslint"],
25-
"rules": {
26-
"@typescript-eslint/no-non-null-assertion": "off",
27-
"@typescript-eslint/no-empty-function": "off"
28-
}
2+
"env": {
3+
"browser": true,
4+
"es2021": true
5+
},
6+
"extends": [
7+
"eslint:recommended",
8+
"plugin:react/recommended",
9+
"plugin:@typescript-eslint/recommended",
10+
"plugin:react-hooks/recommended",
11+
"plugin:react/jsx-runtime"
12+
],
13+
"settings": {
14+
"react": {
15+
"version": "detect"
16+
}
17+
},
18+
"overrides": [],
19+
"parser": "@typescript-eslint/parser",
20+
"parserOptions": {
21+
"ecmaVersion": "latest",
22+
"sourceType": "module"
23+
},
24+
"plugins": ["react", "@typescript-eslint"],
25+
"rules": {
26+
"@typescript-eslint/no-non-null-assertion": "off",
27+
"@typescript-eslint/no-empty-function": "off"
28+
}
2929
}

.github/workflows/tests.yml

Lines changed: 24 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,28 @@
11
name: Tests
22

3-
on: [push, pull_request]
3+
on:
4+
pull_request:
5+
push:
6+
workflow_call:
47

58
jobs:
6-
cypress-run:
7-
runs-on: ubuntu-latest
8-
steps:
9-
- uses: actions/checkout@v3
10-
- uses: actions/setup-node@v3
11-
with:
12-
node-version: '16.x'
13-
- name: Install dependencies
14-
run: yarn
15-
- name: Install Linux Webkit deps
16-
run: npx playwright install-deps webkit
17-
- name: Cypress Chrome
18-
uses: cypress-io/github-action@v5
19-
with:
20-
install: false
21-
component: true
22-
browser: chrome
9+
cypress-run:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v3
13+
- name: Install Node.js
14+
uses: actions/setup-node@v3
15+
with:
16+
node-version: 20
17+
- uses: pnpm/action-setup@v2
18+
name: Install pnpm
19+
with:
20+
version: 8
21+
run_install: true
22+
- name: Test with Cypress
23+
uses: cypress-io/github-action@v5
24+
with:
25+
env: CI=true
26+
component: true
27+
install: true
28+
browser: chrome

.gitignore

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
1-
yarn-error.log*
21
node_modules
32
dist
3+
44
.vscode/*
55
!.vscode/extensions.json
66
.DS_Store
7+
78
cypress/downloads
89
cypress/videos
10+
cypress/screenshots
11+
912
*.tgz
10-
.eslintcache
13+
.eslintcache
14+
15+
pnpm-lock.yaml

.prettierrc

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
11
{
2-
"trailingComma": "none",
3-
"singleQuote": true,
4-
"printWidth": 100,
5-
"useTabs": true,
6-
"overrides": [
7-
{
8-
"files": "README.md",
9-
"options": {
10-
"printWidth": 90,
11-
"useTabs": false
12-
}
13-
}
14-
]
2+
"trailingComma": "es5",
3+
"singleQuote": true,
4+
"printWidth": 120,
5+
"useTabs": false,
6+
"tabWidth": 3,
7+
"semi": false,
8+
"overrides": [
9+
{
10+
"files": "README.md",
11+
"options": {
12+
"printWidth": 80,
13+
"tabWidth": 2
14+
}
15+
}
16+
]
1517
}

LICENSE

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
Copyright (c) 2022 Simone Mastromattei
1+
Copyright (c) 2023-present Simone Mastromattei
22

33
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:
44

55
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
66

7-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
7+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

0 commit comments

Comments
 (0)