@absolutejs/absolute 0.19.0-beta.959 → 0.19.0-beta.960
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/angular/components/core/streamingSlotRegistrar.js +1 -1
- package/dist/angular/components/core/streamingSlotRegistry.js +2 -2
- package/dist/build.js +2 -6
- package/dist/build.js.map +3 -3
- package/dist/index.js +2 -6
- package/dist/index.js.map +3 -3
- package/dist/src/build/scanRouteRegistrations.d.ts +9 -2
- package/package.json +1 -1
|
@@ -11,6 +11,13 @@ export type ExtractedRoute = {
|
|
|
11
11
|
};
|
|
12
12
|
/** Walk every TypeScript source file under `projectRoot` and return the
|
|
13
13
|
* Elysia route registrations found. Skip-dirs (`node_modules`, `dist`,
|
|
14
|
-
* `build`, framework build caches, dotfile dirs) are excluded.
|
|
15
|
-
*
|
|
14
|
+
* `build`, framework build caches, dotfile dirs) are excluded.
|
|
15
|
+
*
|
|
16
|
+
* No path deduplication here on purpose: the same path (e.g. `/`) is
|
|
17
|
+
* frequently registered by multiple plugins (one page route at the
|
|
18
|
+
* root, several API sub-plugins under prefixes like `/v1/foo`). The
|
|
19
|
+
* scanner has no way to know the prefix without tracing `.use()` /
|
|
20
|
+
* `new Elysia({ prefix })`, but it doesn't need to — sitemap discovery
|
|
21
|
+
* downstream filters by `isPageHandler` and then dedups by mount path,
|
|
22
|
+
* so API duplicates are dropped naturally. */
|
|
16
23
|
export declare const scanRouteRegistrations: (projectRoot: string) => ExtractedRoute[];
|
package/package.json
CHANGED