-
Notifications
You must be signed in to change notification settings - Fork 1.3k
feat: add more scripts
#1997
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
feat: add more scripts
#1997
Conversation
`lint:fix` `check` `preview` `typecheck` `format:write` `format:check`
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@programming-with-ia is attempting to deploy a commit to the t3-oss Team on Vercel. A member of the Team first needs to authorize it. |
cli/template/base/package.json
Outdated
"format:write": "prettier --write \"**/*.{ts,tsx,js,jsx,mdx}\" --cache", | ||
"format:check": "prettier --check \"**/*.{ts,tsx,js,jsx,mdx}\" --cache" |
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.
Not all templates gets prettier installed, only if you have tailwind iirc so this wouldn't work ootb
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.
Thank you for the feedback! Just to clarify, would you like me to remove the scripts entirely, or would you prefer that I integrate them through tailwind.ts
instead, similar to this example? I'm happy to make the adjustments based on your preference.
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.
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.
yea similar to how the db installers adds the db:push scripts etc this can for now be handled in the tailwind installeer if/until there're more formatting options
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.
Done ✅
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.
you need to run pnpm format
in root. there are formatting issues in the PR
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.
@juliusmarminge Done
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.
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.
Yes. Read the contributing guide (you checked the box when creating the PR
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.
Yes. Read the contributing guide (you checked the box when creating the PR
☺️ )
🙏 🫡😔
Closes #1981
✅ Checklist
Changelog
More
Scripts
added incli/template/base/package.json
lint:fix
check
preview
typecheck
format:write
format:check
Screenshots
cli/template/base/package.json
💯