@verdaccio/test-helper 4.0.0-next-8.7
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/.babelrc +3 -0
- package/.eslintignore +5 -0
- package/CHANGELOG.md +563 -0
- package/LICENSE +21 -0
- package/README.md +80 -0
- package/build/actions.d.ts +2 -0
- package/build/actions.js +26 -0
- package/build/actions.js.map +1 -0
- package/build/addNewVersion.d.ts +2 -0
- package/build/addNewVersion.js +72 -0
- package/build/addNewVersion.js.map +1 -0
- package/build/generateLocalPackageMetadata.d.ts +2 -0
- package/build/generateLocalPackageMetadata.js +68 -0
- package/build/generateLocalPackageMetadata.js.map +1 -0
- package/build/generatePackageMetadata.d.ts +3 -0
- package/build/generatePackageMetadata.js +64 -0
- package/build/generatePackageMetadata.js.map +1 -0
- package/build/generatePublishNewVersionManifest.d.ts +16 -0
- package/build/generatePublishNewVersionManifest.js +72 -0
- package/build/generatePublishNewVersionManifest.js.map +1 -0
- package/build/generateRemotePackageMetadata.d.ts +2 -0
- package/build/generateRemotePackageMetadata.js +81 -0
- package/build/generateRemotePackageMetadata.js.map +1 -0
- package/build/generateUnPublishPackageMetadata.d.ts +2 -0
- package/build/generateUnPublishPackageMetadata.js +81 -0
- package/build/generateUnPublishPackageMetadata.js.map +1 -0
- package/build/getDeprecatedPackageMetadata.d.ts +3 -0
- package/build/getDeprecatedPackageMetadata.js +18 -0
- package/build/getDeprecatedPackageMetadata.js.map +1 -0
- package/build/index.d.ts +9 -0
- package/build/index.js +69 -0
- package/build/index.js.map +1 -0
- package/build/initializeServer.d.ts +2 -0
- package/build/initializeServer.js +64 -0
- package/build/initializeServer.js.map +1 -0
- package/build/types.d.ts +3 -0
- package/build/types.js +6 -0
- package/build/types.js.map +1 -0
- package/build/utils.d.ts +1 -0
- package/build/utils.js +16 -0
- package/build/utils.js.map +1 -0
- package/package.json +32 -0
- package/src/actions.ts +27 -0
- package/src/addNewVersion.ts +60 -0
- package/src/generateLocalPackageMetadata.ts +67 -0
- package/src/generatePackageMetadata.ts +73 -0
- package/src/generatePublishNewVersionManifest.ts +76 -0
- package/src/generateRemotePackageMetadata.ts +86 -0
- package/src/generateUnPublishPackageMetadata.ts +89 -0
- package/src/getDeprecatedPackageMetadata.ts +19 -0
- package/src/index.ts +9 -0
- package/src/initializeServer.ts +61 -0
- package/src/types.ts +3 -0
- package/src/utils.ts +8 -0
- package/tests/generateUnPublishPackageMetadata.ts.spec.ts +98 -0
- package/tests/getDeprecatedPackageMetadata.spec.ts +40 -0
- package/tests/metadata.spec.ts +119 -0
- package/tests/utils.spec.ts +19 -0
- package/tsconfig.build.json +10 -0
- package/tsconfig.json +27 -0
- package/types/patch.d.ts +18 -0
package/.babelrc
ADDED
package/.eslintignore
ADDED
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,563 @@
|
|
|
1
|
+
# Change Log
|
|
2
|
+
|
|
3
|
+
## 4.0.0-next-8.7
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 5c499fa: chore: publish @verdaccio/test-helper
|
|
8
|
+
- Updated dependencies [b671a38]
|
|
9
|
+
- Updated dependencies [a02514b]
|
|
10
|
+
- @verdaccio/config@8.0.0-next-8.23
|
|
11
|
+
- @verdaccio/types@13.0.0-next-8.8
|
|
12
|
+
- @verdaccio/auth@8.0.0-next-8.23
|
|
13
|
+
- @verdaccio/middleware@8.0.0-next-8.23
|
|
14
|
+
- @verdaccio/core@8.0.0-next-8.23
|
|
15
|
+
- @verdaccio/logger@8.0.0-next-8.23
|
|
16
|
+
|
|
17
|
+
## 4.0.0-next-8.6
|
|
18
|
+
|
|
19
|
+
### Patch Changes
|
|
20
|
+
|
|
21
|
+
- 08e1b21: chore(deps): built-in node imports
|
|
22
|
+
|
|
23
|
+
## 4.0.0-next-8.5
|
|
24
|
+
|
|
25
|
+
### Patch Changes
|
|
26
|
+
|
|
27
|
+
- 72c3cbb: chore(utils): replace @verdaccio/utils dependency with core
|
|
28
|
+
|
|
29
|
+
## 4.0.0-next-8.4
|
|
30
|
+
|
|
31
|
+
### Patch Changes
|
|
32
|
+
|
|
33
|
+
- e4a1539: chore: package.json maintenance
|
|
34
|
+
- 0607e80: chore: update readme badges and license files
|
|
35
|
+
|
|
36
|
+
## 4.0.0-next-8.3
|
|
37
|
+
|
|
38
|
+
### Patch Changes
|
|
39
|
+
|
|
40
|
+
- 139861e: fix: crashes with path-to-regexp v0.1.12 express
|
|
41
|
+
|
|
42
|
+
## 4.0.0-next-8.2
|
|
43
|
+
|
|
44
|
+
### Patch Changes
|
|
45
|
+
|
|
46
|
+
- a049bba: chore(tests): temp folder naming
|
|
47
|
+
|
|
48
|
+
## 4.0.0-next-8.1
|
|
49
|
+
|
|
50
|
+
### Patch Changes
|
|
51
|
+
|
|
52
|
+
- e93d6a3: chore: auth package requires logger as parameter
|
|
53
|
+
|
|
54
|
+
## 4.0.0-next-8.0
|
|
55
|
+
|
|
56
|
+
### Major Changes
|
|
57
|
+
|
|
58
|
+
- chore: move v7 next to v8 next
|
|
59
|
+
|
|
60
|
+
## 3.0.0
|
|
61
|
+
|
|
62
|
+
### Major Changes
|
|
63
|
+
|
|
64
|
+
- 47f61c6: feat!: bump to v7
|
|
65
|
+
|
|
66
|
+
### Minor Changes
|
|
67
|
+
|
|
68
|
+
- f047cc8: refactor: auth with legacy sign support
|
|
69
|
+
|
|
70
|
+
### Patch Changes
|
|
71
|
+
|
|
72
|
+
- c807f0c: fix: store readme when publishing locally
|
|
73
|
+
|
|
74
|
+
## 3.0.0-next-7.2
|
|
75
|
+
|
|
76
|
+
### Patch Changes
|
|
77
|
+
|
|
78
|
+
- c807f0c: fix: store readme when publishing locally
|
|
79
|
+
|
|
80
|
+
## 3.0.0-next.1
|
|
81
|
+
|
|
82
|
+
### Minor Changes
|
|
83
|
+
|
|
84
|
+
- f047cc8: refactor: auth with legacy sign support
|
|
85
|
+
|
|
86
|
+
## 3.0.0-next.0
|
|
87
|
+
|
|
88
|
+
### Major Changes
|
|
89
|
+
|
|
90
|
+
- feat!: bump to v7
|
|
91
|
+
|
|
92
|
+
## 2.0.0
|
|
93
|
+
|
|
94
|
+
### Major Changes
|
|
95
|
+
|
|
96
|
+
- 9fc2e7961: feat(plugins): improve plugin loader
|
|
97
|
+
|
|
98
|
+
### Changes
|
|
99
|
+
|
|
100
|
+
- Add scope plugin support to 6.x https://github.com/verdaccio/verdaccio/pull/3227
|
|
101
|
+
- Avoid config collisions https://github.com/verdaccio/verdaccio/issues/928
|
|
102
|
+
- https://github.com/verdaccio/verdaccio/issues/1394
|
|
103
|
+
- `config.plugins` plugin path validations
|
|
104
|
+
- Updated algorithm for plugin loader.
|
|
105
|
+
- improved documentation (included dev)
|
|
106
|
+
|
|
107
|
+
## Features
|
|
108
|
+
|
|
109
|
+
- Add scope plugin support to 6.x https://github.com/verdaccio/verdaccio/pull/3227
|
|
110
|
+
- Custom prefix:
|
|
111
|
+
|
|
112
|
+
```
|
|
113
|
+
// config.yaml
|
|
114
|
+
server:
|
|
115
|
+
pluginPrefix: mycompany
|
|
116
|
+
middleware:
|
|
117
|
+
audit:
|
|
118
|
+
foo: 1
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
This configuration will look up for `mycompany-audit` instead `Verdaccio-audit`.
|
|
122
|
+
|
|
123
|
+
## Breaking Changes
|
|
124
|
+
|
|
125
|
+
### sinopia plugins
|
|
126
|
+
|
|
127
|
+
- `sinopia` fallback support is removed, but can be restored using `pluginPrefix`
|
|
128
|
+
|
|
129
|
+
### plugin filter
|
|
130
|
+
|
|
131
|
+
- method rename `filter_metadata`->`filterMetadata`
|
|
132
|
+
|
|
133
|
+
### Plugin constructor does not merge configs anymore https://github.com/verdaccio/verdaccio/issues/928
|
|
134
|
+
|
|
135
|
+
The plugin receives as first argument `config`, which represents the config of the plugin. Example:
|
|
136
|
+
|
|
137
|
+
```
|
|
138
|
+
// config.yaml
|
|
139
|
+
auth:
|
|
140
|
+
plugin:
|
|
141
|
+
foo: 1
|
|
142
|
+
bar: 2
|
|
143
|
+
|
|
144
|
+
export class Plugin<T> {
|
|
145
|
+
public constructor(config: T, options: PluginOptions) {
|
|
146
|
+
console.log(config);
|
|
147
|
+
// {foo:1, bar: 2}
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
```
|
|
151
|
+
|
|
152
|
+
### Minor Changes
|
|
153
|
+
|
|
154
|
+
- dc571aabd: feat: add forceEnhancedLegacySignature
|
|
155
|
+
- ce013d2fc: refactor: npm star command support reimplemented
|
|
156
|
+
- 5167bb528: feat: ui search support for remote, local and private packages
|
|
157
|
+
|
|
158
|
+
The command `npm search` search globally and return all matches, with this improvement the user interface
|
|
159
|
+
is powered with the same capabilities.
|
|
160
|
+
|
|
161
|
+
The UI also tag where is the origin the package with a tag, also provide the latest version and description of the package.
|
|
162
|
+
|
|
163
|
+
- 37274e4c8: feat: implement abbreviated manifest
|
|
164
|
+
|
|
165
|
+
Enable abbreviated manifest data by adding the header:
|
|
166
|
+
|
|
167
|
+
```
|
|
168
|
+
curl -H "Accept: application/vnd.npm.install-v1+json" https://registry.npmjs.org/verdaccio
|
|
169
|
+
```
|
|
170
|
+
|
|
171
|
+
It returns a filtered manifest, additionally includes the [time](https://github.com/pnpm/rfcs/pull/2) field by request.
|
|
172
|
+
|
|
173
|
+
Current support for packages managers:
|
|
174
|
+
|
|
175
|
+
- npm: yes
|
|
176
|
+
- pnpm: yes
|
|
177
|
+
- yarn classic: yes
|
|
178
|
+
- yarn modern (+2.x): [no](https://github.com/yarnpkg/berry/pull/3981#issuecomment-1076566096)
|
|
179
|
+
|
|
180
|
+
https://github.com/npm/registry/blob/master/docs/responses/package-metadata.md#abbreviated-metadata-format
|
|
181
|
+
|
|
182
|
+
### Patch Changes
|
|
183
|
+
|
|
184
|
+
- 9943e2b18: fix: extract logger from middleware
|
|
185
|
+
- 351aeeaa8: fix(deps): @verdaccio/utils should be a prod dep of local-storage
|
|
186
|
+
- a828a5f6c: fix: #3174 set correctly ui values to html render
|
|
187
|
+
- b849128de: fix: handle upload scoped tarball
|
|
188
|
+
|
|
189
|
+
## 2.0.0-6-next.8
|
|
190
|
+
|
|
191
|
+
### Minor Changes
|
|
192
|
+
|
|
193
|
+
- dc571aab: feat: add forceEnhancedLegacySignature
|
|
194
|
+
|
|
195
|
+
## 2.0.0-6-next.7
|
|
196
|
+
|
|
197
|
+
### Patch Changes
|
|
198
|
+
|
|
199
|
+
- 9943e2b1: fix: extract logger from middleware
|
|
200
|
+
|
|
201
|
+
## 2.0.0-6-next.6
|
|
202
|
+
|
|
203
|
+
### Minor Changes
|
|
204
|
+
|
|
205
|
+
- ce013d2f: refactor: npm star command support reimplemented
|
|
206
|
+
|
|
207
|
+
## 2.0.0-6-next.5
|
|
208
|
+
|
|
209
|
+
### Major Changes
|
|
210
|
+
|
|
211
|
+
- 9fc2e796: feat(plugins): improve plugin loader
|
|
212
|
+
|
|
213
|
+
### Changes
|
|
214
|
+
|
|
215
|
+
- Add scope plugin support to 6.x https://github.com/verdaccio/verdaccio/pull/3227
|
|
216
|
+
- Avoid config collisions https://github.com/verdaccio/verdaccio/issues/928
|
|
217
|
+
- https://github.com/verdaccio/verdaccio/issues/1394
|
|
218
|
+
- `config.plugins` plugin path validations
|
|
219
|
+
- Updated algorithm for plugin loader.
|
|
220
|
+
- improved documentation (included dev)
|
|
221
|
+
|
|
222
|
+
## Features
|
|
223
|
+
|
|
224
|
+
- Add scope plugin support to 6.x https://github.com/verdaccio/verdaccio/pull/3227
|
|
225
|
+
- Custom prefix:
|
|
226
|
+
|
|
227
|
+
```
|
|
228
|
+
// config.yaml
|
|
229
|
+
server:
|
|
230
|
+
pluginPrefix: mycompany
|
|
231
|
+
middleware:
|
|
232
|
+
audit:
|
|
233
|
+
foo: 1
|
|
234
|
+
```
|
|
235
|
+
|
|
236
|
+
This configuration will look up for `mycompany-audit` instead `Verdaccio-audit`.
|
|
237
|
+
|
|
238
|
+
## Breaking Changes
|
|
239
|
+
|
|
240
|
+
### sinopia plugins
|
|
241
|
+
|
|
242
|
+
- `sinopia` fallback support is removed, but can be restored using `pluginPrefix`
|
|
243
|
+
|
|
244
|
+
### plugin filter
|
|
245
|
+
|
|
246
|
+
- method rename `filter_metadata`->`filterMetadata`
|
|
247
|
+
|
|
248
|
+
### Plugin constructor does not merge configs anymore https://github.com/verdaccio/verdaccio/issues/928
|
|
249
|
+
|
|
250
|
+
The plugin receives as first argument `config`, which represents the config of the plugin. Example:
|
|
251
|
+
|
|
252
|
+
```
|
|
253
|
+
// config.yaml
|
|
254
|
+
auth:
|
|
255
|
+
plugin:
|
|
256
|
+
foo: 1
|
|
257
|
+
bar: 2
|
|
258
|
+
|
|
259
|
+
export class Plugin<T> {
|
|
260
|
+
public constructor(config: T, options: PluginOptions) {
|
|
261
|
+
console.log(config);
|
|
262
|
+
// {foo:1, bar: 2}
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
```
|
|
266
|
+
|
|
267
|
+
## 1.1.0-6-next.4
|
|
268
|
+
|
|
269
|
+
### Patch Changes
|
|
270
|
+
|
|
271
|
+
- b849128d: fix: handle upload scoped tarball
|
|
272
|
+
|
|
273
|
+
## 1.1.0-6-next.3
|
|
274
|
+
|
|
275
|
+
### Patch Changes
|
|
276
|
+
|
|
277
|
+
- 351aeeaa: fix(deps): @verdaccio/utils should be a prod dep of local-storage
|
|
278
|
+
|
|
279
|
+
## 1.1.0-6-next.2
|
|
280
|
+
|
|
281
|
+
### Minor Changes
|
|
282
|
+
|
|
283
|
+
- 37274e4c: feat: implement abbreviated manifest
|
|
284
|
+
|
|
285
|
+
Enable abbreviated manifest data by adding the header:
|
|
286
|
+
|
|
287
|
+
```
|
|
288
|
+
curl -H "Accept: application/vnd.npm.install-v1+json" https://registry.npmjs.org/verdaccio
|
|
289
|
+
```
|
|
290
|
+
|
|
291
|
+
It returns a filtered manifest, additionally includes the [time](https://github.com/pnpm/rfcs/pull/2) field by request.
|
|
292
|
+
|
|
293
|
+
Current support for packages managers:
|
|
294
|
+
|
|
295
|
+
- npm: yes
|
|
296
|
+
- pnpm: yes
|
|
297
|
+
- yarn classic: yes
|
|
298
|
+
- yarn modern (+2.x): [no](https://github.com/yarnpkg/berry/pull/3981#issuecomment-1076566096)
|
|
299
|
+
|
|
300
|
+
https://github.com/npm/registry/blob/master/docs/responses/package-metadata.md#abbreviated-metadata-format
|
|
301
|
+
|
|
302
|
+
## 1.1.0-6-next.1
|
|
303
|
+
|
|
304
|
+
### Patch Changes
|
|
305
|
+
|
|
306
|
+
- a828a5f6: fix: #3174 set correctly ui values to html render
|
|
307
|
+
|
|
308
|
+
## 1.1.0-6-next.0
|
|
309
|
+
|
|
310
|
+
### Minor Changes
|
|
311
|
+
|
|
312
|
+
- 5167bb52: feat: ui search support for remote, local and private packages
|
|
313
|
+
|
|
314
|
+
The command `npm search` search globally and return all matches, with this improvement the user interface
|
|
315
|
+
is powered with the same capabilities.
|
|
316
|
+
|
|
317
|
+
The UI also tag where is the origin the package with a tag, also provide the latest version and description of the package.
|
|
318
|
+
|
|
319
|
+
## 11.0.0-6-next.4
|
|
320
|
+
|
|
321
|
+
### Major Changes
|
|
322
|
+
|
|
323
|
+
- 459b6fa7: refactor: search v1 endpoint and local-database
|
|
324
|
+
|
|
325
|
+
- refactor search `api v1` endpoint, improve performance
|
|
326
|
+
- remove usage of `async` dependency https://github.com/verdaccio/verdaccio/issues/1225
|
|
327
|
+
- refactor method storage class
|
|
328
|
+
- create new module `core` to reduce the ammount of modules with utilities
|
|
329
|
+
- use `undici` instead `node-fetch`
|
|
330
|
+
- use `fastify` instead `express` for functional test
|
|
331
|
+
|
|
332
|
+
### Breaking changes
|
|
333
|
+
|
|
334
|
+
- plugin storage API changes
|
|
335
|
+
- remove old search endpoint (return 404)
|
|
336
|
+
- filter local private packages at plugin level
|
|
337
|
+
|
|
338
|
+
The storage api changes for methods `get`, `add`, `remove` as promise base. The `search` methods also changes and recieves a `query` object that contains all query params from the client.
|
|
339
|
+
|
|
340
|
+
```ts
|
|
341
|
+
export interface IPluginStorage<T> extends IPlugin {
|
|
342
|
+
add(name: string): Promise<void>;
|
|
343
|
+
remove(name: string): Promise<void>;
|
|
344
|
+
get(): Promise<any>;
|
|
345
|
+
init(): Promise<void>;
|
|
346
|
+
getSecret(): Promise<string>;
|
|
347
|
+
setSecret(secret: string): Promise<any>;
|
|
348
|
+
getPackageStorage(packageInfo: string): IPackageStorage;
|
|
349
|
+
search(query: searchUtils.SearchQuery): Promise<searchUtils.SearchItem[]>;
|
|
350
|
+
saveToken(token: Token): Promise<any>;
|
|
351
|
+
deleteToken(user: string, tokenKey: string): Promise<any>;
|
|
352
|
+
readTokens(filter: TokenFilter): Promise<Token[]>;
|
|
353
|
+
}
|
|
354
|
+
```
|
|
355
|
+
|
|
356
|
+
## 10.0.0-alpha.3
|
|
357
|
+
|
|
358
|
+
### Patch Changes
|
|
359
|
+
|
|
360
|
+
- fecbb9be: chore: add release step to private regisry on merge changeset pr
|
|
361
|
+
|
|
362
|
+
## 10.0.0-alpha.2
|
|
363
|
+
|
|
364
|
+
### Minor Changes
|
|
365
|
+
|
|
366
|
+
- 54c58d1e: feat: add server rate limit protection to all request
|
|
367
|
+
|
|
368
|
+
To modify custom values, use the server settings property.
|
|
369
|
+
|
|
370
|
+
```markdown
|
|
371
|
+
server:
|
|
372
|
+
|
|
373
|
+
## https://www.npmjs.com/package/express-rate-limit#configuration-options
|
|
374
|
+
|
|
375
|
+
rateLimit:
|
|
376
|
+
windowMs: 1000
|
|
377
|
+
max: 10000
|
|
378
|
+
```
|
|
379
|
+
|
|
380
|
+
The values are intended to be high, if you want to improve security of your server consider
|
|
381
|
+
using different values.
|
|
382
|
+
|
|
383
|
+
## 10.0.0-alpha.1
|
|
384
|
+
|
|
385
|
+
### Major Changes
|
|
386
|
+
|
|
387
|
+
- d87fa026: feat!: experiments config renamed to flags
|
|
388
|
+
|
|
389
|
+
- The `experiments` configuration is renamed to `flags`. The functionality is exactly the same.
|
|
390
|
+
|
|
391
|
+
```js
|
|
392
|
+
flags: token: false;
|
|
393
|
+
search: false;
|
|
394
|
+
```
|
|
395
|
+
|
|
396
|
+
- The `self_path` property from the config file is being removed in favor of `config_file` full path.
|
|
397
|
+
- Refactor `config` module, better types and utilities
|
|
398
|
+
|
|
399
|
+
- da1ee9c8: - Replace signature handler for legacy tokens by removing deprecated crypto.createDecipher by createCipheriv
|
|
400
|
+
|
|
401
|
+
- Introduce environment variables for legacy tokens
|
|
402
|
+
|
|
403
|
+
### Code Improvements
|
|
404
|
+
|
|
405
|
+
- Add debug library for improve developer experience
|
|
406
|
+
|
|
407
|
+
### Breaking change
|
|
408
|
+
|
|
409
|
+
- The new signature invalidates all previous tokens generated by Verdaccio 4 or previous versions.
|
|
410
|
+
- The secret key must have 32 characters long.
|
|
411
|
+
|
|
412
|
+
### New environment variables
|
|
413
|
+
|
|
414
|
+
- `VERDACCIO_LEGACY_ALGORITHM`: Allows to define the specific algorithm for the token signature which by default is `aes-256-ctr`
|
|
415
|
+
- `VERDACCIO_LEGACY_ENCRYPTION_KEY`: By default, the token stores in the database, but using this variable allows to get it from memory
|
|
416
|
+
|
|
417
|
+
### Minor Changes
|
|
418
|
+
|
|
419
|
+
- 26b494cb: feat: add typescript project references settings
|
|
420
|
+
|
|
421
|
+
Reading https://ebaytech.berlin/optimizing-multi-package-apps-with-typescript-project-references-d5c57a3b4440 I realized I can use project references to solve the issue to pre-compile modules on develop mode.
|
|
422
|
+
|
|
423
|
+
It allows to navigate (IDE) trough the packages without need compile the packages.
|
|
424
|
+
|
|
425
|
+
Add two `tsconfig`, one using the previous existing configuration that is able to produce declaration files (`tsconfig.build`) and a new one `tsconfig` which is enables [_projects references_](https://www.typescriptlang.org/docs/handbook/project-references.html).
|
|
426
|
+
|
|
427
|
+
### Patch Changes
|
|
428
|
+
|
|
429
|
+
- b57b4338: Enable prerelease mode with **changesets**
|
|
430
|
+
- 31af0164: ESLint Warnings Fixed
|
|
431
|
+
|
|
432
|
+
Related to issue #1461
|
|
433
|
+
|
|
434
|
+
- max-len: most of the sensible max-len errors are fixed
|
|
435
|
+
- no-unused-vars: most of these types of errors are fixed by deleting not needed declarations
|
|
436
|
+
- @typescript-eslint/no-unused-vars: same as above
|
|
437
|
+
|
|
438
|
+
All notable changes to this project will be documented in this file.
|
|
439
|
+
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
440
|
+
|
|
441
|
+
## [9.7.1](https://github.com/verdaccio/monorepo/compare/v9.7.0...v9.7.1) (2020-07-10)
|
|
442
|
+
|
|
443
|
+
### Bug Fixes
|
|
444
|
+
|
|
445
|
+
- update dependencies ([#375](https://github.com/verdaccio/monorepo/issues/375)) ([1e7aeec](https://github.com/verdaccio/monorepo/commit/1e7aeec31b056979285e272793a95b8c75d57c77))
|
|
446
|
+
|
|
447
|
+
## [9.6.1](https://github.com/verdaccio/monorepo/compare/v9.6.0...v9.6.1) (2020-06-07)
|
|
448
|
+
|
|
449
|
+
**Note:** Version bump only for package @verdaccio/commons-api
|
|
450
|
+
|
|
451
|
+
# [9.4.0](https://github.com/verdaccio/monorepo/compare/v9.3.4...v9.4.0) (2020-03-21)
|
|
452
|
+
|
|
453
|
+
**Note:** Version bump only for package @verdaccio/commons-api
|
|
454
|
+
|
|
455
|
+
## [9.3.2](https://github.com/verdaccio/monorepo/compare/v9.3.1...v9.3.2) (2020-03-08)
|
|
456
|
+
|
|
457
|
+
**Note:** Version bump only for package @verdaccio/commons-api
|
|
458
|
+
|
|
459
|
+
## [9.3.1](https://github.com/verdaccio/monorepo/compare/v9.3.0...v9.3.1) (2020-02-23)
|
|
460
|
+
|
|
461
|
+
**Note:** Version bump only for package @verdaccio/commons-api
|
|
462
|
+
|
|
463
|
+
# [9.0.0](https://github.com/verdaccio/monorepo/compare/v8.5.3...v9.0.0) (2020-01-07)
|
|
464
|
+
|
|
465
|
+
**Note:** Version bump only for package @verdaccio/commons-api
|
|
466
|
+
|
|
467
|
+
# [8.5.0](https://github.com/verdaccio/monorepo/compare/v8.4.2...v8.5.0) (2019-12-22)
|
|
468
|
+
|
|
469
|
+
**Note:** Version bump only for package @verdaccio/commons-api
|
|
470
|
+
|
|
471
|
+
## [8.4.2](https://github.com/verdaccio/monorepo/compare/v8.4.1...v8.4.2) (2019-11-23)
|
|
472
|
+
|
|
473
|
+
**Note:** Version bump only for package @verdaccio/commons-api
|
|
474
|
+
|
|
475
|
+
## [8.4.1](https://github.com/verdaccio/monorepo/compare/v8.4.0...v8.4.1) (2019-11-22)
|
|
476
|
+
|
|
477
|
+
**Note:** Version bump only for package @verdaccio/commons-api
|
|
478
|
+
|
|
479
|
+
# [8.4.0](https://github.com/verdaccio/monorepo/compare/v8.3.0...v8.4.0) (2019-11-22)
|
|
480
|
+
|
|
481
|
+
**Note:** Version bump only for package @verdaccio/commons-api
|
|
482
|
+
|
|
483
|
+
# [8.3.0](https://github.com/verdaccio/monorepo/compare/v8.2.0...v8.3.0) (2019-10-27)
|
|
484
|
+
|
|
485
|
+
### Features
|
|
486
|
+
|
|
487
|
+
- add http-status-codes dep ([#212](https://github.com/verdaccio/monorepo/issues/212)) ([00b66af](https://github.com/verdaccio/monorepo/commit/00b66af))
|
|
488
|
+
|
|
489
|
+
# [8.2.0](https://github.com/verdaccio/monorepo/compare/v8.2.0-next.0...v8.2.0) (2019-10-23)
|
|
490
|
+
|
|
491
|
+
**Note:** Version bump only for package @verdaccio/commons-api
|
|
492
|
+
|
|
493
|
+
# [8.2.0-next.0](https://github.com/verdaccio/monorepo/compare/v8.1.4...v8.2.0-next.0) (2019-10-08)
|
|
494
|
+
|
|
495
|
+
### Bug Fixes
|
|
496
|
+
|
|
497
|
+
- fixed lint errors ([5e677f7](https://github.com/verdaccio/monorepo/commit/5e677f7))
|
|
498
|
+
- fixed lint errors ([c80e915](https://github.com/verdaccio/monorepo/commit/c80e915))
|
|
499
|
+
- quotes should be single ([ae9aa44](https://github.com/verdaccio/monorepo/commit/ae9aa44))
|
|
500
|
+
|
|
501
|
+
## [8.1.2](https://github.com/verdaccio/monorepo/compare/v8.1.1...v8.1.2) (2019-09-29)
|
|
502
|
+
|
|
503
|
+
**Note:** Version bump only for package @verdaccio/commons-api
|
|
504
|
+
|
|
505
|
+
## [8.1.1](https://github.com/verdaccio/monorepo/compare/v8.1.0...v8.1.1) (2019-09-26)
|
|
506
|
+
|
|
507
|
+
**Note:** Version bump only for package @verdaccio/commons-api
|
|
508
|
+
|
|
509
|
+
# [8.1.0](https://github.com/verdaccio/monorepo/compare/v8.0.1-next.1...v8.1.0) (2019-09-07)
|
|
510
|
+
|
|
511
|
+
**Note:** Version bump only for package @verdaccio/commons-api
|
|
512
|
+
|
|
513
|
+
## [8.0.1-next.1](https://github.com/verdaccio/monorepo/compare/v8.0.1-next.0...v8.0.1-next.1) (2019-08-29)
|
|
514
|
+
|
|
515
|
+
**Note:** Version bump only for package @verdaccio/commons-api
|
|
516
|
+
|
|
517
|
+
## [8.0.1-next.0](https://github.com/verdaccio/monorepo/compare/v8.0.0...v8.0.1-next.0) (2019-08-29)
|
|
518
|
+
|
|
519
|
+
**Note:** Version bump only for package @verdaccio/commons-api
|
|
520
|
+
|
|
521
|
+
# [8.0.0](https://github.com/verdaccio/monorepo/compare/v8.0.0-next.4...v8.0.0) (2019-08-22)
|
|
522
|
+
|
|
523
|
+
**Note:** Version bump only for package @verdaccio/commons-api
|
|
524
|
+
|
|
525
|
+
# [8.0.0-next.4](https://github.com/verdaccio/monorepo/compare/v8.0.0-next.3...v8.0.0-next.4) (2019-08-18)
|
|
526
|
+
|
|
527
|
+
**Note:** Version bump only for package @verdaccio/commons-api
|
|
528
|
+
|
|
529
|
+
# [8.0.0-next.2](https://github.com/verdaccio/monorepo/compare/v8.0.0-next.1...v8.0.0-next.2) (2019-08-03)
|
|
530
|
+
|
|
531
|
+
**Note:** Version bump only for package @verdaccio/commons-api
|
|
532
|
+
|
|
533
|
+
# [8.0.0-next.1](https://github.com/verdaccio/monorepo/compare/v8.0.0-next.0...v8.0.0-next.1) (2019-08-01)
|
|
534
|
+
|
|
535
|
+
**Note:** Version bump only for package @verdaccio/commons-api
|
|
536
|
+
|
|
537
|
+
# [8.0.0-next.0](https://github.com/verdaccio/monorepo/compare/v2.0.0...v8.0.0-next.0) (2019-08-01)
|
|
538
|
+
|
|
539
|
+
### Features
|
|
540
|
+
|
|
541
|
+
- **commons-api:** add commons-api package ([13dfa76](https://github.com/verdaccio/monorepo/commit/13dfa76))
|
|
542
|
+
|
|
543
|
+
# Changelog
|
|
544
|
+
|
|
545
|
+
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
546
|
+
|
|
547
|
+
### [0.1.2](https://github.com/verdaccio/commons-api/compare/v0.1.1...v0.1.2) (2019-07-15)
|
|
548
|
+
|
|
549
|
+
### Build System
|
|
550
|
+
|
|
551
|
+
- build before publish ([f3d952d](https://github.com/verdaccio/commons-api/commit/f3d952d))
|
|
552
|
+
|
|
553
|
+
### [0.1.1](https://github.com/verdaccio/commons-api/compare/v0.1.0...v0.1.1) (2019-07-12)
|
|
554
|
+
|
|
555
|
+
### Bug Fixes
|
|
556
|
+
|
|
557
|
+
- remove unecessary shallow copy ([af7bc7c](https://github.com/verdaccio/commons-api/commit/af7bc7c))
|
|
558
|
+
|
|
559
|
+
## 0.1.0 (2019-06-25)
|
|
560
|
+
|
|
561
|
+
### Features
|
|
562
|
+
|
|
563
|
+
- add error handler modules ([936212b](https://github.com/verdaccio/commons-api/commit/936212b))
|
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 Verdaccio contributors
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
# @verdaccio/test-helper - Verdaccio Test Helpers
|
|
2
|
+
|
|
3
|
+
[](https://verdaccio.org)
|
|
4
|
+
[](https://github.com/verdaccio/verdaccio/blob/master/LICENSE)
|
|
5
|
+
[](https://github.com/verdaccio/verdaccio)
|
|
6
|
+
[](https://npmjs.com/package/@verdaccio/test-helper)
|
|
7
|
+
|
|
8
|
+
[](https://verdaccio.org/docs)
|
|
9
|
+
[](https://discord.com/channels/388674437219745793)
|
|
10
|
+
[](https://bsky.app/profile/verdaccio.org)
|
|
11
|
+
[](https://opencollective.com/verdaccio/contribute)
|
|
12
|
+
[](https://opencollective.com/verdaccio/contribute)
|
|
13
|
+
|
|
14
|
+
[](https://www.npmjs.com/package/verdaccio)
|
|
15
|
+
[](https://hub.docker.com/r/verdaccio/verdaccio)
|
|
16
|
+
[](https://github.com/verdaccio/verdaccio/stargazers)
|
|
17
|
+
|
|
18
|
+
## Donations
|
|
19
|
+
|
|
20
|
+
Verdaccio is run by **volunteers**; nobody is working full-time on it. If you find this project to be useful and would like to support its development, consider making a donation - **your logo might end up in this readme.** 😉
|
|
21
|
+
|
|
22
|
+
**[Donate](https://opencollective.com/verdaccio)** 💵👍🏻 starting from _\$1/month_ or just one single contribution.
|
|
23
|
+
|
|
24
|
+
## Report a vulnerability
|
|
25
|
+
|
|
26
|
+
If you want to report a security vulnerability, please follow the steps which we have defined for you in our [security policy](https://github.com/verdaccio/verdaccio/security/policy).
|
|
27
|
+
|
|
28
|
+
## Open Collective Sponsors
|
|
29
|
+
|
|
30
|
+
Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [[Become a sponsor](https://opencollective.com/verdaccio/contribute)]
|
|
31
|
+
|
|
32
|
+
[](https://opencollective.com/verdaccio/sponsor/0/website)
|
|
33
|
+
[](https://opencollective.com/verdaccio/sponsor/1/website)
|
|
34
|
+
[](https://opencollective.com/verdaccio/sponsor/2/website)
|
|
35
|
+
[](https://opencollective.com/verdaccio/sponsor/3/website)
|
|
36
|
+
[](https://opencollective.com/verdaccio/sponsor/4/website)
|
|
37
|
+
[](https://opencollective.com/verdaccio/sponsor/5/website)
|
|
38
|
+
[](https://opencollective.com/verdaccio/sponsor/6/website)
|
|
39
|
+
[](https://opencollective.com/verdaccio/sponsor/7/website)
|
|
40
|
+
[](https://opencollective.com/verdaccio/sponsor/8/website)
|
|
41
|
+
[](https://opencollective.com/verdaccio/sponsor/9/website)
|
|
42
|
+
|
|
43
|
+
## Open Collective Backers
|
|
44
|
+
|
|
45
|
+
Thank you to all our backers! 🙏 [[Become a backer](https://opencollective.com/verdaccio/contribute)]
|
|
46
|
+
|
|
47
|
+
[](https://opencollective.com/verdaccio/contributes)
|
|
48
|
+
|
|
49
|
+
## Special Thanks
|
|
50
|
+
|
|
51
|
+
Thanks to the following companies to help us to achieve our goals providing free open source licenses.
|
|
52
|
+
|
|
53
|
+
[](https://www.jetbrains.com/)
|
|
54
|
+
[](https://crowdin.com/)
|
|
55
|
+
|
|
56
|
+
## Contributors
|
|
57
|
+
|
|
58
|
+
This project exists thanks to all the people who contribute. [[Contribute](https://github.com/verdaccio/verdaccio/blob/master/CONTRIBUTING.md)].
|
|
59
|
+
|
|
60
|
+
[](https://github.com/verdaccio/verdaccio/graphs/contributors)
|
|
61
|
+
|
|
62
|
+
## FAQ / Contact / Troubleshoot
|
|
63
|
+
|
|
64
|
+
If you have any issue you can try the following options. Do not hesitate to ask or check our issues database. Perhaps someone has asked already what you are looking for.
|
|
65
|
+
|
|
66
|
+
- [Blog](https://verdaccio.org/blog/)
|
|
67
|
+
- [Donations](https://opencollective.com/verdaccio)
|
|
68
|
+
- [Reporting an issue](https://github.com/verdaccio/verdaccio/blob/master/CONTRIBUTING.md#reporting-a-bug)
|
|
69
|
+
- [Running discussions](https://github.com/orgs/verdaccio/discussions)
|
|
70
|
+
- [Chat](https://discord.com/channels/388674437219745793)
|
|
71
|
+
- [Logos](https://verdaccio.org/docs/logo)
|
|
72
|
+
- [Docker Examples](https://github.com/verdaccio/verdaccio/tree/master/docker-examples)
|
|
73
|
+
- [FAQ](https://github.com/verdaccio/verdaccio/issues?utf8=%E2%9C%93&q=is%3Aissue%20label%3Aquestion%20)
|
|
74
|
+
|
|
75
|
+
## License
|
|
76
|
+
|
|
77
|
+
Verdaccio is [MIT licensed](https://github.com/verdaccio/verdaccio/blob/master/LICENSE)
|
|
78
|
+
|
|
79
|
+
The Verdaccio documentation and logos (excluding /thanks, e.g., .md, .png, .sketch files within the /assets folder) are
|
|
80
|
+
[Creative Commons licensed](https://creativecommons.org/licenses/by/4.0/).
|