@verdaccio/types 11.0.0-6-next.19 → 11.0.0-6-next.20
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/CHANGELOG.md +6 -0
- package/build/configuration.d.ts +3 -2
- package/build/plugins/index.d.ts +1 -1
- package/build/plugins/storage.d.ts +2 -2
- package/build/types.d.ts +5 -5
- package/package.json +1 -1
- package/src/configuration.ts +3 -2
- package/src/plugins/index.ts +1 -1
- package/src/plugins/storage.ts +2 -2
- package/src/types.ts +5 -5
package/CHANGELOG.md
CHANGED
package/build/configuration.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PackageAccess, PackageList } from '
|
|
1
|
+
import { PackageAccess, PackageList } from '@verdaccio/types/src/manifest';
|
|
2
2
|
export type TypeToken = 'Bearer' | 'Basic';
|
|
3
3
|
export interface Logger {
|
|
4
4
|
child: (conf: any) => any;
|
|
@@ -205,6 +205,7 @@ export interface ConfigYaml {
|
|
|
205
205
|
store?: any;
|
|
206
206
|
listen?: ListenAddress;
|
|
207
207
|
https?: HttpsConf;
|
|
208
|
+
user_agent?: string;
|
|
208
209
|
http_proxy?: string;
|
|
209
210
|
plugins?: string | void | null;
|
|
210
211
|
https_proxy?: string;
|
|
@@ -217,6 +218,7 @@ export interface ConfigYaml {
|
|
|
217
218
|
url_prefix?: string;
|
|
218
219
|
server?: ServerSettingsConf;
|
|
219
220
|
flags?: FlagsConfig;
|
|
221
|
+
userRateLimit?: RateLimit;
|
|
220
222
|
config_path?: string;
|
|
221
223
|
configPath?: string;
|
|
222
224
|
}
|
|
@@ -226,7 +228,6 @@ export interface ConfigYaml {
|
|
|
226
228
|
* @extends {ConfigYaml}
|
|
227
229
|
*/
|
|
228
230
|
export interface Config extends Omit<ConfigYaml, 'packages' | 'security' | 'configPath'> {
|
|
229
|
-
user_agent: string;
|
|
230
231
|
server_id: string;
|
|
231
232
|
secret: string;
|
|
232
233
|
configPath: string;
|
package/build/plugins/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from '
|
|
1
|
+
export * from '@verdaccio/types/src/plugins/storage';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Callback, CallbackAction } from '
|
|
2
|
-
import { Manifest, Token } from '
|
|
1
|
+
import { Callback, CallbackAction } from '@verdaccio/types/src/commons';
|
|
2
|
+
import { Manifest, Token } from '@verdaccio/types/src/manifest';
|
|
3
3
|
export type StorageList = string[];
|
|
4
4
|
export interface ILocalStorage {
|
|
5
5
|
add(name: string): void;
|
package/build/types.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * from '
|
|
2
|
-
export * from '
|
|
3
|
-
export * from '
|
|
4
|
-
export * from '
|
|
5
|
-
export * from '
|
|
1
|
+
export * from '@verdaccio/types/src/plugins';
|
|
2
|
+
export * from '@verdaccio/types/src/manifest';
|
|
3
|
+
export * from '@verdaccio/types/src/search';
|
|
4
|
+
export * from '@verdaccio/types/src/commons';
|
|
5
|
+
export * from '@verdaccio/types/src/configuration';
|
package/package.json
CHANGED
package/src/configuration.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PackageAccess, PackageList } from '
|
|
1
|
+
import { PackageAccess, PackageList } from '@verdaccio/types/src/manifest';
|
|
2
2
|
|
|
3
3
|
export type TypeToken = 'Bearer' | 'Basic';
|
|
4
4
|
|
|
@@ -252,6 +252,7 @@ export interface ConfigYaml {
|
|
|
252
252
|
store?: any;
|
|
253
253
|
listen?: ListenAddress;
|
|
254
254
|
https?: HttpsConf;
|
|
255
|
+
user_agent?: string;
|
|
255
256
|
http_proxy?: string;
|
|
256
257
|
plugins?: string | void | null;
|
|
257
258
|
https_proxy?: string;
|
|
@@ -264,6 +265,7 @@ export interface ConfigYaml {
|
|
|
264
265
|
url_prefix?: string;
|
|
265
266
|
server?: ServerSettingsConf;
|
|
266
267
|
flags?: FlagsConfig;
|
|
268
|
+
userRateLimit?: RateLimit;
|
|
267
269
|
// internal objects, added by internal yaml to JS config parser
|
|
268
270
|
// @deprecated use configPath instead
|
|
269
271
|
config_path?: string;
|
|
@@ -277,7 +279,6 @@ export interface ConfigYaml {
|
|
|
277
279
|
* @extends {ConfigYaml}
|
|
278
280
|
*/
|
|
279
281
|
export interface Config extends Omit<ConfigYaml, 'packages' | 'security' | 'configPath'> {
|
|
280
|
-
user_agent: string;
|
|
281
282
|
server_id: string;
|
|
282
283
|
secret: string;
|
|
283
284
|
// save the configuration file path, it's fails without thi configPath
|
package/src/plugins/index.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from '
|
|
1
|
+
export * from '@verdaccio/types/src/plugins/storage';
|
package/src/plugins/storage.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Callback, CallbackAction } from '
|
|
2
|
-
import { Manifest, Token } from '
|
|
1
|
+
import { Callback, CallbackAction } from '@verdaccio/types/src/commons';
|
|
2
|
+
import { Manifest, Token } from '@verdaccio/types/src/manifest';
|
|
3
3
|
|
|
4
4
|
export type StorageList = string[];
|
|
5
5
|
|
package/src/types.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * from '
|
|
2
|
-
export * from '
|
|
3
|
-
export * from '
|
|
4
|
-
export * from '
|
|
5
|
-
export * from '
|
|
1
|
+
export * from '@verdaccio/types/src/plugins';
|
|
2
|
+
export * from '@verdaccio/types/src/manifest';
|
|
3
|
+
export * from '@verdaccio/types/src/search';
|
|
4
|
+
export * from '@verdaccio/types/src/commons';
|
|
5
|
+
export * from '@verdaccio/types/src/configuration';
|