Skip to content

Commit ba27564

Browse files
authored
chore: revert runtime dep name in demos (#1550)
1 parent f6269e9 commit ba27564

File tree

14 files changed

+42
-85
lines changed

14 files changed

+42
-85
lines changed

.github/ISSUE_TEMPLATE/bug_report.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ body:
4444
id: runtime-version
4545
attributes:
4646
label: Next Runtime version
47-
description: The version of `@netlify/next-runtime` that you are using. (This is in the build logs)
47+
description: The version of `@netlify/plugin-nextjs` that you are using. (This is in the build logs)
4848
placeholder: x.x.x
4949
validations:
5050
required: true

README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
# Next.js Runtime
44

55
<p align="center">
6-
<a aria-label="npm version" href="https://www.npmjs.com/package/@netlify/next-runtime">
7-
<img alt="" src="https://img.shields.io/npm/v/@netlify/next-runtime">
6+
<a aria-label="npm version" href="https://www.npmjs.com/package/@netlify/plugin-nextjs">
7+
<img alt="" src="https://img.shields.io/npm/v/@netlify/plugin-nextjs">
88
</a>
9-
<a aria-label="MIT License" href="https://img.shields.io/npm/l/@netlify/next-runtime">
10-
<img alt="" src="https://img.shields.io/npm/l/@netlify/next-runtime">
9+
<a aria-label="MIT License" href="https://img.shields.io/npm/l/@netlify/plugin-nextjs">
10+
<img alt="" src="https://img.shields.io/npm/l/@netlify/plugin-nextjs">
1111
</a>
1212
</p>
1313

@@ -115,14 +115,14 @@ Edge runtime or middleware is enabled it will also generate edge functions for m
115115
The Next.js Runtime installs automatically for new Next.js sites on Netlify. You can also install it manually like this:
116116

117117
```shell
118-
npm install -D @netlify/next-runtime
118+
npm install -D @netlify/plugin-nextjs
119119
```
120120

121121
...then add the following to your `netlify.toml` file:
122122

123123
```toml
124124
[[plugins]]
125-
package = "@netlify/next-runtime"
125+
package = "@netlify/plugin-nextjs"
126126
```
127127

128128
## Manually upgrading from an older version of the Next.js Runtime
+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
name: '@netlify/next-runtime-local'
1+
name: '@netlify/plugin-nextjs-local'

demos/base-path/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "1.0.0",
44
"description": "",
55
"devDependencies": {
6-
"@netlify/next-runtime": "*",
6+
"@netlify/plugin-nextjs": "*",
77
"@types/fs-extra": "^9.0.13",
88
"@types/jest": "^27.4.1",
99
"@types/node": "^17.0.25",
@@ -28,4 +28,4 @@
2828
"url": "https://github.com/netlify/next-runtime/issues"
2929
},
3030
"homepage": "https://github.com/netlify/next-runtime#readme"
31-
}
31+
}

demos/custom-routes/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "1.0.0",
44
"description": "",
55
"devDependencies": {
6-
"@netlify/next-runtime": "*",
6+
"@netlify/plugin-nextjs": "*",
77
"@types/fs-extra": "^9.0.13",
88
"@types/jest": "^27.4.1",
99
"@types/node": "^17.0.25",
@@ -29,4 +29,4 @@
2929
"url": "https://github.com/netlify/next-runtime/issues"
3030
},
3131
"homepage": "https://github.com/netlify/next-runtime#readme"
32-
}
32+
}

demos/default/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"react-dom": "^18.0.0"
2626
},
2727
"devDependencies": {
28-
"@netlify/next-runtime": "*",
28+
"@netlify/plugin-nextjs": "*",
2929
"@types/fs-extra": "^9.0.13",
3030
"@types/jest": "^27.4.1",
3131
"@types/node": "^17.0.25",
@@ -35,4 +35,4 @@
3535
"npm-run-all": "^4.1.5",
3636
"typescript": "^4.6.3"
3737
}
38-
}
38+
}

demos/middleware/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"ntl": "ntl-internal"
1010
},
1111
"dependencies": {
12-
"@netlify/next-runtime": "*",
12+
"@netlify/plugin-nextjs": "*",
1313
"@netlify/next": "*",
1414
"next": "^12.2.0",
1515
"react": "18.0.0",
@@ -24,4 +24,4 @@
2424
"npm-run-all": "^4.1.5",
2525
"typescript": "^4.6.3"
2626
}
27-
}
27+
}

demos/next-export/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"next": "^12.2.0"
77
},
88
"devDependencies": {
9-
"@netlify/next-runtime": "*",
9+
"@netlify/plugin-nextjs": "*",
1010
"@types/fs-extra": "^9.0.13",
1111
"@types/jest": "^27.4.1",
1212
"@types/node": "^17.0.25",
@@ -28,4 +28,4 @@
2828
"url": "https://github.com/netlify/next-runtime/issues"
2929
},
3030
"homepage": "https://github.com/netlify/next-runtime#readme"
31-
}
31+
}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
name: '@netlify/next-runtime-local'
1+
name: '@netlify/plugin-nextjs-local'

demos/plugin-wrapper/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"test": "echo \"Error: no test specified\" && exit 1"
88
},
99
"devDependencies": {
10-
"@netlify/next-runtime": "*",
10+
"@netlify/plugin-nextjs": "*",
1111
"@types/fs-extra": "^9.0.13",
1212
"@types/jest": "^27.4.1",
1313
"@types/node": "^17.0.25",
@@ -16,4 +16,4 @@
1616
"npm-run-all": "^4.1.5",
1717
"typescript": "^4.6.3"
1818
}
19-
}
19+
}

demos/server-components/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@
1616
"react-dom": "^18.0.0"
1717
},
1818
"devDependencies": {
19-
"@netlify/next-runtime": "*",
19+
"@netlify/plugin-nextjs": "*",
2020
"@types/fs-extra": "^9.0.13",
2121
"@types/jest": "^27.4.1",
2222
"@types/node": "^17.0.25",
2323
"husky": "^7.0.4",
2424
"npm-run-all": "^4.1.5",
2525
"typescript": "^4.6.3"
2626
}
27-
}
27+
}
+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
name: '@netlify/next-runtime-local'
1+
name: '@netlify/plugin-nextjs-local'

demos/static-root/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"next": "^12.2.0"
77
},
88
"devDependencies": {
9-
"@netlify/next-runtime": "*",
9+
"@netlify/plugin-nextjs": "*",
1010
"@types/fs-extra": "^9.0.13",
1111
"@types/jest": "^27.4.1",
1212
"@types/node": "^17.0.25",
@@ -28,4 +28,4 @@
2828
"url": "https://github.com/netlify/next-runtime/issues"
2929
},
3030
"homepage": "https://github.com/netlify/next-runtime#readme"
31-
}
31+
}

package-lock.json

+16-59
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)