Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: update next to 13.3.0 & ensure compatibility #2056

Merged
merged 35 commits into from
Apr 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
3c965de
chore: update next to 13.3.0
LekoArts Apr 20, 2023
4ca1acb
chore: automatic updates by next
LekoArts Apr 20, 2023
3e8db7e
chore: stuff
LekoArts Apr 20, 2023
cfbfd3c
chore: fix server.spec.ts
LekoArts Apr 20, 2023
14e2a15
chore: fix files
LekoArts Apr 20, 2023
43694c5
chore: fix static-manifest
LekoArts Apr 20, 2023
5384fc0
chore: update snapshots
LekoArts Apr 20, 2023
bb0e88f
chore: skip test as it cannot be fixed
LekoArts Apr 21, 2023
9561063
chore: fix all tests?
LekoArts Apr 21, 2023
4e928b2
chore: linting
LekoArts Apr 21, 2023
3f646bc
chore: sort stuff
LekoArts Apr 21, 2023
2da6c0e
chore: sorting...... heh
LekoArts Apr 21, 2023
5e6c5ae
chore: whoops
LekoArts Apr 21, 2023
b5ac576
chore: fix some rsc change
LekoArts Apr 21, 2023
039141f
Merge branch 'main' into update-next-13.3.0
LekoArts Apr 24, 2023
06949c5
chore: some test updates
LekoArts Apr 24, 2023
8277de8
chore: fix font test
LekoArts Apr 24, 2023
a24a9e1
chore: fix
LekoArts Apr 24, 2023
cb7f32f
chore: delete head test
LekoArts Apr 24, 2023
b574067
chore: update playwright
LekoArts Apr 24, 2023
8105caf
chore: more upstream changes
LekoArts Apr 24, 2023
b6275aa
chore: update next dep
LekoArts Apr 24, 2023
b4d58ae
Revert "chore: update next dep"
LekoArts Apr 24, 2023
92e81e9
chore: update app-edge
LekoArts Apr 24, 2023
e295633
chore: remove CSS test
LekoArts Apr 24, 2023
3dc284a
chore: update
LekoArts Apr 24, 2023
2cf8eaa
chore: skip test
LekoArts Apr 25, 2023
33c20cf
Merge branch 'main' into update-next-13.3.0
LekoArts Apr 25, 2023
9b585b8
chore: fix index test
LekoArts Apr 25, 2023
4ba021e
chore: locale fix
LekoArts Apr 26, 2023
6e0da3d
chore: other fixes from other PRs
LekoArts Apr 26, 2023
96880e7
chore: linting
LekoArts Apr 26, 2023
a27a16e
Merge branch 'main' into update-next-13.3.0
LekoArts Apr 26, 2023
a418389
Update rsc-basic.test.ts
LekoArts Apr 26, 2023
fed7e3f
Merge branch 'main' into update-next-13.3.0
LekoArts Apr 27, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions cypress/e2e/default/appdir.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ describe('appDir', () => {
},
followRedirect: false,
}).then((response) => {
expect(response.headers).to.have.property('content-type', 'application/octet-stream')
expect(response.headers).to.have.property('content-type', 'text/x-component')
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Next.js changed their content-type so this change is expected

})
})

Expand Down Expand Up @@ -58,7 +58,7 @@ describe('appDir', () => {
},
followRedirect: false,
}).then((response) => {
expect(response.headers).to.have.property('content-type', 'application/octet-stream')
expect(response.headers).to.have.property('content-type', 'text/x-component')
})
})

Expand All @@ -70,7 +70,7 @@ describe('appDir', () => {
},
followRedirect: false,
}).then((response) => {
expect(response.headers).to.have.property('content-type', 'application/octet-stream')
expect(response.headers).to.have.property('content-type', 'text/x-component')
})
})

Expand Down
2 changes: 1 addition & 1 deletion demos/base-path/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"typescript": "^4.6.3"
},
"dependencies": {
"next": "^13.1.6"
"next": "^13.3.0"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
Expand Down
2 changes: 1 addition & 1 deletion demos/canary/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"dependencies": {
"nanoid": "^3.3.4",
"next": "^13.1.6",
"next": "^13.3.0",
"react": "latest",
"react-dom": "latest",
"sass": "latest",
Expand Down
2 changes: 1 addition & 1 deletion demos/custom-routes/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"typescript": "^4.7.4"
},
"dependencies": {
"next": "^13.1.6"
"next": "^13.3.0"
},
"scripts": {
"build": "next build",
Expand Down
1 change: 1 addition & 0 deletions demos/default/next-env.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/// <reference types="next" />
/// <reference types="next/image-types/global" />
/// <reference types="next/navigation-types/compat/navigation" />

// NOTE: This file should not be edited
// see https://nextjs.org/docs/basic-features/typescript for more information.
2 changes: 1 addition & 1 deletion demos/default/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"@reach/dialog": "^0.16.2",
"@reach/visually-hidden": "^0.16.0",
"@vercel/og": "^0.0.27",
"next": "^13.1.6",
"next": "^13.3.0",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
3 changes: 2 additions & 1 deletion demos/default/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
{
"name": "next"
}
]
],
"strictNullChecks": true
},
"include": [
"next-env.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion demos/middleware/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"@netlify/next": "*",
"@netlify/plugin-nextjs": "*",
"isomorphic-unfetch": "^3.1.0",
"next": "^13.1.6",
"next": "^13.3.0",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
2 changes: 1 addition & 1 deletion demos/next-auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
],
"license": "MIT",
"dependencies": {
"next": "^13.1.6",
"next": "^13.3.0",
"next-auth": "^4.15.0",
"nodemailer": "^6.6.3",
"react": "^18.2.0",
Expand Down
2 changes: 1 addition & 1 deletion demos/next-export/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "1.0.0",
"description": "",
"dependencies": {
"next": "^13.1.6"
"next": "^13.3.0"
},
"devDependencies": {
"@netlify/next": "*",
Expand Down
2 changes: 1 addition & 1 deletion demos/next-i18next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"lint": "next lint"
},
"dependencies": {
"next": "^13.0.6",
"next": "^13.3.0",
"next-i18next": "^11.0.0",
"react": "^18.2.0",
"react-dom": "^18.2.0"
Expand Down
2 changes: 1 addition & 1 deletion demos/next-with-edge-functions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"start": "next start"
},
"dependencies": {
"next": "^13.1.6",
"next": "^13.3.0",
"react": "^18.0.2",
"react-dom": "^18.0.2"
}
Expand Down
2 changes: 1 addition & 1 deletion demos/nx-next-monorepo-demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"@netlify/plugin-nextjs": "file:plugin-wrapper",
"@nrwl/next": "15.9.2",
"core-js": "^3.6.5",
"next": "^13.0.6",
"next": "^13.3.0",
"react": "^18.2.0",
"react-dom": "18.2.0",
"regenerator-runtime": "0.13.11",
Expand Down
2 changes: 1 addition & 1 deletion demos/static-root/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "1.0.0",
"description": "",
"dependencies": {
"next": "^13.1.6"
"next": "^13.3.0"
},
"devDependencies": {
"@netlify/next": "*",
Expand Down
6 changes: 3 additions & 3 deletions demos/turborepo-next-monorepo-demo/apps/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
"lint": "next lint"
},
"dependencies": {
"next": "13.0.7",
"react": "17.0.2",
"react-dom": "17.0.2",
"next": "^13.3.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"ui": "*"
},
"devDependencies": {
Expand Down
6 changes: 3 additions & 3 deletions demos/turborepo-next-monorepo-demo/apps/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
"lint": "next lint"
},
"dependencies": {
"next": "13.0.7",
"react": "17.0.2",
"react-dom": "17.0.2",
"next": "^13.3.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"ui": "*"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion demos/turborepo-next-monorepo-demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
},
"dependencies": {
"@types/react": "^18.0.0",
"next": "^13.0.6",
"next": "^13.3.0",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down