-
Notifications
You must be signed in to change notification settings - Fork 125
refactor: replace lint/fmt with unified vp check #665
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -45,10 +45,7 @@ | |
| "tag": "latest" | ||
| }, | ||
| "scripts": { | ||
| "lint": "vp lint src test --type-aware --type-check", | ||
| "typecheck": "tsc --noEmit && tsgo --noEmit", | ||
| "fmt": "vp fmt", | ||
| "fmtcheck": "vp fmt --check", | ||
| "prebuild": "vp run clean", | ||
| "build": "vp run build:ts && vp run build:version", | ||
| "build:ts": "tsc --version && tshy && tshy-after", | ||
|
|
@@ -61,15 +58,17 @@ | |
| "test-tsc:cjs": "cd test/fixtures/ts && rm -rf node_modules && npm link ../../.. && vp run build", | ||
| "test-tsc:cjs:es2021": "cd test/fixtures/ts-cjs-es2021 && rm -rf node_modules && npm link ../../.. && vp run build", | ||
| "test-tsc:esm": "cd test/fixtures/ts-esm && rm -rf node_modules && npm link ../../.. && vp run build", | ||
| "test": "vp run lint -- --fix && vp test run --reporter=dot", | ||
| "test": "vp run check:fix && vp test run --reporter=dot", | ||
|
coderabbitai[bot] marked this conversation as resolved.
Outdated
|
||
| "bench": "vp test bench", | ||
| "test-keepalive": "cross-env TEST_KEEPALIVE_COUNT=50 vp test run --reporter=dot --test-timeout 180000 keep-alive-header.test.ts", | ||
| "test-node16": "node examples/httpclient.cjs && node examples/search_github.cjs && node examples/timing.cjs", | ||
| "cov": "vp test run --reporter=dot --coverage", | ||
| "ci": "vp run cov && vp run prepublishOnly && npm pack && attw --pack", | ||
| "clean": "rm -rf dist && tsc -b --clean", | ||
| "prepublishOnly": "vp run build", | ||
| "prepare": "husky" | ||
| "prepare": "husky", | ||
| "check": "vp check", | ||
| "check:fix": "vp check --fix" | ||
|
Comment on lines
47
to
+71
|
||
| }, | ||
| "dependencies": { | ||
| "form-data": "^4.0.5", | ||
|
|
@@ -114,10 +113,7 @@ | |
| "vitest": "npm:@voidzero-dev/vite-plus-test@latest" | ||
| }, | ||
| "lint-staged": { | ||
| "*": [ | ||
| "vp run lint --fix", | ||
| "vp fmt --no-error-on-unmatched-pattern" | ||
| ] | ||
| "*": "vp check --fix" | ||
| }, | ||
| "tshy": { | ||
| "exports": { | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.