New version

This commit is contained in:
2024-11-06 10:43:05 +01:00
parent 79afdd39b8
commit 48b15de4c5
18 changed files with 1006 additions and 70 deletions

View File

@ -68,6 +68,15 @@ type options struct {
ProductionBuildOptions struct {
CmdPostBuild string `yaml:"cmdPostBuild"`
} `yaml:"productionBuildOptions"`
NpmProxy struct {
Overrides []NpmProxyOverride
} `yaml:"npm_proxy"`
}
type NpmProxyOverride struct {
Namespace string `yaml:"namespace"`
Upstream string `yaml:"upstream"`
PackageRoot string `yaml:"packageRoot"`
}
func readCfg(cfgPath string) []options {