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
samchon
added a commit
that referenced
this pull request
Feb 23, 2026
* feat(station): initialize monorepo. (#1716) * feat(*): initialize monorepo. * `internals` and `tests` groupping directories * Update internals/benchmark/package.json Co-authored-by: Copilot <[email protected]> --------- Co-authored-by: Copilot <[email protected]> * latest src codes * feat(station): build configuration (#1718) * feat(station): rollup catalog setting (#1719) * also @ignore * feat(test): monorepo test setup (#1723) * feat(station): rollup catalog setting * update typia main branch adjusted * feat(test): monorepo test setup * debug module * add more target * rollback `typia/src` directory * fix bugs * separate test environments * too much a lot time required * reduce testing range * again * fix a time * fix relative path * Test CI * fix test problem * feat(test): add compile error testing (#1724) * feat(test): add compile error testing * Update tests/test-error/index.js Co-authored-by: Copilot <[email protected]> --------- Co-authored-by: Copilot <[email protected]> * feat(test): `@samchon/openapi` testing program. (#1726) * feat(test): `@samchon/openapi` testing program. * complete openapi test program * minify swagger files * fix typos.toml * feat(test): add openapi automated test features. (#1727) * feat(interface): only type definitions. (#1728) * feat(interface): prepare and utils packages. * remove utils for a while * fix tsconfig files * more types * complete interface package * Update packages/interface/src/http/IHttpMigrateRoute.ts Co-authored-by: Copilot <[email protected]> * Update packages/interface/src/openapi/OpenApi.ts Co-authored-by: Copilot <[email protected]> * Update packages/interface/src/http/IHttpConnection.ts Co-authored-by: Copilot <[email protected]> * Update packages/interface/src/schema/IJsonSchemaAttribute.ts Co-authored-by: Copilot <[email protected]> * Update packages/interface/src/http/IHttpMigrateApplication.ts Co-authored-by: Copilot <[email protected]> * typia starts using interface * fix import/export problem * import from typia * also defines metadata in interface * metadata schema separation --------- Co-authored-by: Copilot <[email protected]> * feat(utils): new package `@typia/utils`. (#1729) * feat(utils): new package `@typia/utils`. * most logic complemented * completed integration * try new way * again * lib/transform * fix again * try it again * give up exports setting * halt exports config for a while * fix again * re-exports * re-exports * fix export problems * no exports * fix(utils): correct schema assignment and adjustment. (#1730) * fix(test): `test-openapi-automated` -> `test-utils-automated` (#1731) * feat(utils): more convienient functions for HTTP/LLM (#1732) * feat(utils): more convienient functions for HTTP/LLM * fix typia * utils, not only namespaced feature * test program for the utils package. * fix some problems * feat(core): separate core module. (#1733) * feat)core): separate core module. * fix NamingConvention * refactoring and logic of NamingConvention * Update packages/core/src/programmers/AssertProgrammer.ts Co-authored-by: Copilot <[email protected]> * Update packages/interface/src/protobuf/ProtobufWire.ts Co-authored-by: Copilot <[email protected]> * avoid monorepo problem * remove some any --------- Co-authored-by: Copilot <[email protected]> * feat(transform): separate transform module. (#1735) * feat(transform): separate transform module. * remove vulnerable typings * feat(interface): refactor typings from monorepo modules. (#1737) * feat(interface): refactor typings from monorepo modules. * only by one import statement. * feat(benchmark): benchmark module also be monorepo. (#1738) * fix(examples): monorepo configuration to examples. (#1742) * fix(examples): monorepo configuration to examples. * fix the problem * fix lockfile * fix runtime again * Update internals/examples/tsconfig.json Co-authored-by: Copilot <[email protected]> --------- Co-authored-by: Copilot <[email protected]> * feat(interface): re-write concise descriptions. (#1741) * feat(interface): re-write concise descriptions. * documentation of interface package * enhance openapi types * documentate transform module * also core module, but not perfect * maybe completed? * detailed comments and type castings * enhance once more * descriptions' detailing * restore contributors removed by AI * feat(mcp): convert TypeScript classes to MCP tools. (#1743) * feat(mcp): convert TypeScript classes to MCP tools. * fix registrar * fix dependency and logic * fix lock file * fix lockfile * feat(test): test MCP function (#1744) * feat(test): test MCP function * check validation feedback * complete testing * restore config * restore types * fix mcp version * Update tests/test-mcp/src/structures/Calculator.ts Co-authored-by: Copilot <[email protected]> * Update tests/config/tsconfig.json Co-authored-by: Copilot <[email protected]> --------- Co-authored-by: Copilot <[email protected]> * feat(vercel): add `@typia/vercel` package for Vercel AI SDK integration (#1745) * feat(vercel): add @typia/vercel package for Vercel AI SDK integration Convert typia controllers to Vercel AI SDK tools with built-in validation. Supports both class-based controllers (typia.llm.controller) and HTTP controllers (HttpLlm.controller) for multi-provider LLM tool calling. Co-Authored-By: Claude Opus 4.5 <[email protected]> * runtime testing --------- Co-authored-by: Claude Opus 4.5 <[email protected]> * feat(langchain): new adaptor package `@typia/langchain package`. (#1746) * feat(langchain): new adaptor package `@typia/langchain package`. * fix again * pnpm-lock.yaml * lock file again * frozen lockfile? * pnpm-lock.yaml --------- Co-authored-by: Copilot <[email protected]> Co-authored-by: Claude Opus 4.5 <[email protected]>
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.