Commit a5b8047
fix: support appDir (#1638)
* chore: update canary demo
* chore: add app-dir demo
* fix: resolve page deps in app dir
* fix: patch duplicate declaration
* fix: resolve nft deps
* feat: add support for appdir edge runtime
* chore: update next canary and react (and change APIs)
* fix: update patch syntax
* fix: include file itself in deps
* chore: upgrade next and remove workaround
* chore: move app-dir site to canary
* chore: update snapshot
* chore: add initial app-dir tests
* chore: use correct site for canary tests
* chore: enable plugin
* ci: use vitest for canary e2e tests
* chore: re-enable plugin
* chore: setup playwright
* chore: wait longer when first using playwright
* chore: run tests headless
* chore: install chromium
* chore: longer timeout
* chore: use undici
* chore: enable remaining tests
* chore: fix test syntax
* chore: update demos
* chore: update canary
* chore: fix 404 test
* chore: disable test that depends on an upstream fix
* chore: fix handling of "self" object
* chore: update packages
* chore: update canary
* chore: tidy and add license for next.js code
* chore: handle empty static manifest
* chore: downgrasde canary because of regression
* chore: logging for windows
* Apply suggestions from code review
Co-authored-by: Erica Pisani <[email protected]>
* chore: update next canary
* chore: remove npmrc
* chore: update next and react
* chore: update test site
* chore: update tests
* chore: add back npmrc
This reverts commit 40480f4.
* fix: use globby not tiny-glob
* chore: update fixtures
* chore: deps
* chore: update tests and demo
* fix: correct request types
* fix: skip generating lambda for edge api routes
* chore: log request
* chore: add runtime as dep
* chore: pre-version
* chore: add canary to ws
* chore: fix build
* chore: fix monorepo setup
* chore: upgrade
* chore: react no-longer pre-bundled
* chore: remove deliberately broken demo pages
* fix: move pre-rendered appdir files
* fix: correct manifest path
* chore: update demo
* chore: update tests
* chore: add sass test
* chore: update demo config
* chore: skip test that also fails upstream
* chore: update next canary
* chore: update use usage
* chore: update canary
* fix: support loading static files for both pages and app
* chore: update canary
* chore: update canary
* chore: final canary!
* chore(deps): update demos and deps to Next 13
* chore: add swc
* chore: switch old node tests to use node 14
* fix: correct requestdata type
* chore: update next/link syntax
* chore: use legacy image component for now
* chore: update demo
* chore: update canary demo
* chore: all the tests
* chore: fix eslint
* chore: parallelise e2e tests
* chore: don't fail fast
* chore: unignore modules and use node-fetch
* chore: very parallel
* chore: don't mock fetch 🤦
* chore: remove disabled tests
* chore: test with node 18
* chore: switchable fetch
* chore: remove irrelevant tests
* chore: remove disabled test
* chore: add reporter
* chore: no concurrency
* chore: try to fix jest
* chore: fix test command
* chore: artifact file path
* chore: use site build command
* chore: download artifacts
* chore: report per-chunk
* chore: update syntax
* chore: report to summary
* chore: do annotate
* chore: update and add summary
* chore: rearrange
* chore: combine tests
* chore: fix test
* chore: rearrange and disable failing suites
* chore: skip broken ntl and fail faster
* chore: disable suite
* chore: skip failing tests
* chore: add ability to run disabled tests
* chore: add comments to workflow file
* chore: one worker per file
* chore: oops
* chore: make path relative to test dir
* chore: conditionally skip
* chore: enable middleware-responses test
* chore: run all tests once
* chore: don't run disabled tests
* fix: ensure responses are Responses
* chore: re-enable test
* chore: run all tests
* chore: enable another suite
* fix: better headers.getAll polyfill
* chore: enable middleware-redirects suite
* chore: conditionally enable req body tests
* chore: disable failing tests
* chore: add test readme doc
* chore: remove eslint changes
* chore: add new appdir tests
* chore: use canary for appdir tests
* chore: use extended matchers
* chore: increase timeout
* chore: enable tests that were disabled upstream
* chore: don't clobber package.json in tests
* chore: set EdgeRuntime name globally
* chore: remove logs
* chore: update tests
* chore: test updates
* chore: increase timeout
* chore: increase timeout for site deploy
* chore: include step annotations
* chore: don't use canary demo for this
* chore: increase timeout
* chore: add rewrite-to-edge demo
* chore: deploy edge functions after cache
* chore: refresh lockfile
* chore: enable rewrite tests
* chore: update tests
* chore: update tests
* chore: enable rsc tests
* chore: skip tests
* chore: re-enable dev check
* chore: update lockfile
* chore: run workflows only on new pr and pr sync
* chore: add log about testing appdir
* chore: only use cache: manual if site uses appDir
* chore: changes from review
* ci: fix e2e test
* fix: correctly match static files against rewrites
* chore: upgrade next
* chore: increase timeout
* chore: extend timeout
* fix: handle prefetch correctly
* chore: rmeove log
* chore: log env
* chore: enough with these rules
* chore: fix base url
* chore: try with all tests
* chore: don't run disabled tests
* fix: vary on prefetch
Co-authored-by: Erica Pisani <[email protected]>1 parent 9aa4c38 commit a5b8047
File tree
598 files changed
+11828
-1178
lines changed- .github/workflows
- cypress/integration/nx
- demos
- base-path
- custom-routes
- default
- middleware
- next-auth
- next-export
- next-i18next
- nx-next-monorepo-demo
- apps/demo-monorepo/public
- static-root
- turborepo-next-monorepo-demo
- packages
- next
- runtime
- src
- helpers
- templates
- edge
- test
- __snapshots__
- e2e
- app-dir
- app-alias
- src/app
- button
- typing
- ui
- app-edge-global
- app
- app-edge
- app-edge
- app
- app-edge
- pages
- app-external
- app
- css
- [...slug]
- modules
- esm
- client
- server
- external-imports
- client
- server
- font
- react-server
- 3rd-party-package
- optout
- components
- node_modules_bak
- conditional-exports-optout
- conditional-exports
- css
- esm-with-react
- font
- non-isomorphic-text
- pure-esm-module
- untranspiled-module
- pages
- app-middleware
- app
- headers
- pages/api
- app-prefetch
- app
- dashboard
- [id]
- app-rendering
- app
- isr-multiple
- nested
- isr-ssr-combined
- nested
- slow
- ssr-only
- nested
- slow
- static-only
- nested
- slow
- app-static
- app
- (new)
- custom
- blog/[author]
- [slug]
- dynamic-no-gen-params-ssr/[slug]
- dynamic-no-gen-params/[slug]
- force-static
- [slug]
- hooks
- use-pathname/[slug]
- use-search-params/[slug]
- ssr-auto
- cache-no-store
- fetch-revalidate-zero
- ssr-forced
- app-typescript
- app
- inner
- pages
- app
- app
- (newroot)
- dashboard
- another
- project/[projectId]
- (rootonly)/dashboard
- changelog
- hello
- back-forward/[id]
- catch-all-link
- catch-all-optional/[[...slug]]
- catch-all/[...slug]
- components
- client-component-route
- client-nested
- css
- css-client
- inner
- css-nested
- css-page
- unused-nested
- inner
- unused
- sass-client
- inner
- sass
- inner
- dashboard
- (custom)
- deployments/breakdown
- deployments
- [id]
- info
- [id]
- index
- dynamic-imports
- integrations
- page
- dynamic-pages-route-app-overlap/app-dir
- dynamic
- [category]
- [id]
- edge-apis/cookies
- error
- client-component
- global-error-boundary
- server-component
- custom-digest
- ssr-error-client-component
- extension
- hooks
- use-cookies
- use-headers
- use-layout-segments/server
- use-params/server
- use-pathname
- server
- use-preview-data
- use-router
- server
- sub-page
- use-search-params
- server
- use-selected-layout-segment
- first
- [dynamic]
- (group)/second
- [...catchall]
- server
- internal
- failure
- success
- link-hard-push/[id]
- link-hard-replace
- [id]
- subpage
- link-soft-push
- link-soft-replace
- subpage
- link-with-as
- linking
- about
- loading-bug/[categorySlug]
- not-found
- client-side
- clientcomponent
- servercomponent
- pages-linking
- parallel
- (new)
- @baz/nested-2
- @bar
- nested
- @a
- @b
- @foo
- nested
- @a
- @b
- nested
- param-and-query/[slug]
- partial-match-[id]
- react-cache
- client-component
- server-component
- react-fetch
- server-component
- redirect
- client-side
- clientcomponent
- next-config-redirect
- next-middleware-redirect
- result
- servercomponent
- rewrites
- same-layout
- first
- second
- script
- search-params-prop
- server
- should-not-serve-client
- should-not-serve-server
- slow-layout-and-page-with-loading
- slow
- slow-layout-with-loading
- slow
- slow-page-no-loading
- slow-page-with-loading
- template
- clientcomponent
- other
- servercomponent
- other
- test-page
- very-large-data-fetch
- with-id
- components
- pages
- adapter-hooks
- [id]
- api
- blog
- dynamic-pages-route-app-overlap
- public
- styles
- asset-prefix
- app
- a
- async-component-preload
- app
- success
- back-button-download-bug
- app
- pages
- post/[id]
- create-next-app-template
- .vscode
- app
- create-root-layout
- app-find-available-dir/(group)/route
- first
- second/inner
- app-group-layout/(group)
- app/route
- head
- app
- blog
- [slug]
- about
- public
- next-font
- app
- client
- layout-with-fonts
- page-with-fonts
- fonts
- test
- next-image
- app
- client
- nested
- images
- root-layout
- app
- (required-tags)
- has-tags
- missing-tags
- static-missing-tags/[slug]
- rsc-basic
- app
- css-in-js
- suspense
- css-modules
- edge/dynamic
- [id]
- escaping-rsc
- global-styles-rsc
- multi
- native-module
- next-api
- image-legacy
- image-new
- link
- partial-hydration
- root
- streaming-rsc
- various-exports
- components
- export-all
- red
- lib
- public
- rsc-errors
- app
- client-with-errors
- get-server-side-props
- get-static-props
- not-transform/styled-jsx
- server-with-errors
- page-export
- styled-jsx
- trailingslash
- app
- a
- with-babel
- app
- modified-tests
- edge-can-read-request-body
- edge-compiler-can-import-blob-assets
- middleware-rewrites/test
- skip-trailing-slash-redirect/app
- next-test-lib
- next-modes
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
598 files changed
+11828
-1178
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
41 | 42 | | |
42 | 43 | | |
43 | 44 | | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | 45 | | |
56 | 46 | | |
57 | 47 | | |
| |||
61 | 51 | | |
62 | 52 | | |
63 | 53 | | |
| 54 | + | |
64 | 55 | | |
65 | 56 | | |
66 | 57 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
| 13 | + | |
| 14 | + | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
0 commit comments