-
Notifications
You must be signed in to change notification settings - Fork 5.7k
chore: upgrade packages, add t3 env, and update biome #1172
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
Open
techwithanirudh
wants to merge
21
commits into
vercel:main
Choose a base branch
from
techwithanirudh:feat/update-packages
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
chore: upgrade packages, add t3 env, and update biome #1172
techwithanirudh
wants to merge
21
commits into
vercel:main
from
techwithanirudh:feat/update-packages
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Refactored .gitignore to simplify environment file handling and added cspell cache. - Updated biome.jsonc schema reference and adjusted file inclusion/exclusion rules. - Added devcontainer.json for development environment setup. - Introduced GitHub action for setup to streamline Node and pnpm installation. - Modified CI workflow to include type checking and Biome linting. - Updated Playwright workflow to utilize the new setup action.
- Refactored .gitignore to simplify environment file handling and added cspell cache. - Updated biome.jsonc schema reference and adjusted file inclusion/exclusion rules. - Added devcontainer.json for development environment setup. - Introduced GitHub action for setup to streamline Node and pnpm installation. - Modified CI workflow to include type checking and Biome linting. - Updated Playwright workflow to utilize the new setup action.
@techwithanirudh is attempting to deploy a commit to the Vercel Team on Vercel. A member of the Team first needs to authorize it. |
- Introduced .cspell.jsonc for code spell checking with custom dictionaries and ignore paths. - Added .nvmrc to specify Node.js version. - Created env.ts for environment variable management using T3 OSS. - Updated next.config.ts to support typed routes and server actions. - Enhanced package.json scripts for linting and spell checking. - Modified GitHub workflows to include a spelling check job. - Updated TODO.md with upcoming tasks and enhancements.
…e management - Updated drizzle.config.ts, middleware.ts, playwright.config.ts, and other files to utilize the env module for accessing environment variables. - Improved consistency and maintainability by centralizing environment variable management.
- Added new database schema files for user authentication and chat functionality. - Updated drizzle configuration to point to the new schema index file. - Refactored biome.jsonc to improve file inclusion/exclusion rules. - Upgraded @biomejs/biome package version in package.json and pnpm-lock.yaml. - Added a new TODO item for organizing database and authentication files.
- Upgraded various dependencies in package.json and pnpm-lock.yaml to their latest versions for improved performance and security. - Notable updates include @ai-sdk/gateway to 1.0.20, @codemirror packages, and several @radix-ui components. - Updated TypeScript and ESLint configurations to maintain compatibility with the latest versions.
- Upgraded various dependencies in package.json and pnpm-lock.yaml to their latest versions for improved performance and security. - Notable updates include @ai-sdk/gateway to 1.0.20, @codemirror packages, and several @radix-ui components. - Updated TypeScript and ESLint configurations to their latest versions for better compatibility and features.
(this PR updates biome config, so you need to run pnpm check:unsafe after merging the PR, or there'll be like a hundred changes in this PR) |
- Introduced a new database index file for improved ORM integration using drizzle-orm. - Refactored queries to utilize the new database instance, enhancing code organization. - Updated biome.jsonc to refine file exclusion rules by removing the ui components directory.
- Upgraded zod in package.json and pnpm-lock.yaml to version 4.1.5 for improved functionality and compatibility. - Updated all references to zod in the lock file to reflect the new version.
- Updated biome.jsonc to include a new linting rule for unique element IDs, reflecting developer preferences. - Enhanced TODO.md with additional tasks and warnings from lint checks. - Addressed multiple instances of unused function parameters across various components, improving code quality and maintainability. - Added a comment in components/message.tsx to ignore a specific lint warning regarding iterable callback returns.
@coderabbitai are you dead EDIT: i guess i have to use the extension |
- Removed dotenv configuration from drizzle.config.ts and playwright.config.ts to simplify environment handling. - Updated package.json scripts to use pnpm with-env for environment variable management during development and build processes. - Deleted the obsolete migrate.ts file to clean up the codebase. - Enhanced devcontainer.json to include Playwright dependency installation in the post-create command.
- Created a new SQL migration to rename the "text" column to "kind" in the Document table. - Updated the migration journal to include the new migration entry. - Added a snapshot of the database schema reflecting the changes made in this migration. - Adjusted the chat schema to align with the updated column name.
- Increased button padding in the Context component for improved UI consistency. - Switched from using the env module to process.env for environment variable management in constants, enhancing compatibility.
- Replaced all instances of framer-motion with motion from the new motion library in component files for improved performance and consistency. - Updated package.json and pnpm-lock.yaml to reflect the addition of the motion library and removal of framer-motion.
- Enhanced .cspell.jsonc by updating the ignore paths and adding new words for improved spell checking. - Introduced a new CI workflow in .github/workflows/ci.yml to automate TypeScript type generation, type checking, and spelling checks, ensuring code quality and consistency.
ready for review! |
- Deleted the TODO.md file to streamline project documentation.
- Improved environment variable transformations in env.ts to handle false-like values more effectively. - Updated package.json scripts to ensure consistent environment variable usage during type generation and testing.
…/update-packages
Co-authored-by: vercel[bot] <35613825+vercel[bot]@users.noreply.github.com>
- Updated the REDIS_URL field in env.ts to be optional, allowing for more flexible environment setups.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Pull Request: Dependency & Tooling Upgrades + Improvements
This PR includes a broad set of updates to keep the codebase modern, consistent, and developer-friendly.
🔧 Upgrades & Tooling
⚙️ CI & GitHub Actions