🔖 chore: number the standard-decorator line 0.2.0, not 2.0.0
Nothing has been published to npm, so 2.0.0 claimed a 1.0.0 predecessor that no one could install. Staying on 0.x states what is true — the API may still move — and under semver a breaking change is then a minor bump, which is precisely the relationship between the two lines: 0.1.x keeps legacy experimentalDecorators, 0.2.x moves to TC39 standard decorators. The break itself is unchanged and still documented; only the number and the references to the other line moved. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SAcqrz3FcadkYr3xG32CjK
This commit is contained in:
@@ -76,7 +76,8 @@ Requires TypeScript 5.2+ and Node 20+. `reflect-metadata` is not needed and
|
||||
|
||||
> **Toolchain note.** Standard decorators are transformed by `tsc` and by esbuild (so Vite
|
||||
> works). They are **not** yet transformed by oxc; if your toolchain uses it, decorator syntax
|
||||
> will fail to parse. v1.x, which uses legacy decorators, remains available for those setups.
|
||||
> will fail to parse. The 0.1.x line, which uses legacy decorators, remains available for
|
||||
> those setups.
|
||||
|
||||
## Quick Start
|
||||
|
||||
|
||||
Reference in New Issue
Block a user