Skip to content

fix: update ISR pages from 404 responses in Next 11 (DO NOT MERGE) #1784

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

Closed
wants to merge 7 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ module.exports = {
'no-await-in-loop': 0,
'n/exports-style': 0,
'n/global-require': 0,
'n/no-missing-import': 0,
'n/prefer-global/process': 0,
// Allow a single word inline so that it can do language tags for syntax highlighting
// ['error', { ignorePattern: /^ (\w+) $/ }],
Expand Down
13 changes: 0 additions & 13 deletions cypress/integration/default/css.spec.ts

This file was deleted.

1 change: 1 addition & 0 deletions demos/default/next-env.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/// <reference types="next" />
/// <reference types="next/types/global" />
/// <reference types="next/image-types/global" />

// NOTE: This file should not be edited
Expand Down
9 changes: 5 additions & 4 deletions demos/default/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,16 @@
"@reach/dialog": "^0.16.2",
"@reach/visually-hidden": "^0.16.0",
"@vercel/og": "^0.0.20",
"next": "^13.0.3",
"react": "^18.2.0",
"react-dom": "^18.2.0"
"next": "^11.0.0",
"react": "17.0.0",
"react-dom": "17.0.0"
},
"devDependencies": {
"@netlify/plugin-nextjs": "*",
"@types/fs-extra": "^9.0.13",
"@types/jest": "^27.4.1",
"@types/node": "^17.0.25",
"@types/node": "17.0.0",
"@types/react": "17.0.0",
"critters": "^0.0.16",
"husky": "^7.0.4",
"if-env": "^1.0.4",
Expand Down
8 changes: 0 additions & 8 deletions demos/default/pages/css/index.module.css

This file was deleted.

76 changes: 0 additions & 76 deletions demos/default/pages/css/index.tsx

This file was deleted.

1 change: 0 additions & 1 deletion jestSetup.js
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
// eslint-disable-next-line n/no-unpublished-require
require('jest-fetch-mock').enableMocks()
Loading