Justin Johansson
7c9561b019
Indiescripter/last misc deps update for now ( #2422 )
...
* build: update @babel/* devDeps
* build(ui-theme): update terser-webpack-plugin devDep
* build(e2e-cli): update npm & pnpm latest deps published yesterday
* build(ui-theme): update react-router-dom devDep
* build(standalone/ui-theme): update webpack devDev published today
* build(memory): update memfs dep published yesterday
* build(active-directory): update dep activedirectory2 major version
* build: remove currently unused devDep @types/lowdb
* build(fastify-migration/hooks/local-storage/mock/node-api/verdaccio-htpasswd): update dep core-js
* build: remove @commitlint/* devDeps no longer used in master
* build(ui-theme): update @testing-library/react devDep major version
2021-09-04 14:33:45 +02:00
Justin Johansson
d21279b35c
Indiescripter/update misc deps ( #2408 )
...
* build(cli): remove unused commander dep
* build(e2e-ui): tweak lodash devDep to exact version
* build: tweak exact versions; @verdaccio:commons-api, get-port, semver
* style: private true prop first in package.jsons (monorepo convention)
2021-09-03 17:40:21 +02:00
Justin Johansson
1117dd347b
Indiescripter/update mostly e2e test deps ( #2401 )
...
* build: update e2e-ui devDep puppeteer v9.1.1 to v10.2.0
* build: misc update aws-sdk patch version
Co-authored-by: Juan Picado <juanpicado19@gmail.com>
2021-09-02 06:44:46 +02:00
Justin Johansson
b121e3662f
Indiescripter/align website format lint configs ( #2398 )
...
* build: update deps dompurify, esbuild-loader, envinfo, express-rate-limit, fastify, handlebars, jsdom
* build: remove unused devDep wait-on
* build: update dep http-status-codes
* build: update devDeps @typescript-eslint/*; deps aws-sdk & memfs
* build: update devDep terser-webpack-plugin
* build: update devDep eslint-plugin-prettier
* build: update dev/devDeps node-fetch, react-hook-form
* build: update e2e-cli deps npm & pnpm
* build: update website devDev sass
* build: update ui-theme devDep github-markdown-css
* build: update logger dep pino minor version
* build: update web devDep node-html-parser
* build: remove some legacy flow-typed cruft
* style: eslint-config-airbnb-typescript => @verdaccio/eslint-config; use prettier width 100 in website
* fix: attempt eslint fix in Features.tsx as suggested by @semoal; website eslint still 1 error
* fix: attempt to fix eslint warn about hooks usage
Co-authored-by: Sergio Moreno <22656541+semoal@users.noreply.github.com>
2021-09-01 19:15:15 +02:00
Justin Johansson
4b0eaff5f7
Update many package deps including babel, @types, react & more ( #2395 )
2021-09-01 07:35:24 +02:00
Justin Johansson
15d5e969c4
Update & make dependency versions consistent in packages/* ( #2393 )
...
* docs: improve pnpm development setup info in CONTRIBUTING.md
* build: make dependency versions consistent in packages/*
Updated to latest minor/patch versions; left major version unchanged for now
Did not change react dependencies in ui-theme package
Added .project file for Eclipse IDE users
* revert: rollback @changesets dep versions & maintain kleur v3.0.3
2021-08-30 08:19:08 +02:00
Juan Picado
aad7707268
chore: update dependencies ( #2304 )
2021-06-23 20:08:22 +02:00
github-actions[bot]
54b17f4442
chore: update versions (6-next) ( #2296 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-16 08:37:29 +02:00
Juan Picado
73d34bf9c4
build: upgrade to jest 27 ( #2297 )
...
* migrate to jest 27
* test
2021-06-13 09:14:04 +02:00
Juan Picado
15c694156a
fix eslint warnings ( #2265 )
...
* chore: reduce warnings
* chore: fix eslint warnings
* fix warning
2021-06-12 09:25:53 +02:00
Juan Picado
f3f00052d8
chore: eslint config module ( #2263 )
...
* build: eslint config as package
* chore: fix formatting
2021-05-16 17:11:08 +02:00
github-actions[bot]
086c4a7c3c
chore: update versions (6-next) ( #2229 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-05-06 08:37:13 +02:00
Juan Picado
0da7031e77
feat: allow disable login on ui ( #2228 )
2021-05-05 23:23:03 +02:00
github-actions[bot]
7fb5c45243
chore: update versions (6-next) ( #2227 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-05-05 21:16:22 +02:00
github-actions[bot]
9ffa205076
chore: update versions (6-next) ( #2219 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-05-02 09:58:22 +02:00
Slava
1b217fd346
refactor: replace mkdirp with fs.mkdir(Sync) ( #2217 )
2021-05-02 09:52:12 +02:00
github-actions[bot]
64c6cbfe9d
chore: update versions (6-next) ( #2198 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-04-25 10:14:01 +02:00
Juan Picado
40e125fd2d
chore: update ci scripts
2021-04-10 11:55:38 +02:00
Juan Picado
58e4ee54d1
chore: fix format
2021-04-09 17:54:42 +02:00
Juan Picado
13f1c6efca
chore: update versions
2021-04-09 17:54:41 +02:00
Juan Picado
3ba55e6199
chore: update format
2021-04-09 17:54:39 +02:00
github-actions[bot]
6b6eaf6b67
chore: update versions (alpha) ( #2116 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-04-09 17:54:38 +02:00
Juan Picado
558d78f32a
feat: flexible user interface generator ( #2070 )
...
* feat: flexible template generator and manifest
* chore: add changeset
* chore: restore dep
* chore: add docs
* chore: update snapshots
* chore: update docker examples for v5
* chore: refactor web module
* chore: format
* chore: refactor web api endpoints
* test: add test for user login web
* chore: refactor endpoints
* chore: fix merge
* chore: fix merge
* Update ci.yml
* chore: test
* chore: add static
* chore: update script
* chore: fix e2e
* chore: fix method
* docs: update v5 relative docker example
* chore: update html render
* chore: update style
* Update .prettierignore
* chore: update changeset
* chore: use pnpm6 on run test
temporary ci
* chore: drop node 16 for pnpm 6
* chore: update ci
* chore: update ci
* chore: update ci
* chore: update ci
* chore: remove circle ci
* chore: better url prefix handling
* chore: format code
* chore: remove test node 10
* docs: add docker v5 relative revers proxy example
* chore: use base html tag
* chore: update test
2021-04-09 17:54:38 +02:00
github-actions[bot]
1d78376506
chore: update versions (alpha) ( #2053 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-04-09 17:54:33 +02:00
github-actions[bot]
7cc2fe20af
chore: update versions (alpha) ( #2051 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-04-09 17:54:32 +02:00
github-actions[bot]
dabb358e64
chore: update versions (alpha) ( #2035 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-04-09 17:54:30 +02:00
Juan Picado
821bd776f3
refactor: enable e2e for UI ( #2036 )
...
* refactor: enable e2e for UI
* refactor: enable e2e for UI
* refactor: enable e2e for UI
* refactor: enable e2e for UI
* refactor: enable e2e for UI
* refactor: enable e2e for UI
2021-04-09 17:54:29 +02:00
Juan Picado
fe60eab99c
enable CLI E2e on 5.x ( #2011 )
...
* test: enable e2e
* test: improve setup
* chore: update setup
* test: publish on temp folder
* chore: initial setup example
* chore: add global install to pnpm
* chore: update test script
* test: add info command
* chore: add install tests
* chore: add debug enabled code
* chore: update pnpm lock file
2021-04-09 17:54:28 +02:00
Juan Picado
e83e500b80
fix: cleanup warnings ( #1986 )
...
* fix: lint warnings
* fix: test
2021-04-09 17:54:24 +02:00
Juan Picado
8c730c0694
refactor: max-len and printWidth to 100 ( #1941 )
...
* refactor: max-len and printWidth to 100
* chore: ci specific pnpm version
* fix: add types peer package
literally get rid of types package
2021-04-09 17:54:20 +02:00
Abraham Schilling
ddb42431d1
build: configure prettier as formatter for json, yaml and markdown ( #1930 )
...
* build: configure pretter as formatter for most files
* chore: reformat code (#1931 )
* chore: re-format all files
* chore: force run quality anaylsis test
Co-authored-by: Juan Picado @jotadeveloper <juanpicado19@gmail.com>
Co-authored-by: Juan Picado @jotadeveloper <juanpicado19@gmail.com>
2021-04-09 17:54:19 +02:00
Juan Picado @jotadeveloper
9ed932e589
chore: extend lint rules to root
2021-04-09 17:54:12 +02:00
Juan Picado @jotadeveloper
a70454c7b2
feat: migrate yarn workspaces ( #1546 )
2021-04-09 17:54:01 +02:00
Juan Picado
be2f6129bb
feat: clipanion as cli ( #2160 )
...
* feat: clipanion as cli
* chore: add version command
* chore: update ts
2021-04-03 13:13:31 +02:00
Juan Picado
9c803993d0
feat: custom protocol header ( #2156 )
2021-04-02 10:48:51 +02:00
Juan Picado
5b6be2aa09
fix: using correctly logging levels ( #2153 )
...
* fix: using correctly logging levels
* chore: update deps
2021-03-31 21:21:40 +02:00
Juan Picado
ee97dcb46c
feat: replace bunyan by pino.js ( #2148 )
...
* feat: replace bunyan by pino.js
* chore: refactor logger
* chore: fix e2e
* chore: better catch
2021-03-30 20:32:46 +02:00
Juan Picado
15bb350ae4
feat: improve url_prefix behavior ( #2122 )
...
read pr 2122 for more details
2021-03-29 12:32:37 +02:00
Juan Picado
43f70437af
feat!: drop node 8 and node 10 ( #2142 )
...
There is no breaking changes on features aside of Node version
2021-03-28 10:40:52 +02:00
Juan Picado
4f3afa33a2
build: fix node version issue on ci ( #2140 )
...
* build: fix node version issue
* chore: fix test on node 15
2021-03-26 18:04:19 +01:00
Juan Picado
93468211d6
chore: update eslint dependencies ( #2126 )
...
* chore: update eslint
* chore: update rules and style
* chore: aling formatting
* chore: update ci rules
* chore: aling formatting
* chore: aling formatting
2021-03-14 08:42:46 +01:00
Juan Picado
420657293b
fix: update dependencies ( #2115 )
...
* fix: update dependencies
* test: update snapshot
2021-03-05 22:59:44 +01:00
Juan Picado
2ea17ced2c
feat: update @verdaccio/ui-theme ( #2026 )
...
* feat: add deprecated support on User Interface
* chore: update key dependencies
2020-12-13 21:29:00 +01:00
Juan Picado
f4a85af20d
fix: fix missing readme on npm7 ( #2010 )
...
* fix: fix missing readme on npm7
* test: update test for readme
2020-11-28 22:57:52 +01:00
Juan Picado
4feaf241c9
fix: buffer deprecated warnings ( #1993 )
...
* chore: use Buffer.from and Buffer.alloc instead of deprecated new Buffer
* chore: fix lint
* chore: fix lint
Co-authored-by: Jarom Loveridge <jaroml@gradecam.com>
2020-11-03 07:55:08 +01:00
Juan Picado
1ece11cfc0
feat: migrate yarn 1 to yarn 2 ( #1962 )
2020-10-11 19:06:21 +02:00
dependabot[bot]
f7aad33925
fix(deps): bump @verdaccio/ui-theme from 1.12.1 to 1.13.1 ( #1961 )
...
* build(deps): bump @verdaccio/ui-theme from 1.12.1 to 1.13.1
Bumps [@verdaccio/ui-theme](https://github.com/verdaccio/ui ) from 1.12.1 to 1.13.1.
- [Release notes](https://github.com/verdaccio/ui/releases )
- [Changelog](https://github.com/verdaccio/ui/blob/master/CHANGELOG.md )
- [Commits](https://github.com/verdaccio/ui/compare/v1.12.1...v1.13.1 )
Signed-off-by: dependabot[bot] <support@github.com>
* chore: update puppeteer
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Juan Picado <juanpicado19@gmail.com>
2020-10-11 16:25:00 +02:00
Juan Picado
647b6b3ff7
test: add test for socket timeout ( #1959 )
...
* test: add test for socket timeout
* chore: add offline online test
2020-10-11 15:58:57 +02:00
Juan Picado
f75ad876fd
fix: update readme library ( #1892 )
2020-08-01 09:16:18 +02:00
Jian-Chen Chen (jesse)
912482a5ae
feat: ca certificate is optional for https configuration ( #1853 )
...
* setup https server
* typed handleHttps
* fix if condition
* generate certificate on the fly
* revert yarn.lock
Co-authored-by: Juan Picado <juanpicado19@gmail.com>
2020-06-30 19:05:29 +02:00
Jian-Chen Chen (jesse)
80ade97801
feat: npm deprecation support ( #1842 )
...
* support deprecation
* test case for deprecation
* fix format
* testing for multiple packages deprecation
* update README
Co-authored-by: Juan Picado <juanpicado19@gmail.com>
2020-06-19 22:54:03 +02:00
Juan Picado @jotadeveloper
4cf61d6e8c
chore: upgrade dependencies ( #1773 )
...
* chore: update dependencies
* chore: rollback @types/express
2020-04-09 11:09:30 +02:00
Kevin Yockey
3aaa04829a
fix: adding Content-Type to response in GET /-/all ( #1697 ) ( #1728 )
2020-03-03 21:16:53 +01:00
Robin van Boven
19d9fc2fa5
fix: use hasProxyTo to find correct uplink for tarballs ( #1644 )
...
* test: different uplinks with the same URL
This test reproduces #1642
* fix: use hasProxyTo to find correct uplink for tarballs
Fixes #1642
Co-authored-by: Juan Picado @jotadeveloper <juanpicado19@gmail.com>
2020-01-11 08:39:58 +01:00
Giedrius Grabauskas
4f43347b50
fix: updated combine url fix method ( #1647 )
...
* test: added more combineBaseUrl tests
* fix: optimized and updated combineBaseUrl method logic
2020-01-08 09:30:23 +01:00
Juan Picado @jotadeveloper
c30412b6db
refactor: update monorepo deps and types ( #1631 )
2019-12-25 14:46:14 +01:00
Juan Picado @jotadeveloper
7fe943f7bc
build: update dependencies ( #1630 )
...
* chore: update dependencies
* chore: update secrets
2019-12-23 09:29:27 +01:00
Juan Picado @jotadeveloper
dc25630ef2
test: add test for listen port
2019-12-15 23:04:11 +01:00
Juan Picado @jotadeveloper
b6d2b2690a
chore: add info test
2019-12-15 22:18:47 +01:00
Juan Picado @jotadeveloper
291c8cadc8
chore: fix typo
2019-12-15 17:33:15 +01:00
Juan Picado @jotadeveloper
f5c3b796f2
chore: rename class
2019-12-15 17:18:40 +01:00
Juan Picado @jotadeveloper
582b19d02f
test: add test for install a package
2019-12-15 17:06:28 +01:00
Juan Picado @jotadeveloper
e1685d205b
chore: consume previous registry installed
2019-12-15 12:07:29 +01:00
Juan Picado @jotadeveloper
3bf2196388
chore: reorganize setup files
2019-12-15 08:52:55 +01:00
Juan Picado @jotadeveloper
03d1244e51
chore: publish current build on local registry
2019-12-14 22:52:26 +01:00
Juan Picado @jotadeveloper
1b4a5dc31b
feat: update @verdaccio/ui-theme@0.3.9 ( #1623 )
...
* feat: update @verdaccio/ui-theme
- new login screen
* test: update e2e
we need to keep in sync with ui repo, but this will be removed soon
* chore: restore yarn lock
* chore: update lock file
2019-12-14 15:52:57 +01:00
polemius
72314e48df
fix: fixing typos in comments ( #1504 )
2019-10-02 21:14:19 +02:00
Juan Picado @jotadeveloper
4e997ce806
chore: fix wrong property to check
2019-10-02 20:59:39 +02:00
Juan Picado @jotadeveloper
3438b7596a
fix: comment out experiments from configuration files ( #1505 )
2019-10-02 20:56:50 +02:00
Juan Picado @jotadeveloper
5612c13e9e
chore: fix eslint warnings ( #1471 )
2019-09-26 18:22:14 +02:00
Juan Picado @jotadeveloper
dbf20175dc
feat: npm token command support ( #1427 )
...
* feat: support for npm token
This is an effor of:
This commit intent to provide npm token support.
https: //github.com/verdaccio/verdaccio/issues/541
https: //github.com/verdaccio/verdaccio/pull/1271
https: //github.com/verdaccio/local-storage/pull/168
Co-Authored-By: Manuel Spigolon <behemoth89@gmail.com>
Co-Authored-By: Juan Gabriel Jiménez <juangabreil@gmail.com>
* chore: update secrets baselines
Co-Authored-By: Liran Tal <liran.tal@gmail.com>
* chore: update lock file
* chore: add logger mock methods
* chore: update @verdaccio/types
* refactor: unit test was flacky
adapt the pkg access to the new configuration setup
* refactor: add plugin methods validation
* test: add test for aesEncrypt
* chore: update local-storage dependency
* chore: add support for experimetns
token will be part of the experiment lists
* chore: increase timeout
* chore: increase timeout threshold
* chore: update nock
* chore: update dependencies
* chore: update eslint config
* chore: update dependencies
* test: add unit test for npm token
* chore: update readme
2019-09-07 15:46:50 -07:00
Juan Picado @jotadeveloper
d5303f407b
feat: browse web package version ( #1457 )
...
* feat: allow endpoint to query by version
* chore: update @verdaccio/ui-theme
* test: add unit test for sidebar endpoint by version
2019-09-05 12:12:10 -07:00
Juan Picado @jotadeveloper
37530ac0fd
build: update dependencies ( #1452 )
...
* build: update dependencies
* chore: update dependencies
* chore: update dependencies
* chore: update dependencies
* chore: allow ts-ignore
we will remove this in the future, warn for now
* chore: eslint rules as warning
this is due the update, we will address this later
2019-08-25 10:16:43 -07:00
Juan Picado @jotadeveloper
7fa23577ae
refactor: replace flow comments by ts-ignore
...
ts-ignore is not harmfull in specs files, since we try to force to test with values are not allowed by the types
2019-08-18 07:59:28 +02:00
Juan Picado @jotadeveloper
c264f944fb
fix: unpublish and add or remove star colision ( #1434 )
...
* fix: unpublish and add or remove star colision
The issue was the npm star use a similar payload, but we did not check properly the shape of the payload, this fix and allow unpublish correctly.
Improve unit testing for publishing and unpublishing
Add new code documentation for future changes.
* chore: update secrets baseline
* chore: add missing type
this will requires update types in the future
2019-08-10 13:38:06 +02:00
Juan Picado @jotadeveloper
e35d8d99db
Merge pull request #1409 from verdaccio/fix-1400
...
fix: allows pkg names that starts with dash
2019-07-28 23:11:03 +02:00
Juan Picado @jotadeveloper
be8fed50d9
refactor: add generatePackageMetadata utility
...
- Tests suites must be independent each other, this is a refactor that allow star endpoint to be fully independent.
- Add putPackage utility to put new packages
2019-07-27 23:48:00 +02:00
Juan Picado @jotadeveloper
e319435d73
fix: allows pkg names that start with dash
...
Description
In sinopia 9f662a69e1 (diff-50e3aa130a4f97a42ee2cf111c7b1d9d)
a validation name for packages that start with dashs was added due this pattern is reserved by couchdb, but npmjs allows that now. I guess this is not a restriction anymore.
fix: https://github.com/verdaccio/verdaccio/issues/1400
2019-07-27 18:28:41 +02:00
Juan Picado @jotadeveloper
54e62fbb53
chore: add supertest link
2019-07-27 13:01:58 +02:00
Juan Picado @jotadeveloper
851cacf5af
chore: update readme test
2019-07-27 12:58:48 +02:00
Juan Picado @jotadeveloper
ea633eb977
chore: update js to ts extensions
2019-07-27 12:55:20 +02:00
Juan Picado @jotadeveloper
138748830b
chore: fix typo
2019-07-27 12:49:34 +02:00
Juan Picado @jotadeveloper
ffe7b699f2
chore: update readme for tests
2019-07-27 12:44:27 +02:00
Juan Picado @jotadeveloper
293132772f
chore: organize readme sections
2019-07-27 09:23:58 +02:00
Juan Picado @jotadeveloper
37f48aa1ce
chore: add debug info about run the unit test
2019-07-27 08:51:38 +02:00
Juan Picado @jotadeveloper
b96445f0c7
chore: fix typo
2019-07-27 08:38:56 +02:00
Juan Picado @jotadeveloper
be7bbe9e60
chore: increase unit testing documentation
2019-07-27 08:37:33 +02:00
Juan Picado @jotadeveloper
aa94aa9b0c
chore: remove ununsed prop in storage spec config file
2019-07-27 07:21:45 +02:00
Juan Picado @jotadeveloper
85a1fbe96e
chore: add extra timeout for some heavy test
2019-07-27 07:20:30 +02:00
Juan Picado @jotadeveloper
7aef6d8a59
chore: organize block unit test
...
add some extra context
2019-07-27 07:17:08 +02:00
Juan Picado @jotadeveloper
f4e7149806
refactor: add formatters
2019-07-26 09:35:19 +02:00
Juan Picado @jotadeveloper
263f051507
refactor: add levels file
2019-07-26 09:34:16 +02:00
Juan Picado @jotadeveloper
3beb57f7f6
test: add unit test for parser logger strings
2019-07-26 09:33:17 +02:00
Juan Picado @jotadeveloper
66f4197236
feat: convert project to typescript ( #1374 )
...
* chore: test
* chore: add
* chore: more progress
* chore: progress in migration, fix prettier parser
* chore: reduce tsc errors
* chore: refactor storage utils types
* chore: refactor utils types
* chore: refactor local storage types
* chore: refactor config utils types
* chore: refactor tsc types
* refactor: apply eslint fix, tabs etc
* chore: fix lint errors
* test: update unit test conf to typescript setup
few test refactored to typescript
* chore: enable more unit test
migrate to typescript
* chore: migrate storage test to tsc
* chore: migrate up storage test to tsc
* refactor: enable plugin and auth test
* chore: migrate plugin loader test
* chore: update dependencies
* chore: migrate functional test to typescript
* chore: add codecove
* chore: update express
* chore: downgrade puppeteer
The latest version does not seems to work properly fine.
* chore: update dependencies
2019-07-16 08:40:01 +02:00
Juan Picado @jotadeveloper
a0cf98546b
chore: update dependencies
...
regular maintenance
2019-07-08 09:23:07 +02:00
Juan Picado @jotadeveloper
d252e66588
Merge remote-tracking branch 'origin/master' into 4.1.x
...
# Conflicts:
# test/unit/modules/cli/cli.spec.js
2019-06-20 15:10:26 +02:00
Daniel Ruf
a92bd5f633
fix: correctly check the keepAliveTimeout value, fixes #1352 ( #1353 )
...
* fix: correctly check the keepAliveTimeout value, fixes #1352
* test: check keepAliveTimeout configurations using the CLI
2019-06-19 09:00:48 +02:00
Juan Picado @jotadeveloper
e3da67fad9
chore: avoid template test case is being run
2019-06-13 22:16:40 +02:00
Juan Picado @jotadeveloper
0fa26293a8
Merge remote-tracking branch 'origin/master' into 4.1.x
2019-06-13 22:04:35 +02:00
Will Smythe
eb7a8e3528
fix(api): return 503 to npm/yarn on uplink connection timeout ( #1331 )
...
fix #1328 and #720
Type: bug
The following has been addressed in the PR:
Instead of returning a 404 (Not Found) when npm, yarn, etc requests a package and the package cannot be acquired from an uplink due to a connection timeout, socket timeout, or connection reset problem, a 503 (service unavailable) is returned by Verdaccio instead. In limited testing of a few versions of npm and yarn, both of these clients correctly attempt to retry the request when a 503 is returned.
Added functional tests to verify the behavior (this adds a dev dependency on nock, which provides HTTP request mocking
Description:
This resolves issue #1328 and #720 , and ensures npm/yarn install commands don't fail immediately when there is an intermittent network timeout problem with an uplink. Instead Verdaccio will appropriately respond to the client with a 503. A 404 response (current behavior) incorrectly tells the client that the package does not exist (which may or may not be true) and to not try again.
2019-06-13 21:42:01 +02:00