Skip to content

Commit 7dddb00

Browse files
styfleMatthew Sweeney
authored andcommitted
Add nodejs10.x (#934)
* Add nodejs10.x * Remove v prefix so that engine syntax is clear * Remove nodejs6.10 runtime
1 parent 3d73e00 commit 7dddb00

File tree

5 files changed

+18
-10
lines changed

5 files changed

+18
-10
lines changed

pages/docs/v2/deployments/builders/developer-guide.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export const meta = {
66
description:
77
'How to create a Builder to take ZEIT Now deployment sources and output either static files or lambdas with almost limitless possibilities.',
88
editUrl: 'pages/docs/v2/deployments/builders/developer-guide.mdx',
9-
lastEdited: '2019-04-25T14:24:10.000Z'
9+
lastEdited: '2019-06-24T16:22:38.000Z'
1010
}
1111

1212
A builder is an npm module that exposes a `build` function and optionally an `analyze` function and `prepareCache` function.
@@ -355,8 +355,8 @@ This is a [JavaScript class](https://developer.mozilla.org/en-US/docs/Web/JavaSc
355355

356356
This is an abstract enumeration type that is implemented by one of the following possible `String` values:
357357

358+
- `nodejs10.x`
358359
- `nodejs8.10`
359-
- `nodejs6.10`
360360
- `go1.x`
361361
- `java-1.8.0-openjdk`
362362
- `python3.6`

pages/docs/v2/deployments/official-builders/next-js-now-next.mdx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export const meta = {
1414
description:
1515
'The official Next.js Builder for ZEIT Now. Deploy Next.js applications with ease.',
1616
editUrl: 'pages/docs/v2/deployments/official-builders/next-js-now-next.mdx',
17-
lastEdited: '2019-06-22T00:05:12.000Z'
17+
lastEdited: '2019-06-24T14:13:20.000Z'
1818
}
1919

2020
<Tag>Status: Stable</Tag>
@@ -247,7 +247,9 @@ The resulting Lambda contains the build time: <https://nextjs-build-pqo9ri0y2.no
247247

248248
### Node.js version
249249

250-
The Node.js version used is the **v8.10**.
250+
The default Node.js version used is **8.10.x**.
251+
252+
The version can be changed to **10.x** by defining [engines](https://docs.npmjs.com/files/package.json#engines) in `package.json`.
251253

252254
### Custom Server
253255

pages/docs/v2/deployments/official-builders/node-js-now-node.mdx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export const meta = {
1515
description:
1616
'The official Node.js Builder for ZEIT Now. Deploy serverless Node.js applications with ease.',
1717
editUrl: 'pages/docs/v2/deployments/official-builders/node-js-now-node.mdx',
18-
lastEdited: '2019-06-17T08:18:07.000Z'
18+
lastEdited: '2019-06-24T14:13:20.000Z'
1919
}
2020

2121
<Tag>Status: Stable</Tag>
@@ -353,7 +353,9 @@ The resulting lambda contains both the build and current time: <https://build-ti
353353

354354
### Node.js Version
355355

356-
The Node.js version used is the **v8.10**.
356+
The default Node.js version used is **8.10.x**.
357+
358+
The version can be changed to **10.x** by defining [engines](https://docs.npmjs.com/files/package.json#engines) in `package.json`.
357359

358360
### Maximum Lambda Bundle Size
359361

pages/docs/v2/deployments/official-builders/node-js-server-now-node-server.mdx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export const meta = {
1515
'The official Node.js Server Builder for ZEIT Now. Deploy a Node.js server on ZEIT Now.',
1616
editUrl:
1717
'pages/docs/v2/deployments/official-builders/node-js-server-now-node-server.mdx',
18-
lastEdited: '2019-03-08T17:46:24.000Z'
18+
lastEdited: '2019-06-24T14:13:20.000Z'
1919
}
2020

2121
<Tag>Status: Stable</Tag>
@@ -114,7 +114,9 @@ To install private npm modules, define `NPM_TOKEN` as a [build environment varia
114114

115115
### Node.js version
116116

117-
The Node.js version used is the **v8.10**.
117+
The default Node.js version used is **8.10.x**.
118+
119+
The version can be changed to **10.x** by defining [engines](https://docs.npmjs.com/files/package.json#engines) in `package.json`.
118120

119121
### Maximum Lambda Bundle Size
120122

pages/docs/v2/deployments/official-builders/static-build-now-static-build.mdx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export const meta = {
1414
'The official Static Builds Builder for ZEIT Now. Run any package.json build script for your source files and deploy the result.',
1515
editUrl:
1616
'pages/docs/v2/deployments/official-builders/static-build-now-static-build.mdx',
17-
lastEdited: '2019-02-26T13:27:30.000Z'
17+
lastEdited: '2019-06-24T14:13:20.000Z'
1818
}
1919

2020
<Tag>Status: Stable</Tag>
@@ -291,7 +291,9 @@ To install private npm modules, define `NPM_TOKEN` as a [build environment](/doc
291291
292292
### Node.js Version
293293
294-
The Node.js version used is the latest in the **8 branch**.
294+
The default Node.js version used is **8.10.x**.
295+
296+
The version can be changed to **10.x** by defining [engines](https://docs.npmjs.com/files/package.json#engines) in `package.json`.
295297
296298
## Resources
297299

0 commit comments

Comments
 (0)