Skip to content

Commit dcb2015

Browse files
committed
Update dependencies
1 parent 5cfa08b commit dcb2015

File tree

5 files changed

+1328
-1085
lines changed

5 files changed

+1328
-1085
lines changed

.github/workflows/npm-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Setup node environment
2020
uses: actions/setup-node@v3
2121
with:
22-
node-version: '18.x'
22+
node-version: '20.x'
2323
registry-url: https://registry.npmjs.org
2424
- run: npm ci
2525
- name: Publish to NPM
@@ -37,7 +37,7 @@ jobs:
3737
echo "::endgroup::"
3838
- name: Create Release Tag
3939
id: create-release
40-
uses: softprops/action-gh-release@v1
40+
uses: softprops/action-gh-release@v2
4141
with:
4242
tag_name: ${{ steps.package-version.outputs.current-version }}
4343
body: ${{ env.RELEASE_NOTES }}

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
## [2.1.0] - 2023-07-24
6+
7+
### Changed
8+
9+
- Updated all dependencies to latest support version
10+
511
## [2.0.0] - 2023-12-08
612

713
### Changed

index.js

Lines changed: 49 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -1,81 +1,81 @@
11
module.exports = {
2-
parser: '@typescript-eslint/parser',
2+
parser: "@typescript-eslint/parser",
33
extends: [
4-
'plugin:react/recommended',
5-
'plugin:@typescript-eslint/recommended',
6-
'plugin:react-hooks/recommended',
7-
'prettier',
8-
'plugin:prettier/recommended',
4+
"plugin:react/recommended",
5+
"plugin:@typescript-eslint/recommended",
6+
"plugin:react-hooks/recommended",
7+
"prettier",
8+
"plugin:prettier/recommended",
99
],
10-
plugins: ['@typescript-eslint', 'import', 'unused-imports'],
10+
plugins: ["@typescript-eslint", "import", "unused-imports"],
1111
parserOptions: {
1212
ecmaVersion: 2020,
13-
sourceType: 'module',
13+
sourceType: "module",
1414
ecmaFeatures: {
1515
jsx: true,
1616
},
1717
},
1818
rules: {
19-
'@typescript-eslint/no-empty-interface': 'error',
20-
'@typescript-eslint/explicit-module-boundary-types': 'off',
21-
'@typescript-eslint/no-unused-vars': 'off',
22-
'@typescript-eslint/no-var-requires': 'off',
23-
'@typescript-eslint/padding-line-between-statements': [
24-
'error',
19+
"@typescript-eslint/no-empty-interface": "error",
20+
"@typescript-eslint/explicit-module-boundary-types": "off",
21+
"@typescript-eslint/no-unused-vars": "off",
22+
"@typescript-eslint/no-var-requires": "off",
23+
"@typescript-eslint/padding-line-between-statements": [
24+
"error",
2525
{
26-
blankLine: 'always',
27-
prev: ['const', 'let', 'var', 'export', 'interface', 'type'],
28-
next: '*',
26+
blankLine: "always",
27+
prev: ["const", "let", "var", "export", "interface", "type"],
28+
next: "*",
2929
},
3030
{
31-
blankLine: 'any',
32-
prev: ['const', 'let', 'var'],
33-
next: ['const', 'let', 'var'],
31+
blankLine: "any",
32+
prev: ["const", "let", "var"],
33+
next: ["const", "let", "var"],
3434
},
35-
{ blankLine: 'always', prev: '*', next: ['interface', 'type'] },
35+
{ blankLine: "always", prev: "*", next: ["interface", "type"] },
3636
],
37-
'import/order': [
38-
'error',
37+
"import/order": [
38+
"error",
3939
{
40-
'newlines-between': 'always',
40+
"newlines-between": "always",
4141
// alphabetize: { order: 'asc', caseInsensitive: true },
4242
// Custom groups for sorting
4343
pathGroups: [
44-
'@/',
45-
'types',
46-
'config',
47-
'lib',
48-
'app',
49-
'components',
50-
'pages',
51-
'res',
44+
"@/",
45+
"types",
46+
"config",
47+
"lib",
48+
"app",
49+
"components",
50+
"pages",
51+
"res",
5252
].map(function (path) {
5353
return {
54-
pattern: path + '/**',
55-
group: 'external',
56-
position: 'after',
57-
}
54+
pattern: path + "/**",
55+
group: "external",
56+
position: "after",
57+
};
5858
}),
59-
pathGroupsExcludedImportTypes: ['builtin'],
59+
pathGroupsExcludedImportTypes: ["builtin"],
6060
},
6161
],
62-
'padding-line-between-statements': 'off',
63-
'prettier/prettier': 'error',
64-
'react/react-in-jsx-scope': 'off',
65-
'unused-imports/no-unused-imports-ts': 'error',
66-
'unused-imports/no-unused-vars-ts': [
67-
'warn',
62+
"padding-line-between-statements": "off",
63+
"prettier/prettier": "error",
64+
"react/react-in-jsx-scope": "off",
65+
"unused-imports/no-unused-imports-ts": "error",
66+
"unused-imports/no-unused-vars-ts": [
67+
"warn",
6868
{
69-
vars: 'all',
70-
varsIgnorePattern: '^_',
71-
args: 'after-used',
72-
argsIgnorePattern: '^_',
69+
vars: "all",
70+
varsIgnorePattern: "^_",
71+
args: "after-used",
72+
argsIgnorePattern: "^_",
7373
},
7474
],
7575
},
7676
settings: {
7777
react: {
78-
version: 'detect',
78+
version: "detect",
7979
},
8080
},
81-
}
81+
};

0 commit comments

Comments
 (0)