diff --git a/internal/command/extensions/core/core.go b/internal/command/extensions/core/core.go index 07cce3899a..6be47587f2 100644 --- a/internal/command/extensions/core/core.go +++ b/internal/command/extensions/core/core.go @@ -640,6 +640,7 @@ var PlatformMap = map[string]string{ "NodeJS": "node", "NodeJS/Prisma": "node", "Laravel": "php-laravel", + "Meteor": "javascript-meteor", "NestJS": "node", "NextJS": "javascript-nextjs", "Nuxt": "javascript-vue", diff --git a/scanner/jsFramework.go b/scanner/jsFramework.go index 80b05cb0c0..ca87faf92e 100644 --- a/scanner/jsFramework.go +++ b/scanner/jsFramework.go @@ -230,6 +230,12 @@ func configureJsFramework(sourceDir string, config *ScannerConfig) (*SourceInfo, } else if deps["gatsby"] != nil { srcInfo.Family = "Gatsby" srcInfo.Port = 8080 + } else if startScript, ok := scripts["start"].(string); ok && strings.Contains(startScript, "meteor") { + srcInfo.Family = "Meteor" + srcInfo.Env = map[string]string{ + "PORT": "3000", + "ROOT_URL": "APP_FQDN", + } } else if deps["@nestjs/core"] != nil { srcInfo.Family = "NestJS" } else if deps["next"] != nil {