Skip to content

Commit 75ed977

Browse files
authored
fix: update next to 13.3.0 & ensure compatibility (#2056)
* chore: update next to 13.3.0 * chore: automatic updates by next * chore: stuff * chore: fix server.spec.ts * chore: fix files * chore: fix static-manifest * chore: update snapshots * chore: skip test as it cannot be fixed * chore: fix all tests? * chore: linting * chore: sort stuff * chore: sorting...... heh * chore: whoops * chore: fix some rsc change * chore: some test updates * chore: fix font test * chore: fix * chore: delete head test * chore: update playwright * chore: more upstream changes * chore: update next dep * Revert "chore: update next dep" This reverts commit b6275aa. * chore: update app-edge * chore: remove CSS test * chore: update * chore: skip test * chore: fix index test * chore: locale fix * chore: other fixes from other PRs * chore: linting * Update rsc-basic.test.ts
1 parent 25108c5 commit 75ed977

File tree

56 files changed

+1060
-661
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+1060
-661
lines changed

cypress/e2e/default/appdir.cy.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ describe('appDir', () => {
2525
},
2626
followRedirect: false,
2727
}).then((response) => {
28-
expect(response.headers).to.have.property('content-type', 'application/octet-stream')
28+
expect(response.headers).to.have.property('content-type', 'text/x-component')
2929
})
3030
})
3131

@@ -58,7 +58,7 @@ describe('appDir', () => {
5858
},
5959
followRedirect: false,
6060
}).then((response) => {
61-
expect(response.headers).to.have.property('content-type', 'application/octet-stream')
61+
expect(response.headers).to.have.property('content-type', 'text/x-component')
6262
})
6363
})
6464

@@ -70,7 +70,7 @@ describe('appDir', () => {
7070
},
7171
followRedirect: false,
7272
}).then((response) => {
73-
expect(response.headers).to.have.property('content-type', 'application/octet-stream')
73+
expect(response.headers).to.have.property('content-type', 'text/x-component')
7474
})
7575
})
7676

demos/base-path/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"typescript": "^4.6.3"
1515
},
1616
"dependencies": {
17-
"next": "^13.1.6"
17+
"next": "^13.3.0"
1818
},
1919
"scripts": {
2020
"test": "echo \"Error: no test specified\" && exit 1"

demos/canary/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
},
1111
"dependencies": {
1212
"nanoid": "^3.3.4",
13-
"next": "^13.1.6",
13+
"next": "^13.3.0",
1414
"react": "latest",
1515
"react-dom": "latest",
1616
"sass": "latest",

demos/custom-routes/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"typescript": "^4.7.4"
1616
},
1717
"dependencies": {
18-
"next": "^13.1.6"
18+
"next": "^13.3.0"
1919
},
2020
"scripts": {
2121
"build": "next build",

demos/default/next-env.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/// <reference types="next" />
22
/// <reference types="next/image-types/global" />
3+
/// <reference types="next/navigation-types/compat/navigation" />
34

45
// NOTE: This file should not be edited
56
// see https://nextjs.org/docs/basic-features/typescript for more information.

demos/default/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"@reach/dialog": "^0.16.2",
2323
"@reach/visually-hidden": "^0.16.0",
2424
"@vercel/og": "^0.0.27",
25-
"next": "^13.1.6",
25+
"next": "^13.3.0",
2626
"react": "^18.2.0",
2727
"react-dom": "^18.2.0"
2828
},

demos/default/tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
{
1717
"name": "next"
1818
}
19-
]
19+
],
20+
"strictNullChecks": true
2021
},
2122
"include": [
2223
"next-env.d.ts",

demos/middleware/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"@netlify/next": "*",
1313
"@netlify/plugin-nextjs": "*",
1414
"isomorphic-unfetch": "^3.1.0",
15-
"next": "^13.1.6",
15+
"next": "^13.3.0",
1616
"react": "^18.2.0",
1717
"react-dom": "^18.2.0"
1818
},

demos/next-auth/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
],
2424
"license": "MIT",
2525
"dependencies": {
26-
"next": "^13.1.6",
26+
"next": "^13.3.0",
2727
"next-auth": "^4.15.0",
2828
"nodemailer": "^6.6.3",
2929
"react": "^18.2.0",

demos/next-export/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "1.0.0",
44
"description": "",
55
"dependencies": {
6-
"next": "^13.1.6"
6+
"next": "^13.3.0"
77
},
88
"devDependencies": {
99
"@netlify/next": "*",

0 commit comments

Comments
 (0)