1
0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-11-13 03:35:52 +01:00
Commit Graph

163 Commits

Author SHA1 Message Date
github-actions[bot]
b970102bfc
chore: update versions (6-next) (#2456)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-10-15 23:13:06 +02:00
Juan Picado
b702ea3631
abort search request support for proxy (#2474)
* update undici

* abort search request support for proxy
2021-10-15 23:00:30 +02:00
Juan Picado
794af76c50
Remove Node 12 support (v6.x) (#2473) 2021-10-15 18:49:47 +02:00
Leonardo Metzger
b261741ef6
refactor: Remove some FIXME annotations (#2465)
* refactor: Remove the @ts-ignore in middleware-utils

* refactor: Remove __mocks__ imports in local-storage package

Co-authored-by: Juan Picado <juanpicado19@gmail.com>
2021-10-03 14:21:01 +02:00
Juan Picado
154b2ecd34
refactor: remove @verdaccio/commons-api in favor @verdaccio/core and remove duplication (#2455)
* migrate api package

* migrate auth

* migrate config

* refactor: remove @verdaccio/commons-api in favor @verdaccio/core

* fix lint

* relocate pkg

* relocate pkg

* fix tsconfig
2021-09-26 00:08:00 +02:00
github-actions[bot]
cd7947adbc
chore: update versions (6-next) (#2450)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-09-25 17:44:58 +02:00
Juan Picado
5fed1955a9
refactor: rematch as web state storage for UI (#2447)
* trying rematch

refactor: rematch for store packages

migrate login to rematch

Update packages/plugins/ui-theme/src/store/store.ts

Co-authored-by: Sergio Moreno <sergiomorenoalbert@gmail.com>

hide temporary

fix test for login

migrate package download resource

fix tests

* add missing fixture

* migrate detail page support

* fix tests

* migrate search

* migrate search

* clean up tests

* remove tags

* fix lint

* add changeset

* fix: search model typings

* add type

* types

* apply suggestions

Co-authored-by: Sergio Moreno <22656541+semoal@users.noreply.github.com>
2021-09-25 17:35:03 +02:00
Juan Picado
9dbf73e955 remove typedoc dep, not need it now to fix the changesets 2021-09-19 21:34:38 +02:00
Zameer Haque
2c594910d8
fix: do not throw multiple logger deprecation warning if using default logger config (#2446) 2021-09-19 20:20:46 +02:00
Juan Picado
90818700a3
rename translation file (#2445)
avoid ui translations are being uploaded
2021-09-18 12:45:27 +02:00
Juan Picado
1b9bf35c87 add steps to add new languages to ui contributing guidelines 2021-09-18 09:43:14 +02:00
Juan Picado
8d6d6097c6
refactor: using ui translations from crowdin (#2442)
* refactor: using ui translations from crowdin

* move tasks

* fix tests
2021-09-17 21:19:50 +02:00
Juan Picado
531289f59d update ui crowdin assets 2021-09-17 07:41:11 +02:00
Juan Picado
5e784d1188
refactor: one single file for i18n conf ui (#2440)
* refactor: one single file for i18n conf ui

* add test for crowdin

* cleanup

* space
2021-09-17 07:17:34 +02:00
Juan Picado
7dde848d0c
refactor: replace flag icons with library (#2439)
* feat: simplify i18n translations config and flags

* fix icons

* lint

* update test
2021-09-16 21:46:56 +02:00
Juan Picado
3d26a8190c
eslint deps (#2433)
* eslint deps

* Update pnpm-lock.yaml
2021-09-12 20:33:24 +02:00
Juan Picado
e50410a875
feat: fastify search endpoint v1 without auth and format (#2432) 2021-09-12 17:12:47 +02:00
Juan Picado
60d7b35d88
refactor: search logic to storage pkg (#2431)
* refactor: search logic to storage pkg

* add test

* update undici

* add tests

* Update ci.yml

* fix ci

* fix tests

* fix ci

* fix tests

* fix ci

* restore some deps

* Update Version.test.tsx

* disable debug
2021-09-12 16:21:19 +02:00
github-actions[bot]
e10637f0f3
chore: update versions (6-next) (#2427)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-09-08 19:33:09 +02:00
Juan Picado
459b6fa72b
refactor: search v1 endpoint and local-database (#2340)
* Refactor local-storage async

refactor local storage search stream

Remove async from local-storage, refactor search with streams

refactor search with undici fetch

finish search refactor

stream multiple request to single stream

refactor storage types

remove async dependency #1225

add score and refactor metadata

remove old search async

fix missing stream local data

clean up

clean up

refactor folder search

format

fix some test

fix issue on publish

filter preview

update ci

delete package folder refactor

refactor get packages methods

fix tests

fix lock file

add changeset

fix test windows

disable some test

update package json versions

* fix merge

* fix e2e cli

* restore e2e

* Update process.ts

* Update process.ts

* add improvement

* format

* Update utils.ts

* test

* test

* Update search.spec.ts

* Update search.spec.ts

* Update search.spec.ts

* test

* Update ci.yml

* clean up

* fix tests

* Update tags.ts

* Update index.spec.ts

* document changeset

* format
2021-09-08 19:06:37 +02:00
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
github-actions[bot]
ff1822c961
chore: update versions (6-next) (#2419) 2021-09-04 08:59:14 +02:00
Justin Johansson
df0da3d699
fix(core/hooks/mock/node-api): add missing core-js dep (#2418) 2021-09-04 08:47:57 +02:00
github-actions[bot]
99dad7759e
chore: update versions (6-next) (#2412)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-09-03 23:01:18 +02:00
Juan Picado
2e3b9552cc
test release on npmjs as alpha tag (#2411)
* node 14 as minimum for cli

* Create perfect-emus-clean.md

* Update utils.spec.ts
2021-09-03 22:46:04 +02:00
Justin Johansson
7e4d5615a4
Indiescripter/upgrade webpack (#2409)
* 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)

* build: update all dep packages with webpack in name except webpack-dev-server

Co-authored-by: Juan Picado <juanpicado19@gmail.com>
2021-09-03 19:06:27 +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
5941edcf38
Indiescripter/update ui-theme package deps (#2403)
* build(ui-theme): update ora depDep major from v4.0.4 to v6.0.0

* build(ui-theme): update @testing-library/dom depDep major from v7.31.2 to v8.2.0

* build(ui-theme): update css-loader depDep major from v5.2.1 to v6.2.0

* build(ui-theme): update history depDep major from v4.10.1 to v5.0.1

* build(ui-theme): remove unused devDep resolve-url-loader

* build(ui-theme): remove unused devDep source-map-loader

* build(ui-theme): update style-loader depDep major from v1.2.1 to v3.2.1

* build(ui-theme): update mini-css-extract-plugin depDep major from v1.6.0 to v2.2.2

* build(ui-theme): update i18next depDep major from v19.9.2 to v20.6.0

* build(ui-theme): update stylelint-config-recommended depDep major from v3.0.0 to v5.0.0

* revert(ui-theme): downgrade history depDep major back to v4.10.1 from v5.0.1

* build(ui-theme): remove lint-staged devDep (it's in the root package)

* revert(ui-theme): downgrade ora depDep major from v6 to v5.4.1 (esm problem)

* build: rebase against master & recreate pnpm lockfile
2021-09-03 09:53:05 +02:00
github-actions[bot]
a6bbc8ecc6
chore: update versions (6-next) (#2404) 2021-09-03 08:00:18 +02:00
Simon Lorenz
f96b147ea1
fix: resolves several issues of audit plugin (#2400)
* fixes an ssl error by correcting the host header
* fixes an `413 - entity too large` / `400 -Invalid compressed payload` error by
  explicitly setting the content-encoding header
* sends json body to remote registry
* adds new `/advisories/bulk` endpoint
* respects `strict_ssl` setting

Co-authored-by: Juan Picado <juanpicado19@gmail.com>
2021-09-02 22:24:31 +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
78486b87e8
build: remove some unused dependencies (#2402)
* build: remove unused dep core-js from node-api package

* build: remove unused dep pretty-ms from logger-prettify package
2021-09-02 06:14:04 +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
09a7cf3456
connect storage with fastify server as decorator (#2299)
* connect storage with fastify server as decorator

* remove dep
2021-06-13 22:03:09 +02:00
Juan Picado
8ca5fe6d26
fix: disable info registry section with pkg manager config (#2298) 2021-06-13 16:23:48 +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
67406082ed
update to react17 and other dependencies on ui (#2295) 2021-06-12 21:51:54 +02:00
Juan Picado
d6e44a4c18
chore: replace node-fetch by undici hook package (#2292)
* chore: replace node-fetch by undici hook package

* fix types

* test something

* test 12

* add flag

* restore fail fast

* remove 12 from tests
2021-06-12 18:24:54 +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
3d1d5071ed
build: collect metrics running some benchmarks (#2272) 2021-06-05 15:33:17 +02:00
github-actions[bot]
1ef60915e6
chore: update versions (6-next) (#2245)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-05-24 09:01:22 +02:00
Juan Picado
55ee3fdd97
[Fastify] Add ping endpoint (#2246)
* chore: add ping endpoint

* Update package.json

* rebase from master

* add debug code and logger

* Update index.ts

* Create heavy-ravens-lay.md

* endpoint as plugin

* chore: format

* Update packages/core/server/debug/index.ts

Co-authored-by: Manuel Spigolon <behemoth89@gmail.com>

* add logger instance to fastify

* 4873 port

* format file

* add logger

Co-authored-by: Manuel Spigolon <behemoth89@gmail.com>
2021-05-22 06:56:37 +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
Leonardo Metzger
d2c65da9c7
fix: Fix the name validation of a package tarball (#2242)
Co-authored-by: Juan Picado <juanpicado19@gmail.com>
2021-05-15 16:58:06 +02:00
Leonardo Metzger
6b1a28deb8
fix: Fix the prefix used to delete from s3 when unpublishing packages (#2243) 2021-05-12 20:15:18 +02:00
Juan Picado
a54c18c02a
additional tests for config pkg (#2237)
* add test config

* add test for home creation

* more checks

* add test

* skip peer platform

* lint

* fix windows
2021-05-09 00:44:07 +02:00