feat(core): Allow overriding npm registry for community packages (#10325)
This commit is contained in:
committed by
GitHub
parent
838f13337f
commit
33a2703429
@@ -26,6 +26,10 @@ class CommunityPackagesConfig {
|
||||
@Env('N8N_COMMUNITY_PACKAGES_ENABLED')
|
||||
enabled: boolean = true;
|
||||
|
||||
/** NPM registry URL to pull community packages from */
|
||||
@Env('N8N_COMMUNITY_PACKAGES_REGISTRY')
|
||||
registry: string = 'https://registry.npmjs.org';
|
||||
|
||||
/** Whether to reinstall any missing community packages */
|
||||
@Env('N8N_REINSTALL_MISSING_PACKAGES')
|
||||
reinstallMissing: boolean = false;
|
||||
|
||||
Reference in New Issue
Block a user