update core dependencies (7.x) no breaking changes, just internal bump up to prepare a major release (6.x)
🐛 fix fix: local search keyword undefined errors #3992🐛 fix Missing "onClick" prop in @verdaccio/ui-components Link component preventing handleDownload call in Package.tsx #3988#3989
Replaces default auth plugin verdaccio-htpasswd@10.x by verdaccio-htpasswd@11.x which is being used in verdaccio 6.x (almost identical)
Apply backward compabiity
Reduces maintenance (monorepo plugin can be removed)
One more step to switch v6.x
Add Node.js 12 GH Action for check backward compatibility
* fix: avoid setting body for GET requests
When making a GET request to certain uplinks, such as https://registry.npmmirror.com, setting the body field can result in a 413 error. Previously, the code was setting the body field for all requests, including GET requests.
This commit fixes the issue by checking the request method and avoiding setting the body field for GET requests. This ensures that GET requests are not affected by the issue and can be made without error.
Fixes#3601
* add missing deps for run test locally
* test(up-storage): add unit test about uplink is npmmirror
Cause thers is a bug in `isObject` function from `@verdaccio/core`, when `options.json` is `true`
GET request body will be string 'true', some uplinks might return 413 status code such as
https://registry.npmmirror.comfix#3601
* chore(deps): update @verdaccio/core
---------
Co-authored-by: Juan Picado <juanpicado19@gmail.com>
Co-authored-by: botao <botao@tal.com>
chore: clean up comments
remove commitlint
update deps
add new tests
test
separate ci
test
test
test
test
test
test
chore: add preprelase
test
test
test
test
test
chore: update deps
Update release-snapshot.yml
Update .npmignore
test
chore: remove @verdaccio/commons-api dep
chore: cleanup
remove normalizeContributors
remove validateMetadata
fix test
clean up getLocalRegistryTarballUri
Update store.spec.ts
clean up convertDistRemoteToLocalTarballUrls
chore: update libraries
reuse getPublic url
clean up
Update jest.config.js
Update jest.config.js
update nvmrc
add tests
* fix: get header by quality priority value
* chore: disable some workflows
* chore: add more tests
* chore: remove some duplicated testss
* chore: return right content type haders
* fix: add missing fields to abbreviated metadata
The abbreviated metadata should include the cpu, os, and peerDependenciesMeta fields
* chore: update types
Co-authored-by: Juan Picado <juanpicado19@gmail.com>
* Add a config item to web,let the developer can select whether enable the html cache
* Add a config item to web,let the developer can select whether enable the html cache
* chore: move check close to other configuration
* chore: update configuration files to suggest new option on web
* chore: format fix
Co-authored-by: fengdi <fengdi@bbktel.com>
Co-authored-by: Juan Picado <juanpicado19@gmail.com>
* pass `logs.colors` as `prettyOptions.colorize`
* `prettyPrintOptions` defaults is no concern of `createLogger`
* call it `colors` not to confuse with `pinoPretty.colorize`
* fix hardcoded `true` for `options.colors`
* Support `VERDACCIO_LOGGER_COLORS` overriding env-var
* Update docs for `VERDACCIO_LOGGER_COLORS`
* docs for `VERDACCIO_LOGGER_COLORS`
* docs for `VERDACCIO_LOGGER_COLORS`
* `.isTTY` from `stdout` not `stdin`
both work, but I want to ask if I emit to TTY, not if I consume from TTY.
* .md format
* format
* more format guesses
* declare `PrettyOptionsExtended.colors`
* lint
* docs: `EXPERIMENTAL__` prefix
* logger.ts - prefix `EXPERIMENTAL__`
* Update env.variables.md
* env.variables.md - remove double `_`
* Update logger.ts
* logger.ts - remove double `_`, fix boolean parsing
* env.variables.md - explain boolean parsing
* chore: format
* chore: add format, improve logic
Co-authored-by: Juan Picado <juanpicado19@gmail.com>
* WIP: port PR#2199 to master into 5.x
* port PR#2199 to master to 5.x - env.variables.md
* port PR#2199 to master to 5.x - config.spec
* Update config.spec.ts
* Update config.spec.ts
* fix format
Co-authored-by: Juan Picado <juanpicado19@gmail.com>