From 2db97690a1619d7240d0244b25907647921429f4 Mon Sep 17 00:00:00 2001 From: David Maskasky Date: Tue, 4 Feb 2025 19:16:44 -0800 Subject: [PATCH] add pnpm run fix script and update pr template (#2975) --- .github/pull_request_template.md | 2 +- package.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 64b2d91633..0e904f6a74 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -6,4 +6,4 @@ Fixes # ## Check List -- [ ] `pnpm run fix:format` for formatting code and docs +- [ ] `pnpm run fix` for formatting and linting code and docs diff --git a/package.json b/package.json index 2899695b75..e2cca8f5aa 100644 --- a/package.json +++ b/package.json @@ -73,6 +73,7 @@ "build:react": "rollup -c --config-react --client-only", "build:react:utils": "rollup -c --config-react_utils --client-only", "postbuild": "pnpm run patch-d-ts && pnpm run copy && pnpm run patch-ts3.8 && pnpm run patch-old-ts && pnpm run patch-esm-ts && pnpm run patch-readme", + "fix": "pnpm run \"/^fix:.*/\"", "fix:format": "prettier \"*.{js,json,md}\" \"{src,tests,benchmarks,docs}/**/*.{ts,tsx,md,mdx}\" --write", "fix:lint": "eslint . --fix", "test": "pnpm run \"/^test:.*/\"",