Skip to content

Commit

Permalink
Add support for typescript in the nodejs runtime (#1225)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuaauerbachwatson authored Sep 7, 2022
1 parent 46f9629 commit 11ac703
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 12 deletions.
21 changes: 10 additions & 11 deletions commands/serverless.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,17 +39,16 @@ var (
// Note: this table has all languages for which we possess samples. Only those with currently
// active runtimes will display.
languageKeywords map[string][]string = map[string][]string{
"nodejs": {"javascript", "js"},
"deno": {"deno"},
"go": {"go", "golang"},
"java": {"java"},
"php": {"php"},
"python": {"python", "py"},
"ruby": {"ruby"},
"rust": {"rust"},
"swift": {"swift"},
"dotnet": {"csharp", "cs"},
"typescript": {"typescript", "ts"},
"nodejs": {"javascript", "js", "typescript", "ts"},
"deno": {"deno"},
"go": {"go", "golang"},
"java": {"java"},
"php": {"php"},
"python": {"python", "py"},
"ruby": {"ruby"},
"rust": {"rust"},
"swift": {"swift"},
"dotnet": {"csharp", "cs"},
}
)

Expand Down
2 changes: 1 addition & 1 deletion do/serverless.go
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ const (
// Minimum required version of the sandbox plugin code. The first part is
// the version of the incorporated Nimbella CLI and the second part is the
// version of the bridge code in the sandbox plugin repository.
minServerlessVersion = "4.1.0-1.3.1"
minServerlessVersion = "4.2.3-1.3.1"

// The version of nodejs to download alongsize the plugin download.
nodeVersion = "v16.13.0"
Expand Down

0 comments on commit 11ac703

Please sign in to comment.