Skip to content

Commit 6be4dc0

Browse files
authored
fix: remove Next.js as a peer dependency (#1584)
* fix: remove next peer dependency was leading to wrong version of next.js being bundled in with functions. specifically, a newer version next would be installed when the project uses an older (and at times incompatible with the newer) versoin * style: lint
1 parent e935427 commit 6be4dc0

File tree

3 files changed

+9
-15
lines changed

3 files changed

+9
-15
lines changed

package-lock.json

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

packages/next/CHANGELOG.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## [1.1.0](https://github.com/netlify/next-runtime/compare/next-v1.0.0...next-v1.1.0) (2022-08-22)
44

5-
65
### Features
76

8-
* add edge middleware support to `ntl dev` ([#1546](https://github.com/netlify/next-runtime/issues/1546)) ([b208ff4](https://github.com/netlify/next-runtime/commit/b208ff463499565d86cc15747b95895b3da18e55))
7+
- add edge middleware support to `ntl dev` ([#1546](https://github.com/netlify/next-runtime/issues/1546))
8+
([b208ff4](https://github.com/netlify/next-runtime/commit/b208ff463499565d86cc15747b95895b3da18e55))

packages/runtime/package.json

-3
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,6 @@
4848
"watch": "tsc --watch",
4949
"prepare": "npm run build"
5050
},
51-
"peerDependencies": {
52-
"next": "*"
53-
},
5451
"repository": {
5552
"type": "git",
5653
"url": "git+https://github.com/netlify/next-runtime.git"

0 commit comments

Comments
 (0)