@verdaccio/types 13.0.0-next-8.4 → 13.0.0-next-8.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@verdaccio/types",
3
- "version": "13.0.0-next-8.4",
3
+ "version": "13.0.0-next-8.5",
4
4
  "description": "Verdaccio Type Definitions",
5
5
  "keywords": [
6
6
  "private",
@@ -77,7 +77,7 @@ export type FlagsConfig = {
77
77
  changePassword?: boolean;
78
78
  };
79
79
 
80
- export type PackageManagers = 'pnpm' | 'yarn' | 'npm';
80
+ export type PackageManagers = 'pnpm' | 'yarn' | 'npm' | string;
81
81
 
82
82
  // FUTURE: WebConf and TemplateUIOptions should be merged .
83
83
  export type CommonWebConf = {
@@ -101,7 +101,7 @@ export type CommonWebConf = {
101
101
  showDownloadTarball?: boolean;
102
102
  showUplinks?: boolean;
103
103
  hideDeprecatedVersions?: boolean;
104
- primaryColor: string;
104
+ primaryColor?: string;
105
105
  showRaw?: boolean;
106
106
  };
107
107
 
@@ -116,7 +116,7 @@ export type TemplateUIOptions = {
116
116
  basename?: string;
117
117
  base: string;
118
118
  version?: string;
119
- flags: FlagsConfig;
119
+ flags?: FlagsConfig;
120
120
  } & CommonWebConf;
121
121
 
122
122
  /**
@@ -126,10 +126,14 @@ export type WebConf = {
126
126
  // @deprecated use primaryColor
127
127
  primary_color?: string;
128
128
  primaryColor?: string;
129
+ // @deprecated use enabled
129
130
  enable?: boolean;
131
+ enabled?: boolean;
130
132
  scriptsHead?: string[];
131
133
  scriptsBodyAfter?: string[];
134
+ // @deprecated use scriptsBodyBefore
132
135
  scriptsbodyBefore?: string[];
136
+ scriptsBodyBefore?: string[];
133
137
  metaScripts?: string[];
134
138
  bodyBefore?: string[];
135
139
  bodyAfter?: string[];