rsnext/packages/next/server
Steven b411567792
Print error when next dev has conflicting app & page (#41656)
This PR prints an error when the `app` and `pages` directory contain the
same route.

## build error
<img width="904" alt="image"
src="https://user-images.githubusercontent.com/229881/197424839-67dac580-1e1d-4c31-b769-112f2f38b06e.png">

## dev error
<img width="957" alt="image"
src="https://user-images.githubusercontent.com/229881/197426784-9b5041d9-b6d0-48d5-8ce5-b759bd9e4438.png">

Co-authored-by: JJ Kasper <jj@jjsweb.site>
2022-10-23 20:09:59 -07:00
..
api-utils perf: lazy evaluate more modules (#41354) 2022-10-13 14:59:46 -07:00
base-http Improve types for <Image /> and responseLimit (#40863) 2022-09-26 22:41:25 -07:00
dev Print error when next dev has conflicting app & page (#41656) 2022-10-23 20:09:59 -07:00
lib Add handling for static generation in app (#40561) 2022-09-19 18:05:28 +00:00
response-cache Eliminate path polyfill and incremental-cache from base server (#39548) 2022-08-12 15:25:47 +00:00
send-payload Fix app static generation cases (#41172) 2022-10-06 21:43:23 +02:00
web Update URL malformed edge error (#41685) 2022-10-23 12:39:32 -07:00
accept-header.ts Enable @typescript-eslint/no-use-before-define for functions (#39602) 2022-08-15 10:29:51 -04:00
app-render.tsx Bundle ssr client layer excepts react externals (#41606) 2022-10-22 16:33:51 -07:00
base-server.ts Ensure we properly normalize /index in minimal mode (#41678) 2022-10-23 09:06:03 -07:00
body-streams.ts fix(stream): Allows body larger than 16 KiB with middleware (#41270) 2022-10-17 15:26:16 -07:00
config-schema.ts Remove deprecated webpack5 config option (#41667) 2022-10-22 18:11:56 -07:00
config-shared.ts Remove deprecated webpack5 config option (#41667) 2022-10-22 18:11:56 -07:00
config-utils.ts Prebundle react for appDir (#41337) 2022-10-18 16:32:23 -07:00
config.ts Remove deprecated webpack5 config option (#41667) 2022-10-22 18:11:56 -07:00
crypto-utils.ts Move next-server directory files to server directory (#26756) 2021-06-30 13:44:40 +02:00
font-utils.ts Updating size-adjust calculation (#41406) 2022-10-20 10:58:26 -07:00
get-app-route-from-entrypoint.ts App Build Stats (#38884) 2022-08-10 19:31:01 +00:00
get-page-files.ts Add initial handling for routing tests (#36635) 2022-05-03 10:37:23 +00:00
get-route-from-entrypoint.ts App Build Stats (#38884) 2022-08-10 19:31:01 +00:00
google-font-metrics.json Updating size-adjust calculation (#41406) 2022-10-20 10:58:26 -07:00
htmlescape.ts Subresource Integrity for App Directory (#39729) 2022-09-08 15:17:15 -07:00
image-optimizer.ts docs(image): improve error message when sharp is missing in standalone mode (#41133) 2022-10-05 17:28:29 +00:00
initialize-require-hook.ts Disable esm resolving for appDir and alias react (#41687) 2022-10-23 20:04:23 -07:00
internal-utils.ts Rename flight parameters to rsc/next (#40979) 2022-09-28 13:18:37 +02:00
load-components.ts BREAKING CHANGE: Remove target: serverless (#41495) 2022-10-18 09:47:13 -07:00
match-bundle.ts App Build Stats (#38884) 2022-08-10 19:31:01 +00:00
next-server.ts Disable esm resolving for appDir and alias react (#41687) 2022-10-23 20:04:23 -07:00
next-typescript.ts Add TypeScript plugin (#41569) 2022-10-19 20:59:39 +00:00
next.ts Bundle ssr client layer excepts react externals (#41606) 2022-10-22 16:33:51 -07:00
node-polyfill-fetch.js feat(experimental): option to polyfill fetch using undici in Node.js <18 (#40318) 2022-09-27 13:37:28 -07:00
node-polyfill-web-streams.js Update Edge Runtime (#38862) 2022-07-21 18:29:19 +00:00
node-web-streams-helper.ts Root layout head not required (#41621) 2022-10-21 02:12:27 -07:00
optimize-amp.ts Move next-server directory files to server directory (#26756) 2021-06-30 13:44:40 +02:00
post-process.ts perf: lazy evaluate more modules (#41354) 2022-10-13 14:59:46 -07:00
render-result.ts Fix app static generation cases (#41172) 2022-10-06 21:43:23 +02:00
render.tsx Prebundle react for appDir (#41337) 2022-10-18 16:32:23 -07:00
request-meta.ts Fix middleware rewrite for _next/data (#41341) 2022-10-11 12:23:22 -07:00
require.ts perf: refactor path logic in router + add LRU cache (#41365) 2022-10-20 15:42:50 +00:00
router.ts Fix middleware rewrite for _next/data (#41341) 2022-10-11 12:23:22 -07:00
serve-static.ts fix(#39706): add avif support for node serve static (#39733) 2022-08-18 17:57:12 +00:00
server-route-utils.ts Update @types/node to 14.14.31 (#41634) 2022-10-22 11:19:14 -07:00
utils.ts BREAKING CHANGE: Remove target: serverless (#41495) 2022-10-18 09:47:13 -07:00
web-server.ts Fix app static generation cases (#41172) 2022-10-06 21:43:23 +02:00