Skip to content

chore: revert runtime dep name in demos #1550

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

Merged
merged 1 commit into from
Aug 18, 2022
Merged
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
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ body:
id: runtime-version
attributes:
label: Next Runtime version
description: The version of `@netlify/next-runtime` that you are using. (This is in the build logs)
description: The version of `@netlify/plugin-nextjs` that you are using. (This is in the build logs)
placeholder: x.x.x
validations:
required: true
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
# Next.js Runtime

<p align="center">
<a aria-label="npm version" href="https://www.npmjs.com/package/@netlify/next-runtime">
<img alt="" src="https://img.shields.io/npm/v/@netlify/next-runtime">
<a aria-label="npm version" href="https://www.npmjs.com/package/@netlify/plugin-nextjs">
<img alt="" src="https://img.shields.io/npm/v/@netlify/plugin-nextjs">
</a>
<a aria-label="MIT License" href="https://img.shields.io/npm/l/@netlify/next-runtime">
<img alt="" src="https://img.shields.io/npm/l/@netlify/next-runtime">
<a aria-label="MIT License" href="https://img.shields.io/npm/l/@netlify/plugin-nextjs">
<img alt="" src="https://img.shields.io/npm/l/@netlify/plugin-nextjs">
</a>
</p>

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

```shell
npm install -D @netlify/next-runtime
npm install -D @netlify/plugin-nextjs
```

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

```toml
[[plugins]]
package = "@netlify/next-runtime"
package = "@netlify/plugin-nextjs"
```

## Manually upgrading from an older version of the Next.js Runtime
Expand Down
2 changes: 1 addition & 1 deletion demos/base-path/local-plugin/manifest.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
name: '@netlify/next-runtime-local'
name: '@netlify/plugin-nextjs-local'
4 changes: 2 additions & 2 deletions demos/base-path/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "1.0.0",
"description": "",
"devDependencies": {
"@netlify/next-runtime": "*",
"@netlify/plugin-nextjs": "*",
"@types/fs-extra": "^9.0.13",
"@types/jest": "^27.4.1",
"@types/node": "^17.0.25",
Expand All @@ -28,4 +28,4 @@
"url": "https://github.com/netlify/next-runtime/issues"
},
"homepage": "https://github.com/netlify/next-runtime#readme"
}
}
4 changes: 2 additions & 2 deletions demos/custom-routes/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "1.0.0",
"description": "",
"devDependencies": {
"@netlify/next-runtime": "*",
"@netlify/plugin-nextjs": "*",
"@types/fs-extra": "^9.0.13",
"@types/jest": "^27.4.1",
"@types/node": "^17.0.25",
Expand All @@ -29,4 +29,4 @@
"url": "https://github.com/netlify/next-runtime/issues"
},
"homepage": "https://github.com/netlify/next-runtime#readme"
}
}
4 changes: 2 additions & 2 deletions demos/default/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"react-dom": "^18.0.0"
},
"devDependencies": {
"@netlify/next-runtime": "*",
"@netlify/plugin-nextjs": "*",
"@types/fs-extra": "^9.0.13",
"@types/jest": "^27.4.1",
"@types/node": "^17.0.25",
Expand All @@ -35,4 +35,4 @@
"npm-run-all": "^4.1.5",
"typescript": "^4.6.3"
}
}
}
4 changes: 2 additions & 2 deletions demos/middleware/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"ntl": "ntl-internal"
},
"dependencies": {
"@netlify/next-runtime": "*",
"@netlify/plugin-nextjs": "*",
"@netlify/next": "*",
"next": "^12.2.0",
"react": "18.0.0",
Expand All @@ -24,4 +24,4 @@
"npm-run-all": "^4.1.5",
"typescript": "^4.6.3"
}
}
}
4 changes: 2 additions & 2 deletions demos/next-export/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"next": "^12.2.0"
},
"devDependencies": {
"@netlify/next-runtime": "*",
"@netlify/plugin-nextjs": "*",
"@types/fs-extra": "^9.0.13",
"@types/jest": "^27.4.1",
"@types/node": "^17.0.25",
Expand All @@ -28,4 +28,4 @@
"url": "https://github.com/netlify/next-runtime/issues"
},
"homepage": "https://github.com/netlify/next-runtime#readme"
}
}
2 changes: 1 addition & 1 deletion demos/nx-next-monorepo-demo/local-plugin/manifest.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
name: '@netlify/next-runtime-local'
name: '@netlify/plugin-nextjs-local'
4 changes: 2 additions & 2 deletions demos/plugin-wrapper/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"test": "echo \"Error: no test specified\" && exit 1"
},
"devDependencies": {
"@netlify/next-runtime": "*",
"@netlify/plugin-nextjs": "*",
"@types/fs-extra": "^9.0.13",
"@types/jest": "^27.4.1",
"@types/node": "^17.0.25",
Expand All @@ -16,4 +16,4 @@
"npm-run-all": "^4.1.5",
"typescript": "^4.6.3"
}
}
}
4 changes: 2 additions & 2 deletions demos/server-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@
"react-dom": "^18.0.0"
},
"devDependencies": {
"@netlify/next-runtime": "*",
"@netlify/plugin-nextjs": "*",
"@types/fs-extra": "^9.0.13",
"@types/jest": "^27.4.1",
"@types/node": "^17.0.25",
"husky": "^7.0.4",
"npm-run-all": "^4.1.5",
"typescript": "^4.6.3"
}
}
}
2 changes: 1 addition & 1 deletion demos/static-root/local-plugin/manifest.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
name: '@netlify/next-runtime-local'
name: '@netlify/plugin-nextjs-local'
4 changes: 2 additions & 2 deletions demos/static-root/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"next": "^12.2.0"
},
"devDependencies": {
"@netlify/next-runtime": "*",
"@netlify/plugin-nextjs": "*",
"@types/fs-extra": "^9.0.13",
"@types/jest": "^27.4.1",
"@types/node": "^17.0.25",
Expand All @@ -28,4 +28,4 @@
"url": "https://github.com/netlify/next-runtime/issues"
},
"homepage": "https://github.com/netlify/next-runtime#readme"
}
}
75 changes: 16 additions & 59 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.