Detalhes do pacote

@deepkit/type-compiler

deepkit70.2kMIT1.0.19

Deepkit/type compiler/Typescript transformer

readme (leia-me)




Formerly Deepkit — renamed after European Union “no genuine use” ruling. Trademarks don't like open-source.



Discord npm CI

This is a new modular TypeScript framework for backend applications based on runtime types.

Docs

Check out the Documentation to get started.

Getting started

To create an app from scratch, you can use NPM init:

npm init @deepkit/app@latest my-deepkit-app

Community Packages

  • OpenAPI: Automatic OpenAPI doc and Swagger UI generation based on HTTP routes.
  • Serverless Adapter: Run Deepkit on top of AWS Lambda, Azure, Digital Ocean and many other clouds.
  • REST: DeepKit REST opens up a whole new declarative and extensive approach for developing REST APIs.
  • Stripe: Interacting with the Stripe API or consuming Stripe webhooks in your Deepkit applications is now easy as pie 🥧.
  • GraphQL: Create GraphQL servers using Deepkit
  • Apollo Server: Run your Deepkit GraphQL server using Apollo
  • Remix: Create Remix apps using Deepkit as the server
  • Remix Validated Form: Use Deepkit Type as form validator for Remix
  • Nx Webpack Plugin: Nx Webpack plugin for Deepkit

Examples

Contributing

If you are interested in contributing to the development, check out the Development Docs to learn more about setting up your local development environment.

changelog (log de mudanças)

Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

1.0.19 (2025-09-22)

Bug Fixes

  • type-compiler: ensure typed imports are grouped and not too high up, but placed right in front of the origin import (9f666c1)

1.0.18 (2025-09-22)

Bug Fixes

  • type-compiler: ensure typed imports are grouped and not too high up, but placed right in front of the origin import (9f666c1)

1.0.15 (2025-06-26)

Features

  • desktop-ui: refactor to standalone/signal, update angular to v20, new website docs (#657) (a39d26c)

1.0.8 (2025-05-20)

Note: Version bump only for package @deepkit/type-compiler

1.0.5 (2025-04-02)

Features

  • run: new @deepkit/run package to run typescript easily (0b9246e)

1.0.2 (2025-02-24)

Bug Fixes

  • type-compiler: make sure not annotated properties get unknown as type (b262534)

1.0.1 (2025-02-24)

Bug Fixes

  • type-compiler: check in installer if file exists (eb07783), closes #630

1.0.1-alpha.158 (2025-02-15)

Note: Version bump only for package @deepkit/type-compiler

1.0.1-alpha.157 (2025-02-15)

Bug Fixes

  • tsconfig and tsc build (ac71e83)
  • type: convert TypeAnnotation into intrinsic type (#629) (4d1a13e), closes #626

Features

  • type-compiler: support trivially inferred types (087b60a)
  • update to angular 19 and typescript 5.7.3, new @deepkit/angular-ssr package (#627) (52333a7)

1.0.1-alpha.155 (2024-10-30)

Bug Fixes

  • type: symbols as method names (2be4ce6)

1.0.1-alpha.154 (2024-09-06)

Bug Fixes

  • type-compiler: include enum annotations in .d.ts transformation (#607) (08854f3)

1.0.1-alpha.150 (2024-05-09)

Bug Fixes

  • type-compiler: support ReceiveType in arrow function with body expression (3c66064)

Features

  • type-compiler: allow to use T from ReceiveType<T> in function body as type reference (4d24c8b), closes #565

1.0.1-alpha.149 (2024-05-07)

Bug Fixes

  • type-compiler: make sure type reference resolving skips parameter names (16ba17d), closes #566

1.0.1-alpha.146 (2024-04-17)

Bug Fixes

  • type-compiler: esm import of micromatch (5606d74)

1.0.1-alpha.143 (2024-03-17)

Bug Fixes

  • type-compiler: also parse tsx source files (80464bf), closes #560

1.0.1-alpha.142 (2024-03-06)

Bug Fixes

  • type-compiler: support windows reflection pattern matching (cec3146)

1.0.1-alpha.141 (2024-03-05)

Bug Fixes

  • type: handle Function correctly in type comparisons (16f0c1d)

1.0.1-alpha.139 (2024-02-29)

Bug Fixes

  • type-compiler: mark the right SourceFile object as processed (38cfdf0)

1.0.1-alpha.123 (2024-02-02)

Note: Version bump only for package @deepkit/type-compiler

1.0.1-alpha.117 (2024-01-26)

Bug Fixes

  • type-compiler: embed external class/functions (ad6973d)
  • type-compiler: merge compilerOptions from ConfigResolver (7b00789)
  • type-compiler: pattern match exclusion for globs (#543) (30e3319)

Features

  • type-compiler: improve perf by 10x (6eb0436)
  • type-compiler: support local export syntax + improve logging (993cffa)

1.0.1-alpha.116 (2024-01-22)

Features

  • type: refactor typeName embedding (48a2994)

1.0.1-alpha.114 (2024-01-21)

Bug Fixes

  • type-compiler: support nodenext/node16 module type (5e40fae)

Features

  • type-compiler: improve performance drastically (1d80c1a)

1.0.1-alpha.112 (2024-01-16)

Features

1.0.1-alpha.110 (2024-01-11)

Bug Fixes

  • type-compiler: make sure plugin is exported in new entrypoint + deps are correct (22eb296)

1.0.1-alpha.109 (2024-01-10)

Bug Fixes

  • type-compiler: arrow function receive type (#521) (6bfb246)
  • type-compiler: resolve reflection mode paths correctly (acb2d72)
  • type-compiler: set ts compiler options target to es2022 if higher than es20222 when resolving global lib files (#516) (29a1a17)

1.0.1-alpha.108 (2023-11-21)

Features

  • type-compiler: emit typeName for type only imports (#501) (318d091)

1.0.1-alpha.105 (2023-10-23)

Bug Fixes

  • type-compiler: wrong import (caad2b3)