Skip to content

chore(infra): add infra related#4

Merged
Timeless0911 merged 3 commits intomainfrom
infra
Feb 4, 2026
Merged

chore(infra): add infra related#4
Timeless0911 merged 3 commits intomainfrom
infra

Conversation

@Timeless0911
Copy link
Copy Markdown
Member

No description provided.

@gemini-code-assist
Copy link
Copy Markdown
Contributor

Summary of Changes

Hello @Timeless0911, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request establishes a robust and standardized development infrastructure for the project. It integrates essential tools for automated dependency updates, consistent code formatting, and efficient linting, alongside tailored VSCode configurations. These changes aim to streamline development workflows, enhance code quality, and ensure a more cohesive environment for all contributors.

Highlights

  • New Infrastructure Setup: A comprehensive set of configuration files has been introduced to establish a standardized development infrastructure for the project.
  • Automated Dependency Updates: Renovatebot has been configured for monthly dependency updates, ensuring the project stays current with its dependencies.
  • Code Quality Tools Integration: Biome.js is set up for linting and Prettier for code formatting, with enforcement via Git hooks to maintain consistent code style.
  • Standardized Development Environment: VSCode settings and recommended extensions are included to provide a consistent and efficient developer experience across the team.
  • Documentation Formatting Improvements: Minor stylistic adjustments have been applied to existing Rspack debugging and tracing documentation for enhanced readability.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Changelog
  • .github/renovate.json5
    • Added Renovatebot configuration for monthly updates, grouping non-major dependencies, and disabling peer dependency updates.
  • .gitignore
    • Added comprehensive ignore rules for common build artifacts, logs, node modules, and editor-specific files.
  • .npmrc
  • .prettierignore
    • Specified files and directories to be ignored by Prettier, including build outputs and specific JavaScript file types within 'skills/'.
  • .prettierrc
    • Configured Prettier to use single quotes and integrated the 'prettier-plugin-packagejson' plugin.
  • .vscode/extensions.json
    • Added recommended VSCode extensions for Biome, Prettier, code spell checking, and MDX support.
  • .vscode/settings.json
    • Defined VSCode workspace settings for search exclusions, file exclusions, MDX validation, default formatter, and TypeScript SDK path.
  • biome.json
    • Implemented Biome.js configuration for import organization, Git integration, file scope, and linter rules, with specific style and suspicious rules turned off.
  • package.json
    • Initialized the project as a pnpm workspace.
    • Defined 'build', 'format', 'lint', and 'prepare' scripts.
    • Configured 'simple-git-hooks' with 'nano-staged' for pre-commit formatting and linting.
    • Added development dependencies including Biome.js, Prettier, and TypeScript.
  • pnpm-lock.yaml
    • Generated the pnpm lockfile, reflecting all new and updated dependencies.
  • pnpm-workspace.yaml
    • Configured the pnpm workspace to include 'packages/' and 'scripts/', with exclusions for build output directories.
  • scripts/config/package.json
    • Created a new internal package for shared configurations.
    • Added '@rslib/core', '@types/node', and 'typescript' as dev dependencies.
  • scripts/config/rslib.config.ts
    • Defined a base library configuration for '@rslib/core', specifying ESM format, ES2023 syntax, and disabling DTS generation.
  • scripts/config/tsconfig.json
    • Provided a base TypeScript configuration for shared scripts, enforcing strict type checking and modern module settings.
  • skills/rspack-debugging/SKILL.md
    • Adjusted list item markers from '*' to '-' and added blank lines for improved markdown rendering.
  • skills/rspack-debugging/references/guide_a_hmr_crash.md
    • Changed list item markers from '*' to '-'.
  • skills/rspack-debugging/references/guide_b_build_crash.md
    • Changed list item markers from '*' to '-'.
  • skills/rspack-debugging/references/guide_c_attach_to_stuck_process.md
    • Changed list item markers from '*' to '-'.
  • skills/rspack-debugging/references/guide_d_coredump_analysis_dev.md
    • Replaced '*Note' with '_Note' for italic formatting.
  • skills/rspack-debugging/references/guide_f_async_deadlock.md
    • Added blank lines for better separation of content.
  • skills/rspack-debugging/references/lldb.md
    • Changed list item markers from '*' to '-' and added blank lines for improved readability.
  • skills/rspack-tracing/SKILL.md
    • Added blank lines for improved readability.
  • skills/rspack-tracing/references/bottlenecks.md
    • Adjusted table header formatting and added blank lines for clarity.
  • skills/rspack-tracing/references/tracing-guide.md
    • Added blank lines for improved readability.
Ignored Files
  • Ignored by pattern: .github/workflows/** (1)
    • .github/workflows/ci.yml
Activity
  • The pull request introduces a foundational set of configuration files for project setup, including package management, code style, and development tooling.
  • Existing documentation files have received minor formatting updates to enhance consistency and readability.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request sets up the basic infrastructure for a new monorepo, including configurations for pnpm, Prettier, Biome, Renovate, and VSCode. The setup is modern and follows good practices. I've provided a few suggestions to improve the configuration:

  • Re-evaluating the decision to disable the noExplicitAny linting rule in Biome to maintain TypeScript's type safety.
  • Updating the Prettier commands to remove a deprecated flag.
  • A minor formatting fix in the .prettierignore file.
    The rest of the changes, including the updates to the markdown documentation, look good.

Comment thread biome.json
Comment thread .prettierignore Outdated
Comment thread package.json
@Timeless0911 Timeless0911 merged commit 65a2702 into main Feb 4, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants