mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-11-22 18:42:48 +03:00
ci: fix oxlint version (#5328)
This commit is contained in:
parent
a3d4c5c709
commit
1b5837e545
2
.github/workflows/build-test.yml
vendored
2
.github/workflows/build-test.yml
vendored
@ -80,7 +80,7 @@ jobs:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Run oxlint
|
||||
# oxlint is fast, so wrong code will fail quickly
|
||||
run: yarn dlx $(node -e "console.log(require('./package.json').scripts['lint:ox'])")
|
||||
run: yarn dlx $(node -e "console.log(require('./package.json').scripts['lint:ox'].replace('oxlint', 'oxlint@' + require('./package.json').devDependencies.oxlint))")
|
||||
- name: Setup Node.js
|
||||
uses: ./.github/actions/setup-node
|
||||
with:
|
||||
|
@ -33,7 +33,7 @@
|
||||
"lint:eslint:fix": "yarn lint:eslint --fix",
|
||||
"lint:prettier": "prettier --ignore-unknown --cache --check .",
|
||||
"lint:prettier:fix": "prettier --ignore-unknown --cache --write .",
|
||||
"lint:ox": "oxlint --deny-warnings --import-plugin -D correctness -D nursery -D prefer-array-some -D no-useless-promise-resolve-reject -A no-undef -A consistent-type-exports -A default -A named -A ban-ts-comment",
|
||||
"lint:ox": "oxlint --deny-warnings -D correctness -D nursery -D prefer-array-some -D no-useless-promise-resolve-reject -A no-undef -A consistent-type-exports -A default -A named -A ban-ts-comment",
|
||||
"lint": "yarn lint:eslint && yarn lint:prettier",
|
||||
"lint:fix": "yarn lint:eslint:fix && yarn lint:prettier:fix",
|
||||
"test": "vitest --run",
|
||||
@ -100,7 +100,7 @@
|
||||
"nx": "^17.1.3",
|
||||
"nx-cloud": "^16.5.2",
|
||||
"nyc": "^15.1.0",
|
||||
"oxlint": "^0.0.18",
|
||||
"oxlint": "0.0.21",
|
||||
"prettier": "^3.1.0",
|
||||
"semver": "^7.5.4",
|
||||
"serve": "^14.2.1",
|
||||
|
64
yarn.lock
64
yarn.lock
@ -637,7 +637,7 @@ __metadata:
|
||||
nx: "npm:^17.1.3"
|
||||
nx-cloud: "npm:^16.5.2"
|
||||
nyc: "npm:^15.1.0"
|
||||
oxlint: "npm:^0.0.18"
|
||||
oxlint: "npm:0.0.21"
|
||||
prettier: "npm:^3.1.0"
|
||||
semver: "npm:^7.5.4"
|
||||
serve: "npm:^14.2.1"
|
||||
@ -9982,44 +9982,44 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@oxlint/darwin-arm64@npm:0.0.18":
|
||||
version: 0.0.18
|
||||
resolution: "@oxlint/darwin-arm64@npm:0.0.18"
|
||||
"@oxlint/darwin-arm64@npm:0.0.21":
|
||||
version: 0.0.21
|
||||
resolution: "@oxlint/darwin-arm64@npm:0.0.21"
|
||||
conditions: os=darwin & cpu=arm64
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@oxlint/darwin-x64@npm:0.0.18":
|
||||
version: 0.0.18
|
||||
resolution: "@oxlint/darwin-x64@npm:0.0.18"
|
||||
"@oxlint/darwin-x64@npm:0.0.21":
|
||||
version: 0.0.21
|
||||
resolution: "@oxlint/darwin-x64@npm:0.0.21"
|
||||
conditions: os=darwin & cpu=x64
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@oxlint/linux-arm64@npm:0.0.18":
|
||||
version: 0.0.18
|
||||
resolution: "@oxlint/linux-arm64@npm:0.0.18"
|
||||
"@oxlint/linux-arm64@npm:0.0.21":
|
||||
version: 0.0.21
|
||||
resolution: "@oxlint/linux-arm64@npm:0.0.21"
|
||||
conditions: os=linux & cpu=arm64
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@oxlint/linux-x64@npm:0.0.18":
|
||||
version: 0.0.18
|
||||
resolution: "@oxlint/linux-x64@npm:0.0.18"
|
||||
"@oxlint/linux-x64@npm:0.0.21":
|
||||
version: 0.0.21
|
||||
resolution: "@oxlint/linux-x64@npm:0.0.21"
|
||||
conditions: os=linux & cpu=x64
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@oxlint/win32-arm64@npm:0.0.18":
|
||||
version: 0.0.18
|
||||
resolution: "@oxlint/win32-arm64@npm:0.0.18"
|
||||
"@oxlint/win32-arm64@npm:0.0.21":
|
||||
version: 0.0.21
|
||||
resolution: "@oxlint/win32-arm64@npm:0.0.21"
|
||||
conditions: os=win32 & cpu=arm64
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@oxlint/win32-x64@npm:0.0.18":
|
||||
version: 0.0.18
|
||||
resolution: "@oxlint/win32-x64@npm:0.0.18"
|
||||
"@oxlint/win32-x64@npm:0.0.21":
|
||||
version: 0.0.21
|
||||
resolution: "@oxlint/win32-x64@npm:0.0.21"
|
||||
conditions: os=win32 & cpu=x64
|
||||
languageName: node
|
||||
linkType: hard
|
||||
@ -30209,16 +30209,16 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"oxlint@npm:^0.0.18":
|
||||
version: 0.0.18
|
||||
resolution: "oxlint@npm:0.0.18"
|
||||
"oxlint@npm:0.0.21":
|
||||
version: 0.0.21
|
||||
resolution: "oxlint@npm:0.0.21"
|
||||
dependencies:
|
||||
"@oxlint/darwin-arm64": "npm:0.0.18"
|
||||
"@oxlint/darwin-x64": "npm:0.0.18"
|
||||
"@oxlint/linux-arm64": "npm:0.0.18"
|
||||
"@oxlint/linux-x64": "npm:0.0.18"
|
||||
"@oxlint/win32-arm64": "npm:0.0.18"
|
||||
"@oxlint/win32-x64": "npm:0.0.18"
|
||||
"@oxlint/darwin-arm64": "npm:0.0.21"
|
||||
"@oxlint/darwin-x64": "npm:0.0.21"
|
||||
"@oxlint/linux-arm64": "npm:0.0.21"
|
||||
"@oxlint/linux-x64": "npm:0.0.21"
|
||||
"@oxlint/win32-arm64": "npm:0.0.21"
|
||||
"@oxlint/win32-x64": "npm:0.0.21"
|
||||
dependenciesMeta:
|
||||
"@oxlint/darwin-arm64":
|
||||
optional: true
|
||||
@ -30234,7 +30234,7 @@ __metadata:
|
||||
optional: true
|
||||
bin:
|
||||
oxlint: bin/oxlint
|
||||
checksum: c372394c27856e58f2a622dbcef45e72a9df10f6ba2a1b882732356b8982a0bcdf875019b28211d480ac07e4e77bb2870621c23c595addf74e82ee603e00acc0
|
||||
checksum: 8de4a2d5252a459c0ef59634ba6bc4546da65e3c80f91c11e0d65c7df8ebb2f280e7256ef5997d5b1c18d8d98da87c6babc93fc88dd280c147c05eef93935411
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@ -34235,9 +34235,9 @@ __metadata:
|
||||
linkType: hard
|
||||
|
||||
"std-env@npm:^3.3.3":
|
||||
version: 3.5.0
|
||||
resolution: "std-env@npm:3.5.0"
|
||||
checksum: 6071a727e1f1e67d6598648a085473671672ad6b2e0fc7220bb731c4c7584979047565c81b4c482a59cc25b7f14d5e6d06d5682250d06a9fefd1a571daaa711c
|
||||
version: 3.6.0
|
||||
resolution: "std-env@npm:3.6.0"
|
||||
checksum: ab1c2d000bfedb6338ac49810dc8a032d472ec0bc3fd7566254a7bef7f6a79a30392282e229ee46223bb7e4b707ac2a24978add8211b65ae96ef9652994071ac
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user