Skip to content

Commit b600b4d

Browse files
authored
Update deps (#24)
* 🔧 chore: Update deps * 💄 style: Fix prettier * 💄 style: Fix lint * 🔧 chore: Update fetch-mock * 🔧 chore: Fix audit * 🔧 chore: Update CI * 🔧 chore: Update tsconfig * 💄 style: Fix typecheck
1 parent e6cccea commit b600b4d

Some content is hidden

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

51 files changed

+3002
-6285
lines changed

.eslintignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

.eslintrc.cjs

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

.github/workflows/qa.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77

88
jobs:
99
qa:
10-
name: Lint, Typecheck, Test and Build source files
10+
name: Code Quality
1111
runs-on: [self-hosted, Linux]
1212
steps:
1313
- name: Checkout repository
@@ -16,7 +16,7 @@ jobs:
1616
- name: Setup Node
1717
uses: actions/setup-node@v4
1818
with:
19-
node-version: 20
19+
node-version-file: .nvmrc
2020

2121
- name: Install dependencies
2222
run: npm ci

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ jobs:
2727
steps:
2828
- uses: localazy/release/prepare@v2
2929
with:
30+
node-version-file: .nvmrc
3031
app-id: ${{ secrets.AUTH_APP_ID }}
3132
app-key: ${{ secrets.AUTH_APP_KEY }}
3233

@@ -38,6 +39,7 @@ jobs:
3839
steps:
3940
- uses: localazy/release/publish@v2
4041
with:
42+
node-version-file: .nvmrc
4143
app-id: ${{ secrets.AUTH_APP_ID }}
4244
app-key: ${{ secrets.AUTH_APP_KEY }}
4345
npm-publish: public

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,3 +138,6 @@ lib
138138

139139
# TypeDoc
140140
typedoc
141+
142+
# Husky hooks
143+
.husky/_/

.husky/pre-commit

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
npm run check

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20
1+
22

.prettierignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
1+
# Generated by relelase CI/CD
12
CHANGELOG.md
3+
# Generated by `reexport` library
4+
src/main.ts

.prettierrc

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

eslint.config.js

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
import localazy from '@localazy/eslint-config';
2+
3+
export default localazy({
4+
ignoreDefinitions: ['.gitignore'],
5+
userConfigs: [
6+
{
7+
ignores: ['examples'],
8+
},
9+
{
10+
rules: {
11+
'@typescript-eslint/no-unnecessary-condition': 'off',
12+
'@typescript-eslint/prefer-nullish-coalescing': 'off',
13+
'@typescript-eslint/no-extraneous-class': 'off',
14+
'@typescript-eslint/no-redundant-type-constituents': 'off',
15+
},
16+
},
17+
],
18+
});

0 commit comments

Comments
 (0)