feat(transform): separate transform module.#1735
Merged
samchon merged 2 commits intofeat/monorepofrom Feb 19, 2026
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This pull request separates the TypeScript transformation logic from the main typia package into a new standalone @typia/transform package. This modularization improves code organization and maintainability by isolating the compiler transformation functionality.
Changes:
- Created new
@typia/transformpackage with its own package.json, tsconfig.json, and source files - Moved all transformer-related code from
packages/typia/src/transformers/topackages/transform/src/ - Updated
packages/typiato depend on and re-export from@typia/transform
Reviewed changes
Copilot reviewed 12 out of 121 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| packages/transform/package.json | New package configuration for @typia/transform with metadata, dependencies, and publish settings |
| packages/transform/tsconfig.json | TypeScript compiler configuration for the transform package |
| packages/transform/src/index.ts | Main entry point exporting the transform function and ImportTransformer |
| packages/transform/src/*.ts | Core transformer infrastructure files (FileTransformer, CallExpressionTransformer, etc.) |
| packages/transform/src/features/**/*.ts | Feature-specific transformers for json, llm, http, protobuf, misc, notations, functional, and reflect |
| packages/typia/src/transform.ts | Simplified to import and re-export from @typia/transform |
| packages/typia/src/programmers/TypiaProgrammer.ts | Updated import path for ImportTransformer |
| packages/typia/package.json | Added @typia/transform as a dependency |
| pnpm-lock.yaml | Updated with new package dependencies |
Files not reviewed (1)
- pnpm-lock.yaml: Language not supported
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
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.
This pull request introduces the initial
package.jsonconfiguration for the@typia/transformpackage. The file defines metadata, dependencies, scripts, and publishing details needed to build and distribute the package.Package setup and configuration:
package.jsonfor@typia/transformspecifying package metadata, scripts for building and development, dependencies and devDependencies, file inclusion, keywords, and publish configuration.