1
0
mirror of https://github.com/verdaccio/verdaccio.git synced 2025-02-21 07:29:37 +01:00
Commit Graph

285 Commits

Author SHA1 Message Date
Ed Clement
e75c0a3b95
fix: hydrate template placeholders in log messages when format is set to 'json' (#2652) 2021-11-11 07:22:11 +01:00
Diana Morales
8246bb69b2
login web endpoint fastify body schema validation (#2653)
* feat: add body schema validation to login endpoint

#2623

When a request is made, the following error is displayed on log
error--- Promise may not be fulfilled with 'undefined' when statusCode is not 204

https://github.com/fastify/fastify/pull/2702

* feat: add body schema validation to resetPassword endpoint

Co-authored-by: Juan Picado <juanpicado19@gmail.com>
2021-11-10 16:46:39 +01:00
Diana Morales
a88c72d0b2
fix initialization storage on fastify (#2654) 2021-11-09 22:16:47 +01:00
Juan Picado
b13a3fefd3
refactor: improve versions and dist-tag filters (#2650)
* refactor: improve versions and dist-tag filters

* chore: restore this later

* improve documentation of dis-tag normalizer

* chore: add changeset
2021-11-09 20:38:44 +01:00
Juan Picado
000d437463
feat: migrate to Material-UI 5 (#2612) 2021-11-08 17:24:15 +01:00
renovate[bot]
e8491f42e3
chore(deps): update dependency css-loader to v6.5.1 (#2630)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-08 10:47:23 +01:00
renovate[bot]
4d1e1ec8a0
chore(deps): update dependency @testing-library/dom to v8.11.0 (#2642)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-08 09:29:16 +01:00
renovate[bot]
59209ca9c5
fix(deps): update dependency node-fetch to v2.6.6 (#2640) 2021-11-06 12:47:51 +01:00
renovate[bot]
136771eb39
chore(deps): update dependency @types/react-dom to v17.0.11 (#2629)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-05 21:24:19 +01:00
github-actions[bot]
fa3d878286
chore: update versions (6-next) (#2625)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-11-05 17:29:26 +01:00
Diana Morales
20c9e43edc
dist-tags endpoint fastify (#2638)
* Create dist-tags.ts

* feat:migrate dist-tags to fastify

* Update storage.ts

Uncomment self.filters code

* add changeset
2021-11-05 16:59:13 +01:00
Diana Morales
18dc5f1f2f
feat: migrate web login endpoint to fastify (#2624)
* feat: migrate login to fastify

* Update package.json

* Update server.ts

* fix authentication tests

* fix test
2021-11-05 16:29:48 +01:00
renovate[bot]
b7d319c5be
chore(deps): update dependency @types/react to v17.0.34 (#2628)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-04 09:38:57 +01:00
Diana Morales
f86c31ed0e
feat: migrate sidebar to fastify (#2618) 2021-11-03 20:56:36 +01:00
Diana Morales
c2a1f4a73a
use warning code for deprecation warnings (#2615) 2021-10-31 15:49:06 +01:00
Diana Morales
41475949ba
feat: migrate readme to fastify (#2613)
* feat: migrate readme to fastify

* Update readme.ts
2021-10-31 15:00:04 +01:00
renovate[bot]
7041a4381e
chore(deps): update dependency css-loader to v6.5.0 (#2608) 2021-10-30 11:32:31 +02:00
renovate[bot]
14d973c552
chore(deps): update dependency redux to v4.1.2 (#2602) 2021-10-29 18:55:30 +02:00
Behrang Yarahmadi
13310814da
#2606 add prettier plugin sort imports (#2607)
* #2606 add prettier plugin sort imprts

* #2606 update pnpm-lock.yaml

* #2606 update eslint rules

* #2606 fixes website directory formatting

Co-authored-by: Ayush Sharma <ayush.sharma@trivago.com>
2021-10-29 17:33:05 +02:00
Juan Picado
16458f801e
refactor: pass options instead request object (#2605) 2021-10-29 09:00:02 +02:00
renovate[bot]
1322ffc2c4
chore(deps): update dependency @types/node to v16.11.6 (#2603) 2021-10-29 05:24:10 +02:00
renovate[bot]
2091f268d3
chore(deps): update dependency tmp-promise to v3.0.3 (#2592) 2021-10-28 21:40:22 +02:00
renovate[bot]
1ad1214c5e
chore(deps): update dependency @testing-library/dom to v8.10.1 (#2583)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-28 17:12:24 +02:00
Juan Picado
cf4489abb1
feat: download tarball endpoint fastify (#2600) 2021-10-27 23:06:41 +02:00
Diana Morales
d7bf5453b1
feat:migrate whoami to fastify (#2599) 2021-10-27 21:34:30 +02:00
github-actions[bot]
3184ed41d8
chore: update versions (6-next) (#2597)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-10-27 18:16:16 +02:00
Diana Morales
6c1eb021ba
feat: use warning codes for deprecation warnings (#2595)
* feat: use warning codes for deprecation warnings

* Update logger.spec.ts

* Update package.json
2021-10-27 16:53:02 +02:00
renovate[bot]
1016fc0ff1
chore(deps): update dependency @types/react to v17.0.33 (#2589) 2021-10-27 10:01:43 +02:00
Juan Picado
30875acc70
feat: partially implement user endpoints with fastify (part1) (#2301)
Partially implemented (wip)

- requires follow up for proper token validation
-  no test included (still experimental)
-  types refactoring required, still need alignment with other modules
2021-10-26 22:03:06 +02:00
renovate[bot]
3dc5b5045f
chore(deps): update dependency react-redux to v7.2.6 (#2591) 2021-10-26 20:58:44 +02:00
renovate[bot]
0f21053e04
chore(deps): update dependency @types/react-router-dom to v5.3.2 (#2590) 2021-10-26 19:28:40 +02:00
renovate[bot]
d7005e6029
chore(deps): update dependency webpack to v5.60.0 (#2585)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-26 08:09:14 +02:00
renovate[bot]
9c03e11cfa
chore(deps): update dependency @types/react to v17.0.32 (#2580) 2021-10-24 18:14:59 +02:00
renovate[bot]
640b92667f
fix(deps): update dependency marked to v3.0.8 (#2576)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-24 15:24:13 +02:00
renovate[bot]
47415298c9
chore(deps): update dependency fastify to v3.22.1 (#2568)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-23 06:23:26 +02:00
renovate[bot]
453bfadba0
chore(deps): update dependency babel-loader to v8.2.3 (#2567)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-22 15:21:17 +02:00
renovate[bot]
ae08b22730
chore(deps): update dependency @types/react-virtualized to v9.21.14 (#2560) 2021-10-22 11:47:03 +02:00
renovate[bot]
162d64e053
chore(deps): update dependency @types/react-dom to v17.0.10 (#2555)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-22 07:03:16 +02:00
Juan Picado
5776015058
chore: improve version detection (#2558) 2021-10-21 23:29:58 +02:00
renovate[bot]
f345fefd99
chore(deps): update dependency @types/react to v17.0.31 (#2554)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-21 22:47:48 +02:00
renovate[bot]
98fbff4e1d
chore(deps): update dependency terser-webpack-plugin to v5.2.4 (#2504) 2021-10-21 21:38:18 +02:00
renovate[bot]
7fc26bf026
chore(deps): update dependency @types/pino to v6.3.12 (#2547)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-21 08:26:45 +02:00
renovate[bot]
ed32c53af8
chore(deps): update dependency html-webpack-plugin to v5.4.0 (#2541)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-19 08:28:05 +02:00
renovate[bot]
49dfeed37d
chore(deps): update dependency fastify to v3.22.0 (#2537)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-19 08:02:03 +02:00
Juan Picado
b56d5cec39
chore: refactor pkgs location (#2538)
* chore: relocated mock package

* refactor: relocate local-storage htpasswd to plugins

because they are

* chore: format
2021-10-18 22:18:09 +02:00
Juan Picado
70d66eb473
chore: reduce warnings eslint (#2515) 2021-10-18 21:36:53 +02:00
renovate[bot]
ffb087887a
chore(deps): update dependency css-loader to v6.4.0 (#2533)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-18 21:36:14 +02:00
renovate[bot]
120dbd98ad
chore(deps): update dependency @types/react-router-dom to v5.3.1 (#2531)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-18 17:50:29 +02:00
renovate[bot]
5f8e886d3f
chore(deps): update dependency @testing-library/dom to v8.9.1 (#2529)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-17 23:21:24 +02:00
renovate[bot]
7a37508b96
chore(deps): update dependency @emotion/jest to v11.5.0 (#2527)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-17 18:39:34 +02:00
renovate[bot]
c4a3be5557
fix(deps): update dependency pino to v6.13.3 (#2523)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-17 17:23:24 +02:00
renovate[bot]
c179a8afee
chore(deps): update dependency autocannon to v7.5.0 (#2521)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-17 15:46:34 +02:00
renovate[bot]
ef93beb986
fix(deps): update dependency semver to v7.3.5 (#2524)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-17 13:02:45 +02:00
renovate[bot]
2dedb56b38
fix(deps): update dependency yup to v0.32.11 (#2517)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-17 11:51:08 +02:00
renovate[bot]
9b978c6a5f
fix(deps): update dependency globby to v11.0.4 (#2508)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-17 08:42:04 +02:00
renovate[bot]
d102fe5ba0
chore(deps): update dependency node-html-parser to v4.1.5 (#2495)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-17 07:37:53 +02:00
renovate[bot]
353a283b40
fix(deps): update dependency marked to v3.0.7 (#2509) 2021-10-16 23:26:13 +02:00
renovate[bot]
e85ed294d7
fix(deps): update dependency node-fetch to v2.6.5 (#2510) 2021-10-16 22:59:42 +02:00
renovate[bot]
58f35350fa
fix(deps): update dependency dompurify to v2.3.3 (#2507) 2021-10-16 22:02:44 +02:00
renovate[bot]
a3e7dd69d6
chore(deps): update dependency xss to v1.0.10 (#2506) 2021-10-16 22:02:15 +02:00
renovate[bot]
d0d4d0fd8f
chore(deps): update dependency react-redux to v7.2.5 (#2503)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Juan Picado <juanpicado19@gmail.com>
2021-10-16 20:24:31 +02:00
renovate[bot]
066cc819a8
fix(deps): update dependency clipanion to v3.1.0 (#2501) 2021-10-16 18:29:01 +02:00
renovate[bot]
81ea129d80
chore(deps): update dependency fast-crc32c to v1.0.7 (#2494) 2021-10-16 17:01:53 +02:00
renovate[bot]
af174f0c8c
chore(deps): update dependency dayjs to v1.10.7 (#2493) 2021-10-16 17:01:23 +02:00
renovate[bot]
836a8702cc
chore(deps): update dependency @types/react to v17.0.30 (#2489) 2021-10-16 15:33:43 +02:00
renovate[bot]
ccf92cabdc
chore(deps): update dependency country-flag-icons to v1.4.11 (#2492) 2021-10-16 15:32:17 +02:00
renovate[bot]
7f0b4db9f8
chore(deps): update dependency @types/react-helmet to v6.1.4 (#2490) 2021-10-16 15:09:57 +02:00
renovate[bot]
31f5a94098
chore(deps): update dependency @rematch/core to v2.1.1 (#2480) 2021-10-16 14:29:17 +02:00
renovate[bot]
a22300afcf
chore(deps): update dependency @rematch/loading to v2.1.1 (#2481) 2021-10-16 13:53:51 +02:00
renovate[bot]
717e42b383
chore(deps): update dependency @testing-library/react to v12.1.2 (#2485) 2021-10-16 12:56:03 +02:00
renovate[bot]
dd9726957f
fix(deps): update dependency debug to v4.3.2 (#2482) 2021-10-16 12:05:19 +02:00
renovate[bot]
9230779af1
fix(deps): update dependency lodash to v4.17.21 (#2483) 2021-10-16 11:41:34 +02:00
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