Skip to content

fix(deps): migrate off deprecated yuku bindings via rolldown-plugin-d… - #2989

Open
SisyphusZheng wants to merge 1 commit into
voidzero-dev:mainfrom
SisyphusZheng:fix/deps-drop-deprecated-yuku-bindings
Open

SisyphusZheng wants to merge 1 commit into
voidzero-dev:mainfrom
SisyphusZheng:fix/deps-drop-deprecated-yuku-bindings

Conversation

@SisyphusZheng

Copy link
Copy Markdown

…ts 0.28.7

All @yuku-parser/binding-* and @yuku-codegen/binding-* packages are marked deprecated on npm ("yuku-parser runs on yuku-core since 0.14", "yuku-codegen is pure JavaScript since 0.14"), so every fresh install that resolves them prints ~24 deprecated-subdependency warnings — most visibly in projects scaffolded on vite-plus.

rolldown-plugin-dts 0.28.7 already moved to the yuku 0.18 line, which resolves through yuku-core and the non-deprecated @yuku-core/binding-* packages instead.

  • bump the rolldown-plugin-dts catalog pin to ^0.28.7
  • bump core's direct yuku-parser/yuku-codegen to ^0.18.1 and add yuku-ast ^0.18.1 (imported as an external by r-p-dts 0.28.7's dist)
  • refresh the lockfile: the deprecated @yuku-parser/@yuku-codegen binding trees drop out entirely

No source changes: packages/core has no direct yuku imports; the parse/generate call sites live inside the vendored plugin.

…ts 0.28.7

All @yuku-parser/binding-* and @yuku-codegen/binding-* packages are
marked deprecated on npm ("yuku-parser runs on yuku-core since 0.14",
"yuku-codegen is pure JavaScript since 0.14"), so every fresh install
that resolves them prints ~24 deprecated-subdependency warnings — most
visibly in projects scaffolded on vite-plus (e.g. every
'npm create @OpenElement' install).

rolldown-plugin-dts 0.28.7 already moved to the yuku 0.18 line, which
resolves through yuku-core and the non-deprecated @yuku-core/binding-*
packages instead.

- bump the rolldown-plugin-dts catalog pin to ^0.28.7
- bump core's direct yuku-parser/yuku-codegen to ^0.18.1 and add
  yuku-ast ^0.18.1 (imported as an external by r-p-dts 0.28.7's dist)
- refresh the lockfile: the deprecated @yuku-parser/@yuku-codegen
  binding trees drop out entirely

No source changes: packages/core has no direct yuku imports; the
parse/generate call sites live inside the vendored plugin.

This branch has not been deployed

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant