File tree 14 files changed +42
-85
lines changed
nx-next-monorepo-demo/local-plugin
14 files changed +42
-85
lines changed Original file line number Diff line number Diff line change 44
44
id : runtime-version
45
45
attributes :
46
46
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)
48
48
placeholder : x.x.x
49
49
validations :
50
50
required : true
Original file line number Diff line number Diff line change 3
3
# Next.js Runtime
4
4
5
5
<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 ">
8
8
</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 ">
11
11
</a >
12
12
</p >
13
13
@@ -115,14 +115,14 @@ Edge runtime or middleware is enabled it will also generate edge functions for m
115
115
The Next.js Runtime installs automatically for new Next.js sites on Netlify. You can also install it manually like this:
116
116
117
117
``` shell
118
- npm install -D @netlify/next-runtime
118
+ npm install -D @netlify/plugin-nextjs
119
119
```
120
120
121
121
...then add the following to your ` netlify.toml ` file:
122
122
123
123
``` toml
124
124
[[plugins ]]
125
- package = " @netlify/next-runtime "
125
+ package = " @netlify/plugin-nextjs "
126
126
```
127
127
128
128
## Manually upgrading from an older version of the Next.js Runtime
Original file line number Diff line number Diff line change 1
- name : ' @netlify/next-runtime -local'
1
+ name : ' @netlify/plugin-nextjs -local'
Original file line number Diff line number Diff line change 3
3
"version" : " 1.0.0" ,
4
4
"description" : " " ,
5
5
"devDependencies" : {
6
- "@netlify/next-runtime " : " *" ,
6
+ "@netlify/plugin-nextjs " : " *" ,
7
7
"@types/fs-extra" : " ^9.0.13" ,
8
8
"@types/jest" : " ^27.4.1" ,
9
9
"@types/node" : " ^17.0.25" ,
28
28
"url" : " https://github.com/netlify/next-runtime/issues"
29
29
},
30
30
"homepage" : " https://github.com/netlify/next-runtime#readme"
31
- }
31
+ }
Original file line number Diff line number Diff line change 3
3
"version" : " 1.0.0" ,
4
4
"description" : " " ,
5
5
"devDependencies" : {
6
- "@netlify/next-runtime " : " *" ,
6
+ "@netlify/plugin-nextjs " : " *" ,
7
7
"@types/fs-extra" : " ^9.0.13" ,
8
8
"@types/jest" : " ^27.4.1" ,
9
9
"@types/node" : " ^17.0.25" ,
29
29
"url" : " https://github.com/netlify/next-runtime/issues"
30
30
},
31
31
"homepage" : " https://github.com/netlify/next-runtime#readme"
32
- }
32
+ }
Original file line number Diff line number Diff line change 25
25
"react-dom" : " ^18.0.0"
26
26
},
27
27
"devDependencies" : {
28
- "@netlify/next-runtime " : " *" ,
28
+ "@netlify/plugin-nextjs " : " *" ,
29
29
"@types/fs-extra" : " ^9.0.13" ,
30
30
"@types/jest" : " ^27.4.1" ,
31
31
"@types/node" : " ^17.0.25" ,
35
35
"npm-run-all" : " ^4.1.5" ,
36
36
"typescript" : " ^4.6.3"
37
37
}
38
- }
38
+ }
Original file line number Diff line number Diff line change 9
9
"ntl" : " ntl-internal"
10
10
},
11
11
"dependencies" : {
12
- "@netlify/next-runtime " : " *" ,
12
+ "@netlify/plugin-nextjs " : " *" ,
13
13
"@netlify/next" : " *" ,
14
14
"next" : " ^12.2.0" ,
15
15
"react" : " 18.0.0" ,
24
24
"npm-run-all" : " ^4.1.5" ,
25
25
"typescript" : " ^4.6.3"
26
26
}
27
- }
27
+ }
Original file line number Diff line number Diff line change 6
6
"next" : " ^12.2.0"
7
7
},
8
8
"devDependencies" : {
9
- "@netlify/next-runtime " : " *" ,
9
+ "@netlify/plugin-nextjs " : " *" ,
10
10
"@types/fs-extra" : " ^9.0.13" ,
11
11
"@types/jest" : " ^27.4.1" ,
12
12
"@types/node" : " ^17.0.25" ,
28
28
"url" : " https://github.com/netlify/next-runtime/issues"
29
29
},
30
30
"homepage" : " https://github.com/netlify/next-runtime#readme"
31
- }
31
+ }
Original file line number Diff line number Diff line change 1
- name : ' @netlify/next-runtime -local'
1
+ name : ' @netlify/plugin-nextjs -local'
Original file line number Diff line number Diff line change 7
7
"test" : " echo \" Error: no test specified\" && exit 1"
8
8
},
9
9
"devDependencies" : {
10
- "@netlify/next-runtime " : " *" ,
10
+ "@netlify/plugin-nextjs " : " *" ,
11
11
"@types/fs-extra" : " ^9.0.13" ,
12
12
"@types/jest" : " ^27.4.1" ,
13
13
"@types/node" : " ^17.0.25" ,
16
16
"npm-run-all" : " ^4.1.5" ,
17
17
"typescript" : " ^4.6.3"
18
18
}
19
- }
19
+ }
Original file line number Diff line number Diff line change 16
16
"react-dom" : " ^18.0.0"
17
17
},
18
18
"devDependencies" : {
19
- "@netlify/next-runtime " : " *" ,
19
+ "@netlify/plugin-nextjs " : " *" ,
20
20
"@types/fs-extra" : " ^9.0.13" ,
21
21
"@types/jest" : " ^27.4.1" ,
22
22
"@types/node" : " ^17.0.25" ,
23
23
"husky" : " ^7.0.4" ,
24
24
"npm-run-all" : " ^4.1.5" ,
25
25
"typescript" : " ^4.6.3"
26
26
}
27
- }
27
+ }
Original file line number Diff line number Diff line change 1
- name : ' @netlify/next-runtime -local'
1
+ name : ' @netlify/plugin-nextjs -local'
Original file line number Diff line number Diff line change 6
6
"next" : " ^12.2.0"
7
7
},
8
8
"devDependencies" : {
9
- "@netlify/next-runtime " : " *" ,
9
+ "@netlify/plugin-nextjs " : " *" ,
10
10
"@types/fs-extra" : " ^9.0.13" ,
11
11
"@types/jest" : " ^27.4.1" ,
12
12
"@types/node" : " ^17.0.25" ,
28
28
"url" : " https://github.com/netlify/next-runtime/issues"
29
29
},
30
30
"homepage" : " https://github.com/netlify/next-runtime#readme"
31
- }
31
+ }
You can’t perform that action at this time.
0 commit comments