Skip to content

Commit

Permalink
chore(deps): update devdependencies (#41)
Browse files Browse the repository at this point in the history
* chore(deps): update devdependencies

* fix

---------

Co-authored-by: descope[bot] <descope[bot]@users.noreply.github.com>
Co-authored-by: Omer Cohen <[email protected]>
  • Loading branch information
3 people authored Mar 25, 2024
1 parent 99021d1 commit 624f297
Show file tree
Hide file tree
Showing 15 changed files with 23,755 additions and 18,077 deletions.
21 changes: 5 additions & 16 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
{
"plugins": [
"jest",
"@typescript-eslint"
],
"extends": [
"plugin:github/recommended"
],
"plugins": ["jest", "@typescript-eslint", "github"],
"extends": ["plugin:github/typescript"],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 9,
Expand Down Expand Up @@ -36,10 +31,7 @@
"allowExpressions": true
}
],
"@typescript-eslint/func-call-spacing": [
"error",
"never"
],
"@typescript-eslint/func-call-spacing": ["error", "never"],
"@typescript-eslint/no-array-constructor": "error",
"@typescript-eslint/no-empty-interface": "error",
"@typescript-eslint/no-explicit-any": "error",
Expand All @@ -61,10 +53,7 @@
"@typescript-eslint/require-array-sort-compare": "error",
"@typescript-eslint/restrict-plus-operands": "error",
"semi": "off",
"@typescript-eslint/semi": [
"error",
"never"
],
"@typescript-eslint/semi": ["error", "never"],
"@typescript-eslint/type-annotation-spacing": "error",
"@typescript-eslint/unbound-method": "error"
},
Expand All @@ -73,4 +62,4 @@
"es6": true,
"jest/globals": true
}
}
}
13 changes: 6 additions & 7 deletions .github/workflows/check-dist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,16 @@ jobs:

steps:
- uses: actions/checkout@v4

- run: corepack enable
- name: Set Node.js
uses: actions/setup-node@v3.8.1
uses: actions/setup-node@v4
with:
node-version-file: .nvmrc

- name: Install dependencies
run: yarn install
node-version-file: package.json
cache: 'yarn'

- name: Rebuild the dist/ directory
run: |
yarn
yarn build
yarn package
Expand All @@ -45,7 +44,7 @@ jobs:
id: diff

# If index.js was different than expected, upload the expected version as an artifact
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
if: ${{ failure() && steps.diff.conclusion == 'failure' }}
with:
name: dist
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- run: |
corepack enable
yarn install
- env:
GOOGLE_CREDENTIALS: ${{ secrets.GOOGLE_CREDENTIALS }}
Expand Down
Binary file added .yarn/install-state.gz
Binary file not shown.
1 change: 1 addition & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodeLinker: node-modules
8 changes: 3 additions & 5 deletions __tests__/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
{
"extends": [
"../.eslintrc.json",
],
"extends": ["../.eslintrc.json"],
"parserOptions": {
"project": "./tsconfig.json"
},
}
}
}
8 changes: 3 additions & 5 deletions __tests__/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
{
"extends": "../tsconfig.json",
"compilerOptions": {
"rootDir": ".",
"rootDir": "."
},
"exclude": [
"node_modules",
]
}
"exclude": ["node_modules"]
}
Loading

0 comments on commit 624f297

Please sign in to comment.