Skip to content

Commit 3a14a32

Browse files
authored
chore: bump packages (#20)
* chore: bump packages * fix: mismatched supabase versions * ci: combine workflows
1 parent a7ebeb9 commit 3a14a32

File tree

18 files changed

+3004
-1059
lines changed

18 files changed

+3004
-1059
lines changed

.config/.commitlintrc

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

.config/husky/commit-msg

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

.config/husky/pre-commit

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

.eslintrc

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
},
1111
"allowImportExportEverywhere": true
1212
},
13-
"plugins": ["@typescript-eslint", "import", "testing-library"],
13+
"plugins": ["@typescript-eslint", "import", "react", "testing-library"],
1414
"extends": [
1515
"eslint:recommended",
1616
"plugin:@typescript-eslint/recommended",
@@ -55,7 +55,19 @@
5555
],
5656
// `eslint-plugin-react`
5757
// https://github.com/yannickcr/eslint-plugin-react
58-
"react/prop-types": "off"
58+
"react/display-name": "off",
59+
"react/jsx-boolean-value": ["warn", "never"],
60+
"react/jsx-sort-props": [
61+
"error",
62+
{
63+
"callbacksLast": true
64+
}
65+
],
66+
"react/jsx-wrap-multilines": "error",
67+
"react/no-array-index-key": "error",
68+
"react/no-multi-comp": "off",
69+
"react/prop-types": "off",
70+
"react/self-closing-comp": "warn"
5971
},
6072
"settings": {
6173
"import/parsers": {

.github/workflows/lint.yaml renamed to .github/workflows/main.yaml

Lines changed: 32 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Lint
1+
name: Main
22

33
on:
44
pull_request:
@@ -13,7 +13,7 @@ jobs:
1313
matrix:
1414
node-version: [14]
1515
steps:
16-
- name: Checkout
16+
- name: Check out
1717
uses: actions/checkout@v2
1818

1919
- name: Set up Node ${{ matrix.node-version }}
@@ -41,3 +41,33 @@ jobs:
4141

4242
- name: Format other files
4343
run: yarn lint:format --check
44+
45+
test:
46+
name: Test
47+
runs-on: ubuntu-latest
48+
strategy:
49+
matrix:
50+
node-version: [14]
51+
steps:
52+
- name: Check out
53+
uses: actions/checkout@v2
54+
55+
- name: Set up Node ${{ matrix.node-version }}
56+
uses: actions/setup-node@v2
57+
with:
58+
node-version: ${{ matrix.node-version }}
59+
60+
- name: Load yarn cache
61+
uses: actions/[email protected]
62+
id: yarn-cache
63+
with:
64+
path: ./node_modules
65+
key: ${{ runner.os }}-yarn-cache-${{ hashFiles('**/yarn.lock') }}
66+
restore-keys: ${{ runner.os }}-yarn-cache-
67+
68+
- name: Install dependencies
69+
if: steps.yarn-cache.outputs.cache-hit != 'true'
70+
run: yarn --frozen-lockfile
71+
72+
- name: Run tests
73+
run: yarn test

.github/workflows/size.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Size
2+
3+
on:
4+
pull_request:
5+
6+
jobs:
7+
size:
8+
name: Size
9+
runs-on: ubuntu-latest
10+
env:
11+
CI_JOB_NUMBER: 1
12+
steps:
13+
- name: Check out
14+
uses: actions/checkout@v2
15+
16+
- uses: andresz1/[email protected]
17+
with:
18+
github_token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/test.yaml

Lines changed: 0 additions & 37 deletions
This file was deleted.
File renamed without changes.

.husky/pre-commit

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
yarn lint-staged
File renamed without changes.

0 commit comments

Comments
 (0)