fix format/lint command
This commit is contained in:
parent
19e5d28cf7
commit
b121e4bc9d
@ -42,8 +42,8 @@
|
|||||||
"test": "pnpm run cargo:test && pnpm run build:napi && ava",
|
"test": "pnpm run cargo:test && pnpm run build:napi && ava",
|
||||||
"universal": "napi universal",
|
"universal": "napi universal",
|
||||||
"version": "napi version",
|
"version": "napi version",
|
||||||
"format": "cargo fmt --all -- --check",
|
"format": "cargo fmt --all --",
|
||||||
"lint": "cargo clippy --fix --allow-dirty --allow-staged && cargo fmt --all -- --check",
|
"lint": "cargo clippy --fix --allow-dirty --allow-staged && cargo fmt --all --",
|
||||||
"cargo:test": "pnpm run cargo:unit && pnpm run cargo:integration",
|
"cargo:test": "pnpm run cargo:unit && pnpm run cargo:integration",
|
||||||
"cargo:unit": "cargo test unit_test && cargo test -F napi unit_test",
|
"cargo:unit": "cargo test unit_test && cargo test -F napi unit_test",
|
||||||
"cargo:integration": "cargo test -F noarray int_test -- --test-threads=1"
|
"cargo:integration": "cargo test -F noarray int_test -- --test-threads=1"
|
||||||
|
@ -12,8 +12,8 @@
|
|||||||
"api": "pnpm api-extractor run --local --verbose",
|
"api": "pnpm api-extractor run --local --verbose",
|
||||||
"api-prod": "pnpm api-extractor run --verbose",
|
"api-prod": "pnpm api-extractor run --verbose",
|
||||||
"api-doc": "pnpm api-documenter markdown -i ./etc/",
|
"api-doc": "pnpm api-documenter markdown -i ./etc/",
|
||||||
"lint": "pnpm biome check --apply *.ts",
|
"lint": "pnpm biome check --apply **/*.ts",
|
||||||
"format": "pnpm biome format --write *.ts",
|
"format": "pnpm biome format --write **/*.ts",
|
||||||
"jest": "jest --coverage --detectOpenHandles",
|
"jest": "jest --coverage --detectOpenHandles",
|
||||||
"test": "pnpm jest && pnpm tsd"
|
"test": "pnpm jest && pnpm tsd"
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user