Skip to content

Conversation

JounQin
Copy link
Member

@JounQin JounQin commented Apr 6, 2025

close #383

Summary by CodeRabbit

  • New Features

    • Launched an enhanced documentation site with intuitive routing and lazy-loaded content for readme and changelog pages.
    • Introduced global dark mode styling for an improved viewing experience.
    • Added automation for code formatting and dependency management in pull requests.
    • Implemented a new GitHub Actions workflow for automated deployment to Vercel.
  • Documentation

    • Refined visual elements, including updated badges and sponsor/backer sections, for a more polished presentation.
  • Chores

    • Streamlined build, deployment, and testing configurations with updated dependencies to boost reliability and performance.
    • Added new configuration files for Vercel and Vite, enhancing deployment and development processes.
    • Updated .gitignore to include additional files and directories for better project management.
    • Introduced new GitHub Actions workflows for autofixing code and CI processes.
    • Updated GitHub Actions workflows for improved CI processes and added new permissions for deployment workflows.

Copy link

changeset-bot bot commented Apr 6, 2025

🦋 Changeset detected

Latest commit: 6ba38fd

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 7 packages
Name Type
@pkgr/umd-globals Patch
@pkgr/es-modules Patch
@pkgr/imagemin Patch
@pkgr/browser Patch
@pkgr/rollup Patch
@pkgr/utils Patch
@pkgr/core Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

coderabbitai bot commented Apr 6, 2025

Warning

Rate limit exceeded

@JounQin has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 9 minutes and 36 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

📥 Commits

Reviewing files that changed from the base of the PR and between b70f8fe and 6ba38fd.

📒 Files selected for processing (1)
  • .github/workflows/ci.yml (2 hunks)

Walkthrough

This pull request introduces a series of configuration updates across GitHub workflows, dependency files, and project setup scripts. The changes include pinning specific GitHub Action commit hashes, removing an outdated CodeQL workflow, and adjusting commands in publishing steps. Additionally, various package manager and dependency versions have been updated, TypeScript configurations have been shifted to extend Node16 settings, and new configuration files for deployment and testing have been added. New documentation and a React-based application entry point also appear among the modifications.

Changes

File(s) Change Summary
.github/workflows/ci.yml, .github/workflows/pkg-pr-new.yml, .github/workflows/pkg-size.yml, .github/workflows/release.yml Updated pinned commit hashes for actions (checkout, setup-node, codecov); modified publish command with an added name prefix; added permissions and an environment variable in the release workflow.
.github/workflows/codeql.yml Removed obsolete CodeQL workflow.
.simple-git-hooks.cjs, .simple-git-hooks.js Removed the CommonJS hook file and added a new JavaScript file that exports the default from @1stg/simple-git-hooks.
.prettierignore, .renovaterc, .yarnrc.yml, eslint.config.js, tsconfig.base.json Removed auto-imports.d.ts from ignore list; introduced a Renovate configuration that extends an external repo; updated the Yarn path; added ESLint configuration for TSX files; updated the base TS configuration to extend Node16 and removed the explicit target setting.
README.md, index.html, docs/App.tsx, docs/global.css, docs/index.tsx Refined badge links and formatting in README; added a new HTML entry point; introduced a React App component with routing; and added global styling.
auto-imports.d.ts, test/global.d.ts, test/tsconfig.json Removed auto-imports declarations; added a reference to Vitest globals and a test TS configuration file.
package.json, and package files under packages/ (browser, core, es-modules, imagemin, rollup, umd-globals, utils) Updated dependency versions and package manager details; adjusted the positioning of "types" fields; modified TS configuration extends to Node16; updated import paths and revised peer/dependency version constraints.
vite.config.ts, vitest.config.ts, packages/rollup/src/config.ts Introduced a Vite configuration with MDX and React SWC plugins; updated Vitest configuration by removing an autoImport plugin, adding tsconfigPaths, and enabling enhanced coverage reporting; modified Rollup plugin invocations to use __importStar.
vercel.json Added a new deployment configuration file for Vercel with alias settings and rewrite rules.

Sequence Diagram(s)

sequenceDiagram
    participant B as Browser
    participant R as Router
    participant RC as Readme Component
    participant CC as Changelog Component
    B->>R: Navigate to URL
    R-->>B: Route matched
    alt Route is for README
        R->>RC: Lazy-load Readme
        RC-->>B: Render README content
    else Route is for Changelog
        R->>CC: Lazy-load Changelog
        CC-->>B: Render Changelog content
    else
        R-->>B: Redirect to Home
    end
Loading

Assessment against linked issues

Objective Addressed Explanation
Update all dependencies in the project to their latest versions (e.g., @1stG/common-config, @types/node, rimraf, yarn) [#383]
Pin digests for specific GitHub Actions to ensure consistent builds [#383]

Poem

I'm a rabbit hopping through the code,
With each commit a new story is told.
Dependencies updated and workflows in place,
Pinned commits keep a steady pace.
My little ears perk up in delight,
Celebrating these changes, day and night!
🐇🥕 Happy hops and smooth deploys!


🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai plan to trigger planning for file edits and PR creation.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link

socket-security bot commented Apr 6, 2025

Report too large to display inline

View full report↗︎

Copy link

codesandbox-ci bot commented Apr 6, 2025

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Copy link
Contributor

github-actions bot commented Apr 6, 2025

📊 Package size report   0.4%↑

File Before After
.changeset/five-worms-dress.md 235 B
.github/workflows/autofix.yml 917 B
.github/workflows/ci.yml 1.1 kB 24%↑1.4 kB
.github/workflows/codeql.yml 942 B
.github/workflows/pkg-pr-new.yml 523 B 23%↑641 B
.github/workflows/pkg-size.yml 559 B 23%↑688 B
.github/workflows/release.yml 1.3 kB 16%↑1.5 kB
.github/workflows/vercel.yml 908 B
.prettierignore 24 B -75%↓6 B
.renovaterc 49 B
.simple-git-hooks.cjs 51 B
.simple-git-hooks.js 49 B
.yarn/releases/yarn-4.7.0.cjs 2.8 MB
.yarn/releases/yarn-4.8.1.cjs 2.8 MB
auto-imports.d.ts 1.6 kB
docs/App.tsx 1.2 kB
docs/global.css 156 B
docs/index.tsx 211 B
eslint.config.js 159 B 62%↑258 B
index.html 414 B
package.json 2.5 kB 13%↑2.8 kB
packages/browser/index.d.cts 60 B
packages/browser/package.json 965 B 21%↑1.2 kB
packages/browser/tsconfig.json 159 B -12.6%↓139 B
packages/core/package.json 780 B 0.5%↑784 B
packages/core/tsconfig.json 161 B -4.35%↓154 B
packages/es-modules/index.d.cts 64 B
packages/es-modules/package.json 911 B 22%↑1.1 kB
packages/es-modules/README.md 1.3 kB 187%↑3.6 kB
packages/es-modules/test/test.spec.ts 927 B 1%↑936 B
packages/imagemin/index.d.cts 57 B
packages/imagemin/package.json 1.2 kB 17%↑1.4 kB
packages/imagemin/tsconfig.json 132 B 17%↑154 B
packages/rollup/package.json 1.5 kB 1%↑1.6 kB
packages/rollup/src/config.ts 11.7 kB 2%↑11.9 kB
packages/rollup/tsconfig.json 131 B 0.8%↑132 B
packages/umd-globals/index.d.cts 66 B
packages/umd-globals/package.json 815 B 25%↑1.0 kB
packages/umd-globals/README.md 1.1 kB 224%↑3.4 kB
packages/umd-globals/test/test.spec.ts 1.9 kB 0.5%↑1.9 kB
packages/utils/index.d.cts 51 B
packages/utils/package.json 857 B 23%↑1.1 kB
packages/utils/tsconfig.json 161 B -4.35%↓154 B
README.md 4.1 kB -0.9%↓4.1 kB
test/global.d.ts 41 B
test/tsconfig.json 96 B
tsconfig.base.json 89 B -53.9%↓41 B
vercel.json 190 B
vite.config.ts 299 B
vitest.config.ts 266 B 29%↑342 B
Total (Includes all files) 2.9 MB 0.4%↑2.9 MB
Tarball size 1.0 MB 0.2%↑1.0 MB
Unchanged files
File Size
.changeset/config.json 309 B
.changeset/README.md 510 B
.codesandbox/ci.json 76 B
.editorconfig 145 B
.gitattributes 35 B
.lintstagedrc.js 48 B
.nvmrc 6 B
.remarkrc 42 B
.stylelintignore 99 B
.stylelintrc 42 B
.yarn/plugins/plugin-prepare-lifecycle.cjs 202 B
.yarnrc.yml 397 B
CHANGELOG.md 486 B
LICENSE 1.1 kB
packages/browser/CHANGELOG.md 596 B
packages/browser/index.ts 4.7 kB
packages/browser/openChrome.applescript 2.5 kB
packages/core/CHANGELOG.md 1.1 kB
packages/core/src/constants.ts 448 B
packages/core/src/helpers.ts 1.9 kB
packages/core/src/index.ts 60 B
packages/es-modules/CHANGELOG.md 4.7 kB
packages/es-modules/index.ts 1.4 kB
packages/es-modules/tsconfig.json 139 B
packages/imagemin/CHANGELOG.md 8.4 kB
packages/imagemin/src/cli.ts 508 B
packages/imagemin/src/index.ts 1.2 kB
packages/rollup/CHANGELOG.md 20.7 kB
packages/rollup/shim.d.ts 647 B
packages/rollup/src/cli.ts 4.0 kB
packages/umd-globals/CHANGELOG.md 5.7 kB
packages/umd-globals/index.ts 1.8 kB
packages/umd-globals/tsconfig.json 139 B
packages/utils/CHANGELOG.md 11.4 kB
packages/utils/src/constants.ts 497 B
packages/utils/src/helpers.ts 2.8 kB
packages/utils/src/index.ts 117 B
packages/utils/src/monorepo.ts 691 B
tsconfig.json 381 B

🤖 This report was automatically generated by pkg-size-action

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

🔭 Outside diff range comments (1)
packages/imagemin/package.json (1)

1-46: 💡 Verification agent

❓ Verification inconclusive

Consolidate Type Declarations in package.json
It appears the "types": "./lib/index.d.ts" field now exists both at the root level (line 18) and inside the "exports" object (line 21). Since the intent is to declare the TypeScript definitions solely via the exports, please remove the root-level "types" to avoid duplication and potential ambiguity.


Action Required: Remove Duplicate "types" Field in package.json

  • In packages/imagemin/package.json, the "types": "./lib/index.d.ts" field appears both at the root (line 18) and in the "exports" object (line 21).
  • Please remove the root-level "types" entry to consolidate the declaration and avoid any potential ambiguity.
🧹 Nitpick comments (6)
packages/es-modules/tsconfig.json (1)

2-8: Review Module Packaging Configuration.
The "extends" property has been updated to "@1stg/tsconfig/node16", standardizing TypeScript settings across packages. However, note that in this file, only "composite" and "outDir" are specified in "compilerOptions", with no "rootDir" defined. Please verify that omitting "rootDir" is intentional for the es-modules package—if a specific source directory should be designated, adding this option may help avoid potential file inclusion issues during builds.

index.html (1)

1-23: HTML Structure is Well-Formed.
The document includes all the necessary meta tags (charset, viewport, and even the legacy X-UA-Compatible) along with a clear HTML structure. If Internet Explorer support is no longer required, consider removing the X-UA-Compatible meta tag in future clean-ups.

docs/App.tsx (2)

13-23: Consider adding error handling for dynamic imports

The lazy loading of README files doesn't include error handling for cases where a file might not exist for a specified package.

 const Readme = () => {
   const { name } = useParams<{ name: string }>()
   const Readme = lazy(() =>
     name ? import(`../packages/${name}/README.md`) : import('../README.md'),
   )
   return (
-    <Suspense>
+    <Suspense fallback={<div>Loading...</div>}>
       <Readme />
     </Suspense>
   )
 }

Consider also adding error boundaries to handle potential import failures:

import { ErrorBoundary } from 'react-error-boundary'

// In your component:
return (
  <ErrorBoundary fallback={<div>Error loading documentation</div>}>
    <Suspense fallback={<div>Loading...</div>}>
      <Readme />
    </Suspense>
  </ErrorBoundary>
)

25-37: Consider adding error handling for dynamic imports

Similar to the Readme component, the Changelog component should also include error handling.

 const Changelog = () => {
   const { name } = useParams<{ name: string }>()
   const Changelog = lazy(() =>
     name
       ? import(`../packages/${name}/CHANGELOG.md`)
       : import('../CHANGELOG.md'),
   )
   return (
-    <Suspense>
+    <Suspense fallback={<div>Loading...</div>}>
       <Changelog />
     </Suspense>
   )
 }
README.md (2)

21-23: Streamline Sponsors Section:
The sponsors section table layout has been refined for simplicity and clarity. Consider verifying the alignment and spacing for optimal visual consistency across various devices.


27-29: Revise Backers Section:
The backers section formatting has been enhanced to clearly distinguish between the different Open Collective groups. The changes aid readability and visual appeal.

🧰 Tools
🪛 LanguageTool

[style] ~29-~29: Using many exclamation marks might seem excessive (in this case: 12 exclamation marks for a text that’s 3256 characters long)
Context: ...----------------------------------- | | 1stG Open Collective backers | RxTS Open Collective backers | [![UnTS Open Collective backers](https://o...

(EN_EXCESSIVE_EXCLAMATION)

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 502e3ae and 4a2c5aa.

⛔ Files ignored due to path filters (2)
  • .yarn/releases/yarn-4.8.1.cjs is excluded by !**/.yarn/**
  • yarn.lock is excluded by !**/yarn.lock, !**/*.lock
📒 Files selected for processing (42)
  • .github/workflows/ci.yml (2 hunks)
  • .github/workflows/codeql.yml (0 hunks)
  • .github/workflows/pkg-pr-new.yml (1 hunks)
  • .github/workflows/pkg-size.yml (1 hunks)
  • .github/workflows/release.yml (2 hunks)
  • .prettierignore (0 hunks)
  • .renovaterc (1 hunks)
  • .simple-git-hooks.cjs (0 hunks)
  • .simple-git-hooks.js (1 hunks)
  • .yarnrc.yml (1 hunks)
  • README.md (3 hunks)
  • auto-imports.d.ts (0 hunks)
  • docs/App.tsx (1 hunks)
  • docs/global.css (1 hunks)
  • docs/index.tsx (1 hunks)
  • eslint.config.js (1 hunks)
  • index.html (1 hunks)
  • package.json (1 hunks)
  • packages/browser/package.json (1 hunks)
  • packages/browser/tsconfig.json (1 hunks)
  • packages/core/package.json (1 hunks)
  • packages/core/tsconfig.json (1 hunks)
  • packages/es-modules/README.md (1 hunks)
  • packages/es-modules/package.json (1 hunks)
  • packages/es-modules/test/test.spec.ts (1 hunks)
  • packages/es-modules/tsconfig.json (1 hunks)
  • packages/imagemin/package.json (1 hunks)
  • packages/rollup/package.json (2 hunks)
  • packages/rollup/src/config.ts (5 hunks)
  • packages/rollup/tsconfig.json (1 hunks)
  • packages/umd-globals/README.md (1 hunks)
  • packages/umd-globals/package.json (1 hunks)
  • packages/umd-globals/test/test.spec.ts (1 hunks)
  • packages/umd-globals/tsconfig.json (1 hunks)
  • packages/utils/package.json (1 hunks)
  • packages/utils/tsconfig.json (1 hunks)
  • test/global.d.ts (1 hunks)
  • test/tsconfig.json (1 hunks)
  • tsconfig.base.json (1 hunks)
  • vercel.json (1 hunks)
  • vite.config.ts (1 hunks)
  • vitest.config.ts (1 hunks)
💤 Files with no reviewable changes (4)
  • .prettierignore
  • .simple-git-hooks.cjs
  • .github/workflows/codeql.yml
  • auto-imports.d.ts
🧰 Additional context used
🧬 Code Definitions (1)
docs/index.tsx (1)
docs/App.tsx (1)
  • App (39-64)
🪛 LanguageTool
README.md

[style] ~29-~29: Using many exclamation marks might seem excessive (in this case: 12 exclamation marks for a text that’s 3256 characters long)
Context: ...----------------------------------- | | 1stG Open Collective backers | RxTS Open Collective backers | [![UnTS Open Collective backers](https://o...

(EN_EXCESSIVE_EXCLAMATION)

⏰ Context from checks skipped due to timeout of 90000ms (2)
  • GitHub Check: Codacy Static Code Analysis
  • GitHub Check: Lint and Test with Node.js 22 on windows-latest
🔇 Additional comments (58)
.simple-git-hooks.js (1)

1-1: Re-export of simple-git-hooks Module:
The new file correctly re-exports the default export from @1stg/simple-git-hooks. This approach streamlines access to the module's functionality and aligns with the dependency update goals.
Please ensure that:

  • The dependency @1stg/simple-git-hooks is declared in your package.json and properly installed.
  • All references previously pointing to .simple-git-hooks.cjs have been updated to use this new file.
packages/umd-globals/tsconfig.json (1)

2-2: TypeScript configuration updated to target Node 16

The configuration now extends from @1stg/tsconfig/node16 instead of the previous lib-based configuration. This aligns with modern Node.js development practices and likely enables newer ECMAScript features.

.renovaterc (1)

1-5: Good addition of Renovate configuration

Adding a Renovate configuration that extends from a shared organizational config is a good practice for maintaining consistent dependency management across projects.

.yarnrc.yml (1)

10-10: Yarn version updated to 4.8.1

The Yarn path has been updated to reference version 4.8.1, which aligns with the PR objective of updating dependencies.

test/tsconfig.json (1)

1-4: Good addition of test-specific TypeScript configuration

Adding a dedicated TypeScript configuration for tests is a good practice. This setup correctly extends the base configuration while targeting test files specifically.

eslint.config.js (1)

10-15: Updated ESLint configuration for modern React

Disabling the @eslint-react/jsx-uses-react rule for TSX files is appropriate when using the modern JSX transform from React 17+, which doesn't require explicitly importing React.

vite.config.ts (1)

1-16: Configuration looks good for Vite with React and MDX support.

The configuration properly sets up Vite with the necessary plugins for MDX (with GitHub Flavored Markdown support) and React-SWC for improved build performance. The server configuration to automatically open the browser is a nice convenience feature.

vercel.json (1)

1-15: Vercel configuration is properly set up for SPA deployment.

The configuration correctly defines:

  • Version 2 of the Vercel platform
  • Custom alias for the application (pkgr.vercel.app)
  • Silent GitHub integration to reduce notification noise
  • URL rewrite rules to ensure all routes are handled by the single-page application

This is the standard approach for deploying React SPAs to Vercel.

packages/rollup/src/config.ts (5)

48-48: Import of __importStar from tslib looks good.

This import is necessary for the dynamic import changes throughout the file to properly handle default exports.


84-85: Consistent usage of __importStar for nodeResolve plugin.

The change from direct use of nodeResolve({...}) to __importStar(nodeResolve).default({...}) ensures proper handling of the default export, which is important for compatibility with modern module systems.


107-108: Consistent usage of __importStar for commonjs plugin.

The change from direct use of commonjs({ sourceMap }) to __importStar(commonjs).default({ sourceMap }) maintains consistency with the approach used for other plugins.


408-408: Consistent usage of __importStar for alias plugin.

This maintains the same pattern used for other plugins in the file.


439-443: Consistent usage of __importStar for copy, json, and url plugins.

All rollup plugins are now consistently using the __importStar(...).default() pattern, which improves maintainability and ensures proper handling of default exports across different module systems.

test/global.d.ts (1)

1-1: Correctly references Vitest global types.

This triple-slash directive properly imports the global type definitions from Vitest, allowing TypeScript to recognize test functions like describe, it, and expect without explicit imports in test files.

packages/rollup/tsconfig.json (1)

2-2: Updated Extends Configuration.
The "extends" property now points to "@1stg/tsconfig/node16", which aligns with the broader project update for Node.js v16 settings. This change appears consistent with related packages.

packages/browser/tsconfig.json (1)

2-8: Consistent Update with a Note on Directory Structure.
The "extends" property has been updated to "@1stg/tsconfig/node16", ensuring that the TypeScript configuration now inherits Node16-optimized settings. Note that "rootDir" is set to "." in this file—please verify that this is intentional for the browser package's structure compared to other packages which may use "src".

packages/core/tsconfig.json (1)

2-8: Standardized Configuration Update.
The "extends" property is now set to "@1stg/tsconfig/node16", and the compiler options (with "composite": true, "outDir": "lib", and "rootDir": "src") are consistent with the project's updated standards. Ensure that any build scripts or dependent tooling are aligned with these new settings.

packages/utils/tsconfig.json (1)

2-8: Updated for Node16 Targets.
This configuration correctly applies the updated "extends" property to "@1stg/tsconfig/node16". The compiler options remain clear and consistent with composite builds, and the exclusion of "lib" and "test" directories is appropriate.

docs/global.css (2)

1-5: Dark Mode Styling is Correct.
The media query and the nested rules correctly apply a dark background (#0d1117) when a user prefers a dark color scheme.


7-11: Body Styling is Clear and Consistent.
The body element is styled with a maximum width of 1200px, centered via auto margins, and padded appropriately. Ensure that these values align with your overall layout design.

docs/index.tsx (1)

1-12: React Entry Point is Well-Implemented.
The entry file efficiently imports createRoot from react-dom/client and the App component, applies the relevant class (markdown-body) to the target element, and renders the component. The non-null assertion on the querySelector is acceptable provided that the HTML always contains an element with the ID app.

packages/utils/package.json (1)

15-15: Type Declarations Consolidated.
Adding the "types": "./lib/index.d.ts" field ensures that the TypeScript definitions are correctly exposed to consumers of the package. Please verify that the specified path actually points to the correct declaration file.

packages/es-modules/package.json (1)

12-12: Consistent Type Definition Usage.
The inclusion of the "types": "./lib/index.d.ts" field at the root of the package.json helps consolidate type information. Ensure that this change is consistently aligned with similar updates in other packages.

tsconfig.base.json (1)

1-4: Update to Node16 Base Configuration
The extension has been updated from the older configuration to "@1stg/tsconfig/node16", which should now provide settings better aligned with Node 16. Please verify that the removal of the explicit "compilerOptions": { "target": "ES2020" } does not inadvertently change behaviour in downstream packages.

packages/umd-globals/test/test.spec.ts (1)

1-8: Refined Import Path for UMD Globals Test
The import statement has been updated from a generic relative path to explicitly reference '../index.js'. This enhances clarity on the source of the exports. Please ensure that this change is in line with the module resolution strategy in other parts of the project.

packages/es-modules/test/test.spec.ts (1)

1-1: Clarify Module Import Resolution
The import for MODULE_DEFINITIONS, alias, and entries is now explicitly pointing to '../index.js'. This aligns with similar updates elsewhere in the codebase and aids in clarity. Confirm that the change does not affect any consumers of these definitions in downstream tests.

packages/umd-globals/README.md (1)

44-51: Consistent Link References in Documentation
The link identifiers have been updated to [1stG.me], [JounQin], and [MIT] for improved consistency and readability. This is a positive change that enhances the clarity of the documentation.

packages/browser/package.json (1)

15-15: Added top-level types field for better TypeScript compatibility

This change adds a top-level "types" field while maintaining the same field in the "exports" object. This is a good practice that ensures compatibility with both newer TypeScript versions (via exports) and older ones (via top-level types).

packages/umd-globals/package.json (1)

12-12: Added top-level types field for better TypeScript compatibility

This change adds a top-level "types" field while maintaining the same field in the "exports" object. This is a good practice that ensures compatibility with both newer TypeScript versions (via exports) and older ones (via top-level types).

packages/es-modules/README.md (1)

62-64: Improved consistency in markdown reference links

The capitalization in the reference links has been updated to match their actual usage in the text (line 60), making the documentation more consistent.

packages/core/package.json (1)

15-15: Added top-level types field for better TypeScript compatibility

This change adds a top-level "types" field while maintaining the same field in the "exports" object. This is a good practice that ensures compatibility with both newer TypeScript versions (via exports) and older ones (via top-level types).

docs/App.tsx (1)

1-64: New documentation site component with React Router

The new App component creates a documentation site using React Router, allowing navigation between README and CHANGELOG files for different packages. The implementation uses modern React patterns like lazy loading and suspense.

.github/workflows/pkg-pr-new.yml (3)

16-17: Update Checkout Action Reference:
The checkout step now specifies the commit hash 11bd71901bbe5b1630ceea73d27597364c9af683. This pinning helps ensure consistent, reproducible builds across workflow runs.


18-19: Update Setup Node.js Action:
The setup-node step is updated to reference commit hash cdca7365b2dadb8aad0a33bc7601856ffabcc48e. This change aligns with other workflows and reinforces action version consistency.


27-28: Enhance Publish Command:
The publish step now includes the --compact flag and explicitly names the step. This improves clarity and may reduce console noise.

.github/workflows/pkg-size.yml (3)

17-17: Pin Checkout Action Version:
The checkout action is now fixed to commit hash 11bd71901bbe5b1630ceea73d27597364c9af683, ensuring stable workflow behavior for the package size report.


19-20: Pin Setup Node.js Action:
By updating the setup-node action to commit hash cdca7365b2dadb8aad0a33bc7601856ffabcc48e, the workflow maintains consistency with other CI configurations.


26-26: Pin Package Size Action Version:
Changing pkg-size/action to the commit hash a637fb0897b6f14f18e776d8c3dbccb34a1ad27b helps prevent unexpected variations from future updates.

.github/workflows/ci.yml (3)

28-29: Pin Checkout Repo Action:
The checkout step now uses commit hash 11bd71901bbe5b1630ceea73d27597364c9af683, ensuring reliable retrieval of repository files during CI runs.


30-32: Pin Setup Node.js Action:
The setup-node step is updated with commit hash cdca7365b2dadb8aad0a33bc7601856ffabcc48e, aligning versioning across workflows and promoting consistency.


50-51: Update Codecov Action:
The Codecov step now references commit hash 0565863a31f2c772f9f0395002a31e3f06189574, ensuring that code coverage reporting uses a fixed and known version.

packages/rollup/package.json (3)

22-24: Expand Peer Dependency Range:
The version constraint for @vitejs/plugin-vue-jsx has been updated to "^3.0.0 || ^4.0.0". This expansion increases compatibility with projects using either version, which is a welcome improvement.


45-46: Upgrade esbuild Version:
Bumping the esbuild dependency from "^0.25.1" to "^0.25.2" addresses minor version updates that may contain bug fixes or performance improvements.


48-48: Upgrade Rollup Version:
Upgrading rollup from "^4.36.0" to "^4.39.0" ensures that the package benefits from the latest non-breaking changes and enhancements.

README.md (3)

3-3: Enhance GitHub Actions Badge:
The updated GitHub Actions badge now clearly indicates the workflow status for the master branch, making it more descriptive and useful for users.


6-6: Introduce CodeRabbit PR Reviews Badge:
The new CodeRabbit Pull Request Reviews badge adds transparency regarding PR review status, which helps maintain code quality.


39-41: Update License and Attribution Links:
The references for [1stG.me], [JounQin], and [MIT] have been updated for clarity and accuracy. These improvements ensure correct attribution and licensing information.

vitest.config.ts (2)

1-5: Good switch to tsconfigPaths plugin

The replacement of the auto-import plugin with tsconfigPaths is a good change. This will ensure that path aliases defined in tsconfig.json work correctly in tests, improving import consistency across the codebase.


7-13: Improved test configuration with better coverage settings

The changes to the test configuration are well structured:

  • Adding globals: true ensures Vitest's API (describe, it, expect) is available without imports
  • Explicitly enabling coverage with the right configuration (include patterns and multiple reporter formats)

This aligns with the removal of the --coverage flag from the test script in package.json.

.github/workflows/release.yml (4)

12-15: Security enhancement: Explicit workflow permissions

Adding explicit permissions follows the principle of least privilege and is a GitHub Actions security best practice. The specific permissions added are appropriate for a release workflow that needs to create tags, use OIDC tokens, and manage pull requests.


23-23: Security improvement: Pinned action to specific commit hash

Pinning the checkout action to a specific commit hash rather than using a floating version tag is a security best practice that prevents potential supply chain attacks.


29-29: Security improvement: Pinned action to specific commit hash

Pinning the setup-node action to a specific commit hash rather than using a floating version tag is a security best practice that prevents potential supply chain attacks.


52-52: Security enhancement: npm package provenance

Enabling npm provenance by setting NPM_CONFIG_PROVENANCE: true improves the security of published packages by verifying their integrity and origin.

package.json (5)

14-14: Package manager version update

Updating Yarn from 4.7.0 to 4.8.1 brings in the latest improvements and bug fixes.


19-22: Script improvements and new documentation capabilities

The changes to the scripts section are well-structured:

  • Improved quoting in the clean script to prevent shell expansion issues
  • Added new scripts for documentation generation using Vite

This is a good enhancement that makes documentation development and builds more accessible.


25-25: Simplified prepare script

Removing patch-package from the prepare script suggests that patched dependencies are no longer needed, which is a positive outcome of the dependency updates.


27-27: Test script alignment

Removing the --coverage flag from the test script aligns with the vitest.config.ts changes where coverage is now enabled in the configuration.


32-70: Comprehensive dependency updates

The dependency updates are extensive and well-organized:

  • Updated existing dependencies to newer versions
  • Added React, MDX, and web-related dependencies for documentation
  • Added vite and related plugins for the new documentation system

These updates align perfectly with the PR objective of updating all dependencies while also enhancing the project's documentation capabilities.

@JounQin JounQin force-pushed the chore/housekeeping branch from 0911283 to 1bec8a1 Compare April 6, 2025 11:45
@JounQin JounQin changed the title chore: update all (dev) dependencies chore: housekeeping, bump all (dev) deps Apr 6, 2025
Copy link

pkg-pr-new bot commented Apr 6, 2025

Open in StackBlitz

@pkgr/browser

npm i https://pkg.pr.new/un-ts/pkgr/@pkgr/browser@384

@pkgr/core

npm i https://pkg.pr.new/un-ts/pkgr/@pkgr/core@384

@pkgr/es-modules

npm i https://pkg.pr.new/un-ts/pkgr/@pkgr/es-modules@384

@pkgr/imagemin

npm i https://pkg.pr.new/un-ts/pkgr/@pkgr/imagemin@384

@pkgr/rollup

npm i https://pkg.pr.new/un-ts/pkgr/@pkgr/rollup@384

@pkgr/utils

npm i https://pkg.pr.new/un-ts/pkgr/@pkgr/utils@384

@pkgr/umd-globals

npm i https://pkg.pr.new/un-ts/pkgr/@pkgr/umd-globals@384

commit: 1bec8a1

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 3

🧹 Nitpick comments (3)
.github/workflows/vercel.yml (1)

17-18: Checkout Action Version Consistency.
The checkout step uses actions/checkout@v4. Note that in other workflows, a specific commit hash (e.g., in .github/workflows/autofix.yml) is used to ensure consistency and reproducibility. Consider aligning this version with the others if that is a project requirement.

docs/App.tsx (2)

39-64: Consider normalizing URL paths for consistency.

The route path /CHANGELOG.md includes the file extension while other routes don't. For better URL consistency and future-proofing, consider using just /changelog instead.

-      <Route
-        path="/CHANGELOG.md"
-        element={<Changelog />}
-      />
+      <Route
+        path="/changelog"
+        element={<Changelog />}
+      />

Then update the corresponding links in your application that point to this route.


1-64: Add proper TypeScript type annotations for React components.

While the component follows React conventions, adding explicit return types would improve type safety and documentation.

-const Readme = () => {
+const Readme: React.FC = () => {

-const Changelog = () => {
+const Changelog: React.FC = () => {

-export const App = () => (
+export const App: React.FC = () => (
📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 0911283 and 1bec8a1.

⛔ Files ignored due to path filters (2)
  • .yarn/releases/yarn-4.8.1.cjs is excluded by !**/.yarn/**
  • yarn.lock is excluded by !**/yarn.lock, !**/*.lock
📒 Files selected for processing (51)
  • .github/workflows/autofix.yml (1 hunks)
  • .github/workflows/ci.yml (2 hunks)
  • .github/workflows/codeql.yml (0 hunks)
  • .github/workflows/pkg-pr-new.yml (1 hunks)
  • .github/workflows/pkg-size.yml (1 hunks)
  • .github/workflows/release.yml (2 hunks)
  • .github/workflows/vercel.yml (1 hunks)
  • .gitignore (1 hunks)
  • .prettierignore (0 hunks)
  • .renovaterc (1 hunks)
  • .simple-git-hooks.cjs (0 hunks)
  • .simple-git-hooks.js (1 hunks)
  • .yarnrc.yml (1 hunks)
  • README.md (3 hunks)
  • auto-imports.d.ts (0 hunks)
  • docs/App.tsx (1 hunks)
  • docs/global.css (1 hunks)
  • docs/index.tsx (1 hunks)
  • eslint.config.js (1 hunks)
  • index.html (1 hunks)
  • package.json (1 hunks)
  • packages/browser/index.d.cts (1 hunks)
  • packages/browser/package.json (2 hunks)
  • packages/browser/tsconfig.json (1 hunks)
  • packages/core/package.json (2 hunks)
  • packages/core/tsconfig.json (1 hunks)
  • packages/es-modules/README.md (3 hunks)
  • packages/es-modules/index.d.cts (1 hunks)
  • packages/es-modules/package.json (1 hunks)
  • packages/es-modules/test/test.spec.ts (1 hunks)
  • packages/es-modules/tsconfig.json (1 hunks)
  • packages/imagemin/index.d.cts (1 hunks)
  • packages/imagemin/package.json (2 hunks)
  • packages/imagemin/tsconfig.json (1 hunks)
  • packages/rollup/package.json (3 hunks)
  • packages/rollup/src/config.ts (5 hunks)
  • packages/rollup/tsconfig.json (1 hunks)
  • packages/umd-globals/README.md (3 hunks)
  • packages/umd-globals/index.d.cts (1 hunks)
  • packages/umd-globals/package.json (1 hunks)
  • packages/umd-globals/test/test.spec.ts (1 hunks)
  • packages/umd-globals/tsconfig.json (1 hunks)
  • packages/utils/index.d.cts (1 hunks)
  • packages/utils/package.json (2 hunks)
  • packages/utils/tsconfig.json (1 hunks)
  • test/global.d.ts (1 hunks)
  • test/tsconfig.json (1 hunks)
  • tsconfig.base.json (1 hunks)
  • vercel.json (1 hunks)
  • vite.config.ts (1 hunks)
  • vitest.config.ts (1 hunks)
💤 Files with no reviewable changes (4)
  • .prettierignore
  • .simple-git-hooks.cjs
  • .github/workflows/codeql.yml
  • auto-imports.d.ts
✅ Files skipped from review due to trivial changes (1)
  • test/global.d.ts
🚧 Files skipped from review as they are similar to previous changes (38)
  • packages/imagemin/tsconfig.json
  • packages/browser/index.d.cts
  • .renovaterc
  • .simple-git-hooks.js
  • packages/imagemin/index.d.cts
  • packages/umd-globals/tsconfig.json
  • packages/utils/index.d.cts
  • packages/es-modules/index.d.cts
  • index.html
  • packages/rollup/tsconfig.json
  • eslint.config.js
  • packages/umd-globals/index.d.cts
  • .yarnrc.yml
  • vite.config.ts
  • packages/es-modules/tsconfig.json
  • packages/browser/tsconfig.json
  • packages/core/tsconfig.json
  • docs/index.tsx
  • vercel.json
  • packages/utils/tsconfig.json
  • tsconfig.base.json
  • test/tsconfig.json
  • packages/core/package.json
  • .github/workflows/pkg-pr-new.yml
  • packages/umd-globals/test/test.spec.ts
  • vitest.config.ts
  • docs/global.css
  • packages/es-modules/test/test.spec.ts
  • .github/workflows/pkg-size.yml
  • packages/utils/package.json
  • packages/browser/package.json
  • packages/umd-globals/package.json
  • packages/imagemin/package.json
  • .github/workflows/ci.yml
  • .github/workflows/release.yml
  • packages/rollup/src/config.ts
  • packages/rollup/package.json
  • package.json
🧰 Additional context used
🪛 LanguageTool
packages/es-modules/README.md

[style] ~68-~68: Using many exclamation marks might seem excessive (in this case: 8 exclamation marks for a text that’s 2703 characters long)
Context: ...----------------------------------- | | 1stG Open Collective backers | RxTS Open Collective backers | [![UnTS Open Collective backers](https://o...

(EN_EXCESSIVE_EXCLAMATION)

packages/umd-globals/README.md

[style] ~54-~54: Using many exclamation marks might seem excessive (in this case: 8 exclamation marks for a text that’s 2643 characters long)
Context: ...----------------------------------- | | 1stG Open Collective backers | RxTS Open Collective backers | [![UnTS Open Collective backers](https://o...

(EN_EXCESSIVE_EXCLAMATION)

README.md

[style] ~29-~29: Using many exclamation marks might seem excessive (in this case: 12 exclamation marks for a text that’s 3256 characters long)
Context: ...----------------------------------- | | 1stG Open Collective backers | RxTS Open Collective backers | [![UnTS Open Collective backers](https://o...

(EN_EXCESSIVE_EXCLAMATION)

⏰ Context from checks skipped due to timeout of 90000ms (2)
  • GitHub Check: Codacy Static Code Analysis
  • GitHub Check: Lint and Test with Node.js 22 on windows-latest
🔇 Additional comments (35)
packages/es-modules/package.json (4)

6-6: Repository URL Format Updated.
The repository field has been updated to use the git+https:// protocol, which is a preferred format for some package managers and improves compatibility.


12-12: Addition of Root-Level Types Field.
The new "types": "./index.d.cts" field ensures that TypeScript definition files are properly referenced at the package root, streamlining type resolution for consumers.


15-26: Restructured Exports Object for Enhanced Module Compatibility.
The "exports" field now nests keys for "import", "module-sync", and "require", each with dedicated "types" and "default" fields. This restructuring provides a clearer separation of module formats and type definitions, aligning with similar updates across other packages.


29-29: Updated Files Array to Include TypeScript Declarations.
Including "index.d.cts" in the "files" array ensures that the TypeScript declaration files are published along with the module, fostering better integration with TypeScript projects.

.gitignore (1)

5-5: Ensure Vercel artifacts remain untracked.
The added entry .vercel correctly ignores the Vercel deployment-related directory. This aligns with best practices for deployment configurations.

.github/workflows/vercel.yml (5)

1-2: Workflow Naming: "Vercel Deploy" is Clear.
The workflow is appropriately named to reflect its purpose.


3-8: Trigger Configuration Verification.
The workflow is set to trigger on pushes to the master branch and defines pull_request_target: null. Please verify that using pull_request_target: null meets your intended security and trigger behavior for this deployment workflow.


9-12: Concurrency Settings are Well Configured.
The use of a concurrency group based on the workflow name and branch reference, with cancellation of in-progress runs, helps prevent overlapping deployments.


19-25: Branch Check for Deployment.
The condition if: ${{ github.ref == 'refs/heads/master' }} and the subsequent output settings correctly ensure that deployment steps only execute for the master branch. This logic is sound.


26-34: Deploy Step: Secure and Parameterized Inputs.
The deployment step correctly leverages amondnet/vercel-action@v25 and passes the necessary parameters from secrets and prior step outputs. This approach minimizes exposure of sensitive values while ensuring the proper deployment arguments and conditions are applied.

.github/workflows/autofix.yml (7)

1-2: Workflow Naming Complying with Security Requirements.
Naming the workflow autofix.ci adheres to the security requirement for using the autofix.ci action.


3-9: PR Trigger Configuration is Appropriate.
The workflow is triggered on pull request events (opened, reopened, synchronized), which is ideal for applying automated code fixes.


10-12: Concurrency Management Is Correct.
The concurrency configuration ensures that only one run per workflow+branch is active, preventing conflicts from simultaneous pull request updates.


18-19: Consistent Dependency Management for Checkout.
Using actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 guarantees that the checkout step is pinned to a specific commit, ensuring consistent behavior across workflows.


21-26: Setup Node.js LTS with Caching.
The Node.js environment is correctly set up with caching enabled for Yarn, ensuring that dependency installations are efficient and reproducible.


27-32: Efficient Dependency Installation and Code Formatting.
The steps to install dependencies using yarn --immutable and to run the build and format commands are straightforward and well-ordered. Please ensure that the scripts build and format are properly defined in your package configuration.


33-37: Pinned Autofix Action Enhances Stability.
The use of the autofix-ci/action@2891949f3779a1cafafae1523058501de3d4e944 with fail-fast: false properly manages automated code fixes while allowing the workflow to continue even if some autofix steps fail.

README.md (5)

3-3: Improved GitHub Actions Badge
The updated GitHub Actions badge now includes a more descriptive label and branch query (master), enhancing clarity regarding the CI status.


6-6: New CodeRabbit PR Reviews Badge
Adding the "CodeRabbit Pull Request Reviews" badge is a valuable enhancement to signify review status right from the README.


21-23: Well-Formatted Sponsors Table
The sponsors section is clearly laid out in a table format. The structure improves readability and maintains consistency with the presentation across the project.


27-29: Neat Backers Table Presentation
The backers section mirrors the sponsors table structure nicely, providing a uniform look and straightforward navigation for readers.

🧰 Tools
🪛 LanguageTool

[style] ~29-~29: Using many exclamation marks might seem excessive (in this case: 12 exclamation marks for a text that’s 3256 characters long)
Context: ...----------------------------------- | | 1stG Open Collective backers | RxTS Open Collective backers | [![UnTS Open Collective backers](https://o...

(EN_EXCESSIVE_EXCLAMATION)


39-41: Consistent Link Reference Updates
The updates to the link references for [1stG.me], [JounQin], and [MIT] now use standardized casing, which improves clarity and consistency in the documentation.

packages/es-modules/README.md (5)

14-15: Enhanced TOC Navigation
The Table of Contents now includes links for the Sponsors and Backers sections. This addition improves navigation and helps users quickly locate these important sections.


56-57: Sponsor Badge Inclusion
The insertion of a sponsors badge immediately before the Sponsors section serves as an appealing visual cue and reinforces sponsor recognition.


58-63: Clear Sponsors Section
The Sponsors section is presented with a well-structured table of sponsor badges and links. The formatting is consistent and user-friendly.


64-69: Consistent Backers Section
The Backers section uses a table layout similar to the Sponsors section, ensuring a consistent presentation and making it easy for users to identify backer information.

🧰 Tools
🪛 LanguageTool

[style] ~68-~68: Using many exclamation marks might seem excessive (in this case: 8 exclamation marks for a text that’s 2703 characters long)
Context: ...----------------------------------- | | 1stG Open Collective backers | RxTS Open Collective backers | [![UnTS Open Collective backers](https://o...

(EN_EXCESSIVE_EXCLAMATION)


78-80: Standardized Link References
The updates to the link references (for [1stG.me], [JounQin], and [MIT]) maintain consistent casing and formatting across the documentation, enhancing professionalism and clarity.

packages/umd-globals/README.md (5)

14-15: TOC Update for Improved Navigation
Including Sponsors and Backers in the Table of Contents significantly enhances navigation within the document, making these sections easier to locate.


42-42: Sponsor Badge Addition
The added sponsors badge above the Sponsors section is a clear visual indicator of sponsorship and aligns well with similar enhancements in other documentation files.


44-49: Sponsors Table Consistency
The sponsors table is well formatted with clear separation between columns, ensuring that sponsor logos and links are displayed uniformly.


50-55: Uniform Backers Table Layout
The Backers section mirrors the sponsors layout, offering consistency in visual presentation and readability across the documentation.

🧰 Tools
🪛 LanguageTool

[style] ~54-~54: Using many exclamation marks might seem excessive (in this case: 8 exclamation marks for a text that’s 2643 characters long)
Context: ...----------------------------------- | | 1stG Open Collective backers | RxTS Open Collective backers | [![UnTS Open Collective backers](https://o...

(EN_EXCESSIVE_EXCLAMATION)


64-67: Updated Link References for Consistency
The revised link references (for [1stG.me], [JounQin], and [MIT]) ensure consistency in naming and casing, thereby improving the overall quality of the documentation.

docs/App.tsx (3)

1-11: Good use of modern React features and import organization.

The code imports necessary React hooks and router components in a clean way. The inclusion of GitHub markdown CSS is appropriate for rendering markdown content.


39-64: Good routing structure with appropriate path handling.

The routing structure is well-organized with clear path definitions and appropriate component assignments. The wildcard route at the end properly handles unknown paths.


13-37:

❓ Verification inconclusive

Verify markdown loading configuration in your bundler.

The dynamic imports of markdown files assume your bundler (webpack, etc.) is configured to handle .md files. Ensure you have the appropriate loaders configured (like markdown-loader) and that they properly convert markdown to React components.


🏁 Script executed:

#!/bin/bash
# Check for markdown loaders or plugins in webpack/bundler config
grep -r "markdown\|md" --include="*.js" --include="*.ts" --include="*.json" .

Length of output: 1498


Double-check Markdown Loader Configuration in Bundler

The dynamic imports in docs/App.tsx rely on your bundler to transform Markdown files into React components. We noticed that your project uses the @mdx-js/rollup plugin in your Vite configuration. However, please verify that the plugin (or any alternative loader in your bundler setup) is configured to handle both .md and .mdx files. If the configuration only processes .mdx files, you may need to update it (e.g., by adding an extensions option) to include .md files as well.

  • Confirm that your Vite (or webpack) configuration explicitly supports the .md extension.
  • If needed, adjust the MDX loader settings to ensure Markdown files import correctly.

@JounQin JounQin force-pushed the chore/housekeeping branch from 1bec8a1 to 0d3fd91 Compare April 6, 2025 11:52
Copy link

codecov bot commented Apr 6, 2025

Codecov Report

Attention: Patch coverage is 0% with 4 lines in your changes missing coverage. Please review.

Project coverage is 9.97%. Comparing base (88358de) to head (6ba38fd).
Report is 8 commits behind head on master.

Files with missing lines Patch % Lines
packages/rollup/src/config.ts 0.00% 4 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##            master    #384       +/-   ##
===========================================
- Coverage   100.00%   9.97%   -90.03%     
===========================================
  Files            2      12       +10     
  Lines           39     421      +382     
  Branches        14     187      +173     
===========================================
+ Hits            39      42        +3     
- Misses           0     379      +379     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@JounQin JounQin force-pushed the chore/housekeeping branch from b70f8fe to f6b6a9d Compare April 6, 2025 12:04
@JounQin JounQin force-pushed the chore/housekeeping branch from f6b6a9d to 6ba38fd Compare April 6, 2025 12:07
@JounQin JounQin merged commit 2559cb1 into master Apr 6, 2025
26 of 30 checks passed
@JounQin JounQin deleted the chore/housekeeping branch April 6, 2025 12:11
@JounQin JounQin mentioned this pull request Apr 6, 2025
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.

1 participant