-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
chore: move type:check to lint hook #3381
chore: move type:check to lint hook #3381
Conversation
- Removed type:check from pretest, build, and postbuild scripts - Added type checking to lint command - Improves development speed by reducing redundant type checks Fixes FuelLabs#3248
@Rohit-Bhetal is attempting to deploy a commit to the Fuel Labs Team on Vercel. A member of the Team first needs to authorize it. |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Skipped Deployment
|
…st, build, and postbuild scripts- Added type checking to lint command- Improves development speed by reducing redundant type checksFixes FuelLabs#3248
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated other package.json file also
CodSpeed Performance ReportMerging #3381 will not alter performanceComparing Summary
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your contribution @Rohit-Bhetal 👍🏾
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe we need to run turbo run lint
from the root level package.json.
Maybe we could keep the type:check
command hook for the project level package.json
, and add the following on the root level:
...,
"lint": "run-s type:check-tests lint:check prettier:check type:check",
"type:check": "turbo run type:check",
...,
Right good catch @petertonysmith94 , if we are going that route then we will also have to add |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added a type:check to turbo tasks and update root package.json lint script and made task to run the type check in turbo.json
…t-Bhetal/fuels-ts into fix/move-type-check-to-lint
yep done |
Co-authored-by: Peter Smith <[email protected]>
Co-authored-by: Peter Smith <[email protected]>
Co-authored-by: Peter Smith <[email protected]>
Co-authored-by: Peter Smith <[email protected]>
Co-authored-by: Peter Smith <[email protected]>
Co-authored-by: Peter Smith <[email protected]>
Co-authored-by: Peter Smith <[email protected]>
Co-authored-by: Peter Smith <[email protected]>
Changeset added
type:check
command #3248Summary
This PR moves the TypeScript type checking from the various build-related scripts (pretest, post-build, etc.) to a dedicated
lint
script. This helps improve the development speed by reducing the number of redundant type checks performed during the build process.Checklist