@verdaccio/types 11.0.0-6-next.18 → 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 CHANGED
@@ -1,5 +1,17 @@
1
1
  # Change Log
2
2
 
3
+ ## 11.0.0-6-next.20
4
+
5
+ ### Minor Changes
6
+
7
+ - 45c03819: refactor: render html middleware
8
+
9
+ ## 11.0.0-6-next.19
10
+
11
+ ### Minor Changes
12
+
13
+ - ef88da3b: feat: improve support for fs promises older nodejs
14
+
3
15
  ## 11.0.0-6-next.18
4
16
 
5
17
  ### Major Changes
@@ -1,4 +1,4 @@
1
- import { PackageAccess, PackageList } from './manifest';
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;
@@ -1 +1 @@
1
- export * from './storage';
1
+ export * from '@verdaccio/types/src/plugins/storage';
@@ -1,5 +1,5 @@
1
- import { Callback, CallbackAction } from '../commons';
2
- import { Manifest, Token } from '../manifest';
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 './plugins';
2
- export * from './manifest';
3
- export * from './search';
4
- export * from './commons';
5
- export * from './configuration';
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@verdaccio/types",
3
- "version": "11.0.0-6-next.18",
3
+ "version": "11.0.0-6-next.20",
4
4
  "description": "verdaccio types definitions",
5
5
  "keywords": [
6
6
  "private",
@@ -17,8 +17,7 @@
17
17
  "license": "MIT",
18
18
  "homepage": "https://verdaccio.org",
19
19
  "engines": {
20
- "node": ">=14",
21
- "npm": ">=6"
20
+ "node": ">=12"
22
21
  },
23
22
  "repository": {
24
23
  "type": "https",
@@ -1,4 +1,4 @@
1
- import { PackageAccess, PackageList } from './manifest';
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
@@ -1 +1 @@
1
- export * from './storage';
1
+ export * from '@verdaccio/types/src/plugins/storage';
@@ -1,5 +1,5 @@
1
- import { Callback, CallbackAction } from '../commons';
2
- import { Manifest, Token } from '../manifest';
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 './plugins';
2
- export * from './manifest';
3
- export * from './search';
4
- export * from './commons';
5
- export * from './configuration';
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';