diff --git a/internal/nodejs/plan.go b/internal/nodejs/plan.go index 05cc311c..d76cd6ac 100644 --- a/internal/nodejs/plan.go +++ b/internal/nodejs/plan.go @@ -97,6 +97,11 @@ func DetermineProjectFramework(ctx *nodePlanContext) types.NodeProjectFramework return framework } + if _, isNuejs := packageJSON.Dependencies["nuejs-core"]; isNuejs { + *fw = optional.Some(types.NodeProjectFrameworkNueJs) + return fw.Unwrap() + } + if _, isAstro := packageJSON.Dependencies["astro"]; isAstro { if _, isAstroSSR := packageJSON.Dependencies["@astrojs/node"]; isAstroSSR { *fw = optional.Some(types.NodeProjectFrameworkAstroSSR) diff --git a/internal/python/plan.go b/internal/python/plan.go index e1198b7d..1eca6949 100644 --- a/internal/python/plan.go +++ b/internal/python/plan.go @@ -470,7 +470,7 @@ func determineInstallCmd(ctx *pythonPlanContext) string { } func determineAptDependencies(ctx *pythonPlanContext) []string { - deps := []string{"build-essential"} + deps := []string{"build-essential", "pkg-config"} // If we need to host static files, we need nginx. staticPath := DetermineStaticInfo(ctx) diff --git a/pkg/types/plan.go b/pkg/types/plan.go index 118e59e6..b9eb9a27 100644 --- a/pkg/types/plan.go +++ b/pkg/types/plan.go @@ -67,6 +67,7 @@ const ( NodeProjectFrameworkSolidStart NodeProjectFramework = "solid-start" NodeProjectFrameworkSolidStartNode NodeProjectFramework = "solid-start-node" NodeProjectFrameworkSolidStartStatic NodeProjectFramework = "solid-start-static" + NodeProjectFrameworkNueJs NodeProjectFramework = "nuejs" ) //revive:enable:exported