mirror of
https://github.com/safedep/pmg.git
synced 2026-08-03 07:24:09 +02:00
refactor: Replace reflection-based Viper defaults with embedded template
Load the embedded config template as the Viper base so all keys are registered upfront, enabling PMG_* env vars to work regardless of whether a key exists in the user's config file.
This commit is contained in:
@@ -55,9 +55,7 @@ proxy_install_only: false
|
||||
#
|
||||
# The purl is the package identifier and the reason is the reason for trusting the package.
|
||||
# PURL specification: https://github.com/package-url/purl-spec
|
||||
trusted_packages:
|
||||
- purl: pkg:npm/@safedep/pmg
|
||||
reason: "PMG is a trusted package for PMG"
|
||||
trusted_packages: []
|
||||
|
||||
# Sandbox configuration (EXPERIMENTAL)
|
||||
# When enabled, package managers run in sandbox environments with restricted
|
||||
|
||||
Reference in New Issue
Block a user