Files
WRNexusJS/FIXES-0.6.0-SYNTAX-ROOT-EXPORT.md
T
2026-08-01 01:09:58 +05:30

19 lines
774 B
Markdown

# WRNexusJS 0.6.0 syntax package root export fix
The v0.6 parser helpers are implementation details of `@wrnexus/syntax`, not a separate public versioned package surface.
## Canonical usage
```ts
import {
parseRuntimeFunctions,
parseStateDeclarations,
parseOutputs,
stripRuntimeFunctionModifiers,
} from "@wrnexus/syntax";
```
The compiler now imports `stripRuntimeFunctionModifiers` from `@wrnexus/syntax`. The `./v060` package export and the VS Code standalone-bundle alias were removed. `packages/syntax/src/v060.ts` remains an internal source module and its public APIs are re-exported by `packages/syntax/src/index.ts`.
This keeps application and framework imports stable across future releases and avoids exposing version numbers in package import paths.