[translator] Re-extract the traversal engine into its own package

Abierto
#203 0 comentarios 0 reacciones 1 asignado Ver en GitHub

Los mantenedores suelen responder en 1 día

@SearheiParkhamchuk ya está trabajando en esto.

Desde el 21/10/2026.

Evaluación

Este issue todavía no se ha evaluado.

Descripción

chore low priority translator

The traversal engine was built as a private package, then moved into the plugin at src/core/traversal/ — a published package cannot depend on a private one, and the engine was still changing week to week.

Once it settles, it goes back out: the same folder move, plus the package fields it needs to stand alone. Doing it while the languages were still being written would have meant publishing a moving target.

One review finding is still open against it and should be settled here or before: the context a language is entered with is typed as unknown, so every language narrows it by hand and every fixture casts. The convention now has a name on the plugin side, which is the half that can be checked; the engine's own half is not.

Depends on: the swap, after which the engine stops changing.

Not part of the next major (#192), and not scheduled against it. Publishing the engine turns
its interface — the address token type, the entry context type — into a promise, and that promise
is not worth making to the major's deadline. This lands after the major instead.

Meanwhile the engine is held apart inside the package: it sits at src/traversal, a lint zone
stops anything outside it importing past traversal/index.js and stops the engine itself reaching
above its own folder or touching a framework, and a scan test resolves each path to catch what a
glob cannot. That costs nothing and promises nothing, so what is left here is only the packaging
— and the interface question above, which is cheaper to settle before anything is published.

Lenguaje dominante
TypeScript
Estrellas
34
Forks
5
Merge medio
2 d 4 h
PR fusionados (30 d)
41

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de focusreactive/payload-plugins

Todos los issues de focusreactive/payload-plugins

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.