fix(core): update
This commit is contained in:
parent
701cee573b
commit
1b73df64f5
@ -8,7 +8,7 @@ import { KeyValueStore } from '@pushrocks/npmextra';
|
|||||||
export interface INpmciOptions {
|
export interface INpmciOptions {
|
||||||
npmGlobalTools: string[];
|
npmGlobalTools: string[];
|
||||||
npmAccessLevel?: 'private' | 'public';
|
npmAccessLevel?: 'private' | 'public';
|
||||||
npmRegistryUrl?: string;
|
npmRegistryUrl: string;
|
||||||
dockerRegistryRepoMap: any;
|
dockerRegistryRepoMap: any;
|
||||||
dockerBuildargEnvMap: any;
|
dockerBuildargEnvMap: any;
|
||||||
}
|
}
|
||||||
@ -21,6 +21,8 @@ const npmciNpmextra = new plugins.npmextra.Npmextra(paths.cwd);
|
|||||||
const defaultConfig: INpmciOptions = {
|
const defaultConfig: INpmciOptions = {
|
||||||
npmGlobalTools: [],
|
npmGlobalTools: [],
|
||||||
dockerRegistryRepoMap: {},
|
dockerRegistryRepoMap: {},
|
||||||
|
npmAccessLevel: 'private',
|
||||||
|
npmRegistryUrl: 'registry.npmjs.org',
|
||||||
dockerBuildargEnvMap: {}
|
dockerBuildargEnvMap: {}
|
||||||
};
|
};
|
||||||
export let configObject = npmciNpmextra.dataFor<INpmciOptions>('npmci', defaultConfig);
|
export let configObject = npmciNpmextra.dataFor<INpmciOptions>('npmci', defaultConfig);
|
||||||
|
Loading…
Reference in New Issue
Block a user