Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for typescript in the nodejs runtime #1225

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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