Skip to content

Commit a100ea7

Browse files
Merge pull request #14 from dbpkgs/fix-13
chore: Upgrade dev dependencies
2 parents 9d65a65 + 0a36f85 commit a100ea7

589 files changed

Lines changed: 6703 additions & 3184 deletions

File tree

Some content is hidden

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

.eslintignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
node_modules
2+
.yarn
3+
/lib
4+
/coverage
5+
/coverage-ts

.eslintrc.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"plugins": ["@typescript-eslint"],
3+
"extends": ["plugin:@typescript-eslint/recommended", "plugin:prettier/recommended"],
4+
"parser": "@typescript-eslint/parser",
5+
"reportUnusedDisableDirectives": true,
6+
"rules": {
7+
"no-confusing-arrow": "error",
8+
"arrow-body-style": ["error", "as-needed"],
9+
"no-useless-constructor": "error",
10+
"no-dupe-class-members": "error",
11+
"no-iterator": "error",
12+
"no-restricted-properties": [
13+
2,
14+
{
15+
"object": "require"
16+
}
17+
],
18+
"prefer-const": "error",
19+
"one-var": ["error", "never"],
20+
"brace-style": ["error", "1tbs", { "allowSingleLine": true }],
21+
"no-else-return": "error",
22+
"@typescript-eslint/consistent-type-imports": [
23+
"error",
24+
{
25+
"prefer": "type-imports",
26+
"disallowTypeAnnotations": true
27+
}
28+
]
29+
}
30+
}

.github/workflows/npm-publish.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,15 @@ jobs:
1212
build:
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/checkout@v1
16-
- uses: actions/setup-node@v1
15+
- uses: actions/checkout@master
16+
- name: Get Node.js version
17+
id: nvm
18+
run: echo name=NODE_VERSION::$(cat .nvmrc) >> GITHUB_OUTPUT
19+
- uses: actions/checkout@v2
1720
with:
18-
node-version: '~14.17.1'
19-
registry-url: https://registry.npmjs.org/
21+
fetch-depth: 1
2022
- name: Install packages
21-
run: yarn install
23+
run: node .yarn/releases/yarn-3.5.1.cjs install --immutable
2224
- name: Check file types
2325
run: yarn check:type
2426
- name: Check files formatting

.github/workflows/push-check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
- uses: actions/checkout@master
1313
- name: Get Node.js version
1414
id: nvm
15-
run: echo ::set-output name=NODE_VERSION::$(cat .nvmrc)
15+
run: echo name=NODE_VERSION::$(cat .nvmrc) >> GITHUB_OUTPUT
1616
- uses: actions/checkout@v2
1717
with:
1818
fetch-depth: 1
@@ -26,7 +26,7 @@ jobs:
2626
node-version: ${{ steps.nvm.outputs.NODE_VERSION }}
2727
cache: yarn
2828
- name: Install yarn dependencies
29-
run: yarn install
29+
run: node .yarn/releases/yarn-3.5.1.cjs install --immutable
3030
- name: Check if types are correctly used
3131
run: yarn check:type
3232
- name: Check if code is properly formatted

.gitignore

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,14 @@ node_modules
66

77
#coverage
88
coverage
9-
coverage-ts
9+
coverage-ts
10+
11+
# Yarn Integrity file
12+
.yarn-integrity
13+
.yarn/*
14+
!.yarn/cache
15+
!.yarn/patches
16+
!.yarn/plugins
17+
!.yarn/releases
18+
!.yarn/sdks
19+
!.yarn/versions

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v14.17.1
1+
14.17.1
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)