Skip to content

feat(station): test typescript v6 and ts-patch contribution.#1804

Draft
samchon wants to merge 17 commits intomasterfrom
feat/ts6
Draft

feat(station): test typescript v6 and ts-patch contribution.#1804
samchon wants to merge 17 commits intomasterfrom
feat/ts6

Conversation

@samchon
Copy link
Copy Markdown
Owner

@samchon samchon commented Mar 24, 2026

This pull request upgrades the TypeScript dependency across the repository from version 5.9.3 to 6.0.2, and updates related dependencies to ensure compatibility. The changes affect both the main typia package and all workspaces, including development, build, and test tooling.

Dependency upgrades:

This ensures all packages and tooling are aligned with the latest TypeScript version, improving future compatibility and access to new language features.

@samchon samchon self-assigned this Mar 24, 2026
@samchon samchon added enhancement New feature or request dependencies Pull requests that update a dependency file labels Mar 24, 2026
@socket-security
Copy link
Copy Markdown

socket-security bot commented Mar 24, 2026

Copy link
Copy Markdown
Owner Author

@samchon samchon left a comment

Choose a reason for hiding this comment

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

Related PR: nonara/ts-patch#188

@samchon samchon marked this pull request as ready for review March 24, 2026 10:00
Copilot AI review requested due to automatic review settings March 24, 2026 10:01
Copy link
Copy Markdown
Contributor

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

Upgrades the monorepo’s TypeScript toolchain to TypeScript 6.0.2 (plus related ecosystem updates like ts-patch/typedoc), and adjusts multiple workspace tsconfig files and website tooling to keep builds/tests working under TS6.

Changes:

  • Bumps TypeScript to ~6.0.2 across workspace tooling and lockfile; aliases ts-patch to npm:@samchon/ts-patch@^3.4.0.
  • Updates shared and package-level tsconfig settings (e.g., rootDir, ignoreDeprecations) and some website compiler behavior.
  • Minor website nav/content ordering tweaks and dependency updates (e.g., typedoc).

Reviewed changes

Copilot reviewed 27 out of 28 changed files in this pull request and generated 8 comments.

Show a summary per file
File Description
website/tsconfig.rspack.json Suppresses TS6 deprecations for rspack compiler config.
website/tsconfig.json Removes downlevelIteration from website tsconfig.
website/src/content/_meta.ts Reorders/adds blog page metadata entry.
website/src/compiler/index.ts Adjusts bundling result propagation to preserve failure diagnostics.
website/src/compiler/COMPILER_OPTIONS.ts Removes downlevelIteration from in-browser compiler options.
website/src/app/blog/layout.jsx Removes ThemeSwitch usage from blog layout navbar.
website/src/app/(docs)/layout.jsx Simplifies Navbar usage in docs layout.
website/package.json Updates typescript and typedoc versions for website workspace.
tests/test-unplugin/tsconfig.json Adjusts test tsconfig types and formatting.
tests/test-error/tsconfig.json Adds rootDir and keeps noEmit/output settings aligned.
tests/config/tsconfig.json Adds ignoreDeprecations, rootDir, and changes types.
pnpm-workspace.yaml Updates TypeScript catalog versions and aliases ts-patch to forked package.
pnpm-lock.yaml Locks updated TypeScript/ts-patch ecosystem versions across all importers.
packages/vercel/tsconfig.json Sets rootDir to src.
packages/utils/tsconfig.json Sets rootDir to src.
packages/typia/tsconfig.json Sets rootDir to src.
packages/typia/package.json Broadens TS peer range and adds exports subpath for ./src/transform.ts.
packages/transform/tsconfig.json Sets rootDir to src.
packages/transform/src/FileTransformer.ts Reworks diagnostic creation for TS6 compatibility and JSDoc parsing warning.
packages/mcp/tsconfig.json Sets rootDir to src.
packages/langchain/tsconfig.json Sets rootDir to src.
packages/interface/tsconfig.json Sets rootDir to src.
packages/core/tsconfig.json Sets rootDir to src.
experiments/unplugin/tsconfig.json Sets rootDir and changes types for experiment project.
examples/tsconfig.json Sets rootDir and changes module resolution comment/config.
config/tsconfig.json Adds ignoreDeprecations and changes types in shared base config.
benchmark/tsconfig.json Sets rootDir, moduleResolution, ignoreDeprecations, and changes types.
.vscode/settings.json Adds a TypeScript SDK path setting for editors.
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@samchon samchon marked this pull request as draft March 24, 2026 10:20
@socket-security
Copy link
Copy Markdown

Warning

Review the following alerts detected in dependencies.

According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.

Action Severity Alert  (click "▶" to expand/collapse)
Warn High
Obfuscated code: npm vite is 91.0% likely obfuscated

Confidence: 0.91

Location: Package overview

From: pnpm-lock.yamlnpm/vite@6.4.1

ℹ Read more on: This package | This alert | What is obfuscated code?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Packages should not obfuscate their code. Consider not using packages with obfuscated code.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/vite@6.4.1. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

View full report

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants