mirror of
https://github.com/knex/knex.git
synced 2025-06-26 22:00:25 +00:00
Fix some of the linting failures and update better-sqlite (#5749)
* Try to fix linting * Update better-sqlite
This commit is contained in:
parent
caa7558176
commit
13414348da
2
.github/workflows/codeql-analysis.yml
vendored
2
.github/workflows/codeql-analysis.yml
vendored
@ -27,7 +27,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Initialize CodeQL
|
- name: Initialize CodeQL
|
||||||
uses: github/codeql-action/init@v2
|
uses: github/codeql-action/init@v2
|
||||||
|
8
.github/workflows/integration-tests.yml
vendored
8
.github/workflows/integration-tests.yml
vendored
@ -40,7 +40,7 @@ jobs:
|
|||||||
fetch-depth: 1
|
fetch-depth: 1
|
||||||
|
|
||||||
- name: Setup Node ${{ matrix.node-version }}
|
- name: Setup Node ${{ matrix.node-version }}
|
||||||
uses: actions/setup-node@v3.7.0
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
always-auth: false
|
always-auth: false
|
||||||
node-version: ${{ matrix.node-version }}
|
node-version: ${{ matrix.node-version }}
|
||||||
@ -109,15 +109,15 @@ jobs:
|
|||||||
name: Test user experience
|
name: Test user experience
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
node-version: [18.x, 16.x, 14.x, 12.x]
|
node-version: [18.x, 16.x]
|
||||||
os: ['ubuntu-latest', 'macos-latest', 'windows-latest']
|
os: ['ubuntu-latest', 'macos-latest', 'windows-latest']
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Repository
|
- name: Checkout Repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with: { fetch-depth: 1 }
|
with: { fetch-depth: 1 }
|
||||||
|
|
||||||
- name: Setup Node ${{ matrix.node-version }}
|
- name: Setup Node ${{ matrix.node-version }}
|
||||||
uses: actions/setup-node@v3.7.0
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
always-auth: false
|
always-auth: false
|
||||||
node-version: ${{ matrix.node-version }}
|
node-version: ${{ matrix.node-version }}
|
||||||
|
6
.github/workflows/linting.yml
vendored
6
.github/workflows/linting.yml
vendored
@ -19,16 +19,16 @@ jobs:
|
|||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
node-version: [16.x]
|
node-version: [20.x]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Repository
|
- name: Checkout Repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 1
|
fetch-depth: 1
|
||||||
|
|
||||||
- name: Setup Node ${{ matrix.node-version }}
|
- name: Setup Node ${{ matrix.node-version }}
|
||||||
uses: actions/setup-node@v3.7.0
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
always-auth: false
|
always-auth: false
|
||||||
node-version: ${{ matrix.node-version }}
|
node-version: ${{ matrix.node-version }}
|
||||||
|
4
.github/workflows/unit-tests.yml
vendored
4
.github/workflows/unit-tests.yml
vendored
@ -23,12 +23,12 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Repository
|
- name: Checkout Repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 1
|
fetch-depth: 1
|
||||||
|
|
||||||
- name: Setup Node ${{ matrix.node-version }}
|
- name: Setup Node ${{ matrix.node-version }}
|
||||||
uses: actions/setup-node@v3.7.0
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
always-auth: false
|
always-auth: false
|
||||||
node-version: ${{ matrix.node-version }}
|
node-version: ${{ matrix.node-version }}
|
||||||
|
10
package.json
10
package.json
@ -17,8 +17,8 @@
|
|||||||
"debug:test": "mocha --inspect-brk --exit -t 0 test/all-tests-suite.js",
|
"debug:test": "mocha --inspect-brk --exit -t 0 test/all-tests-suite.js",
|
||||||
"debug:tape": "node --inspect-brk test/tape/index.js",
|
"debug:tape": "node --inspect-brk test/tape/index.js",
|
||||||
"coveralls": "nyc report --reporter=lcov",
|
"coveralls": "nyc report --reporter=lcov",
|
||||||
"lint": "eslint --cache **/*.js",
|
"lint": "eslint --cache .",
|
||||||
"lint:fix": "eslint --cache --fix '**/*.js'",
|
"lint:fix": "eslint --cache --fix .",
|
||||||
"lint:types": "tsd && dtslint types",
|
"lint:types": "tsd && dtslint types",
|
||||||
"lint:everything": "npm run lint && npm run lint:types",
|
"lint:everything": "npm run lint && npm run lint:types",
|
||||||
"lint:fix:everything": "npm run lint:fix && npm run lint:types",
|
"lint:fix:everything": "npm run lint:fix && npm run lint:types",
|
||||||
@ -106,7 +106,7 @@
|
|||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@tsconfig/recommended": "^1.0.1",
|
"@tsconfig/recommended": "^1.0.1",
|
||||||
"@types/node": "^20.4.0",
|
"@types/node": "^20.4.0",
|
||||||
"better-sqlite3": "^7.6.2",
|
"better-sqlite3": "^9.1.1",
|
||||||
"chai": "^4.3.6",
|
"chai": "^4.3.6",
|
||||||
"chai-as-promised": "^7.1.1",
|
"chai-as-promised": "^7.1.1",
|
||||||
"chai-subset-in-order": "^3.1.0",
|
"chai-subset-in-order": "^3.1.0",
|
||||||
@ -114,9 +114,9 @@
|
|||||||
"coveralls": "^3.1.1",
|
"coveralls": "^3.1.1",
|
||||||
"cross-env": "^7.0.3",
|
"cross-env": "^7.0.3",
|
||||||
"dtslint": "4.2.1",
|
"dtslint": "4.2.1",
|
||||||
"eslint": "^8.32.0",
|
"eslint": "^8.54.0",
|
||||||
"eslint-config-prettier": "^8.6.0",
|
"eslint-config-prettier": "^8.6.0",
|
||||||
"eslint-plugin-import": "^2.26.0",
|
"eslint-plugin-import": "^2.29.0",
|
||||||
"eslint-plugin-mocha-no-only": "^1.1.1",
|
"eslint-plugin-mocha-no-only": "^1.1.1",
|
||||||
"eslint-plugin-prettier": "^4.2.1",
|
"eslint-plugin-prettier": "^4.2.1",
|
||||||
"husky": "^8.0.1",
|
"husky": "^8.0.1",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user