Skip to content

Remove the decorator plugin and the TypeScript decorator flag #158

Closed

Description

@jtklein-agents

Parent

#118

What to build

The toolchain no longer compiles decorators: the decorator plugin leaves every Babel configuration and the decorator flag is off in the TypeScript configuration, so the compiler can be upgraded later.

Cut the worktree from the spec's feature branch spec/118-page-store-mobx-7 and open the pull request into it.

Acceptance criteria

  • The decorator plugin is in none of the Babel configurations (the page build, jest, the root file) and is no longer a dependency, with its package.json line and yarn.lock stanza gone.
  • The decorator flag is off in the TypeScript configuration.
  • The page build keeps its Babel pass, because it also compiles JSX in .js files; the React plugin stays on its current major.
  • Class fields keep spec (define) semantics.
  • The root Babel configuration file is deleted only if lint is shown not to read it; otherwise it stays without the decorator plugin.
  • The typecheck baseline is updated for any fingerprint this changes.
  • Jest, lint, the typecheck baseline check and the end-to-end suite pass.

Activity

  1. added
    ready-for-agent
    on Nov 14, 2026
  2. jtklein-agents commented on Nov 16, 2026

    @jtklein-agents
    OwnerAuthor

    Merged in #203 into spec/118-page-store-mobx-7.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    ready-for-agent

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions