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

379 Commits

Author SHA1 Message Date
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
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
Juan Picado
52b47868e3
add more test proxy (#2236)
* add more test proxy

* test tarball and search

* format

* refactor uplinks
2021-05-08 19:21:21 +02:00
Juan Picado
8582548559
chore: add test for proxy (#2235)
* chore: add test for proxy

* format
2021-05-08 09:47:30 +02:00
github-actions[bot]
6a01bdbcc9
chore: update versions (6-next) (#2231)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-05-07 07:41:38 +02:00
Leonardo Metzger
5ddfa5264c
fix: fix the exact search phrase (#2225)
* fix: Fix the exact search phrase

* fix: Add changeset to fix of exact search phrase

Co-authored-by: Juan Picado <juanpicado19@gmail.com>
2021-05-07 06:43:29 +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
Juan Picado
393125baa1 chore: remove snapshots 2021-05-05 22:51:49 +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
Juan Picado
aecbd226de
feat: allow ui hide package managers on sidebar (#2226)
* feat: allow ui hide package managers on sidebar

* add test

* add changeset

* chore: remove snapshot

* chore: update config
2021-05-04 21:15:07 +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
Sergio Moreno
c17ee46519
fix: markdown lists don't render bullet points (#2209) 2021-04-29 19:20:59 +02:00
github-actions[bot]
629cbdd6b5
chore: update versions (6-next) (#2203)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-04-26 07:48:38 +02:00
Juan Picado
19d272d10e
fix: restore logger on init (#2202)
* chore: restore logger on init

* chore: changeset
2021-04-26 07:42:25 +02:00
Juan Picado
6e21bee204 chore: remove not need dependency 2021-04-25 19:35:18 +02:00
Juan Picado
cbdccf7177
build: add fastify starting package (#2201)
* chore: add fastify library as example with command

* chore: update format

* chore: add fastify package and start
2021-04-25 13:17:50 +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
amit
1810ed0d81
feat: environment variables support in configuration file (#2199)
* feat:Environment variables support in configuration file

* add changeset

* remove fixes typo

Co-authored-by: amit <amit@enso.security>
2021-04-25 10:08:14 +02:00
Juan Picado
04931c968e
build: ci better performance (#2195)
* chore: frozen installation

* chore: add service

disable some workflows

* chore: update ci

* chore: update ci

* chore: update ci

* chore: update ci

* chore: update ci

* chore: update ci

* chore: update ci

* chore: update ci

* chore: update ci

* chore: update ci

* chore: update ci

* chore: update ci

* chore: update ci

* chore: update ci

* chore: update ci

* chore: update ci

* chore: update ci

* chore: update ci

* chore: update ci

* chore: update ci

* chore: update ci

* chore: update ci

* chore: update ci

* chore: update ci

* chore: update ci

* chore: update ci

* chore: update ci

* chore: update ci

* chore: update ci

* chore: update ci

* chore: update ci

* chore: update ci

* chore: update ci

* chore: update ci

* chore: update ci

* chore: update ci

* chore: update ci

* chore: update ci

* chore: update ci

* chore: update ci

* chore: update ci

* chore: add windows

* chore: add e2e ui

* chore: add cli

* chore: add cli

* chore: add website ci

* chore: improve naming
2021-04-24 23:28:52 +02:00
amit
648575aa41
fix: escaped slash in namespaced packages (#2193)
* fix: escaped slash in namespaced packages

* run format on code

* merge master branch (#2)

* chore: fix start web issue

* chore: use custom action for changeset

this is temporary while I find the way to skip create github releases for alpha

* chore: format as separated workflow (#2194)

Co-authored-by: Juan Picado <juanpicado19@gmail.com>

* merge master (#3)

* chore: fix start web issue

* chore: use custom action for changeset

this is temporary while I find the way to skip create github releases for alpha

* chore: format as separated workflow (#2194)

Co-authored-by: Juan Picado <juanpicado19@gmail.com>

* add changeset

* format

Co-authored-by: amit <amit@enso.security>
Co-authored-by: Juan Picado <juanpicado19@gmail.com>
2021-04-24 17:14:24 +02:00
Juan Picado
8339b34adb chore: fix start web issue 2021-04-23 20:23:08 +02:00
Juan Picado
9b12c14543 chore: update babel settings ui 2021-04-15 21:42:42 +02:00
Juan Picado
7c0a0c106d chore: align ui latest from repo 2021-04-15 21:10:49 +02:00
Juan Picado
8020936758 chore: improve ci settings 2021-04-11 09:05:27 +02:00
Juan Picado
0778eebae5 chore: add update-ts-references (#2168)
* chore: add update-ts-references

* chore: update version
2021-04-09 17:54:44 +02:00
github-actions[bot]
0f18f10b52 chore: update versions (6-next) (#2166) 2021-04-09 17:54:44 +02:00
Juan Picado
8f43bf17df feat: improve node-api (#2165)
* refactor: improve node-api

* chore: add test for run server
2021-04-09 17:54:43 +02:00
github-actions[bot]
e8cc4232af chore: update versions (6-next) (#2162)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-04-09 17:54:43 +02:00
Juan Picado
3b0002632d chore: remove unused code 2021-04-09 17:54:42 +02:00
Juan Picado
b4f73b6d0f chore: add missing dep 2021-04-09 17:54:42 +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
5becf3f257 feat: use clipanion over commander (#2159)
* feat: use clipanion over commander

* chore: update

* chore: add missing options

* chore: fix arguments

* chore: format code

* chore: update

* chore: fix missing node conf

* chore: add version

* Update setup.ts

* chore: fix config flag

* chore: add changeset
2021-04-09 17:54:41 +02:00
Juan Picado
4a3e11d072 chore: update with master (#2158) 2021-04-09 17:54:41 +02:00
Paola Morales
5ccb2bad16 Migrate fs-memory library to memfs (#2149)
* Update package.json

* Update MemoryFileSystem dependency

* Update storage.ts
2021-04-09 17:54:40 +02:00
Paola Morales
dc05edfe60 feat!: async storage plugin bootstrap (#2144)
* feat: async storage plugin bootstrap

* refactor fs.promise to promisify on node12

* Add changeset

* Update big-lobsters-sin.md

* Update utils.test.ts

* Update utils.test.ts

* Update ci.yml

* Update utils.test.ts
2021-04-09 17:54:40 +02:00
Juan Picado
23346155c6 chore: formmat code 2021-04-09 17:54:39 +02:00
Juan Picado
3ba55e6199 chore: update format 2021-04-09 17:54:39 +02:00
Juan Picado
9561bd9e82 chore: merge from master 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]
505aa612ef chore: update versions (alpha) (#2098)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-04-09 17:54:38 +02:00
Juan Picado
d5eacc218b feat: improve cli logging on start up (#2097)
* feat: improve cli logging on start up

* chore: remove deps
2021-04-09 17:54:38 +02:00
Paola Morales
6b8806ee71 Improve package.json metadata (#2091) 2021-04-09 17:54:36 +02:00
Paola Morales
24c14ce583 chore: update package.json and README.md (#2090) 2021-04-09 17:54:36 +02:00
Paola Morales
14159b31e1 ref: refactor utils methods (#2076)
* ref: Relocate utils functions to web pkg

* ref: Refactor utils functions

* ref: Relocate utils functions to api pkg

* ref: Relocate utils functions to config pkg

* ref: Relocate utils functions to middleware pkg

* ref: Relocate utils functions to storage pkg

* ref: relocate utils functions to proxy pkg

* ref: relocate utils functions to middleware pkg

* ref: refactor utils functions

* Fix compilation errors
2021-04-09 17:54:36 +02:00
github-actions[bot]
71fbb410e6 chore: update versions (alpha) (#2073)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-04-09 17:54:35 +02:00
Slava
c8a040e69e feat: allow other password hashing algorithms (#1917) (#2072) 2021-04-09 17:54:35 +02:00
github-actions[bot]
e676d1bf1c chore: update versions (alpha) (#2057) 2021-04-09 17:54:35 +02:00
Juan Picado
061bfcc8d4 feat: standalone server (#2046)
* feat: standalone version

* chore: add changeset
2021-04-09 17:54:34 +02:00
Juan Picado
eab3007939 chore: update deps (#2056)
* chore: update deps

* chore: update eslint

* chore: update deps types
2021-04-09 17:54:34 +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
Juan Picado
a610ef26b9 build: release scripts alpha packages (#2052)
* chore: update deps

* chore: update deps
2021-04-09 17:54:32 +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
Juan Picado
b61f762d6c feat: add rate limit to all request (#2050)
* feat: add rate limit to all request

* chore: increase max

* chore: update settings

* chore: deprecate keepAliveTimeout
2021-04-09 17:54:32 +02:00
github-actions[bot]
a78ff7550a chore: update versions (alpha) (#2045)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-04-09 17:54:32 +02:00
Juan Picado
e54ec4b5d0 feat: remove level dependency by lowdb for npm token cli as storage (#2043)
* feat: remove level for token by lowdb

* chore: fix format

* chore: fix config

* chore: add changeset
2021-04-09 17:54:31 +02:00
Juan Picado
df33fa3d79 chore: update snapshot 2021-04-09 17:54:30 +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
83677e31a2 build: server reload watch mode (#2039)
* feat: server reload watch mode

* chore:update format
2021-04-09 17:54:29 +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
e9e4552658 feat: ui theme on 5.x (#2033)
* refactor: relocate theme-ui as plugin

* refactor: relocate theme-ui as plugin

* refactor: relocate theme-ui as plugin

* chore: fix lint

* chore: add missing folder

* refactor: relocate theme-ui as plugin

* refactor: relocate theme-ui as plugin

* refactor: relocate theme-ui as plugin

* chore: update scripts

* refactor: relocate theme-ui as plugin

* refactor: relocate theme-ui as plugin

* refactor: relocate theme-ui as plugin

* refactor: relocate theme-ui as plugin
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
github-actions[bot]
57cb03cdb7 chore: update versions (alpha) (#1916)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-04-09 17:54:28 +02:00
Juan Picado
e2152606dc chore: verdaccio as root dependency to avoid changesets override 2021-04-09 17:54:28 +02:00
Juan Picado
c2621ac386 chore: update pnpm changeset versions (#2002) 2021-04-09 17:54:27 +02:00
Juan Picado
5f3eee5eaf chore: remove a package, move constants (#2001)
* chore: remove a package, move constants

* chore: remove *
2021-04-09 17:54:26 +02:00
Juan Picado
1153a8d92f deps: update typescript 4 (#2000) 2021-04-09 17:54:26 +02:00
Juan Picado
b3e8438f64 feat: logger pretty only as dev mode (#1999) 2021-04-09 17:54:26 +02:00
Juan Picado
ab87898c19 chore: add missing dependency 2021-04-09 17:54:26 +02:00
Juan Picado
10aeb4f134 refactor: config module, experiments renamed to flags (#1996)
* refactor: config security refactor

* chore: add changeset

* chore: rename self_path to config_path on test

* chore: fix test

* chore: remove self_path on init
2021-04-09 17:54:25 +02:00
Juan Picado
a9ba3d0649 refactor: config module (#1995)
* refactor: clean up config

* refactor: config, move methods

* chore: remove js-yaml from utils
2021-04-09 17:54:25 +02:00
Juan Picado
e83e500b80 fix: cleanup warnings (#1986)
* fix: lint warnings

* fix: test
2021-04-09 17:54:24 +02:00
Juan Picado
3a93da454f refactor: relocate verdaccio-active-directory plugin (#1981) 2021-04-09 17:54:24 +02:00
Juan Picado
c5f2b07364 refactor: relocate verdaccio-google-cloud-storage plugin (#1978) 2021-04-09 17:54:23 +02:00
Dina Basumatary
68ea21214a fix: eslint errors (#1973)
* fix: eslint errors

* fix: rename a test

* fix: broken integration test

due to removing next argument in the middleware.

* changeset
2021-04-09 17:54:23 +02:00
Juan Picado
eb686fbcaf refactor: relocate verdaccio-aws-storage plugin (#1977) 2021-04-09 17:54:23 +02:00
Juan Picado
4024205829 refactor: relocate verdaccio-audit plugin (#1976) 2021-04-09 17:54:22 +02:00
Juan Picado
1f02ac53bb refactor: relocate verdaccio-auth-memory plugin (#1975) 2021-04-09 17:54:22 +02:00
Juan Picado
827376e85c refactor: relocate verdaccio-memory plugin (#1974) 2021-04-09 17:54:22 +02:00
ike
1d11128051 fix: improving typescript practices in packages/web/src/endpoint/package.ts (#1972)
* chore: 1. Remove @ts-ignore, 2. Remove :any and infer from existed lib, 3. Prevent variable re-assign

* chore: add changeset
2021-04-09 17:54:22 +02:00
Juan Picado
e367c3f1e0 feat: improve legacy token signature by removing deprecated crypto.cr… (#1953)
* feat: improve legacy token signature by removing deprecated crypto.createDecipher

* fix: wrong reference

* chore: add debug
2021-04-09 17:54:21 +02:00
mknj
82c2f4e03a fix urls in some packages/*/package.json (#1952) 2021-04-09 17:54:21 +02:00
Juan Picado
fbd761c8ee refactor: auth-utils (#1951)
* chore: refactor auth utils

* chore: relocate crypto utils
2021-04-09 17:54:21 +02:00
Juan Picado
65cb26cf31 refactor: migrate request to node-fetch at hooks package (#1946)
* refactor(hooks): new structure for notifications

* chore: fix build

* chore: add debug

* chore: add changeset
2021-04-09 17:54:20 +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
Juan Picado
8632c3a6d6 docs: update contribution guidelines, scripts to debug and additional notes (#1918)
* chore: debug improments

* update guides

* docs: update contribution guidelines

* chore: add debug notest

* chore: format code
2021-04-09 17:54:19 +02:00
Juan Picado
aa763baec1 feat: add typescript project references settings (#1933)
Add two different settings for compile and develop.

https://www.typescriptlang.org/docs/handbook/project-references.html
2021-04-09 17:54:19 +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
168833d857 chore: patch changesets example (#1929)
* chore: test changesets

* chore: add changeset
2021-04-09 17:54:18 +02:00
Abraham Schilling
d981c1d435 5.x tests on windows (#1919) 2021-04-09 17:54:18 +02:00
Juan Picado
8f9467ce3d chore: restore website build (#1920) 2021-04-09 17:54:17 +02:00
Juan Picado
716734c83c feat: improve workspace and dependencies debug
* feat: using workspace @verdaccio/types

* feat: use core local-storage plugin

* chore: add missing dependencies

* chore: replace trace by debug

* chore: plugin loader uses debug
2021-04-09 17:54:14 +02:00
Juan Picado @jotadeveloper
be9e23da47 chore: update wrong imports 2021-04-09 17:54:14 +02:00
Juan Picado @jotadeveloper
4fcd6457be feat: add @verdaccio/commons-api package
Update local references
2021-04-09 17:54:13 +02:00
Juan Picado
3838d3d212 feat: relocate core packages (#1906)
* chore: clean lint warnings

* refactor: move core packages
2021-04-09 17:54:13 +02:00
Juan Picado @jotadeveloper
9ed932e589 chore: extend lint rules to root 2021-04-09 17:54:12 +02:00
Juan Picado
e61bd6c78f chore: lint prettier update (#1904)
* chore: update prettier@2.x

* chore: prettier auto fix

* chore: fake circleci

we don't need it but I want make dissapear the error
2021-04-09 17:54:12 +02:00
Juan Picado @jotadeveloper
49c2a66342 chore: update snapshot 2021-04-09 17:54:12 +02:00
Juan Picado
9f2a29a275 refactor: devDependencies strictly defined in each package (#1884)
* refactor: new babel preset

* chore: using pnpm

let's see how it goes, all seems works fine by far, pretty solid.
2021-04-09 17:54:11 +02:00
Juan Picado @jotadeveloper
eb0dae5fa7 chore: rebase from master 2021-04-09 17:54:11 +02:00
Juan Picado
a7ba76423e refactor: test api refactor (#1826)
* test: add test for whoami

* Update middleware.ts

* test for user api

* more test for user api

* remove repeated code

* refactor

* Update index.spec.ts

* add package test

refactor others

* chore: upgrade deps

* chore: add test for package

* chore: update test

* update lock file

* Update ci.yml

* Update ci.yml

* Update package.spec.ts

* chore: update ci settings

* chore: update deps

* chore: update test
2021-04-09 17:54:11 +02:00
Juan Picado
9946ea8bea chore: update dependencies (maintenance)
* chore: update deps

* chore: update deps

* chore: fix dependencies

* chore: update deps

* chore: update deps

* chore: add types

* chore: update jest
2021-04-09 17:54:09 +02:00
dependabot-preview[bot]
9bb5b50c80 build(deps): bump @verdaccio/readme from 9.3.0 to 9.5.0 (#1797)
Bumps [@verdaccio/readme](https://github.com/verdaccio/monorepo/tree/HEAD/core/readme) from 9.3.0 to 9.5.0.
- [Release notes](https://github.com/verdaccio/monorepo/releases)
- [Changelog](https://github.com/verdaccio/monorepo/blob/9.x/core/readme/CHANGELOG.md)
- [Commits](https://github.com/verdaccio/monorepo/commits/v9.5.0/core/readme)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-04-09 17:54:09 +02:00
Juan Picado @jotadeveloper
958a5d886f feat: migrate from buyan to pinojs (#1760)
* feat: migrate from buyan to pinojs

* chore: fix lint

* chore: release utils from import

* chore: fix test

* chore: add missing dep

* chore: add dependency

* chore: add prettifier module

* chore: add pretty stamp option

* chore: fix package name location

* chore: crash on try use rotating file type

* chore: remove arg
2021-04-09 17:54:09 +02:00
Juan Picado @jotadeveloper
b92935ea45 chore: re-enable coverage 2021-04-09 17:54:07 +02:00
Juan Picado @jotadeveloper
4ecf3eca4f chore: fix merge 2021-04-09 17:54:07 +02:00
Juan Picado @jotadeveloper
644d42564d feat: remove support for allow_ prefix (#1741)
allow_access, allow_publish and proxy_access were supported as package access but this commit drop that support and ignore the properties
2021-04-09 17:54:05 +02:00
Juan Picado @jotadeveloper
fa230117a1 refactor: fix import 2021-04-09 17:54:04 +02:00
Juan Picado @jotadeveloper
f414f710d6 refactor: fix imports 2021-04-09 17:54:04 +02:00
Juan Picado @jotadeveloper
463888165d refactor: utilities and auth 2021-04-09 17:54:04 +02:00
Juan Picado @jotadeveloper
5fcc5d493b chore: reuse jest config 2021-04-09 17:54:03 +02:00
Juan Picado @jotadeveloper
a70454c7b2 feat: migrate yarn workspaces (#1546) 2021-04-09 17:54:01 +02:00