diff --git a/.changeset/tsrx-route-modules.md b/.changeset/tsrx-route-modules.md deleted file mode 100644 index 5768265..0000000 --- a/.changeset/tsrx-route-modules.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"filesystem-routing": minor ---- - -Support `.tsrx` route modules. Export analysis routes by filename: `.tsrx` files parse through `@tsrx/oxc/parser` (a new optional peer dependency, loaded lazily only when a `.tsrx` route is scanned — its `ParseResult` mirrors `oxc-parser`, so analysis semantics are unchanged), everything else keeps the exact `oxc-parser` path. The Vite adapter's `DEFAULT_EXTENSIONS` now includes `tsrx`, so `.tsrx` pages participate in routing without an `extensions` override. Scanning a `.tsrx` route without `@tsrx/oxc` installed fails with an error naming the module and the fix. diff --git a/CHANGELOG.md b/CHANGELOG.md index 9a2d144..b1626d4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # filesystem-routing +## 0.3.0 + +### Minor Changes + +- be5f6d7: Support `.tsrx` route modules. Export analysis routes by filename: `.tsrx` files parse through `@tsrx/oxc/parser` (a new optional peer dependency, loaded lazily only when a `.tsrx` route is scanned — its `ParseResult` mirrors `oxc-parser`, so analysis semantics are unchanged), everything else keeps the exact `oxc-parser` path. The Vite adapter's `DEFAULT_EXTENSIONS` now includes `tsrx`, so `.tsrx` pages participate in routing without an `extensions` override. Scanning a `.tsrx` route without `@tsrx/oxc` installed fails with an error naming the module and the fix. + ## 0.2.1 ### Patch Changes diff --git a/package.json b/package.json index 6c37827..2a68184 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "filesystem-routing", "description": "Router-neutral file-system routing: scans a route directory into a neutral route manifest with pluggable conventions and delivery adapters", "license": "MIT", - "version": "0.2.1", + "version": "0.3.0", "author": "Ryan Carniato", "homepage": "https://github.com/solidjs/filesystem-routing#readme", "repository": {