Skip to content

Commit 0eaf90f

Browse files
thomas-tacquetttacquet
andauthored
update readme for new runtime (#79)
* update readme for new runtime * fix link and missing note Co-authored-by: ttacquet <[email protected]>
1 parent 25c8281 commit 0eaf90f

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ custom:
302302
```
303303

304304
You may refer to the follow examples:
305-
- [NodeJS-10 with schedule trigger](./examples/nodejs10-schedule)
305+
- [NodeJS with schedule trigger](./examples/nodejs-schedule)
306306
- [Container with Schedule Trigger](./examples/container-schedule)
307307

308308
### Managing containers

docs/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ It is not necessary if you wish to deploy containers only.
203203
### Runtimes
204204
205205
Available runtimes are:
206-
- `node10`, `node14`, `node16`, `node17` for JavaScript
206+
- `node10`, `node14`, `node16`, `node18` for JavaScript
207207
- `python37`, `python38`, `python39`, `python310`
208208
- `go113`, `go117`, `go118`
209209
@@ -222,7 +222,7 @@ Based on the chosen runtime, the `handler` variable on function might vary:
222222
```yml
223223
provider:
224224
# ...
225-
runtime: node16 # or node10, node16, node17
225+
runtime: node16 # or node18
226226
functions:
227227
first:
228228
handler: src/handlers/firstHandler.myFirstHandler

docs/templates.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ Here is the default template for `Node`, you can customize `runtime` if you don'
88

99
- [node.js starter kit](../examples/nodejs)
1010

11+
For ES6 node modules please refer to [node modules](../examples/nodejs-es-modules)
12+
1113
## Go
1214

1315
Here is the default template for `Go`, you can customize `runtime` if you don't want default value :

examples/nodejs-es-modules/serverless.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ service: scaleway-esmodule-nodeXX
22
configValidationMode: off
33
provider:
44
name: scaleway
5-
runtime: node16
5+
runtime: node16 # Available node runtimes are listed in documentation
66
# Global Environment variables - used in every functions
77
env:
88
test: test

0 commit comments

Comments
 (0)