Skip to content

v1.9.0

Choose a tag to compare

@vovkabelov vovkabelov released this 29 Apr 11:57
· 64 commits to main since this release
  • Полная переработка эмиттера .d.ts на TypeScript Compiler API: правки через AST по точным позициям, корректный резолв npm-типов через sibling-экстеншены, поддержка ImportTypeNode, эмит для entry-файлов с импортами за пределами packageRoot
  • Транзитивный обход npm-импортов sibling-экстеншенов: типы из под-пакетов (например, @vue/runtime-core за vue) теперь корректно ссылаются на ambient-namespace sibling'а вместо инлайн-копии
  • bundle.config: новое поле types для указания .d.ts файла — chef aliases и webpack-резолверы используют его вместо input для design-time резолва

  • Rewrote the .d.ts emitter on top of the TypeScript Compiler API: AST-positional edits, proper npm type resolution via sibling extensions, ImportTypeNode support, emit for entries that import outside packageRoot
  • Transitively walk sibling npm imports when matching ownership — types from sub-packages (e.g. @vue/runtime-core behind vue) now reference the sibling's ambient namespace instead of being inlined
  • bundle.config: new types field pointing at a .d.ts file — chef aliases and webpack resolvers use it instead of input for design-time resolution