add pnpm run fix script and update pr template (#2996)

This commit is contained in:
David Maskasky 2025-02-04 19:15:46 -08:00 committed by GitHub
parent 49ee6313db
commit 7df4874200
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View File

@ -8,4 +8,4 @@ Fixes #
## Check List
- [ ] `pnpm run fix:format` for formatting code and docs
- [ ] `pnpm run fix` for formatting and linting code and docs

View File

@ -64,6 +64,7 @@
"build:react:shallow": "rollup -c --config-react_shallow",
"build:traditional": "rollup -c --config-traditional",
"postbuild": "pnpm run patch-d-ts && pnpm run copy && pnpm run patch-old-ts && pnpm run patch-esm-ts",
"fix": "pnpm run \"/^fix:.*/\"",
"fix:format": "prettier \"*.{js,json,md}\" \"{examples,src,tests,docs}/**/*.{js,jsx,ts,tsx,md,mdx}\" --write",
"fix:lint": "eslint . --fix",
"test": "pnpm run \"/^test:.*/\"",