Skip to content

Commit

Permalink
Merge pull request #1 from daweij/main
Browse files Browse the repository at this point in the history
added nodejs18.x as latest
  • Loading branch information
ljacobsson authored Feb 7, 2023
2 parents b9ad964 + 42607ec commit 4cf2bb3
Showing 1 changed file with 48 additions and 2 deletions.
50 changes: 48 additions & 2 deletions src/shared/runtimes.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,27 @@
[
{
"name": "nodejs",
"languageName": "JavaScript",
"extension": ".js",
"handlerFormat": "filename.handler",
"sharable": true
},
{
"name": "nodejs",
"languageName": "TypeScript",
"extension": ".ts",
"handlerFormat": "filename.handler",
"sharable": true,
"metadataPromptTitle": "Please set esbuild configuration. Leave blank for defaults. Note that TypeScript support in SAM is in preview and can change without warning.",
"metadata": {
"BuildMethod": "esbuild",
"Properties": {
"Minify": { "Default": "true", "Prompt": true },
"Target": { "Default": "es2022", "Prompt": true },
"SourceMap": { "Default": "true", "Prompt": true }
}
}
},
{
"name": "nodejs10.x",
"extension": ".js",
Expand Down Expand Up @@ -39,15 +62,13 @@
"languageName": "JavaScript",
"extension": ".js",
"handlerFormat": "filename.handler",
"latest": true,
"sharable": true
},
{
"name": "nodejs16.x",
"languageName": "TypeScript",
"extension": ".ts",
"handlerFormat": "filename.handler",
"latest": true,
"sharable": true,
"metadataPromptTitle": "Please set esbuild configuration. Leave blank for defaults. Note that TypeScript support in SAM is in preview and can change without warning.",
"metadata": {
Expand All @@ -59,6 +80,31 @@
}
}
},
{
"name": "nodejs18.x",
"languageName": "JavaScript",
"extension": ".js",
"handlerFormat": "filename.handler",
"latest": true,
"sharable": true
},
{
"name": "nodejs18.x",
"languageName": "TypeScript",
"extension": ".ts",
"handlerFormat": "filename.handler",
"latest": true,
"sharable": true,
"metadataPromptTitle": "Please set esbuild configuration. Leave blank for defaults. Note that TypeScript support in SAM is in preview and can change without warning.",
"metadata": {
"BuildMethod": "esbuild",
"Properties": {
"Minify": { "Default": "true", "Prompt": true },
"Target": { "Default": "es2022", "Prompt": true },
"SourceMap": { "Default": "true", "Prompt": true }
}
}
},
{
"name": "python3.8",
"extension": ".py",
Expand Down

0 comments on commit 4cf2bb3

Please sign in to comment.