Skip to content

upgrade packages#1075

Merged
kamijin-fanta merged 6 commits intomasterfrom
upgrade-packages
Sep 27, 2025
Merged

upgrade packages#1075
kamijin-fanta merged 6 commits intomasterfrom
upgrade-packages

Conversation

@kamijin-fanta
Copy link
Copy Markdown
Member

No description provided.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR upgrades various packages across the project to their latest versions, including major updates to React from v18 to v19 and TypeScript from 5.4.5 to 5.9.2. The changes also modernize SCSS syntax and refactor deprecated Node.js module imports.

  • Upgrade React and React types from v18 to v19 across all packages
  • Update TypeScript, ESLint, and various build tools to latest versions
  • Modernize SCSS syntax from @import to @use statements and update map function calls
  • Refactor deprecated Node.js child_process import pattern

Reviewed Changes

Copilot reviewed 13 out of 14 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
packages/ts-test/package.json Updates React/TypeScript dependencies to latest versions
packages/react-icons/src/iconBase.tsx Changes return type from JSX.Element to React.ReactElement
packages/react-icons/scripts/task_common.ts Refactors child_process import to use explicit import
packages/react-icons/scripts/logics.ts Updates cheerio imports and type references
packages/react-icons/package.json Upgrades dev dependencies including Babel, TypeScript, and build tools
packages/preview-astro/src/styles/global.scss Converts @import to @use statements
packages/preview-astro/src/styles/_utils.scss Adds sass:map import and updates map function syntax
packages/preview-astro/src/styles/_components.scss Updates import syntax and namespaces function calls
packages/preview-astro/package.json Upgrades Astro, React, and Sass dependencies
packages/demo/package.json Updates React dependencies to v19
packages/demo-all-files/package.json Updates React dependencies to v19
package.json Upgrades ESLint, TypeScript, and other dev dependencies
eslint.config.cjs Adds CommonJS configuration and ignores Astro build directory

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

load as cheerioLoad,
Element as CheerioElement,
} from "cheerio";
import { Cheerio, load as cheerioLoad } from "cheerio";
Copy link

Copilot AI Sep 26, 2025

Choose a reason for hiding this comment

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

The type import should use the 'import type' syntax consistently. Consider using 'import type { Cheerio }' as well since Cheerio appears to be used only as a type in this context.

Suggested change
import { Cheerio, load as cheerioLoad } from "cheerio";
import { load as cheerioLoad } from "cheerio";
import type { Cheerio } from "cheerio";

Copilot uses AI. Check for mistakes.
@kamijin-fanta kamijin-fanta added this pull request to the merge queue Sep 27, 2025
Merged via the queue into master with commit 7d7c2d9 Sep 27, 2025
2 checks passed
@kamijin-fanta kamijin-fanta deleted the upgrade-packages branch September 27, 2025 04:18
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