rsnext/packages
Jiachi Liu bfd6c3ea2e
Dynamic routes for toplevel robots and sitemap (#47091)
Support top-level `robots.[ext]` and `sitemap.[ext]` with dynamic api
routes

* Use isAppRoute to determine api routes and metadata routes as metadata
routes are normalized as `<metadata>/route`
* Normalize path to auto append extension to pathname for sitemap.js and
robots.js
* Add typings `SitemapFile` and `RobotsFile`
* move the normalize logic together, reuse the `absolutePathToPage`.
Changes less when touching both dev-server/hot-reloader and next-server,
use the same utils to handle paths

Closes NEXT-262

---------
2023-03-13 18:04:31 -07:00
..
create-next-app Fix: Update README templates in create-next-app (#47037) 2023-03-13 13:20:39 -07:00
eslint-config-next v13.2.5-canary.2 2023-03-13 11:46:11 -07:00
eslint-plugin-next v13.2.5-canary.2 2023-03-13 11:46:11 -07:00
font Remove experimental fontLoaders option from next.config.js (#46886) 2023-03-13 21:34:43 +00:00
next Dynamic routes for toplevel robots and sitemap (#47091) 2023-03-13 18:04:31 -07:00
next-bundle-analyzer v13.2.5-canary.2 2023-03-13 11:46:11 -07:00
next-codemod v13.2.5-canary.2 2023-03-13 11:46:11 -07:00
next-env v13.2.5-canary.2 2023-03-13 11:46:11 -07:00
next-mdx v13.2.5-canary.2 2023-03-13 11:46:11 -07:00
next-plugin-storybook v13.2.5-canary.2 2023-03-13 11:46:11 -07:00
next-polyfill-module v13.2.5-canary.2 2023-03-13 11:46:11 -07:00
next-polyfill-nomodule v13.2.5-canary.2 2023-03-13 11:46:11 -07:00
next-swc Detect common invalid cases for the server directive (#47069) 2023-03-13 19:20:10 +00:00
react-dev-overlay v13.2.5-canary.2 2023-03-13 11:46:11 -07:00
react-refresh-utils v13.2.5-canary.2 2023-03-13 11:46:11 -07:00