Compare commits

...

547 Commits

Author SHA1 Message Date
Juan Picado
f575ab767c chore(release): 5.3.1 2021-12-12 00:06:56 +01:00
Juan Picado
29d4551e5b fix: conflict core-js dependency (#2754)
* chore: remove core-js

* fix: update verdaccio core dependencies
2021-12-12 00:06:34 +01:00
Juan Picado
e747b9a3ad chore(release): 5.3.0 2021-12-08 22:29:13 +01:00
coolsp
820c9d5db2 fix: markdown anchor links in package readme.md broken #2712 2021-12-01 23:33:25 +01:00
Juan Picado
60cd25ce4f fix: update pnpm and bum up core deps (#2716) 2021-11-29 15:52:27 +01:00
renovate[bot]
8c074e8f24 fix(deps): update dependency verdaccio-audit to v10.0.3 (#2710)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-28 15:47:50 +01:00
renovate[bot]
74d7d02c39 fix(deps): update dependency @verdaccio/streams to v10.0.1 (#2709)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-28 15:47:35 +01:00
renovate[bot]
41cadccaef fix(deps): update dependency @verdaccio/readme to v10.0.1 (#2708)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-27 18:20:41 +01:00
renovate[bot]
73d565f5f5 fix(deps): update dependency @verdaccio/commons-api to v10.0.2 (#2706)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-27 18:20:21 +01:00
renovate[bot]
8e2884836b fix(deps): update dependency verdaccio-htpasswd to v10.0.1 (#2711) 2021-11-27 17:48:33 +01:00
renovate[bot]
eee19a5f79 fix(deps): update dependency http-errors to v1.8.1 (#2705)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-27 16:57:38 +01:00
Juan Picado
46a4e8e2e0 chore(release): 5.2.2 2021-11-08 10:33:44 +01:00
Juan Picado
0eab3e1746 fix: update python dependency on docker image (#2644) 2021-11-08 10:17:47 +01:00
Juan Picado
4fc5b59eca chore(release): 5.2.1 2021-11-08 09:15:33 +01:00
renovate[bot]
bfa7b34994 chore(deps): update dependency standard-version to v9.3.2 (#2637)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-05 16:59:41 +01:00
renovate[bot]
089796ca47 fix(deps): update dependency mime to v2.6.0 (#2634)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-05 07:17:07 +01:00
renovate[bot]
ef2fbff755 fix(deps): update dependency validator to v13.7.0 (#2635)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-05 07:03:37 +01:00
renovate[bot]
c6458f4ad6 chore(deps): update babel monorepo to v7.16.0 (#2631)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-04 19:47:38 +01:00
renovate[bot]
da5d7e96cb fix(deps): update dependency async to v3.2.2 (#2633)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-04 18:54:33 +01:00
Juan Picado
57bd5169f9 test: system test add logging for debuggin 2021-10-24 10:15:54 +02:00
Juan Picado
80dca8d96e chore(release): 5.2.0 2021-10-24 09:54:57 +02:00
Juan Picado
247a317ca0 feat: upgrade node docker to 14.18.1 (#2579) 2021-10-24 09:54:39 +02:00
renovate[bot]
384b3e2ce5 fix(deps): update dependency pino to v6.13.3 (#2562) 2021-10-24 08:43:00 +02:00
renovate[bot]
69091d15fb fix(deps): update dependency dayjs to v1.10.7 (#2565)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-23 11:34:29 +02:00
renovate[bot]
6a78ae0045 fix(deps): update dependency clipanion to v3.1.0 (#2561)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-22 08:17:32 +02:00
renovate[bot]
5d4e3a65ba chore(deps): update babel monorepo (#2563)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-22 08:00:10 +02:00
Juan Picado
c81458bb0d chore(release): 5.1.6 2021-09-21 20:32:28 +02:00
Juan Picado
9d7ddd9ecd fix: update dependencies security update (#2453) 2021-09-21 20:32:20 +02:00
Juan Picado
b4a5ffe9a0 chore(release): 5.1.5 2021-09-17 22:26:02 +02:00
Juan Picado
360bec9b53 fix: add finish language to ui (#2443) 2021-09-17 22:25:53 +02:00
Juan Picado
b993344c40 chore(release): 5.1.4 2021-09-07 21:21:15 +02:00
Juan Picado
2c590917b1 fix: npm7 audit fix and bulk endpoint (#2426)
* fix: npm7 audit fix and bulk endpoint

* chore: update registry

* chore: update registry
2021-09-07 21:19:44 +02:00
Juan Picado
1308ab295d chore(release): 5.1.3 2021-08-20 08:31:27 +02:00
Juan Picado
d63dcc02fa fix: update docker base image to v14.17.5 2021-08-20 08:30:59 +02:00
Juan Picado
7d9fcfb5e3 chore: disable release note steps 2021-08-20 08:28:41 +02:00
Juan Picado
2e995f5981 fix: update docker and core dependencies (#2375)
* fix: update docker base to node:14.17.5

* fix: update base dependencies

* chore: change to node:14.17.4
2021-08-12 07:56:20 +02:00
weifan she
ecfc4c3304 fix: plugin allow_publish (pkg) got a undefined version (#2315) 2021-08-12 07:41:00 +02:00
VerdaccioBot
a09a041754 Update README.md 2021-08-06 21:35:31 +02:00
Juan Picado
bab7a7f6bc chore(release): 5.1.2 2021-07-14 20:25:44 +02:00
Juan Picado
29240544b1 fix: remove token experiment flag (#2332) 2021-07-14 20:22:15 +02:00
Juan Picado
7180338c44 fix: update dependencies (#2333) 2021-07-14 20:21:41 +02:00
Juan Picado
2bc590895c fix: update docker base image node 14.17.3 2021-07-14 19:57:46 +02:00
Juan Picado
b8f711afab fix: update docker base image node 14.17.1 (#2314)
* fix: update docker base image node 14.17.2

* fix: update docker base image node 14.17.1
2021-07-03 13:09:37 +02:00
Juan Picado
4fe8ddf7c7 fix: update dependencies (#2303) 2021-06-23 19:39:20 +02:00
Juan Picado
b421ed87c4 fix: update dependencies (#2291)
* chore: update deps

* chore: restore jest
2021-06-12 07:59:26 +02:00
Juan Picado
da810f4a18 chore: fix release script (#2289)
* chore: fix release script

* chore: fix lint

* chore: restore file
2021-06-12 07:39:33 +02:00
Juan Picado
f272c11c48 chore(release): 5.1.1 2021-06-12 06:22:51 +02:00
Juan Picado
558dd3f3c6 fix: add logger fatal if fails on startup (#2288)
fix #2287
2021-06-12 06:19:26 +02:00
Juan Picado
38ca095fb0 fix: improve get headers from request #2190 (#2271)
* fix: improve request header handling

* chore: fix test

* chore: apply suggestion
2021-05-26 20:07:13 +02:00
Juan Picado
b5ee7039e3 chore(release): 5.1.0 2021-05-24 08:33:50 +02:00
Juan Picado
f1cfae4d35 chore: remove prepublish 2021-05-24 08:31:00 +02:00
Juan Picado
b2d6f3657a chore: add missing dependency 2021-05-24 08:23:45 +02:00
Juan Picado
2d7d8143e9 chore: remove try catch not need it 2021-05-22 14:49:11 +02:00
Juan Picado
8434cc550f fix: restore using local path web logo (#2270)
* fix: logo loaded locally

* chore: fix lint
2021-05-22 14:46:47 +02:00
Juan Picado
1e4c900dcb fix: update core dependencies (#2269) 2021-05-22 09:57:07 +02:00
Juan Picado
4ed7286bcb feat: update Node.js docker image 14.17.0 (#2247) 2021-05-15 16:54:45 +02:00
Juan Picado
251bd95373 feat: implement search v1 endpoint (#2256)
* feat: implement search v1 endpoint

* add allow_access

* chore: add types

* chore: format

* fix eslint prettier

* chore: add tests

* add tests

* chore: add npm search cli
2021-05-15 16:39:03 +02:00
Juan Picado
6be108917e chore: update dependencies (#2255) 2021-05-14 08:27:54 +02:00
Juan Picado
f168b2512e chore: disable yarn local cache enableGlobalCache (#2254)
* chore: add yarn local  cache

* update list files docker publish

* add example extending with plugins and yarn2
2021-05-14 08:04:19 +02:00
Juan Picado
69d7df20d8 build: enable pnp yarn2 (#2253)
* chore: enable pnp yarn

* chore: ignore pnp

* fix type issues on run eslint

* add missing dependency and fix some errors

* fix most of the errors

some were just disabled, already fixed in master

* add missing jest-config

* update jest@26 align with other deps

* add missing @babel/register

* clean up

* use yarn node

* use yarn node on release

* chore: add husky 6

* chore: add husky 6

* chore: lint-stage

* chore: test

* chore: add hook git

* chore: test

* chore: test

* update deps

* chore: fix commit lint

* fix docker run

* update git ignore
2021-05-13 23:13:57 +02:00
Juan Picado
351ea89df6 chore: update yarn@2.4.1 (#2252)
* feat: update Node.js docker image 14.17.0

* chore: update yarn2

* feat: restore file

* chore: update docker file ignore
2021-05-13 17:41:20 +02:00
Favo Yang
78d04cf9f8 feat: tarball url redirect (#1688)
* feat: tarball url redirect

* fix: handle uplinks

* feat: allow function for config.tarball_url_redirect

* fix:  hasLocalTarball was calling localStream,abort when already aborted

* chore: simplify localStream null check in hasLocalTarball

As requested in PR feedback.

* chore: fix sonarcloud code smell on test

the variable `credentials` was already declared before the tarball url tests.

* fix: move tarball_url_redirect to experiments

Co-authored-by: Gord Lea <johlea@cisco.com>
Co-authored-by: Gord Lea <jgordonlea@gmail.com>
2021-05-03 20:53:00 +02:00
Juan Picado
255650b91a chore(release): 5.0.4 2021-04-28 07:19:25 +02:00
Claude
01c5d2ca27 fix: scoped query support (#2208) 2021-04-28 07:18:30 +02:00
Juan Picado
6fb388e366 chore(release): 5.0.3 2021-04-27 22:33:40 +02:00
Juan Picado
ced47d56fc fix: update @verdaccio/ui-theme (#2207) 2021-04-27 22:28:01 +02:00
Juan Picado
848c0ee499 chore(release): 5.0.2 2021-04-27 19:53:38 +02:00
Claude
d8b62cff53 fix: incorrect sanity check for theme plugin (#2205) 2021-04-27 19:53:12 +02:00
Juan Picado
825c1fc688 Update README.md 2021-04-22 22:55:05 +02:00
Juan Picado
8074bae190 chore: remove workflow
not need it on 5.x
2021-04-21 22:36:05 +02:00
Juan Picado
aae3e4356b chore: test on node 16 2021-04-21 21:44:12 +02:00
Juan Picado
6a1cdeaec4 chore(release): 5.0.1 2021-04-10 11:13:03 +02:00
Juan Picado
782dd1ca93 fix: logo and favicon configuration (#2180) 2021-04-10 11:09:50 +02:00
Juan Picado
e56fd19968 chore: prepare 5.x 2021-04-09 18:38:26 +02:00
Juan Picado
73585f0262 chore: restore npm release script 2021-04-09 10:13:42 +02:00
Juan Picado
38c40ed304 chore(release): 5.0.0 2021-04-09 10:01:34 +02:00
Juan Picado
4a8551dcf2 chore: fix docker publish 2021-04-09 10:00:47 +02:00
Juan Picado
82c5c4eb32 feat: prepare release for v5 (#2175)
* feat: prepare release for v5

* chore: update readme
2021-04-09 09:16:06 +02:00
Juan Picado
6c1e46b694 chore(release): 5.0.0-alpha.7 2021-04-08 22:16:02 +02:00
Juan Picado
f49ca06c68 fix: ui readme missing css (#2174) 2021-04-08 22:15:42 +02:00
Ramakrishnan Kandasamy
6ab31639fa fix: Upgrade Node from 14.16 to 14.16.1 for security fixes (#2172)
Refer: https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V14.md#14.16.1
2021-04-08 14:19:36 +02:00
Juan Picado
65a1e56f56 chore(release): 5.0.0-alpha.6 2021-04-06 07:28:35 +02:00
Juan Picado
507e55a9a5 chore: remove behindProxy
not ready for this release, need more thoughts
2021-04-05 20:48:41 +02:00
Juan Picado
80d669e6eb chore: emit warning if is using multiple addresses 2021-04-04 08:21:32 +02:00
Juan Picado
81d95ef425 chore(release): 5.0.0-alpha.5 2021-04-03 22:11:58 +02:00
Juan Picado
6fef45f9ef chore: better logging for publish (#2163) 2021-04-03 22:09:31 +02:00
Juan Picado
045d65e0ba chore: npm 6 as min to install 2021-04-03 18:32:12 +02:00
Juan Picado
cfb5642029 chore(release): 5.0.0-alpha.4 2021-04-03 13:14:42 +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
ba8cba0642 chore(release): 5.0.0-alpha.3 2021-04-02 10:49:07 +02:00
Juan Picado
9c803993d0 feat: custom protocol header (#2156) 2021-04-02 10:48:51 +02:00
Juan Picado
5b1aa87b76 Update README.md 2021-04-02 10:20:55 +02:00
Juan Picado
a163099a96 Update README.md 2021-04-01 09:55:21 +02:00
Juan Picado
67cbdeecfe Update README.md 2021-04-01 07:45:55 +02:00
Juan Picado
93555fd32c chore: update readme 2021-03-31 23:44:57 +02:00
Juan Picado
d920a7a2cd chore(release): 5.0.0-alpha.2 2021-03-31 23:29:41 +02:00
Paola Morales
b0fc25a8c4 refactor: improve logging (#2154)
* refactor: improve logging

* chore: update test

* chore: update local-storage.ts

* chore: update local-storage.ts
2021-03-31 23:22:32 +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
99e10f57cf chore(release): 5.0.0-alpha.1 2021-03-30 20:34:21 +02:00
Juan Picado
b00bcc8eb4 chore: update format 2021-03-30 20:33:47 +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
274d483de4 Update SECURITY.md 2021-03-30 14:35:41 +02:00
Juan Picado
e7c5033a8f chore(release): 5.0.0-alpha.0 2021-03-29 20:27:16 +02:00
Juan Picado
ece56ee9d2 chore: update docker release script 2021-03-29 19:33:48 +02:00
Juan Picado
8cc6393d86 feat!: npm token support revisited and enabled by default (#2145) 2021-03-29 17:42:42 +02:00
Juan Picado
1a10d2ee6e chore: update readme 2021-03-29 13:09:37 +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
e5ce44c395 chore: update cron 2021-03-28 18:57:31 +02:00
Juan Picado
ff1e41f7db chore: update 5.x next to master 2021-03-28 18:47:55 +02:00
Juan Picado
3a1f608f0b feat: upgrade to commander v7 (#2143) 2021-03-28 17:53:58 +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
c724ccd331 chore: update readme 2021-03-25 08:13:36 +01:00
Juan Picado
3133c17136 chore(release): 4.12.0 2021-03-17 07:39:49 +01:00
Juan Picado
7b6fbae6ae feat: handle kill signals nicely (#2130)
* feat: handle kill signals nicely

* chore: add docs and rename variable

Co-authored-by: edward kim <edward.kim@lendi.com.au>
2021-03-17 07:29:07 +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
Zoltan Kochan
f3c0f4e417 docs(ISSUE_TEMPLATE): Q&A category is preselected (#2125) 2021-03-13 05:51:39 +01:00
Juan Picado
9cf5cee4fd docs: copy docker examples v4 (#2120)
* docs: copy docker examples v4

* docs: copy docker examples v4

* chore: update ignore files
2021-03-10 22:49:20 +01:00
Juan Picado
4cf7e3d940 chore: update release script 2021-03-10 22:08:25 +01:00
Juan Picado
314874cec4 chore(release): 4.11.3 2021-03-06 08:07:57 +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
6b489cc6ec chore(release): 4.11.2 2021-03-04 19:06:09 +01:00
dependabot[bot]
9700ba952b build(deps): update actions/setup-node requirement to v2.1.5 (#2111)
Updates the requirements on [actions/setup-node](https://github.com/actions/setup-node) to permit the latest version.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](46071b5c7a)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-03 07:56:12 +01:00
Ramakrishnan Kandasamy
1e6fa60491 fix: upgrade handlebars from 4.7.6 to 4.7.7 (#2114) 2021-03-01 19:52:23 +01:00
Juan Picado
ff6b47cad1 chore: migrate e2e test to github actions (#2109)
* chore: migrate e2e test to github actions

* chore: remove circle ci
2021-02-26 22:25:15 +01:00
Juan Picado
e9a55005be chore: add pnpm6 to e2e cli (#2108)
* chore: add pnpm6 to e2e cli

* chore: add pnpm6 to e2e cli
2021-02-26 21:35:15 +01:00
bl-ue
0a4e2fd69d docs: update projects using Verdaccio and their stars (#2107)
* Update projects using Verdaccio and their stars

* rearrange some based on the star count
* remove two duplicates
* add star count to "workshopper how to npm" because they
   recently achieved 1k stars

* Update README.md

* Update README.md
2021-02-26 16:23:29 +01:00
Juan Picado
4f3e8906c4 chore(release): 4.11.1 2021-02-25 21:35:01 +01:00
Ramakrishnan Kandasamy
156342b6b9 fix: upgrade Node from 14.15 to 14.16 for security fixes (#2104)
Refer - https://nodejs.org/en/blog/vulnerability/february-2021-security-releases/

Co-authored-by: Juan Picado <juanpicado19@gmail.com>
2021-02-25 21:16:53 +01:00
Juan Picado
d6c2e8a0e1 chore: fix npm version to 6 for gatsby e2e (#2105)
* chore: fix npm version to 6

* chore: update correct npm versions due latest major release
2021-02-25 21:06:10 +01:00
Juan Picado
d5863dfcb9 chore: update cron job 2021-02-05 20:22:13 +01:00
Juan Picado
558c10246c chore(release): 4.11.0 2021-01-20 21:44:01 +01:00
Juan Picado
4d152ca01b feat: enable keep alive (#2067) 2021-01-20 21:43:50 +01:00
Juan Picado
f005b37816 fix: update dependencies (#2066) 2021-01-20 21:24:53 +01:00
Juan Picado
2d0fa2d17d chore: update readme 2021-01-20 21:05:20 +01:00
Juan Picado
936aa30383 feat: update UI theme (#2065) 2021-01-20 20:55:04 +01:00
Juan Picado
76e035e52f fix: update docker base image node 14.15.14 (#2049) 2021-01-08 07:55:42 +01:00
Juan Picado
0a2942b6f8 chore: update docker registry settings 2020-12-29 11:39:21 +01:00
Juan Picado
9b78a5941f chore: fix syntax typo 2020-12-29 11:03:50 +01:00
Morlay
3edd0eca47 build: publish docker multi-arch image with github actions (#2031)
powred by @morlay
2020-12-29 11:01:58 +01:00
Juan Picado
39376be345 feat: skip log static content from web (#2027)
The PR #2026 will create more noise because the static content is smaller and segmented, this PR skip all those entries to the log.
2020-12-13 22:58:36 +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
d775e3fd75 chore: update template config 2020-12-08 19:01:36 +01:00
Juan Picado
f45fe930f2 chore: update template 2020-12-08 19:00:45 +01:00
Juan Picado
9b25761786 chore: update cc license link 2020-12-07 07:49:19 +01:00
Juan Picado
2a7720c0d1 chore(release): 4.10.0 2020-12-06 10:31:40 +01:00
Juan Picado
9171f25b41 feat: enable keep alive on configuration by default (#2014) 2020-12-04 07:37:45 +01:00
Juan Picado
e4357a6dbd chore: update readme
update list of relevant projects uses verdaccio
2020-12-02 21:59:57 +01:00
Andrey Frimuchkov
e2f7bb2f29 feat: Set bytesin log as optional (#2013)
https://github.com/verdaccio/verdaccio/issues/1912

Co-authored-by: frimuchkov <frimuchkov@yandex-team.ru>
2020-12-02 21:48:01 +01:00
Andrey Frimuchkov
1e59b6aa6f fix: doubled request logs in node.js >= 11 (#2012)
```
$ docker run -it --rm --name verdaccio -p 4873:4873 verdaccio/verdaccio warn --- config file  - /verdaccio/conf/config.yaml
 warn --- Verdaccio started
 warn --- Plugin successfully loaded: verdaccio-htpasswd
 warn --- Plugin successfully loaded: verdaccio-audit
 warn --- http address - http://0.0.0.0:4873/ - verdaccio/4.9.1
 http --> 200, req: 'GET https://registry.npmjs.org/execa' (streaming)
 http --> 200, req: 'GET https://registry.npmjs.org/execa', bytes: 0/119164
 http <-- 200, user: null(172.17.0.1), req: 'GET /execa', bytes: 0/27224
 http <-- 200, user: null(172.17.0.1), req: 'GET /execa', bytes: 0/27224
```
2020-12-02 21:17:36 +01:00
Juan Picado
8237775c93 chore(release): 4.9.1 2020-11-28 23:00:18 +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
cc5d786133 chore: improve performance e2e request 2020-11-25 06:12:46 +01:00
Juan Picado
4b900c8b74 chore(release): 4.9.0 2020-11-22 16:54:25 +01:00
Juan Picado
185babc53f fix: check author if lastest is not found (#1994) 2020-11-22 13:55:14 +01:00
Abdelrahman Abdelhafez
64f6cbd449 chore: fix typo on readme (#2008) 2020-11-20 16:40:09 +01:00
Juan Picado
6eef0157ba fix: update dependencies, docker base and build deps (#2007)
* fix: update docker to v14.15.1

* chore: update deps

* chore: update actions/setup-node security update
2020-11-20 06:43:57 +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
f90174935f feat: update docker base image to node 14.15.0 (#1992) 2020-10-31 18:15:47 +01:00
Juan Picado
ef51294457 fix: update dependencies (#1991) 2020-10-31 17:54:20 +01:00
Juan Picado
190dd497d3 build: test on node 15 (#1969) 2020-10-20 09:37:08 -07:00
Juan Picado
e7dae2ae1c chore: add GitHub sponsor as funding (#1968) 2020-10-19 11:52:14 -07:00
Juan Picado
1443b7343a fix: update dependencies (#1965)
* fix: update dependencies

* update @verdaccio/ui-theme
2020-10-16 07:57:46 +02: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
401c987e18 test: add yarn berry and npm7 to and new e2e config file (#1960)
* test: add e2e config file

* test: add e2e config file

* chore: add yarn berry to e2e

* chore: add npm7 to e2e

* chore: add node 14 to ci
2020-10-09 18:53:44 +02:00
dependabot[bot]
22b85de14d build(deps): bump actions/checkout from v2.3.2 to v2.3.3 (#1954)
Bumps [actions/checkout](https://github.com/actions/checkout) from v2.3.2 to v2.3.3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2.3.2...a81bbbf8298c0fa03ea29cdc473d45769f953675)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-03 14:53:41 +02:00
Juan Picado
b409c0111f fix: update Dockerfile to Node v12.18.4 (#1945) 2020-09-20 09:23:16 +02:00
Juan Picado
825d9026e0 chore: update security policy (#1943)
* chore: update security

* Update SECURITY.md

Co-authored-by: Daniel Ruf <827205+DanielRuf@users.noreply.github.com>

* Update SECURITY.md

Co-authored-by: Daniel Ruf <827205+DanielRuf@users.noreply.github.com>

Co-authored-by: Daniel Ruf <827205+DanielRuf@users.noreply.github.com>
2020-09-17 06:51:13 +02:00
dependabot[bot]
56aad7b0ce build(deps): bump node-fetch from 2.6.0 to 2.6.1 (#1939)
Bumps [node-fetch](https://github.com/bitinn/node-fetch) from 2.6.0 to 2.6.1.
- [Release notes](https://github.com/bitinn/node-fetch/releases)
- [Changelog](https://github.com/node-fetch/node-fetch/blob/master/docs/CHANGELOG.md)
- [Commits](https://github.com/bitinn/node-fetch/compare/v2.6.0...v2.6.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-13 10:17:30 +02:00
Juan Picado
b3f653ba64 chore: fix typo 2020-09-06 14:57:34 +02:00
Juan Picado
89254db04c chore: fix typo 2020-09-06 14:57:10 +02:00
Juan Picado
b1721b308e chore: update contribution guideles
regarding branch 5.x
2020-09-06 14:56:12 +02:00
Juan Picado @jotadeveloper
3768728251 chore: fixing bug template does not show up 2020-09-01 20:36:15 +02:00
Juan Picado @jotadeveloper
0fb0ab4638 chore: update bug report 2020-09-01 20:33:28 +02:00
Juan Picado
dcadc44d4c chore: add missing bug report template 2020-09-01 20:05:24 +02:00
Snyk bot
cb5a8a7ccd fix: package.json & yarn.lock to reduce vulnerabilities (#1910)
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-LODASH-590103
2020-08-20 07:30:45 +02:00
dependabot[bot]
f82a32ae34 build(deps): bump actions/checkout from v2.3.1 to v2.3.2 (#1903)
Bumps [actions/checkout](https://github.com/actions/checkout) from v2.3.1 to v2.3.2.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2.3.1...2036a08e25fa78bbd946711a407b529a0a1204bf)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-12 23:22:50 +02:00
Noam
7e117ad949 docs: fixed dns config in cloudformation template. (#1894) 2020-08-08 12:28:20 +02:00
Juan Picado @jotadeveloper
6e72886efa "chore(release): 4.8.1" 2020-08-06 20:43:04 +02:00
dependabot[bot]
4f25befc08 build(deps-dev): bump verdaccio-auth-memory from 9.4.0 to 9.7.2 (#1899)
Bumps [verdaccio-auth-memory](https://github.com/verdaccio/monorepo/tree/HEAD/plugins/auth-memory) from 9.4.0 to 9.7.2.
- [Release notes](https://github.com/verdaccio/monorepo/releases)
- [Changelog](https://github.com/verdaccio/monorepo/blob/9.x/plugins/auth-memory/CHANGELOG.md)
- [Commits](https://github.com/verdaccio/monorepo/commits/v9.7.2/plugins/auth-memory)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-05 22:51:21 +02:00
dependabot[bot]
a7a04b1cdc build(deps-dev): bump verdaccio-memory from 9.4.0 to 9.7.2 (#1898)
Bumps [verdaccio-memory](https://github.com/verdaccio/monorepo/tree/HEAD/plugins/memory) from 9.4.0 to 9.7.2.
- [Release notes](https://github.com/verdaccio/monorepo/releases)
- [Changelog](https://github.com/verdaccio/monorepo/blob/9.x/plugins/memory/CHANGELOG.md)
- [Commits](https://github.com/verdaccio/monorepo/commits/v9.7.2/plugins/memory)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-05 22:51:07 +02:00
dependabot[bot]
69e5ac98af build(deps): bump verdaccio-audit from 9.7.1 to 9.7.3 (#1897)
Bumps [verdaccio-audit](https://github.com/verdaccio/monorepo/tree/HEAD/plugins/audit) from 9.7.1 to 9.7.3.
- [Release notes](https://github.com/verdaccio/monorepo/releases)
- [Changelog](https://github.com/verdaccio/monorepo/blob/9.x/plugins/audit/CHANGELOG.md)
- [Commits](https://github.com/verdaccio/monorepo/commits/v9.7.3/plugins/audit)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-05 22:50:42 +02:00
dependabot[bot]
2be469e1c7 build(deps): bump verdaccio-htpasswd from 9.7.1 to 9.7.2 (#1896)
Bumps [verdaccio-htpasswd](https://github.com/verdaccio/monorepo/tree/HEAD/plugins/htpasswd) from 9.7.1 to 9.7.2.
- [Release notes](https://github.com/verdaccio/monorepo/releases)
- [Changelog](https://github.com/verdaccio/monorepo/blob/9.x/plugins/htpasswd/CHANGELOG.md)
- [Commits](https://github.com/verdaccio/monorepo/commits/v9.7.2/plugins/htpasswd)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-05 22:35:48 +02:00
Juan Picado
80b6a32824 chore: increase update verdaccio deps daily 2020-08-05 22:34:47 +02:00
Juan Picado
7062b5e520 chore: allow verdaccio dependencies 2020-08-05 22:21:37 +02:00
Juan Picado
261eab5ca0 fix: upgrade docker base image nodejs (#1895) 2020-08-05 18:19:12 +02:00
Marco Vito Moscaritolo
34c687cb87 chore: fix syntax highlight in README.md (#1893)
Fix syntax highlight in README.md
2020-08-03 18:50:23 +02:00
Snyk bot
5e94478387 fix: package.json & yarn.lock to reduce vulnerabilities (#1889)
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-MARKED-584281
2020-08-01 13:37:19 +02:00
Juan Picado
f75ad876fd fix: update readme library (#1892) 2020-08-01 09:16:18 +02:00
dependabot[bot]
fb23bd77c5 build(deps): bump @verdaccio/streams from 9.7.1 to 9.7.2 (#1888)
Bumps [@verdaccio/streams](https://github.com/verdaccio/monorepo/tree/HEAD/core/streams) from 9.7.1 to 9.7.2.
- [Release notes](https://github.com/verdaccio/monorepo/releases)
- [Changelog](https://github.com/verdaccio/monorepo/blob/9.x/core/streams/CHANGELOG.md)
- [Commits](https://github.com/verdaccio/monorepo/commits/v9.7.2/core/streams)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-31 19:26:51 +02:00
dependabot[bot]
187b392e04 build(deps): bump actions/setup-node from v2.1.0 to v2.1.1 (#1890)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from v2.1.0 to v2.1.1.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2.1.0...321b6ccb03083caa2ad22b27dc4b45335212e824)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-31 07:55:04 +02:00
dependabot[bot]
2a1fcbdf62 build(deps-dev): bump @verdaccio/types from 9.7.0 to 9.7.2 (#1887)
Bumps [@verdaccio/types](https://github.com/verdaccio/monorepo/tree/HEAD/core/types) from 9.7.0 to 9.7.2.
- [Release notes](https://github.com/verdaccio/monorepo/releases)
- [Changelog](https://github.com/verdaccio/monorepo/blob/9.x/core/types/CHANGELOG.md)
- [Commits](https://github.com/verdaccio/monorepo/commits/v9.7.2/core/types)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-31 07:54:36 +02:00
dependabot[bot]
1657f0f924 build(deps): bump @verdaccio/local-storage from 9.7.1 to 9.7.2 (#1885)
Bumps [@verdaccio/local-storage](https://github.com/verdaccio/monorepo/tree/HEAD/plugins/local-storage) from 9.7.1 to 9.7.2.
- [Release notes](https://github.com/verdaccio/monorepo/releases)
- [Changelog](https://github.com/verdaccio/monorepo/blob/9.x/plugins/local-storage/CHANGELOG.md)
- [Commits](https://github.com/verdaccio/monorepo/commits/v9.7.2/plugins/local-storage)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-31 07:40:21 +02:00
dependabot[bot]
2a2ba63476 build(deps-dev): bump codecov from 3.7.0 to 3.7.1 (#1881)
Bumps [codecov](https://github.com/codecov/codecov-node) from 3.7.0 to 3.7.1.
- [Release notes](https://github.com/codecov/codecov-node/releases)
- [Commits](https://github.com/codecov/codecov-node/compare/v3.7.0...v3.7.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-21 20:14:21 +02:00
Snyk bot
7c50d87c52 fix: package.json & yarn.lock to reduce vulnerabilities (#1879)
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-AJV-584908

Co-authored-by: Juan Picado <juanpicado19@gmail.com>
2020-07-16 23:16:58 +02:00
Juan Picado @jotadeveloper
2b8c05757c "chore(release): 4.8.0" 2020-07-16 22:51:00 +02:00
Juan Picado
3c4867059a fix: update dependencies (#1878) 2020-07-16 22:44:42 +02:00
Juan Picado
844267ce25 fix: revert move bodyParse to the upper level (#1841) (#1877)
This reverts commit 67c31b69
2020-07-16 21:59:21 +02:00
Snyk bot
e374a6248b fix: package.json & yarn.lock to reduce vulnerabilities (#1876)
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-LODASH-567746
2020-07-16 08:05:26 +02:00
dependabot[bot]
7409344315 build(deps-dev): bump standard-version from 8.0.0 to 8.0.1 (#1874)
Bumps [standard-version](https://github.com/conventional-changelog/standard-version) from 8.0.0 to 8.0.1.
- [Release notes](https://github.com/conventional-changelog/standard-version/releases)
- [Changelog](https://github.com/conventional-changelog/standard-version/blob/master/CHANGELOG.md)
- [Commits](https://github.com/conventional-changelog/standard-version/compare/v8.0.0...v8.0.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-14 08:27:56 +02:00
dependabot[bot]
99e6b822b2 build(deps): bump @verdaccio/readme from 9.7.0 to 9.7.1 (#1873)
Bumps [@verdaccio/readme](https://github.com/verdaccio/monorepo/tree/HEAD/core/readme) from 9.7.0 to 9.7.1.
- [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.7.1/core/readme)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-11 13:09:29 +02:00
dependabot[bot]
3953b79d37 build(deps): bump @verdaccio/local-storage from 9.7.0 to 9.7.1 (#1871)
Bumps [@verdaccio/local-storage](https://github.com/verdaccio/monorepo/tree/HEAD/plugins/local-storage) from 9.7.0 to 9.7.1.
- [Release notes](https://github.com/verdaccio/monorepo/releases)
- [Changelog](https://github.com/verdaccio/monorepo/blob/9.x/plugins/local-storage/CHANGELOG.md)
- [Commits](https://github.com/verdaccio/monorepo/commits/v9.7.1/plugins/local-storage)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-11 10:20:54 +02:00
dependabot[bot]
3d0ba6a4d2 build(deps): bump @verdaccio/commons-api from 9.6.1 to 9.7.1 (#1870)
Bumps [@verdaccio/commons-api](https://github.com/verdaccio/monorepo/tree/HEAD/core/commons-api) from 9.6.1 to 9.7.1.
- [Release notes](https://github.com/verdaccio/monorepo/releases)
- [Changelog](https://github.com/verdaccio/monorepo/blob/9.x/core/commons-api/CHANGELOG.md)
- [Commits](https://github.com/verdaccio/monorepo/commits/v9.7.1/core/commons-api)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-11 10:02:06 +02:00
dependabot[bot]
0348bf6b5d feat(deps): bump @verdaccio/ui-theme from 1.11.0 to 1.12.0 (#1872)
Bumps [@verdaccio/ui-theme](https://github.com/verdaccio/ui) from 1.11.0 to 1.12.0.
- [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.11.0...v1.12.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-11 10:01:36 +02:00
dependabot[bot]
093490744e build(deps-dev): bump @verdaccio/babel-preset from 9.6.1 to 9.7.1 (#1869)
Bumps [@verdaccio/babel-preset](https://github.com/verdaccio/monorepo/tree/HEAD/tools/babel-preset) from 9.6.1 to 9.7.1.
- [Release notes](https://github.com/verdaccio/monorepo/releases)
- [Changelog](https://github.com/verdaccio/monorepo/blob/9.x/tools/babel-preset/CHANGELOG.md)
- [Commits](https://github.com/verdaccio/monorepo/commits/v9.7.1/tools/babel-preset)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-11 10:01:05 +02:00
dependabot[bot]
56981ff911 build(deps): bump actions/setup-node from v2.0.0 to v2.1.0 (#1865)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from v2.0.0 to v2.1.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2.0.0...1ae8f4b1fd89676f69b55d3dd6932b6df089ff7b)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-07 07:20:48 +02:00
allcontributors[bot]
3b45350056 docs: add ddhp as a contributor (#1864)
* docs: update CONTRIBUTORS.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2020-06-30 19:06:42 +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
Juan Picado @jotadeveloper
dd9b3cff55 chore(release): 4.7.2 2020-06-26 11:45:42 +02:00
Juan Picado @jotadeveloper
9a1892f436 chore: update readme 2020-06-26 11:43:57 +02:00
Snyk bot
b559d75f70 fix: package.json & yarn.lock to reduce vulnerabilities (#1863)
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-BUNYAN-573166

Co-authored-by: Juan Picado <juanpicado19@gmail.com>
2020-06-26 08:04:59 +02:00
dependabot[bot]
15025dca5f build(deps): bump @verdaccio/readme from 9.6.1 to 9.7.0 (#1857)
Bumps [@verdaccio/readme](https://github.com/verdaccio/monorepo/tree/HEAD/core/readme) from 9.6.1 to 9.7.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.7.0/core/readme)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-06-25 08:06:42 +02:00
dependabot[bot]
a312111a59 build(deps-dev): bump @verdaccio/babel-preset from 8.5.0 to 9.6.1 (#1858)
Bumps [@verdaccio/babel-preset](https://github.com/verdaccio/monorepo/tree/HEAD/tools/babel-preset) from 8.5.0 to 9.6.1.
- [Release notes](https://github.com/verdaccio/monorepo/releases)
- [Changelog](https://github.com/verdaccio/monorepo/blob/9.x/tools/babel-preset/CHANGELOG.md)
- [Commits](https://github.com/verdaccio/monorepo/commits/v9.6.1/tools/babel-preset)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-06-24 18:10:59 +02:00
dependabot[bot]
14b06d5cf2 build(deps): bump @verdaccio/local-storage from 9.6.1 to 9.7.0 (#1861)
Bumps [@verdaccio/local-storage](https://github.com/verdaccio/monorepo/tree/HEAD/plugins/local-storage) from 9.6.1 to 9.7.0.
- [Release notes](https://github.com/verdaccio/monorepo/releases)
- [Changelog](https://github.com/verdaccio/monorepo/blob/9.x/plugins/local-storage/CHANGELOG.md)
- [Commits](https://github.com/verdaccio/monorepo/commits/v9.7.0/plugins/local-storage)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Juan Picado <juanpicado19@gmail.com>
2020-06-24 18:09:35 +02:00
dependabot[bot]
f5a7460cfc build(deps): update actions/setup-node requirement to v2.0.0 (#1856)
Updates the requirements on [actions/setup-node](https://github.com/actions/setup-node) to permit the latest version.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](e434342e4e)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-06-24 18:09:13 +02:00
dependabot[bot]
4de5d9f9b6 build(deps): update actions/checkout requirement to v2.3.1 (#1855)
Updates the requirements on [actions/checkout](https://github.com/actions/checkout) to permit the latest version.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/master/CHANGELOG.md)
- [Commits](28c7f3d2b5)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-06-24 11:39:48 +02:00
Juan Picado
7523053274 build: create dependabot.yml (#1852)
* Create dependabot.yml

* Update dependabot.yml

* Update dependabot.yml
2020-06-24 10:19:17 +02:00
Juan Picado
a8d86091ec chore: update readme 2020-06-24 09:50:35 +02:00
Juan Picado @jotadeveloper
092f62eec2 chore(release): 4.7.1 2020-06-22 13:54:15 +02:00
Juan Picado
0bfdeaa2e4 fix: move search v1 endpoint as experimental (#1850)
the current one has not auth implemented, to avoid the lack of fallback to the original one now is required to be used it by default until the v1 is on shape production ready.
2020-06-22 13:33:43 +02:00
Juan Picado @jotadeveloper
c0afcadce4 chore(release): 4.7.0 2020-06-20 07:31:57 +02:00
Juan Picado
4d01831842 feat: update ui add new languages (#1849) 2020-06-20 07:24:58 +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
Robert Sabirov
67c31b69ca fix: move bodyParse to the upper level (#1841)
Co-authored-by: Juan Picado <juanpicado19@gmail.com>
2020-06-19 07:40:06 +02:00
Juan Picado
99dc8510fc build: e2e acceptance tests (#1846)
* chore: test e2e

* chore: test

* chore: test

* chore: test

* chore: test

* chore: test

* chore: test

* chore: test

* chore: update name

* chore: test

* chore: test

* chore: test

* chore: test

* chore: test

* chore: test

* chore: test

* chore: test

* chore: test

* chore: test

* chore: test

* chore: test

* chore: test

* chore: test

* chore: test

* chore: test

* chore: test

* chore: test

* chore: test

* chore: test

* chore: test

* chore: test

* chore: test

* chore: test

* chore: test

* chore: test

* chore: this should fails

* chore: restore config
2020-06-18 23:01:57 +02:00
Juan Picado
b5028f2d8a chore: update bug template 2020-06-14 09:43:20 +02:00
Juan Picado
03c7feb64d feat: update verdaccio plugins and dependencies (#1838)
* chore: update dependencies

* chore: update dependencies

* chore: remove node v10 warning
2020-06-13 10:38:23 +02:00
Juan Picado @jotadeveloper
858bb36180 Merge branch 'master' of github.com:verdaccio/verdaccio 2020-06-13 09:16:59 +02:00
Juan Picado @jotadeveloper
a608aa489e chore: update contributors 2020-06-13 09:14:07 +02:00
allcontributors[bot]
fec41d9b20 docs: add toolsofraj as a contributor (#1837)
* docs: update CONTRIBUTORS.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2020-06-13 08:51:35 +02:00
Juan Picado @jotadeveloper
7694221175 Merge branch 'master' of github.com:verdaccio/verdaccio 2020-06-13 08:46:40 +02:00
Juan Picado @jotadeveloper
c7023b9bba chore: update contributors 2020-06-13 08:45:20 +02:00
toolsofraj
aee69a9453 fix: updated nodejs version to fix vulnerability in 12.x https://nodejs.org/en/blog/vulnerability/june-2020-security-releases/ (#1836)
Co-authored-by: Raj Sharma <raj@screenmeet.com>
2020-06-13 08:21:41 +02:00
Juan Picado @jotadeveloper
b01469ff73 chore: add contributors 2020-06-13 08:15:33 +02:00
Daniel Ruf
1352246d80 chore: test code scanning (#1833)
Co-authored-by: Juan Picado <juanpicado19@gmail.com>
2020-06-07 18:29:52 +02:00
Juan Picado
e8e94182a4 chore: new issues report seetings (#1834) 2020-06-07 17:23:44 +02:00
dependabot-preview[bot]
530018895c build(deps): bump mime from 2.4.4 to 2.4.6 (#1831)
Bumps [mime](https://github.com/broofa/mime) from 2.4.4 to 2.4.6.
- [Release notes](https://github.com/broofa/mime/releases)
- [Changelog](https://github.com/broofa/mime/blob/master/CHANGELOG.md)
- [Commits](https://github.com/broofa/mime/commits)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-06 07:43:44 +02:00
Juan Picado
56b677a35a feat: restore Node 8 support (#1832)
This restore a support I removed in Verdaccio 4.5.0

This means nothing if you were not using Node v8, this support should be removed in a major release.
2020-06-03 22:35:31 +02:00
dependabot-preview[bot]
6b1553c257 build(deps-dev): bump codecov from 3.6.5 to 3.7.0 (#1829)
Bumps [codecov](https://github.com/codecov/codecov-node) from 3.6.5 to 3.7.0.
- [Release notes](https://github.com/codecov/codecov-node/releases)
- [Commits](https://github.com/codecov/codecov-node/compare/v3.6.5...v3.7.0)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-03 07:10:29 +02:00
Snyk bot
6e66cc6433 chore: [Snyk] Upgrade verdaccio-audit from 9.4.0 to 9.5.0 (#1821)
* fix: upgrade verdaccio-audit from 9.4.0 to 9.5.0

Snyk has created this PR to upgrade verdaccio-audit from 9.4.0 to 9.5.0.

See this package in NPM:
https://www.npmjs.com/package/verdaccio-audit

See this project in Snyk:
https://app.snyk.io/org/juanpicado/project/0c76bae8-cfcd-43f7-aff5-70f221855049?utm_source=github&utm_medium=upgrade-pr

* fix: upgrade verdaccio-audit from 9.4.0 to 9.5.0

Snyk has created this PR to upgrade verdaccio-audit from 9.4.0 to 9.5.0.

See this package in NPM:
https://www.npmjs.com/package/verdaccio-audit

See this project in Snyk:
https://app.snyk.io/org/juanpicado/project/0c76bae8-cfcd-43f7-aff5-70f221855049?utm_source=github&utm_medium=upgrade-pr

Co-authored-by: Juan Picado <juanpicado19@gmail.com>
2020-05-24 12:03:44 +02:00
Snyk bot
1e2159a345 fix: [Snyk] upgrade @verdaccio/streams from 9.4.0 to 9.5.0 (#1819)
* fix: upgrade @verdaccio/streams from 9.4.0 to 9.5.0

Snyk has created this PR to upgrade @verdaccio/streams from 9.4.0 to 9.5.0.

See this package in NPM:
https://www.npmjs.com/package/@verdaccio/streams

See this project in Snyk:
https://app.snyk.io/org/juanpicado/project/0c76bae8-cfcd-43f7-aff5-70f221855049?utm_source=github&utm_medium=upgrade-pr

* fix: upgrade @verdaccio/streams from 9.4.0 to 9.5.0

Snyk has created this PR to upgrade @verdaccio/streams from 9.4.0 to 9.5.0.

See this package in NPM:
https://www.npmjs.com/package/@verdaccio/streams

See this project in Snyk:
https://app.snyk.io/org/juanpicado/project/0c76bae8-cfcd-43f7-aff5-70f221855049?utm_source=github&utm_medium=upgrade-pr
2020-05-24 07:59:48 +02:00
Juan Picado
2d16675a66 chore: add browserstack oss sponsor on readme 2020-05-21 09:09:42 +02:00
dependabot-preview[bot]
f44adf096a build(deps-dev): bump standard-version from 7.1.0 to 8.0.0 (#1804)
Bumps [standard-version](https://github.com/conventional-changelog/standard-version) from 7.1.0 to 8.0.0.
- [Release notes](https://github.com/conventional-changelog/standard-version/releases)
- [Changelog](https://github.com/conventional-changelog/standard-version/blob/master/CHANGELOG.md)
- [Commits](https://github.com/conventional-changelog/standard-version/compare/v7.1.0...v8.0.0)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-12 22:02:03 +02:00
dependabot-preview[bot]
21216b42fa build(deps): bump semver from 7.2.1 to 7.3.2 (#1802)
Bumps [semver](https://github.com/npm/node-semver) from 7.2.1 to 7.3.2.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/master/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v7.2.1...v7.3.2)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-12 21:06:43 +02:00
Juan Picado
882704f981 chore: add openjs world talk 2020-05-09 20:16:35 +02:00
dependabot-preview[bot]
2e693f15ce build(deps-dev): bump @verdaccio/types from 9.3.0 to 9.5.0 (#1805)
Bumps [@verdaccio/types](https://github.com/verdaccio/monorepo/tree/HEAD/core/types) 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/types/CHANGELOG.md)
- [Commits](https://github.com/verdaccio/monorepo/commits/v9.5.0/core/types)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-09 07:50:24 +02:00
dependabot-preview[bot]
1fa75e8215 build(deps): [security] bump acorn from 6.4.0 to 6.4.1 (#1800)
Bumps [acorn](https://github.com/acornjs/acorn) from 6.4.0 to 6.4.1. **This update includes security fixes.**
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/6.4.0...6.4.1)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-07 17:16:11 +02:00
Snyk bot
50f6c71a37 fix: upgrade mkdirp from 1.0.3 to 1.0.4 (#1782)
* fix: upgrade mkdirp from 1.0.3 to 1.0.4

Snyk has created this PR to upgrade mkdirp from 1.0.3 to 1.0.4.

See this package in NPM:
https://www.npmjs.com/package/mkdirp

See this project in Snyk:
https://app.snyk.io/org/juanpicado/project/0c76bae8-cfcd-43f7-aff5-70f221855049?utm_source=github&utm_medium=upgrade-pr

* fix: upgrade mkdirp from 1.0.3 to 1.0.4

Snyk has created this PR to upgrade mkdirp from 1.0.3 to 1.0.4.

See this package in NPM:
https://www.npmjs.com/package/mkdirp

See this project in Snyk:
https://app.snyk.io/org/juanpicado/project/0c76bae8-cfcd-43f7-aff5-70f221855049?utm_source=github&utm_medium=upgrade-pr

Co-authored-by: Juan Picado <juanpicado19@gmail.com>
2020-05-01 12:42:58 +02:00
Juan Picado @jotadeveloper
07f1232f65 chore(release): 4.6.2 2020-05-01 11:15:10 +02:00
Juan Picado
c2e0e1e0bf fix: avoid access to sidebar without login (#1794) 2020-05-01 11:09:44 +02:00
Juan Picado
f9e7f8671b fix: update core dependencies (#1790)
- @verdaccio/ui-theme@1.7.1 add language switch and fix bug translations powered by @priscilawebdev
- verdaccio-htpasswd@9.4.1 generate non-constant legacy 2 byte salt by @michaellotz-iart
- update dayjs and envinfo
2020-04-30 20:39:46 +02:00
Juan Picado @jotadeveloper
fa72de2521 chore: pin dependencies 2020-04-30 07:46:48 +02:00
Juan Picado
87b5822646 chore: update security policy
3.x is no longer supported
2020-04-27 07:51:28 +02:00
Juan Picado @jotadeveloper
afb31b8baf chore(release): 4.6.1 2020-04-27 07:42:33 +02:00
Juan Picado
416d41fa08 fix: improve token validation (#1784)
* fix: check name of credentials

* chore: improve validation
2020-04-26 22:26:49 +02:00
Juan Picado @jotadeveloper
9602995636 chore: add is website vulnerable local registry check 2020-04-25 22:21:06 +02:00
Juan Picado @jotadeveloper
e9f99f46e2 chore: restore @octokit/rest 2020-04-24 22:15:11 +02:00
Juan Picado @jotadeveloper
db68680407 chore(release): 4.6.0 2020-04-24 18:47:28 +02:00
Juan Picado
656ec55897 feat: update @verdaccio/ui-theme@1.5.0 (#1780) 2020-04-24 18:46:14 +02:00
Juan Picado @jotadeveloper
61faa33de1 feat: update docker node to 12.16.2 (#1776) 2020-04-13 11:18:21 +02:00
Juan Picado @jotadeveloper
1a9a12e918 fix: fatal exception and crash when log rotate signal event is called (#1774)
fix #1709
2020-04-10 17:36:29 +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
Juan Picado @jotadeveloper
262241466c Merge pull request #1761 from verdaccio/snyk-upgrade-d77655948f2b0aa52ea586cedd63fada
[Snyk] Upgrade dayjs from 1.8.21 to 1.8.22
2020-04-09 01:07:43 +02:00
Juan Picado @jotadeveloper
8c135db633 Merge branch 'master' into snyk-upgrade-d77655948f2b0aa52ea586cedd63fada 2020-04-09 00:33:38 +02:00
Juan Picado @jotadeveloper
d68926050d fix: incorrect primary_color crash the ui (#1771)
* fix: incorrect primary_color crash the ui

* chore: also supports 3 and 6 characters as valid hex
2020-04-09 00:33:03 +02:00
Juan Picado @jotadeveloper
4a812620cf feat: add dark mode on and chinese translation for web (#1765)
* feat: add dark mode on ui

* chore: update description

* chore: update @verdaccio/ui-theme@1.5.0

* chore: add spaces
2020-04-08 23:24:57 +02:00
snyk-bot
b2d00e4330 fix: upgrade dayjs from 1.8.21 to 1.8.22
Snyk has created this PR to upgrade dayjs from 1.8.21 to 1.8.22.

See this package in NPM:
https://www.npmjs.com/package/dayjs

See this project in Snyk:
https://app.snyk.io/org/juanpicado/project/0c76bae8-cfcd-43f7-aff5-70f221855049?utm_source=github&utm_medium=upgrade-pr
2020-03-31 01:11:38 +00:00
Juan Picado @jotadeveloper
ef185fbeda chore: update lock bot 2020-03-30 18:36:18 +02:00
Snyk bot
ebae410c81 fix: upgrade dayjs from 1.8.20 to 1.8.21 (#1759)
Snyk has created this PR to upgrade dayjs from 1.8.20 to 1.8.21.

See this package in NPM:
https://www.npmjs.com/package/dayjs

See this project in Snyk:
https://app.snyk.io/org/juanpicado/project/0c76bae8-cfcd-43f7-aff5-70f221855049?utm_source=github&utm_medium=upgrade-pr
2020-03-20 22:37:53 +01:00
Snyk bot
3ec8d13578 fix: upgrade async from 3.1.1 to 3.2.0 (#1756)
Snyk has created this PR to upgrade async from 3.1.1 to 3.2.0.

See this package in NPM:
https://www.npmjs.com/package/async

See this project in Snyk:
https://app.snyk.io/org/juanpicado/project/0c76bae8-cfcd-43f7-aff5-70f221855049?utm_source=github&utm_medium=upgrade-pr
2020-03-18 17:09:47 +01:00
Juan Picado @jotadeveloper
3e2715fcf7 chore(release): 4.5.1 2020-03-14 08:31:02 +01:00
Juan Picado @jotadeveloper
17c3324e93 fix: update docs to support minimum node v10 (#1753)
At v4.5.0 we shipped some security releases, one of them is JSDOM https://github.com/jsdom/jsdom/releases/tag/16.0.0 and only supports Node.js v10

Node v8 is out of maintenance so we don't consider this a breaking change.
2020-03-14 08:28:40 +01:00
Juan Picado @jotadeveloper
5c8b267ee0 chore(release): 4.5.0 2020-03-14 07:36:04 +01:00
Juan Picado @jotadeveloper
c493b316b1 feat: i18n on web (#1750)
* feat: add i18n to web

* chore: enable es features
2020-03-14 07:16:47 +01:00
Snyk bot
981efa5571 fix: upgrade mkdirp from 1.0.0 to 1.0.3 (#1747)
Snyk has created this PR to upgrade mkdirp from 1.0.0 to 1.0.3.

See this package in NPM:
https://www.npmjs.com/package/mkdirp

See this project in Snyk:
https://app.snyk.io/org/juanpicado/project/0c76bae8-cfcd-43f7-aff5-70f221855049?utm_source=github&utm_medium=upgrade-pr
2020-03-12 23:33:32 +01:00
Juan Picado @jotadeveloper
1e664bdfa5 fix: update dependencies security warnings (#1748) 2020-03-12 07:18:12 +01:00
Snyk bot
3c49777868 fix: package.json & yarn.lock to reduce vulnerabilities (#1746)
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-MINIMIST-559764
2020-03-11 22:37:40 +01:00
Juan Picado @jotadeveloper
92135265cd fix: update @verdaccio/readme@9.3.2 (#1745)
* fix: update @verdaccio/readme@9.3.2

* chore: update github action
2020-03-11 22:27:58 +01:00
Juan Picado @jotadeveloper
1968fa82a2 fix: update acorn@7.1.1 (#1739)
https://app.snyk.io/org/juanpicado/project/0c76bae8-cfcd-43f7-aff5-70f221855049
https://www.npmjs.com/advisories/1488
2020-03-07 22:14:50 +01:00
Joshua Jensch
9ac307adc5 feat: add support for new search endpoint(#1732)
https://github.com/verdaccio/verdaccio/issues/310

* Add an incomplete implementation of the v1/search api

* Use parseInt and || instead of ?? for processing numeric arguments

* Remove res.end, as we already use response.json

* Remove unused request parameters and add TODO comment

* Fix eslint errors

Co-authored-by: Joshua Jensch <j.jensch@hvs.de>
2020-03-06 08:19:06 +01:00
Juan Picado @jotadeveloper
0a83d94819 chore: update add new talks 2020-03-06 08:16:42 +01:00
Juan Picado @jotadeveloper
64e2543d59 fix: upgrade semver from 7.1.2 to 7.1.3 (#1735)
Snyk has created this PR to upgrade semver from 7.1.2 to 7.1.3.

See this package in NPM:
https://www.npmjs.com/package/semver

See this project in Snyk:
https://app.snyk.io/org/juanpicado/project/0c76bae8-cfcd-43f7-aff5-70f221855049?utm_source=github&utm_medium=upgrade-pr
2020-03-05 06:47:33 +01:00
Juan Picado @jotadeveloper
6849ef9697 fix: upgrade dayjs from 1.8.19 to 1.8.20 (#1721)
Snyk has created this PR to upgrade dayjs from 1.8.19 to 1.8.20.

See this package in NPM:
https://www.npmjs.com/package/dayjs

See this project in Snyk:
https://app.snyk.io/org/juanpicado/project/0c76bae8-cfcd-43f7-aff5-70f221855049?utm_source=github&utm_medium=upgrade-pr
2020-03-04 20:39:45 +01:00
Juan Picado @jotadeveloper
11fed6d3c3 fix: upgrade handlebars from 4.7.2 to 4.7.3 (#1726)
Snyk has created this PR to upgrade handlebars from 4.7.2 to 4.7.3.

See this package in NPM:
https://www.npmjs.com/package/handlebars

See this project in Snyk:
https://app.snyk.io/org/juanpicado/project/0c76bae8-cfcd-43f7-aff5-70f221855049?utm_source=github&utm_medium=upgrade-pr

Co-authored-by: Juan Picado @jotadeveloper <juanpicado19@gmail.com>
2020-03-04 20:38:20 +01:00
Kevin Yockey
3aaa04829a fix: adding Content-Type to response in GET /-/all (#1697) (#1728) 2020-03-03 21:16:53 +01:00
Patrick DeVivo
f85cbf3c6c chore: add TODOs badge to the README (#1725)
Closes #1724
2020-02-27 23:14:04 +01:00
Juan Picado @jotadeveloper
0d7123b7bb chore(release): 4.4.4 2020-02-26 22:39:54 +01:00
Snyk bot
c3e931efa1 fix: upgrade semver from 7.1.1 to 7.1.2 (#1719)
Snyk has created this PR to upgrade semver from 7.1.1 to 7.1.2.

See this package in NPM:
https://www.npmjs.com/package/semver

See this project in Snyk:
https://app.snyk.io/org/juanpicado/project/0c76bae8-cfcd-43f7-aff5-70f221855049?utm_source=github&utm_medium=upgrade-pr

Co-authored-by: Juan Picado @jotadeveloper <juanpicado19@gmail.com>
2020-02-25 20:41:36 +01:00
Viktor Oreshkin
70a93da1fc fix: tarball urls for web/package (fix #1714) (#1716) 2020-02-25 20:24:42 +01:00
Snyk bot
1f3f8cd72c fix: upgrade @verdaccio/local-storage from 9.0.0 to 9.3.0 (#1717)
Snyk has created this PR to upgrade @verdaccio/local-storage from 9.0.0 to 9.3.0.

See this package in NPM:
https://www.npmjs.com/package/@verdaccio/local-storage

See this project in Snyk:
https://app.snyk.io/org/juanpicado/project/0c76bae8-cfcd-43f7-aff5-70f221855049?utm_source=github&utm_medium=upgrade-pr
2020-02-23 10:49:28 +01:00
dependabot[bot]
14565169cb build(deps-dev): bump codecov from 3.6.1 to 3.6.5 (#1712)
Bumps [codecov](https://github.com/codecov/codecov-node) from 3.6.1 to 3.6.5.
- [Release notes](https://github.com/codecov/codecov-node/releases)
- [Commits](https://github.com/codecov/codecov-node/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2020-02-19 19:18:17 +01:00
Juan Picado @jotadeveloper
d1eb3583aa chore(release): 4.4.3 2020-02-19 08:39:48 +01:00
Juan Picado @jotadeveloper
d94f838cd9 fix: update @verdaccio/ui-theme@0.3.13 (#1710) 2020-02-19 08:38:53 +01:00
Snyk bot
a32e431813 fix: upgrade async from 3.1.0 to 3.1.1 (#1708)
Snyk has created this PR to upgrade async from 3.1.0 to 3.1.1.

See this package in NPM:
https://www.npmjs.com/package/async

See this project in Snyk:
https://app.snyk.io/org/juanpicado/project/0c76bae8-cfcd-43f7-aff5-70f221855049?utm_source=github&utm_medium=upgrade-pr
2020-02-16 09:48:07 +01:00
Snyk bot
8c2e58b6af fix: upgrade handlebars from 4.5.3 to 4.7.2 (#1699)
Snyk has created this PR to upgrade handlebars from 4.5.3 to 4.7.2.

See this package in NPM:
https://www.npmjs.com/package/handlebars

See this project in Snyk:
https://app.snyk.io/org/juanpicado/project/0c76bae8-cfcd-43f7-aff5-70f221855049?utm_source=github&utm_medium=upgrade-pr

Co-authored-by: Juan Picado @jotadeveloper <juanpicado19@gmail.com>
2020-02-14 07:06:22 +01:00
Snyk bot
5320b13473 fix: upgrade dayjs from 1.8.17 to 1.8.19 (#1700)
Snyk has created this PR to upgrade dayjs from 1.8.17 to 1.8.19.

See this package in NPM:
https://www.npmjs.com/package/dayjs

See this project in Snyk:
https://app.snyk.io/org/juanpicado/project/0c76bae8-cfcd-43f7-aff5-70f221855049?utm_source=github&utm_medium=upgrade-pr

Co-authored-by: Juan Picado @jotadeveloper <juanpicado19@gmail.com>
2020-02-14 01:58:18 +01:00
Snyk bot
17ddf3e626 fix: upgrade lockfile-lint from 2.0.1 to 2.2.0 (#1698)
Snyk has created this PR to upgrade lockfile-lint from 2.0.1 to 2.2.0.

See this package in NPM:
https://www.npmjs.com/package/lockfile-lint

See this project in Snyk:
https://app.snyk.io/org/juanpicado/project/0c76bae8-cfcd-43f7-aff5-70f221855049?utm_source=github&utm_medium=upgrade-pr
2020-02-13 22:09:09 +01:00
dependabot-preview[bot]
e350ca4917 build(deps-dev): bump rimraf from 3.0.0 to 3.0.1 (#1691)
Bumps [rimraf](https://github.com/isaacs/rimraf) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/isaacs/rimraf/releases)
- [Changelog](https://github.com/isaacs/rimraf/blob/master/CHANGELOG.md)
- [Commits](https://github.com/isaacs/rimraf/compare/v3.0.0...v3.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-02 08:36:26 +01:00
dependabot-preview[bot]
3be99cc758 build(deps-dev): bump typescript from 3.7.1-rc to 3.7.5 (#1679)
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 3.7.1-rc to 3.7.5.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/commits/v3.7.5)

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

Co-authored-by: Juan Picado @jotadeveloper <juanpicado19@gmail.com>
2020-01-20 21:32:23 +01:00
dependabot-preview[bot]
c10bfcb04e build(deps-dev): bump nock from 11.7.0 to 11.7.2 (#1678)
Bumps [nock](https://github.com/nock/nock) from 11.7.0 to 11.7.2.
- [Release notes](https://github.com/nock/nock/releases)
- [Changelog](https://github.com/nock/nock/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nock/nock/compare/v11.7.0...v11.7.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-20 07:21:43 +01:00
Daniel Ruf
fd6c6497fa fix: use https to resolve mixed content errors (#1674)
Co-authored-by: Juan Picado @jotadeveloper <juanpicado19@gmail.com>
2020-01-15 20:09:31 +01:00
Daniel Ruf
a616250e33 refactor: remove extraneous else statements (#1671)
Co-authored-by: Juan Picado @jotadeveloper <juanpicado19@gmail.com>
2020-01-12 14:44:22 +01:00
Sergio Herrera
3b31f39469 Merge pull request #1673 from verdaccio/juanpicado-patch-1
chore: enable sonarcloud
2020-01-12 12:20:34 +01:00
Juan Picado @jotadeveloper
f9206c6ce1 chore: enable sonarcloud 2020-01-12 12:02:48 +01:00
Daniel Ruf
5dc6183802 refactor: use optimized svg for generic gravatar (#1670) 2020-01-12 11:34:53 +01:00
Juan Picado @jotadeveloper
f8956f5932 chore(release): 4.4.2 2020-01-11 08:50:32 +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
Juan Picado @jotadeveloper
aac6709ac2 fix(deps): bump @verdaccio/ui-theme from 0.3.11 to 0.3.12 (#1657) (#1665)
fixes: https://github.com/verdaccio/verdaccio/issues/1648
Co-Authored-By: Daniel Ruf <danielruf@users.noreply.github.com>

Co-authored-by: Daniel Ruf <827205+DanielRuf@users.noreply.github.com>
2020-01-09 06:56:36 +01:00
dependabot-preview[bot]
9db91ee0e1 build(deps-dev): bump @octokit/rest from 16.28.9 to 16.36.0 (#1651)
Bumps [@octokit/rest](https://github.com/octokit/rest.js) from 16.28.9 to 16.36.0.
- [Release notes](https://github.com/octokit/rest.js/releases)
- [Commits](https://github.com/octokit/rest.js/compare/v16.28.9...v16.36.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-09 06:16:50 +01:00
Juan Picado @jotadeveloper
7b67bea4b8 fix(deps): bump @verdaccio/local-storage from 8.5.0 to 9.0.0
fix: converting circular structure to json (#1663)

Fixed at https://github.com/verdaccio/monorepo/pull/312

Fixes #1639

Co-Authored-By: Daniel Ruf <danielruf@users.noreply.github.com>

Co-authored-by: Daniel Ruf <827205+DanielRuf@users.noreply.github.com>
2020-01-08 20:41:33 +01:00
dependabot-preview[bot]
9a2fd81626 fix(deps): bump @verdaccio/ui-theme from 0.3.10 to 0.3.11 (#1657)
Bumps [@verdaccio/ui-theme](https://github.com/verdaccio/ui) from 0.3.10 to 0.3.11.
- [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/v0.3.10...v0.3.11)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-08 19:37:11 +01:00
dependabot-preview[bot]
6fb5bfca62 build(deps-dev): bump @verdaccio/types from 8.5.2 to 9.0.0 (#1650)
Bumps [@verdaccio/types](https://github.com/verdaccio/monorepo/tree/HEAD/core/types) from 8.5.2 to 9.0.0.
- [Release notes](https://github.com/verdaccio/monorepo/releases)
- [Changelog](https://github.com/verdaccio/monorepo/blob/master/core/types/CHANGELOG.md)
- [Commits](https://github.com/verdaccio/monorepo/commits/v9.0.0/core/types)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-08 19:34:19 +01:00
dependabot-preview[bot]
431081908a build(deps-dev): bump @types/jest from 24.0.24 to 24.0.25 (#1649)
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 24.0.24 to 24.0.25.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-08 19:33:48 +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
32aabca641 chore(release): 4.4.1 2020-01-04 00:02:10 +01:00
Daniel Ruf
f89bf27f5a fix: prevent issue with leading hyphen in package name - fixes #1429 (#1636) 2020-01-03 23:57:21 +01:00
Juan Picado @jotadeveloper
fbc87fc26e fix: warning due ui dependecy (#1638) 2019-12-30 23:11:26 +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
5189254fbb Merge pull request #1624 from verdaccio/e2e-pkg-poc
test: E2E with Verdaccio for our own CLI
2019-12-16 18:43:28 +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
0027566308 Merge branch 'master' into e2e-pkg-poc 2019-12-15 17:37:14 +01:00
Juan Picado @jotadeveloper
291c8cadc8 chore: fix typo 2019-12-15 17:33:15 +01:00
Juan Picado @jotadeveloper
4ee8f4f356 chore(release): 4.4.0 2019-12-15 17:24:14 +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
10ccc4a59f chore: fix tab 2019-12-14 23:00:32 +01:00
Juan Picado @jotadeveloper
6fd52203ed chore: typo 2019-12-14 22:59:14 +01:00
Juan Picado @jotadeveloper
73f021c603 chore: add ci conf for e2e pkg 2019-12-14 22:58:17 +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
Favo Yang
158de3f768 fix: search api will not set magic date header when return array (#1598) 2019-12-14 12:08:37 +01:00
Juan Picado @jotadeveloper
287ed3f88c feat: bumb up docker to node 12 (#1622)
Node 10 is active but 12 is the recommended way https://nodejs.org/en/about/releases/ we have been running against v12 for months, so we are safe
2019-12-14 09:21:17 +01:00
dependabot-preview[bot]
0ff9bb774a build(deps): bump marked from 0.7.0 to 0.8.0 (#1614)
Bumps [marked](https://github.com/markedjs/marked) from 0.7.0 to 0.8.0.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Commits](https://github.com/markedjs/marked/compare/v0.7.0...v0.8.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-14 08:25:31 +01:00
dependabot-preview[bot]
52c6a8aa9f build(deps): bump envinfo from 7.4.0 to 7.5.0 (#1616)
Bumps [envinfo](https://github.com/tabrindle/envinfo) from 7.4.0 to 7.5.0.
- [Release notes](https://github.com/tabrindle/envinfo/releases)
- [Commits](https://github.com/tabrindle/envinfo/compare/7.4.0...7.5.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-14 08:24:13 +01:00
dependabot-preview[bot]
8d9a7b32da build(deps-dev): bump @typescript-eslint/eslint-plugin (#1619)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 2.10.0 to 2.11.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v2.11.0/packages/eslint-plugin)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-14 08:23:38 +01:00
Juan Picado @jotadeveloper
a6c8ea8bfc build: add node13 to ci checks (#1613)
* chore: add more specific version of nodejs

I want o to be more clear against what we are testing

* chore: coverage as last step

* chore: add codecov

* chore: re-organize the steps
2019-12-14 07:53:59 +01:00
Juan Picado @jotadeveloper
d9c93e8c18 Merge pull request #1612 from Claude-Ray/refactor/simplify-conditional-expr
refactor: simplify the conditional expression
2019-12-13 08:50:49 +01:00
claude
e85e8bfaa9 refactor: simplify conditional expression 2019-12-12 20:33:00 +08:00
Juan Picado @jotadeveloper
a7172dc9af chore: add funding 2019-12-11 23:41:25 +01:00
James George
05c9d0507c refactor: use Array.includes (#1596) 2019-12-07 07:44:11 +01:00
dependabot-preview[bot]
19281f86f9 build(deps-dev): bump codecov from 3.5.0 to 3.6.1 (#1571)
Bumps [codecov](https://github.com/codecov/codecov-node) from 3.5.0 to 3.6.1.
- [Release notes](https://github.com/codecov/codecov-node/releases)
- [Commits](https://github.com/codecov/codecov-node/commits/v3.6.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-06 18:47:56 +01:00
dependabot-preview[bot]
12aab7e553 build(deps-dev): bump nock from 11.3.3 to 11.7.0 (#1572)
Bumps [nock](https://github.com/nock/nock) from 11.3.3 to 11.7.0.
- [Release notes](https://github.com/nock/nock/releases)
- [Changelog](https://github.com/nock/nock/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nock/nock/compare/v11.3.3...v11.7.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-06 18:47:28 +01:00
dependabot-preview[bot]
f6a9325d8e build(deps-dev): bump @types/http-errors from 1.6.2 to 1.6.3 (#1588)
Bumps [@types/http-errors](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/http-errors) from 1.6.2 to 1.6.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/http-errors)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-06 18:46:33 +01:00
dependabot-preview[bot]
6d12ddf4b3 build(deps): bump @verdaccio/readme from 8.2.0 to 8.4.2 (#1601)
Bumps [@verdaccio/readme](https://github.com/verdaccio/monorepo/tree/HEAD/core/readme) from 8.2.0 to 8.4.2.
- [Release notes](https://github.com/verdaccio/monorepo/releases)
- [Changelog](https://github.com/verdaccio/monorepo/blob/master/core/readme/CHANGELOG.md)
- [Commits](https://github.com/verdaccio/monorepo/commits/v8.4.2/core/readme)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-06 18:45:58 +01:00
dependabot-preview[bot]
a160790036 build(deps): bump @verdaccio/local-storage from 8.2.0 to 8.4.2 (#1602)
Bumps [@verdaccio/local-storage](https://github.com/verdaccio/monorepo/tree/HEAD/plugins/local-storage) from 8.2.0 to 8.4.2.
- [Release notes](https://github.com/verdaccio/monorepo/releases)
- [Changelog](https://github.com/verdaccio/monorepo/blob/master/plugins/local-storage/CHANGELOG.md)
- [Commits](https://github.com/verdaccio/monorepo/commits/v8.4.2/plugins/local-storage)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-06 18:31:55 +01:00
dependabot-preview[bot]
31c067ec6e build(deps-dev): bump @typescript-eslint/eslint-plugin (#1607)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 2.1.0 to 2.10.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v2.10.0/packages/eslint-plugin)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-06 18:30:46 +01:00
Juan Picado @jotadeveloper
dd754d1298 chore(release): 4.3.5 2019-11-21 17:26:14 +01:00
Juan Picado @jotadeveloper
4aeebd5be1 chore: update lock file 2019-11-21 17:02:57 +01:00
Juan Picado @jotadeveloper
04d660a90c chore: add nvm file for development 2019-11-21 17:02:21 +01:00
Snyk bot
2f3ba93c87 fix: package.json to reduce vulnerabilities (#1583)
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-HANDLEBARS-534478
- https://snyk.io/vuln/SNYK-JS-HANDLEBARS-534988
2019-11-21 16:45:15 +01:00
Juan Picado @jotadeveloper
28f1a94329 chore: update readme 2019-11-19 08:36:47 +01:00
dependabot-preview[bot]
2d0d34c4f2 build(deps): [security] bump https-proxy-agent from 2.2.2 to 2.2.4 (#1582)
Bumps [https-proxy-agent](https://github.com/TooTallNate/node-https-proxy-agent) from 2.2.2 to 2.2.4. **This update includes security fixes.**
- [Release notes](https://github.com/TooTallNate/node-https-proxy-agent/releases)
- [Commits](https://github.com/TooTallNate/node-https-proxy-agent/compare/2.2.2...2.2.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-19 06:03:01 +01:00
dependabot-preview[bot]
399421e609 build(deps-dev): bump @types/semver from 6.0.2 to 6.2.0 (#1574)
Bumps [@types/semver](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/semver) from 6.0.2 to 6.2.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/semver)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-17 11:55:48 +01:00
dependabot-preview[bot]
c416febbb6 build(deps-dev): bump @types/lodash from 4.14.141 to 4.14.148 (#1579)
Bumps [@types/lodash](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/lodash) from 4.14.141 to 4.14.148.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/lodash)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-17 07:03:01 +01:00
dependabot-preview[bot]
0106811061 build(deps-dev): bump cross-env from 5.2.1 to 6.0.3 (#1570)
Bumps [cross-env](https://github.com/kentcdodds/cross-env) from 5.2.1 to 6.0.3.
- [Release notes](https://github.com/kentcdodds/cross-env/releases)
- [Changelog](https://github.com/kentcdodds/cross-env/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kentcdodds/cross-env/compare/v5.2.1...v6.0.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-17 07:02:33 +01:00
Juan Picado @jotadeveloper
086c45b6e2 chore: add babe.js as oss user 2019-11-16 13:39:42 +01:00
dependabot-preview[bot]
f7c7d167b1 build(deps-dev): bump detect-secrets from 1.0.4 to 1.0.5 (#1575)
Bumps [detect-secrets](https://github.com/lirantal/detect-secrets) from 1.0.4 to 1.0.5.
- [Release notes](https://github.com/lirantal/detect-secrets/releases)
- [Commits](https://github.com/lirantal/detect-secrets/compare/v1.0.4...v1.0.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-16 13:26:32 +01:00
dependabot-preview[bot]
4e5b6e8d3f build(deps-dev): bump @types/jest from 24.0.22 to 24.0.23 (#1576)
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 24.0.22 to 24.0.23.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-16 13:22:30 +01:00
Snyk bot
e459881be5 fix: package.json to reduce vulnerabilities (#1577)
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-HANDLEBARS-534478
2019-11-16 13:21:23 +01:00
dependabot-preview[bot]
b7757f898b build(deps-dev): bump @types/async from 3.0.2 to 3.0.3 (#1561)
Bumps [@types/async](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/async) from 3.0.2 to 3.0.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/async)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-08 19:36:18 +01:00
dependabot-preview[bot]
a774d4e1c4 build(deps-dev): bump @types/jest from 24.0.18 to 24.0.22 (#1560)
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 24.0.18 to 24.0.22.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-08 19:35:50 +01:00
dependabot-preview[bot]
e801d01a0c build(deps): bump dayjs from 1.8.16 to 1.8.17 (#1562)
Bumps [dayjs](https://github.com/iamkun/dayjs) from 1.8.16 to 1.8.17.
- [Release notes](https://github.com/iamkun/dayjs/releases)
- [Changelog](https://github.com/iamkun/dayjs/blob/dev/CHANGELOG.md)
- [Commits](https://github.com/iamkun/dayjs/compare/v1.8.16...v1.8.17)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-08 19:35:24 +01:00
dependabot-preview[bot]
e982033013 build(deps-dev): bump verdaccio-auth-memory from 8.2.0 to 8.3.0 (#1559)
Bumps [verdaccio-auth-memory](https://github.com/verdaccio/monorepo/tree/HEAD/plugins/auth-memory) from 8.2.0 to 8.3.0.
- [Release notes](https://github.com/verdaccio/monorepo/releases)
- [Changelog](https://github.com/verdaccio/monorepo/blob/master/plugins/auth-memory/CHANGELOG.md)
- [Commits](https://github.com/verdaccio/monorepo/commits/v8.3.0/plugins/auth-memory)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-08 08:48:04 +01:00
dependabot-preview[bot]
c6e80b58a7 build(deps-dev): bump jest-junit from 8.0.0 to 9.0.0 (#1556)
Bumps [jest-junit](https://github.com/jest-community/jest-junit) from 8.0.0 to 9.0.0.
- [Release notes](https://github.com/jest-community/jest-junit/releases)
- [Commits](https://github.com/jest-community/jest-junit/compare/v8.0.0...v9.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-08 06:48:31 +01:00
dependabot-preview[bot]
4cd4a7155f build(deps): [security] bump eslint-utils from 1.4.0 to 1.4.3 (#1554)
Bumps [eslint-utils](https://github.com/mysticatea/eslint-utils) from 1.4.0 to 1.4.3. **This update includes security fixes.**
- [Release notes](https://github.com/mysticatea/eslint-utils/releases)
- [Commits](https://github.com/mysticatea/eslint-utils/compare/v1.4.0...v1.4.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-07 18:38:36 +01:00
dependabot-preview[bot]
241b0e51f7 build(deps): bump @verdaccio/commons-api from 8.2.0 to 8.3.0 (#1555)
Bumps [@verdaccio/commons-api](https://github.com/verdaccio/monorepo/tree/HEAD/core/commons-api) from 8.2.0 to 8.3.0.
- [Release notes](https://github.com/verdaccio/monorepo/releases)
- [Changelog](https://github.com/verdaccio/monorepo/blob/master/core/commons-api/CHANGELOG.md)
- [Commits](https://github.com/verdaccio/monorepo/commits/v8.3.0/core/commons-api)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-07 18:29:32 +01:00
Snyk bot
cd8228baed fix: package.json to reduce vulnerabilities (#1552)
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-HANDLEBARS-480388
2019-11-07 07:24:25 +01:00
Shreynik
b06b305b59 refactor: removes ts ignore comments (#1541) 2019-11-02 11:18:37 +01:00
Anix
cbea2edecb fix: changed the exit code for info flag (#1537)
* fix: changed the exit code for info flag

* fix: changed the exit code for info
2019-10-30 08:33:05 +01:00
Juan Picado @jotadeveloper
0aba1c36d9 chore: update Typescript 3.7.1-rc (#1536)
* chore: update typescript@3.7.0-beta

* chore: update to typescript@3.7.1-rc
2019-10-26 13:03:25 +02:00
Juan Picado @jotadeveloper
c70be6ec82 chore: update typescript@3.7.0-beta (#1507) 2019-10-26 12:48:35 +02:00
Juan Picado @jotadeveloper
b6abc00da9 chore(release): 4.3.4 2019-10-23 20:52:12 +02:00
Juan Picado @jotadeveloper
2ac7770459 fix: security vulnerability at readme in dompurify dep (#1532)
Fix Cross-site Scripting (XSS) in @verdaccio/readme
2019-10-23 20:49:36 +02:00
Juan Picado @jotadeveloper
44c79ad708 chore: update readme url 2019-10-22 07:08:54 +02:00
Juan Picado @jotadeveloper
073bcb0982 chore: add video to readme 2019-10-22 07:06:46 +02:00
TJ
a7d6a9c560 chore: removes 3x unnecessary @ts-ignore comments (#1524) 2019-10-19 08:42:17 +02:00
James George
35f816bf5c fix: minor grammatical tweak (#1513) 2019-10-07 07:45:25 +02:00
welling guzmán
549f4743d0 fix: minor typos, formatting, and docs (#1512) 2019-10-06 20:07:36 +02:00
Sergio Hg
1d1a6829db ci(circleci): store test results in junit format (#1497) 2019-10-05 16:29:49 +02:00
Sergio Herrera Guzmán
5415d17e44 ci(github): run ci and publish test on PRs 2019-10-03 11:18:43 +02:00
Juan Picado @jotadeveloper
b1b0c25212 chore(release): 4.3.3 2019-10-03 08:30:23 +02:00
Juan Picado @jotadeveloper
65d6a935b5 fix: allow add to request agentOptions (#1506)
Follow up of https://github.com/verdaccio/verdaccio/pull/1332
Documented here https://github.com/verdaccio/website/pull/126
2019-10-03 08:23:08 +02:00
Juan Picado @jotadeveloper
52130704ec chore(release): 4.3.2 2019-10-02 21:19:05 +02:00
polemius
02aee3a879 fix: fixing the lint issues (#1503) 2019-10-02 21:18:00 +02: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
Sergio Hg
214f4645f8 ci(circleci): use CircleCI 2.1 syntax improvements (#1496)
* ci(circleci): create common commands

* ci(circleci): migrate executors from aliases

* ci(circleci): move default_executor from aliases to executors
2019-10-02 06:34:35 +02:00
Juan Picado @jotadeveloper
147137c3ce chore(release): 4.3.1 2019-10-01 22:37:24 +02:00
Sergio Hg
c5df28951f ci(circleci): remove deprecated versions, improve names and coverage (#1495) 2019-10-01 22:31:22 +02:00
Sergio Hg
6c3ca20903 ci(github): add a CI workflow using Github Actions (#1494) 2019-10-01 22:08:40 +02:00
Sergio Hg
fe7ad21fa5 ci(github): migrate docker-publish-pre-check from old syntax (#1493) 2019-10-01 21:54:26 +02:00
Sergio Hg
ef25af5f5d ci(github): migrate release workflow from old syntax (#1492) 2019-10-01 21:38:55 +02:00
Sergio Hg
74fc18fc41 Merge pull request #1501 from verdaccio/core-team-daniel
chore(core): daniel ruf to core team
2019-10-01 21:02:16 +02:00
Juan Picado @jotadeveloper
1076d14bb0 chore(core): daniel ruf to core team
I have to tell, I've been willing this for a while, Daniel has been helping us since more than one year ago, constantly helping on different areas and would be a pleasure you will be part of our virtual team.

So, I guess only Daniel can approve this PR.
2019-10-01 20:52:25 +02:00
Sergio Hg
bc6b084edd fix: remove jwt from docker config (#1500) 2019-10-01 20:02:45 +02:00
Sergio Hg
e9616f9e7a fix: remove jwt from default config (#1499) 2019-10-01 20:02:09 +02:00
Sergio Hg
9b45342511 Merge pull request #1498 from jamesgeorge007/feat/update-docs
[Docs]: minor tweak
2019-10-01 13:48:08 +02:00
jamesgeorge007
cab5e608b6 update docs 2019-10-01 16:12:26 +05:30
jjangga0214
eaf3556e3d docs(readme): fix broken link (#1491)
replace old link toward docs directory to direct external link to docs website.
2019-10-01 07:46:22 +02:00
Juan Picado @jotadeveloper
c6314928ca chore(release): 4.3.0 2019-09-30 23:06:33 +02:00
Sergio Hg
a1aefae0f4 chore(deps): update verdaccio-audit to fix express version (#1490) 2019-09-30 22:59:42 +02:00
Juan Picado @jotadeveloper
9d68816bde chore: update dependencies (#1485) 2019-09-30 20:54:10 +02:00
Snyk bot
b1cd0704b9 fix: package.json to reduce vulnerabilities (#1474)
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-DOMPURIFY-468981
2019-09-27 04:45:28 +02:00
Juan Picado @jotadeveloper
e081a580c4 feat(docker): Node.js update to 10.16.3 (#1473) 2019-09-26 20:27:46 +02:00
Juan Picado @jotadeveloper
b486a9df1a chore: update dependencies (#1472) 2019-09-26 19:40:23 +02:00
Juan Picado @jotadeveloper
5612c13e9e chore: fix eslint warnings (#1471) 2019-09-26 18:22:14 +02:00
Juan Picado @jotadeveloper
9006aefea7 chore: update readme 2019-09-08 00:53:32 +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
Marc Udoff
962d5d529a feat: ensure every log file has at least one record (#1414) 2019-09-06 22:14:28 -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
06f659c331 chore: add homepage 2019-08-26 07:01:48 +02:00
Juan Picado @jotadeveloper
e7b75646de chore(release): 4.2.2 2019-08-25 19:20:02 +02: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
423371423a fix: update @verdaccio/ui-theme@0.2.3 (#1451)
https://github.com/verdaccio/ui/blob/master/CHANGELOG.md#023-2019-08-25

missing headers on search endpoint with token (#121) (ac58730)
refactoring version page / fix issue not found page #100 (#117) (97e8448)
remove ToReplaceByVerdaccio #108 (#122) (5a9bd60)
api: correctly handle responses with missing content-type header (2049022)
2019-08-25 09:41:04 -07:00
Liran Tal
9b0b0bfac3 build: Lint the lockfile for security policies (#1444)
* feat: lint lockfiles

* fix: update secrets baseline
2019-08-25 09:37:25 -07:00
Alex Dixon
7d71b060c4 docs: show usage without setting registry globally (#1440) 2019-08-20 20:19:13 +02: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
8b03637b63 chore(docker): use yarn lock file 2019-08-18 07:50:42 +02:00
Juan Picado @jotadeveloper
87c3a29bd5 Merge pull request #1438 from guitarrapc/fix/cloudformation_template_for_second_ec2launch
fix: mkdir failed and ec2 infinitely re-launch
2019-08-15 18:40:29 +02:00
Ikiru Yoshizaki
9006146a59 fix: use test + mkdir for strict dir check 2019-08-14 23:38:34 +09:00
Daniel Ruf
60e0c55544 chore: add missing word in lock comment (#1437) 2019-08-13 20:46:16 +02:00
Ikiru Yoshizaki
342d284568 fix: mkdir failed and ec2 infinitely re-launch
no-problem with first launch, but could not recover after 2nd launch.
cloud-init error message indicate mkdir failed.

$ sudo cat /var/log/cloud-init-output.log
mkdir: cannot create directory '/verdaccio/conf': File exists
2019-08-13 16:22:37 +09:00
Juan Picado @jotadeveloper
621ebfeb1a chore(release): 4.2.1 2019-08-10 13:51:14 +02:00
Juan Picado @jotadeveloper
ac6c138309 Merge pull request #1432 from devnill/create-correct-user-groups
fix: fixed user creation endpoint to properly import groups
2019-08-10 13:48:09 +02:00
Juan Picado @jotadeveloper
97a3f14dd0 chore: update secrets baseline 2019-08-10 13:41:26 +02:00
Juan Picado @jotadeveloper
68476e5f0f chore: remove flow header 2019-08-10 13:39:57 +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
Matthew Curtis
8d51856dbf chore: update language in README's Donations section (#1433)
The Donations section of the README had a couple of typos, so I tidied it up a little bit.
2019-08-08 19:25:20 +02:00
Dan Singer
50e115f52a fix: fixed user creation endpoint to properly import groups 2019-08-06 10:01:47 -06:00
Juan Picado @jotadeveloper
4fb20efe60 Merge pull request #1418 from jamesgeorge007/hotfix/remove-stub-definition
fix(chore): remove stub type definition for handlebars
2019-08-01 18:41:40 +02:00
jamesgeorge007
19b9af3401 update yarn.lock 2019-08-01 13:54:13 +05:30
Juan Picado @jotadeveloper
6aa3bdc514 Merge pull request #1417 from jamesgeorge007/feat/minor-refactor
chore: minor refactor to eliminate code redundancy
2019-07-31 22:25:44 +02:00
Juan Picado @jotadeveloper
8028913157 Merge pull request #1421 from zkochan/master
fix(deps): add missing prod dependency
2019-07-31 21:58:30 +02:00
Zoltan Kochan
849f5bccb4 fix(deps): add missing prod dependency
http-errors needs to be a prod dependency
as it is used in code.
2019-07-31 19:08:32 +03:00
jamesgeorge007
de8dc43161 fix: remove stub type definition for handlebars 2019-07-30 14:06:16 +05:30
jamesgeorge007
e233a578a9 Minor refactor to eliminate code redundancy 2019-07-30 13:58:45 +05:30
Juan Picado @jotadeveloper
c1672f7e32 chore(release): 4.2.0 2019-07-29 20:27:48 +02:00
Juan Picado @jotadeveloper
20427797f7 Merge pull request #1415 from verdaccio/feat-update-theme
feat: update to @verdaccio/ui-theme@0.2.2
2019-07-29 20:24:31 +02:00
Juan Picado @jotadeveloper
9dd1c8f400 feat: update to @verdaccio/ui-theme@0.2.2
- fix: https://github.com/verdaccio/ui/issues/76
- fix: https://github.com/verdaccio/ui/issues/75
- fix: https://github.com/verdaccio/ui/pull/106
- feat: https://github.com/verdaccio/ui/pull/47

Co-Authored-By: Priscila Oliveira <priscilawebdev@gmail.com>
Co-Authored-By: Sergio Hg <sergiohgz@users.noreply.github.com>
Co-Authored-By: Griffith <griffithtp@users.noreply.github.com>
2019-07-29 20:12:00 +02:00
Juan Picado @jotadeveloper
22a122e5b8 chore: fix typo 2019-07-29 11:04:32 +02:00
Juan Picado @jotadeveloper
e03003f95b chore: update readme 2019-07-29 11:03:06 +02:00
Juan Picado @jotadeveloper
168e57fdd2 Merge pull request #1412 from verdaccio/update-deps-audit
feat: add new prop to audit middleware
2019-07-29 10:28:43 +02:00
Juan Picado @jotadeveloper
d93e76b366 feat: add new prop to audit middleware
- context: https://github.com/verdaccio/verdaccio-audit/pull/12
- related https://github.com/verdaccio/verdaccio/issues/1293

Co-Authored-By: Danny Frencham <dfrencham@users.noreply.github.com>
2019-07-29 10:12:29 +02:00
Juan Picado @jotadeveloper
b176b2f271 Merge pull request #1411 from verdaccio/docker-update
feat: docker image bump to node.js 10.16
2019-07-29 00:01:52 +02:00
Juan Picado @jotadeveloper
802c796881 feat: docker image bump to node.js 10.16 2019-07-28 23:32:43 +02:00
Juan Picado @jotadeveloper
ecec954b76 chore: updated feature request 2019-07-28 23:25:17 +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
fcd8a7f7bf chore: remove unused parameter 2019-07-28 11:44:28 +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
9f7bb80d45 Merge branch 'master' of github.com:verdaccio/verdaccio 2019-07-27 12:50:43 +02:00
Juan Picado @jotadeveloper
bae88f42f8 Merge pull request #1408 from lirantal/fix/detect-secrets-hook-soften
chore(deps): bump detect-secrets for enhanced dev workflow
2019-07-27 12:50:25 +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
Liran Tal
c9f1124fda chore(deps): bump detect-secrets for enhanced dev workflow 2019-07-27 13:32:11 +03: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
71a0a43343 Merge pull request #1406 from verdaccio/refactor-logging
chore: refactor logging
2019-07-27 05:30:04 +02:00
Juan Picado @jotadeveloper
489be805e3 chore: remove empty file 2019-07-26 20:13: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
81d02f6f4f Merge pull request #1373 from lirantal/feat/detect-secrets
feat: prevent secrets from leaking to source control
2019-07-24 07:40:40 +02:00
Liran Tal
2b218ce0de fix(security): add secrets baseline 2019-07-19 08:02:08 +03:00
Liran Tal
aa8f1d3318 fix: upgrade to 1.0.2 which solves the docker issue 2019-07-19 06:39:22 +03:00
Liran Tal
9ef6808d4e feat: prevent secrets from leaking to source control 2019-07-19 06:39:20 +03:00
Juan Picado @jotadeveloper
4f87750c18 Merge pull request #1360 from verdaccio/feat-error-code
feat: storage plugins can throw http status codes
2019-07-16 19:08:04 +02:00
Juan Picado @jotadeveloper
12b60f6cb7 build: fix semver missing type on build with docker
it seems the @types/semver do not handle a legitimate method named 'compareLoose'
2019-07-16 18:27:58 +02:00
Juan Picado @jotadeveloper
b71df94897 Merge remote-tracking branch 'origin/master' into feat-error-code
# Conflicts:
#	src/lib/local-storage.ts
2019-07-16 17:38:25 +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
dependabot[bot]
b453681082 build(deps): bump lodash.template from 4.4.0 to 4.5.0 (#1384)
Bumps [lodash.template](https://github.com/lodash/lodash) from 4.4.0 to 4.5.0.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.4.0...4.5.0)

Signed-off-by: dependabot[bot] <support@github.com>
2019-07-11 20:52:15 +02:00
Juan Picado @jotadeveloper
d4e16051fa chore: update bug report content 2019-07-10 10:29:20 +02:00
Juan Picado @jotadeveloper
8d906ead47 chore: remove duplicated template 2019-07-10 10:09:26 +02:00
James George
495bb0afee build: update issue templates for use info new flag (#1377) 2019-07-08 17:39:34 +02:00
Juan Picado @jotadeveloper
274bb1a9b9 chore(release): 4.1.0 2019-07-08 09:47:28 +02:00
Juan Picado @jotadeveloper
44c1610791 chore: restore @verdaccio/ui-theme@0.1.11
due to https://github.com/verdaccio/ui/issues/89
2019-07-08 09:40:38 +02:00
Juan Picado @jotadeveloper
45b8a7658b Merge pull request #1376 from verdaccio/update-dependencies
chore: update dependencies
2019-07-08 09:36:24 +02:00
Juan Picado @jotadeveloper
a0cf98546b chore: update dependencies
regular maintenance
2019-07-08 09:23:07 +02:00
Juan Picado @jotadeveloper
0061e380c3 Merge pull request #1313 from verdaccio/4.1.x
4.1.x
2019-07-08 09:07:22 +02:00
Juan Picado @jotadeveloper
318f868720 chore: update readme add angular cli 2019-07-06 08:37:35 +02:00
James George
eb6bf5168b feat(chore): Included provision to show up local environment information (#1365)
* feat: adds provision to show up environment information

Fixes #1364

* feat: include docker info

* fix: pin envinfo

* fix: lock file

* fix: docker config

* fix: minor refactor

handle async behaviour

* feat: add short version for info
2019-06-30 18:17:25 +02:00
Juan Picado @jotadeveloper
6ff356b312 Merge remote-tracking branch 'origin/master' into 4.1.x 2019-06-30 12:49:31 +02:00
Juan Picado @jotadeveloper
acf5a791f6 chore: update lock settings 2019-06-29 11:38:22 +02:00
Juan Picado @jotadeveloper
41310ca0fb chore: update stale config
Inspired by gatsby community adding this message
2019-06-29 10:18:12 +02:00
Juan Picado @jotadeveloper
20bc433d5a Merge pull request #1363 from jamesgeorge007/feat/update-docs
docs: minor tweaks
2019-06-29 08:24:02 +02:00
James George
0177241504 Minor tweaks
typo fix and grammar
2019-06-29 09:43:45 +05:30
Jason Cooke
a6a4eee66b docs: fix typo (#1362) 2019-06-27 06:01:31 +02:00
Juan Picado @jotadeveloper
3c539975c3 feat: plugins can throw http status codes
This feature aims to fix a unfair and missleading situation with storage plugins. Until now they were forced to throw Node error codes https://nodejs.org/api/errors.html#nodejs-error-codes when a resource is not found or a file exist already.

Error codes as EEXISTS or ENOENT does not exist in environments where storage is a database or cloud api, thus must be mock.

This PR has backward compability and plugins can safely migrate to new error http codes.
2019-06-23 22:57:46 +02:00
Juan Picado @jotadeveloper
b38ef9608f Merge remote-tracking branch 'origin/master' into 4.1.x 2019-06-20 23:21:10 +02:00
Juan Picado @jotadeveloper
1aa9b4d4a5 chore(release): 4.0.4 2019-06-20 22:41:26 +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
e40083a6be chore: remove step frm GitHub actions 2019-06-14 07:18:13 +02:00
Juan Picado @jotadeveloper
1d6eb945c9 chore(release): 4.0.3 2019-06-14 06:43:32 +02:00
Juan Picado @jotadeveloper
9f5f563a3b Merge branch '4.1.x' of github.com:verdaccio/verdaccio into 4.1.x 2019-06-13 22:16:59 +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
Juan Picado @jotadeveloper
f242d1b261 chore(docs): add testing development notes (#1343)
* chore: add testing notes

co-contributions by:
@lirantal @DanielRuf 

This PR aims to add on boarding proccess for new contributors to test verdaccio, update test or add new features.

* chore: add new sections

* chore: add functional test notes

* chore: fix typos

Co-Authored-By: Daniel Ruf <danielruf@users.noreply.github.com>

* chore: add functional test block

Co-Authored-By: Daniel Ruf <danielruf@users.noreply.github.com>

* chore: add before commit guide

Co-Authored-By: Daniel Ruf <danielruf@users.noreply.github.com>

* chore: add ci notes

Co-Authored-By: Daniel Ruf <danielruf@users.noreply.github.com>

* chore: extend notes

Co-Authored-By: Daniel Ruf <danielruf@users.noreply.github.com>

* chore: update ci notes

Co-Authored-By: Daniel Ruf <danielruf@users.noreply.github.com>

* chore: update test/README.md

Co-Authored-By: Liran Tal <liran.tal@gmail.com>

* chore: update test/README.md

Co-Authored-By: Liran Tal <liran.tal@gmail.com>

* chore: update test/README.md

Co-Authored-By: Liran Tal <liran.tal@gmail.com>

* chore: update test/README.md

Co-Authored-By: Liran Tal <liran.tal@gmail.com>

* chore: update test/README.md

Co-Authored-By: Liran Tal <liran.tal@gmail.com>

* chore: update test/README.md

Co-Authored-By: Liran Tal <liran.tal@gmail.com>

* chore: update test/README.md

Co-Authored-By: Liran Tal <liran.tal@gmail.com>

* chore: update test/README.md

Co-Authored-By: Liran Tal <liran.tal@gmail.com>

* chore: update test/README.md

Co-Authored-By: Liran Tal <liran.tal@gmail.com>

* chore: update test/README.md

Co-Authored-By: Liran Tal <liran.tal@gmail.com>

* chore: update test/README.md

Co-Authored-By: Liran Tal <liran.tal@gmail.com>

* chore: update test/README.md

Co-Authored-By: Liran Tal <liran.tal@gmail.com>

* chore: update test/README.md

Co-Authored-By: Liran Tal <liran.tal@gmail.com>
2019-06-13 18:28:43 +02:00
Juan Picado @jotadeveloper
e77ffb4c31 chore(release): 4.0.2 2019-06-13 07:03:25 +02:00
Juan Picado @jotadeveloper
85c1bd1f76 fix(api): force authenticate on login (#1347)
When a user has a valid token and tries to login with other credentials the endpoint returns 201.

The reason was if another user logged previously and had a valid token stored in the terminal. We must authenticate any user that tries to log in even if the token stored is valid.

We must check credentials again and return a new token, if the credentials are wrong we reject the login. Furthermore, the new token will update the list of groups.
2019-06-13 06:58:43 +02:00
Juan Picado @jotadeveloper
192fb77169 fix(ui): failed to load all packages after login
more details https://github.com/verdaccio/ui/issues/72
2019-06-13 06:49:40 +02:00
Juan Picado @jotadeveloper
e5816342a6 fix: update dependencies
fix #1339 dayjs warning on yarn installation
2019-06-13 06:42:39 +02:00
Juan Picado @jotadeveloper
b6a1adca4e chore: update policy
display PGP public key as a code block
2019-06-12 10:06:09 +02:00
Liran Tal
ddcd89da33 fix: update security policy details (#1342) 2019-06-08 10:40:00 +02:00
Daniel Ruf
94e735ad39 chore: remove update-banner code (#1333) 2019-06-04 09:40:15 +02:00
Daniel Ruf
df834f4836 fix: correctly check if the proxy setting evaluates to false (#1336) 2019-06-04 07:17:01 +02:00
Juan Picado @jotadeveloper
390d0d6066 Merge branch 'master' into 4.1.x 2019-05-29 06:50:24 +02:00
Juan Picado @jotadeveloper
d53c345bed chore(release): 4.0.1 2019-05-28 22:25:42 +02:00
Honza Hommer
de0446376d fix(web): fix sidebar tarball protocol (#1326)
fix: #1320 https://github.com/verdaccio/verdaccio/issues/1320
2019-05-28 22:24:40 +02:00
Juan Picado @jotadeveloper
f0b8673ecf Merge branch 'master' into 4.1.x 2019-05-26 12:59:53 +02:00
Juan Picado @jotadeveloper
cb20169c02 Merge branch 'master' into 4.1.x 2019-05-26 07:12:36 +02:00
Juan Picado @jotadeveloper
995350f27e Merge branch 'master' into 4.1.x 2019-05-25 15:22:24 +02:00
Juan Picado @jotadeveloper
01a48af7d7 Merge branch 'master' into 4.1.x 2019-05-23 23:01:41 +02:00
Juan Picado @jotadeveloper
63695e2f2b Merge branch 'master' into 4.1.x 2019-05-21 22:54:25 -07:00
Honza Hommer
95d134bdfd feat: parse YAML/JSON/JS config file (#1258)
* Parse JSON/YAML config file.

* fix missing export

* fix: typos

* test(config): remove JSON test

* feat: better config error handling, tests

* fix: detect YAML config file via extension

* docs: https://github.com/verdaccio/website/pull/99
2019-05-21 22:50:14 -07:00
Juan Picado @jotadeveloper
197095efe3 Merge branch 'master' into 4.1.x 2019-05-20 13:05:38 -07:00
Juan Picado @jotadeveloper
134a738a47 Merge branch 'master' into 4.1.x 2019-05-20 12:06:54 -07:00
Juan Picado @jotadeveloper
8786a3740e test: relocate api spec test 2019-05-20 08:47:52 +02:00
Juan Picado @jotadeveloper
4bf6b3b844 test: fix broken test for validate parameters 2019-05-20 08:29:17 +02:00
Juan Picado @jotadeveloper
b1eb7c6278 test: relocate unit test cli, proxy, utils 2019-05-20 07:53:47 +02:00
Juan Picado @jotadeveloper
ca2e23cf9d test: relocate unit test 2019-05-20 07:41:12 +02:00
Juan Picado @jotadeveloper
596c727a35 test: relocate notification test 2019-05-20 07:33:39 +02:00
Juan Picado @jotadeveloper
e7400cef71 test: relocate plugin storage 2019-05-20 07:26:40 +02:00
Juan Picado @jotadeveloper
3929633f7e test: relocate test 2019-05-19 23:07:17 +02:00
Juan Picado @jotadeveloper
b4c42c1a78 test: relocate spec test 2019-05-19 22:23:12 +02:00
Juan Picado @jotadeveloper
2f3ec2ce42 test: increase usage of constants 2019-05-19 21:37:43 +02:00
Juan Picado @jotadeveloper
d052bcef89 test: relocate helpers 2019-05-19 21:03:45 +02:00
Juan Picado @jotadeveloper
cb7b695896 chore: update lock file 2019-05-17 21:01:13 +02:00
Juan Picado @jotadeveloper
26c5e2d670 Merge branch 'master' into 4.1.x 2019-05-17 08:04:13 -07:00
Juan Picado @jotadeveloper
5c6b515712 Merge pull request #1161 from mlucool/filters
Filter packages
2019-05-16 04:42:21 -07:00
Marc Udoff
b9ffac5d1b feat: plugin support to filter packages
Add a plugin that can filter all package metadata before being returned.
This enables blocking of packages from verdaccio.

IPluginStorageFilter are loaded like other plugins from the config.
Verdaccio will look for plugins in config.filters and pass this to
storage.init. This is the same design as other plugins and will be
dynamically found with the same rules. These plugins must impliment
a filter_metadata method, which is called serially (in the order
loaded from the config) for every metadata request. It gets a current
copy of a package metadata and may choose to modify it as required.
For example, this may be used to block a bad version of a package or
add a time delay from when new packages can be used from your
registry. Errors in a filter will cause a 404, similar to upLinkErrors
as it is not safe to recover gracefully from them. Note: When version
is removed, be careful about updating tags.

Fixes: #818
2019-05-15 20:04:41 -04:00
2010 changed files with 160246 additions and 70451 deletions

245
.all-contributorsrc Normal file
View File

@@ -0,0 +1,245 @@
{
"projectName": "verdaccio",
"projectOwner": "verdaccio",
"repoType": "github",
"repoHost": "https://github.com",
"commitConvention": "none",
"files": [
"CONTRIBUTORS.md"
],
"contributors": [
{
"login": "juanpicado",
"name": "Juan Picado",
"avatar_url": "https://avatars0.githubusercontent.com/u/558752?v=4",
"profile": "https://www.linkedin.com/in/jotadeveloper/",
"contributions": [
"doc",
"code",
"infra",
"eventOrganizing",
"blog",
"maintenance"
]
},
{
"login": "sergiohgz",
"name": "Sergio Herrera",
"avatar_url": "https://avatars3.githubusercontent.com/u/14012309?v=4",
"profile": "https://github.com/sergiohgz",
"contributions": [
"infra",
"maintenance"
]
},
{
"login": "DanielRuf",
"name": "Daniel Ruf",
"avatar_url": "https://avatars1.githubusercontent.com/u/827205?v=4",
"profile": "https://daniel-ruf.de/",
"contributions": [
"security",
"infra",
"maintenance"
]
},
{
"login": "priscilawebdev",
"name": "Priscila Oliveira",
"avatar_url": "https://avatars1.githubusercontent.com/u/29228205?v=4",
"profile": "https://priscilawebdev.github.io/priscilaoliveira/",
"contributions": [
"design",
"code",
"maintenance"
]
},
{
"login": "ayusharma",
"name": "Ayush Sharma",
"avatar_url": "https://avatars0.githubusercontent.com/u/6918450?v=4",
"profile": "http://ayusharma.github.io/",
"contributions": [
"infra",
"code",
"design"
]
},
{
"login": "trentearl",
"name": "Trent Earl",
"avatar_url": "https://avatars2.githubusercontent.com/u/802857?v=4",
"profile": "https://github.com/trentearl",
"contributions": [
"code"
]
},
{
"login": "jmwilkinson",
"name": "jmwilkinson",
"avatar_url": "https://avatars0.githubusercontent.com/u/17836030?v=4",
"profile": "https://github.com/jmwilkinson",
"contributions": [
"code"
]
},
{
"login": "bufferoverflow",
"name": "Roger Meier",
"avatar_url": "https://avatars2.githubusercontent.com/u/378909?v=4",
"profile": "https://github.com/bufferoverflow",
"contributions": [
"plugin"
]
},
{
"login": "jamesgeorge007",
"name": "James George",
"avatar_url": "https://avatars2.githubusercontent.com/u/25279263?v=4",
"profile": "https://ghuser.io/jamesgeorge007",
"contributions": [
"code"
]
},
{
"login": "AvailCat",
"name": "AvailCat",
"avatar_url": "https://avatars3.githubusercontent.com/u/19658647?v=4",
"profile": "https://github.com/AvailCat",
"contributions": [
"code",
"infra",
"maintenance"
]
},
{
"login": "lgaitan",
"name": "Lucius Gaitán",
"avatar_url": "https://avatars0.githubusercontent.com/u/5970350?v=4",
"profile": "https://www.luciusgaitan.com/",
"contributions": [
"code"
]
},
{
"login": "ramonornela",
"name": "Ramon Henrique Ornelas",
"avatar_url": "https://avatars1.githubusercontent.com/u/187946?v=4",
"profile": "https://github.com/ramonornela",
"contributions": [
"code"
]
},
{
"login": "UnitedMarsupials-zz",
"name": "UnitedMarsupials-zz",
"avatar_url": "https://avatars1.githubusercontent.com/u/1486340?v=4",
"profile": "https://people.freebsd.org/~mi/resume/",
"contributions": [
"code"
]
},
{
"login": "ryan-codingintrigue",
"name": "Ryan Graham",
"avatar_url": "https://avatars0.githubusercontent.com/u/9048902?v=4",
"profile": "http://www.codingintrigue.co.uk/",
"contributions": [
"code"
]
},
{
"login": "coolsp",
"name": "coolsp",
"avatar_url": "https://avatars1.githubusercontent.com/u/1246647?v=4",
"profile": "https://github.com/coolsp",
"contributions": [
"code"
]
},
{
"login": "ashishsurana",
"name": "Ashish Surana",
"avatar_url": "https://avatars0.githubusercontent.com/u/5610944?v=4",
"profile": "http://ashishsurana.in/",
"contributions": [
"code"
]
},
{
"login": "buffaybu",
"name": "Wang Yifei",
"avatar_url": "https://avatars3.githubusercontent.com/u/2025661?v=4",
"profile": "https://github.com/buffaybu",
"contributions": [
"code"
]
},
{
"login": "lirantal",
"name": "Liran Tal",
"avatar_url": "https://avatars1.githubusercontent.com/u/316371?v=4",
"profile": "https://twitter.com/liran_tal",
"contributions": [
"code"
]
},
{
"login": "brenordr",
"name": "Breno Rodrigues",
"avatar_url": "https://avatars2.githubusercontent.com/u/19731692?v=4",
"profile": "https://github.com/brenordr",
"contributions": [
"code"
]
},
{
"login": "jachstet-sea",
"name": "jachstet-sea",
"avatar_url": "https://avatars0.githubusercontent.com/u/7993508?v=4",
"profile": "https://github.com/jachstet-sea",
"contributions": [
"code"
]
},
{
"login": "Vrtak-CZ",
"name": "Patrik Votoček",
"avatar_url": "https://avatars1.githubusercontent.com/u/112567?v=4",
"profile": "https://patrik.votocek.cz/",
"contributions": [
"code"
]
},
{
"login": "monkeywithacupcake",
"name": "jess",
"avatar_url": "https://avatars3.githubusercontent.com/u/7316730?v=4",
"profile": "https://github.com/monkeywithacupcake",
"contributions": [
"code"
]
},
{
"login": "toolsofraj",
"name": "toolsofraj",
"avatar_url": "https://avatars0.githubusercontent.com/u/2507152?v=4",
"profile": "https://github.com/toolsofraj",
"contributions": [
"code"
]
},
{
"login": "ddhp",
"name": "Jian-Chen Chen (jesse)",
"avatar_url": "https://avatars1.githubusercontent.com/u/1715380?v=4",
"profile": "https://github.com/ddhp",
"contributions": [
"translation",
"code"
]
}
],
"skipCi": true,
"contributorsPerLine": 7
}

View File

@@ -1,3 +0,0 @@
{
"presets": [["@verdaccio", {"flow": true}]]
}

View File

@@ -1,177 +0,0 @@
version: 2
aliases:
- &defaults
working_directory: ~/verdaccio
- &node8_executor
docker:
- image: circleci/node:8
- &node12_browser_executor
docker:
- image: circleci/node:12-browsers
- &node10_executor
docker:
- image: circleci/node:10
- &node11_executor
docker:
- image: circleci/node:11
- &node12_executor
docker:
- image: circleci/node:12
- &default_executor
<<: *node12_executor
- &repo_key
repo-{{ .Branch }}-{{ .Revision }}
- &coverage_key
coverage-{{ .Branch }}-{{ .Revision }}
- &base_config_key
base-config-{{ .Branch }}-{{ .Revision }}
- &yarn_cache_key
yarn-sha-{{ checksum "yarn.lock" }}
- &restore_repo
attach_workspace:
at: ~/verdaccio
- &ignore_non_dev_branches
filters:
tags:
only: /.*/
branches:
ignore:
- gh-pages
- l10n_master
- /release\/.*/
jobs:
prepare:
<<: *defaults
<<: *default_executor
steps:
- checkout
- restore_cache:
key: *base_config_key
- restore_cache:
key: *yarn_cache_key
- run:
name: Install Js dependencies
command: yarn install --no-progress --registry https://registry.verdaccio.org
- run:
name: Prepare CI
command: yarn run pre:ci
- run:
name: Build project
command: yarn run code:build
- save_cache:
key: *yarn_cache_key
paths:
- ~/.yarn
- ~/.cache/yarn
- node_modules
- persist_to_workspace:
root: ~/verdaccio
paths:
- ./*
test_node8:
<<: *defaults
<<: *node8_executor
steps:
- *restore_repo
- run:
name: Test with Node 8
command: |
yarn test
yarn test:functional
test_node10:
<<: *defaults
<<: *node10_executor
steps:
- *restore_repo
- run:
name: Test with Node 10
command: |
yarn run test
yarn test:functional
test_node11:
<<: *defaults
<<: *node11_executor
steps:
- *restore_repo
- run:
name: Test with Node 11
command: |
yarn run test
yarn test:functional
test_node12:
<<: *defaults
<<: *node12_executor
steps:
- *restore_repo
- run:
name: Test with Node 12
command: |
yarn run test
yarn test:functional
test_e2e:
<<: *defaults
<<: *node12_browser_executor
steps:
- *restore_repo
- run:
name: Test End-to-End
command: yarn run test:e2e
coverage:
<<: *defaults
<<: *default_executor
steps:
- *restore_repo
- restore_cache:
key: *coverage_key
- run:
name: Publish coverage
command: yarn run coverage:publish
- store_artifacts:
path: coverage/clover.xml
prefix: tests
- store_artifacts:
path: coverage
prefix: coverage
- store_test_results:
path: coverage/clover.xml
workflows:
version: 2
workflow:
jobs:
- prepare:
<<: *ignore_non_dev_branches
- test_node8:
requires:
- prepare
<<: *ignore_non_dev_branches
- test_node10:
requires:
- prepare
<<: *ignore_non_dev_branches
- test_node11:
requires:
- prepare
<<: *ignore_non_dev_branches
- test_node12:
requires:
- prepare
<<: *ignore_non_dev_branches
- test_e2e:
requires:
- prepare
<<: *ignore_non_dev_branches
- coverage:
requires:
- test_node8
- test_node10
- test_node11
- test_node12
- test_e2e
<<: *ignore_non_dev_branches

View File

@@ -8,17 +8,22 @@
.*
# you can add exceptions like in .gitignore to maintain a whitelist:
# e.g.
!.babelrc
!.eslintrc
!babel.config.js
!eslintrc.js
!.prettierrc
!.eslintignore
!.stylelintrc
!.flowconfig
!.jest.config.js
!.jestEnvironment.js
!.yarnrc.yml
!.yarn/releases/yarn-*.cjs
!.yarn/plugins/*
!.pnp.js
# do not copy over node_modules we will run `npm install` anyway
# just in case, yarn 2 pnp is enabled
node_modules
.husky/
.git/
# output from test runs and similar things
*.log

View File

@@ -14,4 +14,10 @@ Dockerfile
*.scss
*.png
*.jpg
*.sh
*.ico
test/unit/partials/
types/custom.d.ts
docker-examples/
LICENSE
.pnp.js

View File

@@ -1,58 +0,0 @@
{
"plugins": [
"babel",
"flowtype",
"jest",
"verdaccio",
"jsx-a11y"
],
"extends": [
"eslint:recommended",
"google",
"plugin:flowtype/recommended",
"plugin:jest/recommended",
"plugin:prettier/recommended",
"plugin:verdaccio/recommended",
"plugin:jsx-a11y/recommended"
],
"parser": "babel-eslint",
"parserOptions": {
"sourceType": "module",
"ecmaVersion": 7,
"ecmaFeatures": {
"impliedStrict": true,
"jsx": true
}
},
"env": {
"browser": true,
"node": true,
"es6": true,
"jest": true
},
"globals": {
"__APP_VERSION__": true
},
"rules": {
"babel/no-invalid-this": 1,
"prettier/prettier": ["error", null, "@prettier"],
"semi": ["error"],
"comma-dangle": ["error"],
"camelcase": 0,
"no-useless-escape": ["error"],
"no-invalid-this": 0,
"handle-callback-err": ["error"],
"no-fallthrough": ["error"],
"no-new-require": ["error"],
"max-len": ["error", 160],
"require-jsdoc": 0,
"valid-jsdoc": 0,
"prefer-spread": 1,
"prefer-rest-params": 1,
"linebreak-style": 0,
"quote-props":["error", "as-needed"],
"verdaccio/jsx-no-style": ["warn"],
"verdaccio/jsx-spread": ["warn"],
"jest/expect-expect": 0
}
}

View File

@@ -1,25 +0,0 @@
[ignore]
.*/node_modules/.*
.*/test/**/*.json
.*/static/.*
.*/test/unit/partials/.*
.*/.nyc_output/.*
.*/coverage/.*
.*/.vscode/.*
.*/build/.*
.*/docs/.*
.*/scripts/.*
.*/assets/.*
.*/bin/.*
.*/systemd/.*
.*/website/.*
.*/wiki/.*
.*/docs/.*
.*/tools/.*
[libs]
node_modules/@verdaccio/types/lib/
[options]
suppress_comment= \\(.\\|\n\\)*\\$FlowFixMe
module.ignore_non_literal_requires=true

1
.github/FUNDING.yml vendored
View File

@@ -1 +1,2 @@
open_collective: verdaccio
github: verdaccio

View File

@@ -1,37 +0,0 @@
---
name: Bug report
about: Create a report to help us improve
---
**Describe the bug**
A clear and concise description of what the bug is.
**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
**Expected behavior**
A clear and concise description of what you expected to happen.
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Docker || Kubernetes (please complete the following information):**
- Docker verdaccio tag: [e.g. verdaccio:beta]
- Docker commands [e.g. docker pull ...]
- Docker Version [e.g. v18.05.0-ce-rc1]
**Configuration File (cat ~/.config/verdaccio/config.yaml)**
**Debugging output**
- `$ NODE_DEBUG=request verdaccio` display request calls (verdaccio <--> uplinks)
- `$ DEBUG=express:* verdaccio` enable extreme verdaccio debug mode (verdaccio api)
- `$ npm -ddd` prints:
- `$ npm config get registry` prints:
**Additional context**
Add any other context about the problem here.

View File

@@ -1,17 +0,0 @@
---
name: Feature request
about: Suggest an idea for this project
---
**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
**Describe the solution you'd like**
A clear and concise description of what you want to happen.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
**Additional context**
Add any other context or screenshots about the feature request here.

43
.github/ISSUE_TEMPLATE/bug_report.md vendored Normal file
View File

@@ -0,0 +1,43 @@
---
name: Bug report 🐛
about: A feature is not working as is expected, I want to report a bug
labels: 'issue: needs triage'
title: ''
assignees: ''
---
**Describe the bug**
<!-- A clear and concise description of what the bug is. -->
**To Reproduce**
<!-- IMPORTANT:
- How to reproduce the issue
- Steps to reproduce the issue
Be aware, the lack of reproducible steps the issue might cause your ticket to be closed.
-->
**Expected behavior**
<!-- A clear and concise description of what you expected to happen. -->
**Screenshots**
<!-- If applicable, add screenshots to help explain your problem. -->
**Configuration File (cat ~/.config/verdaccio/config.yaml)**
<!-- Please be careful do not leak any sensitive information, remove tokens -->
**Environment information**
<!-- Please paste the results of running `verdaccio --info` -->
**Debugging output**
- `$ NODE_DEBUG=request verdaccio` display request calls (verdaccio <--> uplinks)
- `$ DEBUG=express:* verdaccio` enable extreme verdaccio debug mode (verdaccio api)
- `$ npm -ddd` prints:
- `$ npm config get registry` prints:
<!--
IMPORTANT: please do not attach external files, all content should be visible from any device.
-->

14
.github/ISSUE_TEMPLATE/config.yml vendored Normal file
View File

@@ -0,0 +1,14 @@
blank_issues_enabled: false
contact_links:
- name: Question 🤷🏻‍♂️
url: https://github.com/verdaccio/verdaccio/discussions/new?category=q-a
about: 🆕 Open a new Q&A discussion 🙏
- name: Security Report 🛡
url: https://github.com/verdaccio/verdaccio/security/policy
about: I want to report a security vulnerability
- name: Chat 🏘
url: http://chat.verdaccio.org
about: For a quick question you should do it through our community chat
- name: User Interface Report 👩🏼‍🎨👨🏼‍🎨
url: https://github.com/verdaccio/ui/issues/new/choose
about: Any report related with the User Interface should be posted in another repository

33
.github/ISSUE_TEMPLATE/feature.md vendored Normal file
View File

@@ -0,0 +1,33 @@
---
name: "Feature Request \U0001F52E"
about: You want a feature request.
title: ''
labels: 'topic: feature request'
assignees: ''
---
<!--
Verdaccio is a project addressed for voluntaries, if you appreciate this project consider to donate.
1$/month - minimal contribution
5$/month - nice contribution
500$ - help to promote this project, marketing, stickers.
2000$/year - sponsor status, your company logo will be in our readme, meetups talks and your request will have high priority
https://opencollective.com/verdaccio
As reminder, the Open Source must be sustainable.
-->
**Is your feature request related to a problem?**
Please describe a clear and concise description of what the problem is. E.g. I'm always frustrated when [...]
**Describe the solution you'd like**
A clear and concise description of what you want to happen.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
**Additional context**
Add any other context or screenshots about the feature request here.

27
.github/dependabot.yml vendored Normal file
View File

@@ -0,0 +1,27 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
version: 2
updates:
# Maintain dependencies for GitHub Actions
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
# Maintain dependencies for npm
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "daily"
allow:
- dependency-name: "@verdaccio/*"
- dependency-name: "verdaccio-*"
assignees:
- "verdacciobot"
labels:
- "bot: dependencies"

View File

@@ -1,32 +0,0 @@
<!--
First of all, please read this section
https://github.com/verdaccio/verdaccio/blob/master/CONTRIBUTING.md#reporting-a-bug
Some advices before file an issue
* Give a brief explanation of the issue, suggestion or feature to request.
* If the issue is a question, provide as much information you have available.
* How can I do in order to reproduce it? What environment?
* Define which version the issue happens and whether previous version the behaviour is correct.
* Provide your config file is really helpful. Please be aware to hide sensisive data (passwords, server IP, etc) before post.
-->
#### My reason:
#### Steps to reproduce:
#### App Version:
#### Config file:
#### Additional information:
- `$ NODE_DEBUG=request verdaccio` display request calls (verdaccio <--> uplinks)
- `$ DEBUG=express:* verdaccio` enable extreme verdaccio debug mode (verdaccio api)
- `$ npm -ddd` prints:
- `$ npm config get registry` prints:
- Verdaccio terminal output
- Which (Windows, OS X/macOS, or Linux) environment are you running verdaccio?:
- Verdaccio configuration file, eg: `cat ~/.config/verdaccio/config.yaml`
- Container Options:
- Docker?:
- Kubernetes?:
#### Additional verbose log:

15
.github/lock.yml vendored
View File

@@ -1,7 +1,7 @@
# Configuration for lock-threads - https://github.com/dessant/lock-threads
# Number of days of inactivity before a closed issue or pull request is locked
daysUntilLock: 200
daysUntilLock: 90
# Issues and pull requests with these labels will not be locked. Set to `[]` to disable
exemptLabels: []
@@ -11,9 +11,15 @@ lockLabel: false
# Comment to post before locking. Set to `false` to disable
lockComment: >
This thread has been automatically locked since there has not been
any recent activity after it was closed. Please open a new issue for
related bugs.
🤖This thread has been automatically locked 🔒 since there has not been
any recent activity after it was closed.
We lock tickets after 90 days with the idea to encourage you to open a ticket with new fresh data
and to provide you better feedback 🤝and better visibility 👀.
If you consider, you can attach this ticket 📨 to the new one as a reference for better context.
Thanks for being a part of the Verdaccio community! 💘
# Limit to only `issues` or `pulls`
# only: issues
@@ -26,3 +32,4 @@ issues:
pulls:
daysUntilLock: 90
lockLabel: outdated

103
.github/main.workflow vendored
View File

@@ -1,103 +0,0 @@
workflow "Docker && Publish Pre-check" {
resolves = [
"Docker build health check",
"Test Publish Verdaccio",
]
on = "push"
}
action "Docker build health check" {
uses = "actions/docker/cli@8cdf801b322af5f369e00d85e9cf3a7122f49108"
args = "build ."
env = {
VERDACCIO_BUILD_REGISTRY = "https://registry.verdaccio.org"
}
}
action "Test Publish Verdaccio" {
uses = "verdaccio/github-actions/publish@v0.1.0"
needs = ["Docker build health check"]
args = "-d"
}
workflow "release" {
resolves = [
"github-release",
"release:lint",
"release:build",
]
on = "push"
}
action "release:tag-filter" {
uses = "actions/bin/filter@master"
args = "tag v*"
}
action "release:install" {
uses = "docker://node:10"
needs = ["release:tag-filter"]
args = "yarn install --frozen-lockfile"
}
action "release:build" {
uses = "docker://node:10"
needs = ["release:install"]
args = "yarn run code:build"
}
action "release:lint" {
uses = "docker://node:10"
needs = ["release:install"]
args = "yarn run lint"
}
action "release:test" {
uses = "docker://node:10"
needs = ["release:build"]
args = "sh scripts/puppeteer-setup-ci.sh"
}
action "release:publish" {
needs = ["release:test"]
uses = "docker://node:10"
args = "sh scripts/publish.sh"
secrets = [
"REGISTRY_AUTH_TOKEN",
]
env = {
REGISTRY_URL = "registry.npmjs.org"
}
}
action "github-release" {
needs = ["release:publish"]
uses = "docker://node:10"
args = "sh scripts/github-release.sh"
secrets = [
"GITHUB_TOKEN",
]
}
action "branch-filter" {
uses = "actions/bin/filter@master"
args = "branch"
}
action "install" {
needs = ["branch-filter"]
uses = "docker://node:10"
args = "yarn install --frozen-lockfile"
}
action "build" {
uses = "docker://node:10"
needs = ["install"]
args = "yarn run code:build"
}
action "lint" {
uses = "docker://node:10"
needs = ["install"]
args = "yarn run lint"
}

View File

@@ -1,27 +0,0 @@
<!--
Before Pull Request check whether your commits follow this convention
https://github.com/verdaccio/verdaccio/blob/master/CONTRIBUTING.md#git-commit-guidelines
* If your PR fix an issue don't forget to update the unit test and documentation in /docs folder
* If your PR delivers a new feature, please, provide examples and why such feature should be considered.
* Document your changes /docs
* Add unit test
* Follow the commit guidelines in order to get a quick approval
Pick one/multiple type, if none apply please suggest one, we might be included it by default
eg: bug / feature / documentation / unit test / build
-->
**Type:**
The following has been addressed in the PR:
* There is a related issue?
* Unit or Functional tests are included in the PR
**Description:**
<!-- Resolves #??? -->

16
.github/stale.yml vendored
View File

@@ -1,7 +1,7 @@
# Number of days of inactivity before an issue becomes stale
daysUntilStale: 30
daysUntilStale: 15
# Number of days of inactivity before a stale issue is closed
daysUntilClose: 5
daysUntilClose: 10
# Issues with these labels will never be considered stale
exemptLabels:
- dev: high priority
@@ -13,8 +13,14 @@ exemptLabels:
staleLabel: issue: wontfix
# Comment to post when marking an issue as stale. Set to `false` to disable
markComment: >
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.
Hi pal 👋🏼!
This issue has gone quiet 😶.
We get a lot of issues, so we currently close issues after 25 days of inactivity. Its been at least 15 days since the last update here.
If we missed this issue or if you want to keep it open, please reply here. You can also add/suggest the label "discuss" to keep this issue open!
As a friendly reminder: the best way to see this issue, or any other, fixed is to open a Pull Request. Check out [https://github.com/verdaccio/contributing](https://github.com/verdaccio/contributing) for more information about opening PRs, triaging issues, and contributing!
Thanks for being a part of the Verdaccio community! 💘
# Comment to post when closing a stale issue. Set to `false` to disable
closeComment: false

27
.github/workflows/ci-e2e-ui.yml vendored Normal file
View File

@@ -0,0 +1,27 @@
name: E2E UI
on: [pull_request]
jobs:
ci:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
node_version: [14]
name: ${{ matrix.os }} / Node ${{ matrix.node_version }}
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2.3.1
- name: Use Node ${{ matrix.node_version }}
uses: actions/setup-node@v2.1.5
with:
node-version: ${{ matrix.node_version }}
- name: Install
run: yarn install --immutable
- name: Build
run: yarn code:build
- name: Test UI
run: yarn run test:e2e

27
.github/workflows/ci-e2e.yml vendored Normal file
View File

@@ -0,0 +1,27 @@
name: E2E CLI
on: [pull_request]
jobs:
ci:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
node_version: [14]
name: ${{ matrix.os }} / Node ${{ matrix.node_version }}
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2.3.1
- name: Use Node ${{ matrix.node_version }}
uses: actions/setup-node@v2.1.5
with:
node-version: ${{ matrix.node_version }}
- name: Install
run: yarn install
- name: Build
run: yarn code:build
- name: Test CLI
run: yarn test:e2e:cli

29
.github/workflows/ci.yml vendored Normal file
View File

@@ -0,0 +1,29 @@
name: CI
on: [push, pull_request]
jobs:
ci:
name: Node ${{ matrix.node_version }}
strategy:
fail-fast: false
matrix:
node_version: [12, 14, 15, 16]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.3.3
- name: Use Node ${{ matrix.node_version }}
uses: actions/setup-node@v2.1.5
with:
node-version: ${{ matrix.node_version }}
- name: Install
run: yarn install --immutable
- name: Build
run: yarn code:build
- name: Lint
run: yarn lint
- name: Test
run: yarn test

View File

@@ -0,0 +1,24 @@
name: Docker & Publish Pre-check
on: [push, pull_request]
jobs:
testDocker:
name: Test Docker Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.3.3
- name: Build
run: docker build .
env:
VERDACCIO_BUILD_REGISTRY: https://registry.npmjs.org
testVerdaccio:
name: Test Verdaccio Publish
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.3.3
- name: Publish
uses: verdaccio/github-actions/publish@v0.4.0
with:
args: -d

55
.github/workflows/docker-publish.yml vendored Normal file
View File

@@ -0,0 +1,55 @@
name: Docker publish to docker.io
on:
push:
paths:
- .github/workflows/docker-publish.yml
- 'src/**'
- 'conf/**'
- 'types/**'
- 'docker-bin/**'
- 'bin/**'
- 'package.json'
- 'yarn.lock'
- '.yarn/**'
- '.yarnrc.yaml'
- '.pnp.js'
branches:
- '**'
tags:
- 'v*'
jobs:
docker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: docker/setup-qemu-action@v1
- uses: docker/setup-buildx-action@v1
with:
driver-opts: network=host
- uses: docker/login-action@v1
name: Login Docker Hub
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Prepare docker image tags
id: docker_meta
uses: crazy-max/ghaction-docker-meta@v1
with:
images: ${{ github.repository }}
tag-custom: 5.x-next
tag-custom-only: ${{ github.ref == 'refs/heads/5.x' }}
tag-semver: |
{{version}}
{{major}}
{{major}}.{{minor}}
- name: Build & Push
uses: docker/build-push-action@v2
with:
context: .
file: ./Dockerfile
platforms: linux/amd64,linux/arm64
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.docker_meta.outputs.tags }}
labels: ${{ steps.docker_meta.outputs.labels }}

View File

@@ -0,0 +1,153 @@
on:
schedule:
- cron: '0 3 * * 5'
pull_request:
branches:
- '**'
name: 'E2E Angular CLI with verdaccio'
jobs:
# todo: fix yarn global issue, cannot find ng
# yarn:
# name: 'yarn:angular example'
# runs-on: ubuntu-latest
#
# steps:
# - uses: actions/checkout@v2.3.3
#
# - name: 'Use Node.js 10.x'
# uses: actions/setup-node@v2.1.5
# with:
# node-version: 10.x
# - name: Install Dependencies
# run: yarn install --pure-lockfile
# - name: 'Run verdaccio in the background'
# run: |
# nohup yarn node ./scripts/run-verdaccio.js &
# - name: 'Ping to verdaccio'
# run: |
# npm ping --registry http://localhost:4873
# - name: 'Running the integration test'
# run: |
# source scripts/e2e-setup-ci.sh
# yarn init --yes
#
# yarn global add @angular/cli
# which nodemon
# ng new verdaccio-angular --interactive=false
#
# cd verdaccio-angular
# echo "registry=http://localhost:4873" > ~/.npmrc
# yarn add @angular-devkit/core@next @babel/preset-env @babel/core -D
#
# ng build --aot
npm:
name: 'npm:angular example'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.3.3
- name: 'Use Node.js 14.x'
uses: actions/setup-node@v2.1.5
with:
node-version: 14.x
- name: 'install latest npm'
run: npm i -g npm@latest-6
- name: Install Dependencies
run: yarn install
- name: 'Run verdaccio in the background'
run: |
nohup yarn node ./scripts/run-verdaccio.js --config ./scripts/e2e-config.yaml &
- name: 'Ping to verdaccio'
run: |
npm ping --registry http://localhost:4873
- name: 'Running the integration test'
run: |
source scripts/e2e-setup-ci.sh
echo "registry=http://localhost:4873" > ~/.npmrc
npm config set loglevel="http"
npm config set fetch-retries="5"
npm config set fetch-retry-factor="50"
npm config set fetch-retry-mintimeout="20000"
npm config set fetch-retry-maxtimeout="80000"
npm install -g @angular/cli
ng new verdaccio-angular --interactive=false
cd verdaccio-angular
npm install @angular-devkit/core@next @babel/preset-env @babel/core -D
npm run ng build --aot
npm7:
name: 'npm7:angular example'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.3.3
- name: 'Use Node.js 14.x'
uses: actions/setup-node@v2.1.5
with:
node-version: 14.x
- name: 'install latest npm'
run: npm i -g npm@next-7
- name: Install Dependencies
run: yarn install
- name: 'Run verdaccio in the background'
run: |
nohup yarn node ./scripts/run-verdaccio.js --config ./scripts/e2e-config.yaml &
- name: 'Ping to verdaccio'
run: |
npm ping --registry http://localhost:4873
- name: 'Running the integration test'
run: |
source scripts/e2e-setup-ci.sh
echo "registry=http://localhost:4873" > ~/.npmrc
npm config set loglevel="silent"
npm config set fetch-retries="5"
npm config set fetch-retry-factor="50"
npm config set fetch-retry-mintimeout="20000"
npm config set fetch-retry-maxtimeout="80000"
npm install -g @angular/cli
ng new verdaccio-angular --interactive=false
cd verdaccio-angular
npm install @angular-devkit/core@next @babel/preset-env @babel/core -D
npm run ng build --aot
# pnpm throws errors worth to check why
# pnpm:
# name: 'pnpm:angular example'
# runs-on: ubuntu-latest
#
# steps:
# - uses: actions/checkout@v2.3.3
#
# - name: 'Use Node.js 10.x'
# uses: actions/setup-node@v2.1.1
# with:
# node-version: 10.x
# - name: 'install latest pnpm'
# run: npm i -g pnpm
# - name: Install Dependencies
# run: yarn install --pure-lockfile
# - name: 'Run verdaccio in the background'
# run: |
# nohup yarn node ./scripts/run-verdaccio.js &
# - name: 'Ping to verdaccio'
# run: |
# pnpm ping --registry http://localhost:4873
# - name: 'Running the integration test'
# run: |
# source scripts/e2e-setup-ci.sh
# pnpm init --force
#
# pnpm install -g @angular/cli
# ng new verdaccio-angular --interactive=false
#
# cd verdaccio-angular
# echo "registry=http://localhost:4873" > ~/.npmrc
# pnpm install @angular-devkit/core@next @babel/preset-env @babel/core -D
#
# pnpm run ng build --aot

View File

@@ -0,0 +1,44 @@
on:
schedule:
- cron: '0 3 * * 5'
pull_request:
branches:
- '**'
name: 'E2E Gatsby.js CLI with verdaccio'
jobs:
npm:
name: 'npm:gatsby example'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.3.3
- name: 'Use Node.js 14.x'
uses: actions/setup-node@v2.1.5
with:
node-version: 14.x
- name: 'install latest npm'
run: npm i -g npm@latest-6
- name: Install Dependencies
run: yarn install
- name: 'Run verdaccio in the background'
run: |
nohup yarn node ./scripts/run-verdaccio.js --config ./scripts/e2e-config.yaml &
- name: 'Ping to verdaccio'
run: |
npm ping --registry http://localhost:4873
- name: 'Running the integration test'
run: |
source scripts/e2e-setup-ci.sh
echo "registry=http://localhost:4873
loglevel="silent"
fetch-retries=10
fetch-retry-factor=2
fetch-retry-mintimeout=10000
fetch-retry-maxtimeout=80000" > ~/.npmrc
npm config list
npm i -g gatsby
gatsby new my-gatsby
cd my-gatsby
npm run build

209
.github/workflows/e2e-jest-workflow.yml vendored Normal file
View File

@@ -0,0 +1,209 @@
on:
schedule:
- cron: '0 3 * * 5'
pull_request:
branches:
- '**'
name: 'E2E Jest with verdaccio'
jobs:
yarn:
name: 'yarn:jest example'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.3.3
- name: 'Use Node.js 12.x'
uses: actions/setup-node@v2.1.5
with:
node-version: 12.x
- name: Install Dependencies
run: yarn install
- name: 'Run verdaccio in the background'
run: |
nohup yarn node ./scripts/run-verdaccio.js --config ./scripts/e2e-config.yaml &
- name: 'Ping to verdaccio'
run: |
npm ping --registry http://localhost:4873
- name: 'Running the integration test'
run: |
source scripts/e2e-setup-ci.sh
yarn init --yes
yarn add jest --registry http://localhost:4873
echo "it('should pass', () => { expect(true).toBeTruthy(); });" | tee pass.test.js
yarn jest pass.test.js
yarn add left-pad --registry http://localhost:4873 --verbose
echo "const leftPad = require('left-pad'); it('should resolve a module', () => { expect(typeof leftPad).toBe('function');});" | tee module.test.js
yarn jest module.test.js
yarn2:
name: 'yarn2:jest example'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.3.3
- name: 'Use Node.js 12.x'
uses: actions/setup-node@v2.1.5
with:
node-version: 12.x
- name: Install Dependencies
run: yarn install
- name: 'Run verdaccio in the background'
run: |
nohup yarn node ./scripts/run-verdaccio.js --config ./scripts/e2e-config.yaml &
- name: 'Ping to verdaccio'
run: |
npm ping --registry http://localhost:4873
- name: 'Running the integration test'
run: |
source scripts/e2e-setup-ci.sh
yarn init --yes
yarn set version berry
yarn config set npmRegistryServer "http://localhost:4873"
yarn config set unsafeHttpWhitelist --json '["localhost"]'
yarn add jest@26.0.0
echo "it('should pass', () => { expect(true).toBeTruthy(); });" | tee pass.test.js
yarn jest pass.test.js
yarn add left-pad
echo "const leftPad = require('left-pad'); it('should resolve a module', () => { expect(typeof leftPad).toBe('function');});" | tee module.test.js
yarn jest module.test.js
npm:
name: 'npm:jest example'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.3.3
- name: 'Use Node.js 12.x'
uses: actions/setup-node@v2.1.5
with:
node-version: 12.x
- name: 'install latest npm'
run: npm i -g npm@latest-6
- name: Install Dependencies
run: yarn install
- name: 'Run verdaccio in the background'
run: |
nohup yarn node ./scripts/run-verdaccio.js --config ./scripts/e2e-config.yaml &
- name: 'Ping to verdaccio'
run: |
npm ping --registry http://localhost:4873
- name: 'Running the integration test'
run: |
source scripts/e2e-setup-ci.sh
npm init --force
npm install jest --registry http://localhost:4873
echo "it('should pass', () => { expect(true).toBeTruthy(); });" | tee pass.test.js
yarn jest pass.test.js
yarn add left-pad --registry http://localhost:4873 --verbose
echo "const leftPad = require('left-pad'); it('should resolve a module', () => { expect(typeof leftPad).toBe('function');});" | tee module.test.js
yarn jest module.test.js
npm7:
name: 'npm7:jest example'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.3.3
- name: 'Use Node.js 12.x'
uses: actions/setup-node@v2.1.5
with:
node-version: 12.x
- name: 'install latest npm'
run: npm i -g npm
- name: Install Dependencies
run: yarn install
- name: 'Run verdaccio in the background'
run: |
nohup yarn node ./scripts/run-verdaccio.js --config ./scripts/e2e-config.yaml &
- name: 'Ping to verdaccio'
run: |
npm ping --registry http://localhost:4873
- name: 'Running the integration test'
run: |
source scripts/e2e-setup-ci.sh
npm init --force
npm install jest --registry http://localhost:4873
echo "it('should pass', () => { expect(true).toBeTruthy(); });" | tee pass.test.js
yarn jest pass.test.js
yarn add left-pad --registry http://localhost:4873 --verbose
echo "const leftPad = require('left-pad'); it('should resolve a module', () => { expect(typeof leftPad).toBe('function');});" | tee module.test.js
yarn jest module.test.js
pnpm:
name: 'pnpm:jest example'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.3.3
- name: 'Use Node.js 12.x'
uses: actions/setup-node@v2.1.5
with:
node-version: 12.x
- name: 'install latest pnpm'
run: npm i -g pnpm
- name: Install Dependencies
run: yarn install
- name: 'Run verdaccio in the background'
run: |
nohup yarn node ./scripts/run-verdaccio.js &
- name: 'Ping to verdaccio'
run: |
pnpm ping --registry http://localhost:4873
- name: 'Running the integration test'
run: |
source scripts/e2e-setup-ci.sh
pnpm init --force
pnpm install jest --registry http://localhost:4873
echo "it('should pass', () => { expect(true).toBeTruthy(); });" | tee pass.test.js
yarn jest pass.test.js
yarn add left-pad --registry http://localhost:4873 --verbose
echo "const leftPad = require('left-pad'); it('should resolve a module', () => { expect(typeof leftPad).toBe('function');});" | tee module.test.js
yarn jest module.test.js
pnpm6:
name: 'pnpm6:jest example'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.3.3
- name: 'Use Node.js 12.x'
uses: actions/setup-node@v2.1.5
with:
node-version: 12.x
- name: 'install latest pnpm'
run: sudo npm i pnpm@dev -g
- name: Install Dependencies
run: yarn install
- name: 'Run verdaccio in the background'
run: |
nohup yarn node ./scripts/run-verdaccio.js &
- name: 'Ping to verdaccio'
run: |
pnpm ping --registry http://localhost:4873
- name: 'Running the integration test'
run: |
source scripts/e2e-setup-ci.sh
pnpm init --force
pnpm install jest --registry http://localhost:4873
echo "it('should pass', () => { expect(true).toBeTruthy(); });" | tee pass.test.js
yarn jest pass.test.js
yarn add left-pad --registry http://localhost:4873 --verbose
echo "const leftPad = require('left-pad'); it('should resolve a module', () => { expect(typeof leftPad).toBe('function');});" | tee module.test.js
yarn jest module.test.js

13
.github/workflows/registry.yml vendored Normal file
View File

@@ -0,0 +1,13 @@
name: Test local registry for js vulnerabilities
on:
schedule:
- cron: '0 */4 1 * *'
jobs:
security:
runs-on: ubuntu-latest
steps:
- name: Test for public javascript library vulnerabilities
uses: lirantal/is-website-vulnerable@1.15.10
with:
scan-url: "https://registry.verdaccio.org"

30
.github/workflows/release.yml vendored Normal file
View File

@@ -0,0 +1,30 @@
name: Release
on:
push:
tags:
- '*'
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.3.3
- name: Use Node (latest)
uses: actions/setup-node@v2.1.5
with:
node-version: 14
- name: Install
run: yarn install
- name: Build
run: yarn code:build
- name: Publish
run: sh scripts/publish.sh
env:
REGISTRY_AUTH_TOKEN: ${{ secrets.REGISTRY_AUTH_TOKEN }}
REGISTRY_URL: registry.npmjs.org
# FIXME: there is an issue where all the changelog is copied to the release notes (all versions)
# - name: Create release notes
# run: sh scripts/github-release.sh
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

21
.gitignore vendored
View File

@@ -1,4 +1,4 @@
npm-debug.log
verdaccio-*.tgz
.DS_Store
build/
@@ -6,6 +6,7 @@ build/
### Test
test/unit/partials/store/test-*-storage/*
test/unit/partials/store/*-storage/*
test/unit/partials/store/storage_default_storage/*
.verdaccio-db.json
.sinopia-db.json
@@ -20,19 +21,19 @@ package-lock.json
npm_test-fails-add-tarball*
yarn-error.log
# Istanbul
# coverage
reports/
coverage/
.nyc*
# IDE
.idea/
# React
bundle.js
bundle.js.map
__tests__
# Compiled script
static/*
# This is the Yarn build state; it's local to each clone
/.yarn/build-state.yml
# This is the Yarn install state cache, it can be rebuilt anytime
/.yarn/install-state.gz
.history

1
.husky/.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
_

4
.husky/commit-msg Executable file
View File

@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
yarn commitlint --edit "$1"

4
.husky/pre-commit Executable file
View File

@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
yarn lint-staged

View File

@@ -13,8 +13,8 @@ src/
.vscode/
.circleci/
debug/
docker-examples/
reports/
## assets and website
assets/

2
.npmrc Normal file
View File

@@ -0,0 +1,2 @@
always-auth = true
fetch-retries="10"

1
.nvmrc Normal file
View File

@@ -0,0 +1 @@
13

28317
.pnp.js generated Executable file

File diff suppressed because one or more lines are too long

33
.prettierignore Normal file
View File

@@ -0,0 +1,33 @@
.cache/
**/corrupted-package/package.json
**/corrupted.json
**/invalid.js
**/invalid.json
**/pnpm-lock.yaml
**/verdaccio-corrupted.db.json
**/wrong.package.json
/website/.cache/
/website/crowdin/
/website/public/
/website/src/dictionaries/
CHANGELOG.md
CONTRIBUTORS.md
node_modules/
**/coverage/**
**/build/*.js
test/unit/partials/*
build/*
.github/
.vscode/
wiki/
.yarnrc.yml
yarn-error.log
.yarn/
test/functional/store/*
storage_default_storage/*
docker-examples/
.prettierignore
.npmignore
.gitignore
*.ico
.pnp.js

View File

@@ -1,12 +1,11 @@
{
"endOfLine": "lf",
"useTabs": false,
"printWidth": 160,
"printWidth": 180,
"tabWidth": 2,
"singleQuote": true,
"requirePragma": true,
"bracketSpacing": true,
"jsxBracketSameLine": true,
"trailingComma": "es5",
"semi": true,
"parser": "flow"
"semi": true
}

3552
.secrets-baseline Normal file

File diff suppressed because it is too large Load Diff

1
.sonarcloud.properties Normal file
View File

@@ -0,0 +1 @@

13
.vscode/extensions.json vendored Normal file
View File

@@ -0,0 +1,13 @@
{
// See http://go.microsoft.com/fwlink/?LinkId=827846 to learn about workspace recommendations.
// Extension identifier format: ${publisher}.${name}. Example: vscode.csharp
// List of extensions which should be recommended for users of this workspace.
"recommendations": [
"EditorConfig.EditorConfig",
"dbaeumer.vscode-eslint",
"arcanis.vscode-zipfs",
"esbenp.prettier-vscode"
],
// List of extensions recommended by VS Code that should not be recommended for users of this workspace.
"unwantedRecommendations": []
}

31
.vscode/settings.json vendored
View File

@@ -1,9 +1,26 @@
// Place your settings in this file to overwrite default and user settings.
{
"files.exclude": {
"**/.idea": false,
"**/.nyc_output": true,
"**/build": true,
"**/coverage": true
}
}
"typescript.tsdk": ".yarn/sdks/typescript/lib",
"typescript.tsserver.watchOptions": {
"watchFile": "useFsEventsOnParentDirectory",
"watchDirectory": "useFsEvents"
},
"eslint.nodePath": ".yarn/sdks",
"eslint.validate": [
"javascript",
"typescript"
],
"files.exclude": {
"**/.idea": false,
"**/.nyc_output": true,
"**/build": true,
"**/coverage": true
},
"editor.formatOnSave": true,
"typescript.enablePromptUseWorkspaceTsdk": true,
"prettier.prettierPath": ".yarn/sdks/prettier/index.js",
"search.exclude": {
"**/.yarn": true,
"**/.pnp.*": true
}
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More