rsnext/test/e2e/app-dir/app-alias
Shu Ding 59a63eda0a
Add experimental route type checking (#45761)
Implements alpha version of type checking for `Link`'s `href`. To opt-into this feature, `experimental.appDir` and `experimental.typedRoutes` need to be enabled, and the project needs to be using TypeScript.

Once enabled, Next.js will generate a link definition in `.next/types` that contains information of existing routes, and it will be included by TS. In the definition we simply declare types for the `Link` module.

## Bug

- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Errors have a helpful link attached, see [`contributing.md`](https://github.com/vercel/next.js/blob/canary/contributing.md)

## Feature

- [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR.
- [ ] Related issues linked using `fixes #number`
- [x] [e2e](https://github.com/vercel/next.js/blob/canary/contributing/core/testing.md#writing-tests-for-nextjs) tests added
- [ ] Documentation added
- [ ] Telemetry added. In case of a feature if it's used or not.
- [ ] Errors have a helpful link attached, see [`contributing.md`](https://github.com/vercel/next.js/blob/canary/contributing.md)

## Documentation / Examples

- [ ] Make sure the linting passes by running `pnpm build && pnpm lint`
- [ ] The "examples guidelines" are followed from [our contributing doc](https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md)
2023-02-11 15:06:39 +00:00
..
src Add experimental route type checking (#45761) 2023-02-11 15:06:39 +00:00
ui Fix CSS imports from outside of the app dir when src folder is present (#42108) 2022-10-29 01:38:55 -07:00
app-alias.test.ts Move tests into their test folder (#44183) 2022-12-21 14:16:52 +01:00
next.config.js Use import to load page and layout (#42325) 2022-11-10 02:16:59 +00:00
package.json Use import to load page and layout (#42325) 2022-11-10 02:16:59 +00:00
tsconfig.json Bundle ssr client layer excepts react externals (#41606) 2022-10-22 16:33:51 -07:00