Compare commits

..

218 Commits

Author SHA1 Message Date
github-actions[bot]
18601f0fe0 chore: update versions (6-next) (#2648) 2021-12-15 19:02:26 +01:00
renovate[bot]
6fc5464e6e chore(deps): update dependency js-base64 to v3.7.2 (#2770) 2021-12-15 08:13:17 +01:00
Diana Morales
02c5e76eec fix website google analytics (#2772) 2021-12-14 13:28:51 +01:00
renovate[bot]
128cd6898d chore(deps): update dependency @types/validator to v13.7.0 (#2764)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-13 20:26:10 +01:00
renovate[bot]
ccbfaad0da chore(deps): update dependency concurrently to v6.4.0 (#2765)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-13 20:25:52 +01:00
renovate[bot]
094879d884 fix(deps): update dependency body-parser to v1.19.1 (#2759)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-13 12:42:58 +01:00
renovate[bot]
4735c06320 chore(deps): update dependency @types/node to v16.11.12 (#2749)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-12 19:15:45 +01:00
Juan Picado
a828271d63 refactor: fetch package endpoint and basic integration fastify (#2750)
* refactor: download manifest endpoint and integrate fastify

* fix file not found issue

* add temporary migration method to storage memory

* sanitize fs methods

* restore tests

* chore: restore sanitilize

will do later

* add tests

* add changeset

* lint

* trying something test

* chore: lint

* restore code

* fix e2e

* fix lint
2021-12-12 18:00:19 +01:00
renovate[bot]
5bb049a79b chore(deps): update dependency webpack-dev-server to v3.11.3 (#2757)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-12 16:53:24 +01:00
renovate[bot]
545afc26d2 chore(deps): update dependency country-flag-icons to v1.4.19 (#2755)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-12 15:08:08 +01:00
renovate[bot]
646caddbc3 chore(deps): update dependency verdaccio to v5.3.1 (#2756)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-12 13:43:53 +01:00
renovate[bot]
2d41073f56 chore(deps): update dependency @testing-library/jest-dom to v5.16.1 (#2646)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-12 12:27:45 +01:00
Juan Picado
fd29a9aa94 Update package.json 2021-12-12 12:22:14 +01:00
Juan Picado
ad5650300f chore: restore tagline 2021-12-12 11:03:15 +01:00
Juan Picado
e8b3ada53c chore: update website taglines 2021-12-12 10:40:05 +01:00
Juan Picado
56a9f5723b chore: update website description 2021-12-12 10:37:16 +01:00
renovate[bot]
955c93e2c9 chore(deps): update dependency @types/lodash to v4.14.178 (#2743)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-11 09:06:55 +01:00
renovate[bot]
f5a2c8c5b7 fix(deps): update docusaurus monorepo to v2.0.0-beta.13 (#2747)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-10 20:16:10 +01:00
Diana Morales
2a86a46b85 add params validation for sidebar fastify web endpoints (#2655)
* sidebar fastify validation

Add params schema validation for sidebar endpoints

* reuse types

Co-authored-by: Juan Picado <juanpicado19@gmail.com>
2021-12-09 22:00:41 +01:00
Juan Picado
8e17d19c92 update benchmark settings 2021-12-09 21:26:26 +01:00
renovate[bot]
bf0beff656 chore(deps): update dependency fastify to v3.24.1 (#2746)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-09 21:20:49 +01:00
renovate[bot]
ee3b4486de fix(deps): update dependency dompurify to v2.3.4 (#2744)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-09 20:53:42 +01:00
renovate[bot]
c9ee1bbefb fix(deps): update docusaurus monorepo to v2.0.0-beta.10 (#2745)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-09 19:40:04 +01:00
renovate[bot]
38e955ebd3 chore(deps): update dependency terser-webpack-plugin to v5.2.5 (#2733)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-09 17:26:03 +01:00
Juan Picado
7346876680 increase time out test fails on windows ui 2021-12-08 22:26:58 +01:00
darkgl0w
9430e9fc0d refactor: graceful shutdown using process.once() instead of process.on() (#2737) 2021-12-07 17:58:34 +01:00
renovate[bot]
d04153a8e5 chore(deps): update dependency nodemon to v2.0.15 (#2732) 2021-12-02 20:21:03 +01:00
renovate[bot]
d0ebfa68eb chore(deps): update dependency http-errors to v1.8.1 (#2731) 2021-12-02 17:16:54 +01:00
renovate[bot]
db2c8bc8a1 chore(deps): update dependency country-flag-icons to v1.4.17 (#2729)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-02 16:08:02 +01:00
renovate[bot]
d65c74c0b1 chore(deps): update dependency @types/testing-library__jest-dom to v5.14.2 (#2724)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-02 08:23:19 +01:00
Diana Morales
4723b325bd fix accessibility issues (#2728) 2021-12-02 08:08:05 +01:00
renovate[bot]
4a6476c824 chore(deps): update dependency @types/node to v16.11.11 (#2718) 2021-12-01 21:55:03 +01:00
Paulo Renan Melo
82f6886ded Update how-to-deploy-on-AWS.md (#2722)
suggestions and fixes to the instructions, as I followed along making a new aws instance
2021-12-01 17:20:13 +01:00
Juan Picado
21ddd12166 improve website contributors page docusaurus (#2701) 2021-12-01 08:20:39 +01:00
renovate[bot]
980b09e40c chore(deps): update dependency debug to v4.3.3 (#2717)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-30 10:29:53 +01:00
renovate[bot]
a15c915b17 chore(deps): update dependency @types/react to v17.0.37 (#2704)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-27 16:57:47 +01:00
renovate[bot]
810eb5f33a chore(deps): update dependency @changesets/get-dependents-graph to v1.2.4 (#2703)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-27 15:59:42 +01:00
renovate[bot]
8c8f0e1600 chore(deps): update dependency @types/node to v16.11.10 (#2700)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-26 21:29:32 +01:00
renovate[bot]
5c36ec5f8f chore(deps): update dependency country-flag-icons to v1.4.16 (#2697)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-25 18:01:07 +01:00
renovate[bot]
2b4f8a1b63 chore(deps): update dependency @types/react-virtualized to v9.21.15 (#2696) 2021-11-23 18:37:29 +01:00
renovate[bot]
af754f88ca chore(deps): update dependency @types/react to v17.0.36 (#2695) 2021-11-23 17:31:40 +01:00
renovate[bot]
d6febce1d9 chore(deps): update dependency @types/node to v16.11.9 (#2694) 2021-11-21 12:31:35 +01:00
renovate[bot]
36590e5246 chore(deps): update dependency @types/lodash to v4.14.177 (#2693)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-21 09:38:33 +01:00
renovate[bot]
7cf5dfd11c chore(deps): update dependency @types/jest to v27.0.3 (#2692)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-20 23:13:35 +01:00
renovate[bot]
4571d32a83 chore(deps): update dependency @testing-library/dom to v8.11.1 (#2691) 2021-11-20 21:36:22 +01:00
renovate[bot]
1f59ff68d6 chore(deps): update dependency @crowdin/cli to v3.7.2 (#2690) 2021-11-20 20:43:58 +01:00
renovate[bot]
02b92bd13b chore(deps): update babel monorepo to v7.16.4 (#2679)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-20 10:17:52 +01:00
Diana Morales
29b1d59b56 migrate docker-https-portal example from V4 to V6 (#2687) 2021-11-20 08:02:17 +01:00
Juan Picado
24b9be0202 refactor: improve docker image build with strict dependencies and pro… (#2689)
* refactor: improve docker image build with strict dependencies and prod build

* use master as registry

* format
2021-11-20 07:46:35 +01:00
Juan Picado
418bf0d8fa add docker-examples to prettier format
include it to the ci paths list
2021-11-19 19:55:27 +01:00
Juan Picado
6822ab9fe2 chore: fix local-stack edocker example 2021-11-19 19:47:27 +01:00
Diana Morales
7a45f4e244 migrate verdaccio-docker-local-storage from V4 to V6 (#2686) 2021-11-19 17:22:31 +01:00
Diana Morales
be3f74e528 migrate docker-apache v4 to V6 (#2685) 2021-11-19 16:56:55 +01:00
Diana Morales
2533cb5813 migrate docker-examples (#2682) 2021-11-19 15:39:26 +01:00
Diana Morales
06448be421 update docker image examples v5 (#2681) 2021-11-18 20:55:41 +01:00
renovate[bot]
cf8d691c95 chore(deps): update babel monorepo (master) (#2659)
* chore(deps): update babel monorepo

* chore: fix ui test

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Juan Picado <juanpicado19@gmail.com>
2021-11-17 22:15:48 +01:00
renovate[bot]
6021d05f41 chore(deps): update dependency webpack to v5.64.0 (#2664) 2021-11-12 12:39:05 +01:00
renovate[bot]
0399c4cdd2 chore(deps): update dependency validator to v13.7.0 (#2663)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-12 08:01:44 +01:00
renovate[bot]
dbceee5a8f chore(deps): update dependency fastify to v3.23.1 (#2662)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-11 22:53:47 +01:00
renovate[bot]
5bac4634d7 chore(deps): update dependency @rematch/core to v2.2.0 (#2660)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-11 18:13:56 +01:00
renovate[bot]
98e5e3d452 fix(deps): update dependency fast-safe-stringify to v2.1.1 (#2665)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-11 17:18:09 +01:00
renovate[bot]
5d9d05eb24 fix(deps): update dependency mime to v2.6.0 (#2666) 2021-11-11 12:41:13 +01:00
dasmikko
c8f342d4eb workaround for invalid checksum (#2667) 2021-11-11 10:00:17 +01:00
renovate[bot]
6f2be136fa chore(deps): update dependency @trivago/prettier-plugin-sort-imports to v3.1.1 (#2661)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-11 08:26:23 +01:00
renovate[bot]
0de7dcf146 chore(deps): update dependency @rematch/loading to v2.1.2 (#2656)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-11 07:27:46 +01:00
Ed Clement
e75c0a3b95 fix: hydrate template placeholders in log messages when format is set to 'json' (#2652) 2021-11-11 07:22:11 +01:00
renovate[bot]
7632edd0e1 chore(deps): update dependency @changesets/get-dependents-graph to v1.2.3 (#2647)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-10 17:35:18 +01:00
Diana Morales
8246bb69b2 login web endpoint fastify body schema validation (#2653)
* feat: add body schema validation to login endpoint

#2623

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

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

* feat: add body schema validation to resetPassword endpoint

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

* chore: restore this later

* improve documentation of dis-tag normalizer

* chore: add changeset
2021-11-09 20:38:44 +01:00
Juan Picado
d8cd1ca887 chore: update benchmarks 2021-11-09 19:12:27 +01:00
Juan Picado
b98475e185 chore: restore website settings
I've modified this by mistake on #2612
2021-11-08 17:44:39 +01:00
Juan Picado
000d437463 feat: migrate to Material-UI 5 (#2612) 2021-11-08 17:24:15 +01:00
renovate[bot]
33a5c5a179 chore(deps): update dependency verdaccio to v5.2.2 (#2643)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-08 12:54:57 +01:00
renovate[bot]
e8491f42e3 chore(deps): update dependency css-loader to v6.5.1 (#2630)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-08 10:47:23 +01:00
Juan Picado
47deac7ead chore: update python dependency on docker image 2021-11-08 10:13:25 +01:00
renovate[bot]
4d1e1ec8a0 chore(deps): update dependency @testing-library/dom to v8.11.0 (#2642)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-08 09:29:16 +01:00
renovate[bot]
a73b0a9d1c chore(deps): update actions/checkout action to v2.4.0 (#2641) 2021-11-06 15:58:24 +01:00
renovate[bot]
59209ca9c5 fix(deps): update dependency node-fetch to v2.6.6 (#2640) 2021-11-06 12:47:51 +01:00
renovate[bot]
ccdb8c7176 fix(deps): update dependency pnpm to v6.20.3 (#2632) 2021-11-06 10:20:20 +01:00
renovate[bot]
136771eb39 chore(deps): update dependency @types/react-dom to v17.0.11 (#2629)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-05 21:24:19 +01:00
Juan Picado
0285bf2432 chore: restore website version
bad boy changeset automation
2021-11-05 18:22:56 +01:00
Juan Picado
21d9f2b6e3 docs: add video on what is page 2021-11-05 18:14:13 +01:00
github-actions[bot]
fa3d878286 chore: update versions (6-next) (#2625)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-11-05 17:29:26 +01:00
Diana Morales
20c9e43edc dist-tags endpoint fastify (#2638)
* Create dist-tags.ts

* feat:migrate dist-tags to fastify

* Update storage.ts

Uncomment self.filters code

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

* Update package.json

* Update server.ts

* fix authentication tests

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

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

* #2606 update pnpm-lock.yaml

* #2606 update eslint rules

* #2606 fixes website directory formatting

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

* Update logger.spec.ts

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

- requires follow up for proper token validation
-  no test included (still experimental)
-  types refactoring required, still need alignment with other modules
2021-10-26 22:03:06 +02:00
renovate[bot]
3dc5b5045f chore(deps): update dependency react-redux to v7.2.6 (#2591) 2021-10-26 20:58:44 +02:00
renovate[bot]
0f21053e04 chore(deps): update dependency @types/react-router-dom to v5.3.2 (#2590) 2021-10-26 19:28:40 +02:00
renovate[bot]
a264faba47 chore(deps): update dependency verdaccio to v5.2.0 (#2584)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-26 17:12:07 +02:00
renovate[bot]
d7005e6029 chore(deps): update dependency webpack to v5.60.0 (#2585)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-26 08:09:14 +02:00
renovate[bot]
36b5ecd2dc chore(deps): update jest monorepo to v27.3.1 (#2586)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-25 21:29:10 +02:00
renovate[bot]
9c03e11cfa chore(deps): update dependency @types/react to v17.0.32 (#2580) 2021-10-24 18:14:59 +02:00
renovate[bot]
640b92667f fix(deps): update dependency marked to v3.0.8 (#2576)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-24 15:24:13 +02:00
renovate[bot]
8478bd97b8 fix(deps): update docusaurus monorepo to v2.0.0-beta.8 (#2577)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-24 15:01:43 +02:00
Juan Picado
3836595506 chore: website version bump
need to automate this eventually
2021-10-24 10:22:21 +02:00
renovate[bot]
7bac933b81 chore(deps): update dependency typescript to v4.4.4 (#2575) 2021-10-24 09:22:23 +02:00
renovate[bot]
5cb4e6dc2f chore(deps): update dependency @types/validator to v13.6.5 (#2573) 2021-10-24 08:42:19 +02:00
renovate[bot]
57d26af661 chore(deps): update dependency nodemon to v2.0.14 (#2571) 2021-10-23 17:42:55 +02:00
renovate[bot]
497c640fc3 chore(deps): update dependency husky to v7.0.4 (#2569)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-23 08:50:42 +02:00
renovate[bot]
47415298c9 chore(deps): update dependency fastify to v3.22.1 (#2568)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-23 06:23:26 +02:00
renovate[bot]
453bfadba0 chore(deps): update dependency babel-loader to v8.2.3 (#2567)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-22 15:21:17 +02:00
renovate[bot]
a0ee7c102a chore(deps): update dependency @types/validator to v13.6.4 (#2566)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-22 13:54:55 +02:00
Juan Picado
785da5a5b3 Update renovate.json 2021-10-22 13:54:38 +02:00
renovate[bot]
ae08b22730 chore(deps): update dependency @types/react-virtualized to v9.21.14 (#2560) 2021-10-22 11:47:03 +02:00
renovate[bot]
b81417d774 chore(deps): update dependency @types/semver to v7.3.9 (#2564)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-22 08:53:40 +02:00
Juan Picado
500b25015d Merge branch 'master' of github.com:verdaccio/verdaccio 2021-10-22 07:15:02 +02:00
Juan Picado
71fb7d1223 chore: update renovate config 2021-10-22 07:14:54 +02:00
renovate[bot]
162d64e053 chore(deps): update dependency @types/react-dom to v17.0.10 (#2555)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-22 07:03:16 +02:00
Juan Picado
5776015058 chore: improve version detection (#2558) 2021-10-21 23:29:58 +02:00
renovate[bot]
f345fefd99 chore(deps): update dependency @types/react to v17.0.31 (#2554)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-21 22:47:48 +02:00
renovate[bot]
f6ffddbb5b chore(deps): update dependency @types/lodash to v4.14.176 (#2553)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Juan Picado <juanpicado19@gmail.com>
2021-10-21 22:16:07 +02:00
renovate[bot]
98fbff4e1d chore(deps): update dependency terser-webpack-plugin to v5.2.4 (#2504) 2021-10-21 21:38:18 +02:00
renovate[bot]
d1aa663553 chore(deps): update dependency esbuild-loader to v2.16.0 (#2536)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-21 08:40:44 +02:00
renovate[bot]
7fc26bf026 chore(deps): update dependency @types/pino to v6.3.12 (#2547)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-21 08:26:45 +02:00
renovate[bot]
255e41ffce chore(deps): update dependency jest-junit to v12.3.0 (#2542)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-20 07:44:00 +02:00
millerick
9ae112e129 fix: typos in documentation and website (#2540) 2021-10-19 08:57:56 +02:00
renovate[bot]
ed32c53af8 chore(deps): update dependency html-webpack-plugin to v5.4.0 (#2541)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-19 08:28:05 +02:00
renovate[bot]
49dfeed37d chore(deps): update dependency fastify to v3.22.0 (#2537)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-19 08:02:03 +02:00
Juan Picado
b56d5cec39 chore: refactor pkgs location (#2538)
* chore: relocated mock package

* refactor: relocate local-storage htpasswd to plugins

because they are

* chore: format
2021-10-18 22:18:09 +02:00
Juan Picado
70d66eb473 chore: reduce warnings eslint (#2515) 2021-10-18 21:36:53 +02:00
renovate[bot]
ffb087887a chore(deps): update dependency css-loader to v6.4.0 (#2533)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-18 21:36:14 +02:00
renovate[bot]
120dbd98ad chore(deps): update dependency @types/react-router-dom to v5.3.1 (#2531)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-18 17:50:29 +02:00
renovate[bot]
f31e1b4643 fix(deps): update docusaurus monorepo to v2.0.0-beta.7 (#2518)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-18 06:54:27 +02:00
renovate[bot]
5f8e886d3f chore(deps): update dependency @testing-library/dom to v8.9.1 (#2529)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-17 23:21:24 +02:00
renovate[bot]
7a37508b96 chore(deps): update dependency @emotion/jest to v11.5.0 (#2527)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-17 18:39:34 +02:00
renovate[bot]
c4a3be5557 fix(deps): update dependency pino to v6.13.3 (#2523)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-17 17:23:24 +02:00
renovate[bot]
90bd8eb75a chore(deps): update dependency concurrently to v6.3.0 (#2522)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-17 16:36:30 +02:00
renovate[bot]
c179a8afee chore(deps): update dependency autocannon to v7.5.0 (#2521)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-17 15:46:34 +02:00
renovate[bot]
9f0468de48 fix(deps): update dependency yarn to v1.22.17 (#2516)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-17 15:46:14 +02:00
renovate[bot]
ef93beb986 fix(deps): update dependency semver to v7.3.5 (#2524)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-17 13:02:45 +02:00
renovate[bot]
2dedb56b38 fix(deps): update dependency yup to v0.32.11 (#2517)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-17 11:51:08 +02:00
renovate[bot]
9b978c6a5f fix(deps): update dependency globby to v11.0.4 (#2508)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-17 08:42:04 +02:00
renovate[bot]
d102fe5ba0 chore(deps): update dependency node-html-parser to v4.1.5 (#2495)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-17 07:37:53 +02:00
renovate[bot]
353a283b40 fix(deps): update dependency marked to v3.0.7 (#2509) 2021-10-16 23:26:13 +02:00
renovate[bot]
e85ed294d7 fix(deps): update dependency node-fetch to v2.6.5 (#2510) 2021-10-16 22:59:42 +02:00
renovate[bot]
58f35350fa fix(deps): update dependency dompurify to v2.3.3 (#2507) 2021-10-16 22:02:44 +02:00
renovate[bot]
a3e7dd69d6 chore(deps): update dependency xss to v1.0.10 (#2506) 2021-10-16 22:02:15 +02:00
renovate[bot]
4813595e40 fix(deps): update dependency npm to v7.24.2 (#2502)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Juan Picado <juanpicado19@gmail.com>
2021-10-16 21:22:58 +02:00
renovate[bot]
ea86dde011 chore(deps): update dependency update-ts-references to v2.4.1 (#2505)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Juan Picado <juanpicado19@gmail.com>
2021-10-16 20:24:57 +02:00
renovate[bot]
d0d4d0fd8f chore(deps): update dependency react-redux to v7.2.5 (#2503)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Juan Picado <juanpicado19@gmail.com>
2021-10-16 20:24:31 +02:00
renovate[bot]
cfdd2ae698 chore(deps): update typescript-eslint monorepo to v4.33.0 (#2499)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Juan Picado <juanpicado19@gmail.com>
2021-10-16 19:46:32 +02:00
renovate[bot]
f2ab24943d chore(deps): update dependency nodemon to v2.0.13 (#2496)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-16 19:24:15 +02:00
renovate[bot]
e6bc577379 chore(deps): update dependency @crowdin/cli to v3.7.0 (#2497) 2021-10-16 18:46:54 +02:00
renovate[bot]
c4fc24f38e chore(deps): update jest monorepo to v27.2.5 (#2498) 2021-10-16 18:46:05 +02:00
renovate[bot]
066cc819a8 fix(deps): update dependency clipanion to v3.1.0 (#2501) 2021-10-16 18:29:01 +02:00
renovate[bot]
81ea129d80 chore(deps): update dependency fast-crc32c to v1.0.7 (#2494) 2021-10-16 17:01:53 +02:00
renovate[bot]
af174f0c8c chore(deps): update dependency dayjs to v1.10.7 (#2493) 2021-10-16 17:01:23 +02:00
renovate[bot]
c11a5958a6 chore(deps): update dependency @types/webpack-env to v1.16.3 (#2491) 2021-10-16 16:13:37 +02:00
renovate[bot]
0e1c078ecd chore(deps): update dependency @types/jest to v27.0.2 (#2487) 2021-10-16 16:13:19 +02:00
renovate[bot]
836a8702cc chore(deps): update dependency @types/react to v17.0.30 (#2489) 2021-10-16 15:33:43 +02:00
renovate[bot]
0d8ecab1ba chore(deps): update dependency @types/lodash to v4.14.175 (#2488) 2021-10-16 15:33:12 +02:00
renovate[bot]
ccf92cabdc chore(deps): update dependency country-flag-icons to v1.4.11 (#2492) 2021-10-16 15:32:17 +02:00
renovate[bot]
7f0b4db9f8 chore(deps): update dependency @types/react-helmet to v6.1.4 (#2490) 2021-10-16 15:09:57 +02:00
renovate[bot]
76e62134a3 chore(deps): update dependency @types/express to v4.17.13 (#2486) 2021-10-16 14:47:10 +02:00
renovate[bot]
31f5a94098 chore(deps): update dependency @rematch/core to v2.1.1 (#2480) 2021-10-16 14:29:17 +02:00
renovate[bot]
a22300afcf chore(deps): update dependency @rematch/loading to v2.1.1 (#2481) 2021-10-16 13:53:51 +02:00
renovate[bot]
717e42b383 chore(deps): update dependency @testing-library/react to v12.1.2 (#2485) 2021-10-16 12:56:03 +02:00
renovate[bot]
91e043addc chore(deps): update dependency verdaccio to v5.1.6 (#2484) 2021-10-16 12:20:26 +02:00
renovate[bot]
dd9726957f fix(deps): update dependency debug to v4.3.2 (#2482) 2021-10-16 12:05:19 +02:00
renovate[bot]
9230779af1 fix(deps): update dependency lodash to v4.17.21 (#2483) 2021-10-16 11:41:34 +02:00
renovate[bot]
6bef6d879a chore(deps): update babel monorepo (#2478)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-16 10:24:29 +02:00
renovate[bot]
ef6c7d9f0e chore(deps): update actions/checkout action to v2.3.5 (#2477)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-16 10:19:59 +02:00
renovate[bot]
4cc5411056 Configure Renovate (#2452)
* Add renovate.json

* update renovate

* renovate update conf

* ignore docker examples

* ignore @verdaccio/helper

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Juan Picado <juanpicado19@gmail.com>
2021-10-16 10:04:21 +02:00
Juan Picado
9d96fa7e53 Update CONTRIBUTING.md 2021-10-16 09:39:05 +02:00
github-actions[bot]
b970102bfc chore: update versions (6-next) (#2456)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-10-15 23:13:06 +02:00
Juan Picado
b702ea3631 abort search request support for proxy (#2474)
* update undici

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

* refactor: Remove __mocks__ imports in local-storage package

Co-authored-by: Juan Picado <juanpicado19@gmail.com>
2021-10-03 14:21:01 +02:00
Juan Picado
61add32bff ci: avoid crowdin step is mandatory (#2466)
* avoid crowdin step is mandatory

* make it fail

* split step

* split step

* try again

* try again

* restore key

* add comment

* improve wording

* test something

* test something

* restore key
2021-10-03 14:04:24 +02:00
Andreas Opferkuch
b753b4010f website: Improve docs link discoverability (#2462)
... by flipping the underline behavior within articles
2021-10-01 17:51:04 +02:00
Juan Picado
c168b4e47a chore: update benchmark version 2021-09-26 10:39:45 +02:00
Juan Picado
3a7f81ab0c chore: delete changelog
now is located in verdaccio package
2021-09-26 08:21:44 +02:00
Juan Picado
154b2ecd34 refactor: remove @verdaccio/commons-api in favor @verdaccio/core and remove duplication (#2455)
* migrate api package

* migrate auth

* migrate config

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

* fix lint

* relocate pkg

* relocate pkg

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

refactor: rematch for store packages

migrate login to rematch

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

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

hide temporary

fix test for login

migrate package download resource

fix tests

* add missing fixture

* migrate detail page support

* fix tests

* migrate search

* migrate search

* clean up tests

* remove tags

* fix lint

* add changeset

* fix: search model typings

* add type

* types

* apply suggestions

Co-authored-by: Sergio Moreno <22656541+semoal@users.noreply.github.com>
2021-09-25 17:35:03 +02:00
Juan Picado
9dbf73e955 remove typedoc dep, not need it now to fix the changesets 2021-09-19 21:34:38 +02:00
Zameer Haque
2c594910d8 fix: do not throw multiple logger deprecation warning if using default logger config (#2446) 2021-09-19 20:20:46 +02:00
Juan Picado
90818700a3 rename translation file (#2445)
avoid ui translations are being uploaded
2021-09-18 12:45:27 +02:00
Juan Picado
7af1e6cc84 update readme 2021-09-18 11:46:15 +02:00
Juan Picado
757bded72e improve ci syn translations 2021-09-18 10:01:22 +02:00
Juan Picado
1b9bf35c87 add steps to add new languages to ui contributing guidelines 2021-09-18 09:43:14 +02:00
Juan Picado
eb2afc4d6d sync translations on merge in master 2021-09-18 09:20:24 +02:00
Juan Picado
5be013a059 update contributing guidelines and chat reference 2021-09-18 09:07:22 +02:00
Juan Picado
8d6d6097c6 refactor: using ui translations from crowdin (#2442)
* refactor: using ui translations from crowdin

* move tasks

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

* add test for crowdin

* cleanup

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

* fix icons

* lint

* update test
2021-09-16 21:46:56 +02:00
Justin Johansson
71874de027 build: upgrade to husky@7.0.2 & configure for lint-staged (#2436) 2021-09-16 07:03:57 +02:00
Joon du Randt
f13dacef9c Updated config map param name in helm example (#2435) 2021-09-14 20:38:50 +02:00
Juan Picado
761f1696f2 update e2e page docs 2021-09-13 22:14:09 +02:00
Juan Picado
f412e8f8d6 Update README.md 2021-09-13 20:56:55 +02:00
rvo
f5fd7bf5bf docs(docker): spelling and minor grammar fix (#2434) 2021-09-12 21:23:02 +02:00
Juan Picado
3d26a8190c eslint deps (#2433)
* eslint deps

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

* add test

* update undici

* add tests

* Update ci.yml

* fix ci

* fix tests

* fix ci

* fix tests

* fix ci

* restore some deps

* Update Version.test.tsx

* disable debug
2021-09-12 16:21:19 +02:00
Juan Picado
1042f9bf76 update benchmark with v6.0.0-6-next.23 2021-09-08 20:32:38 +02:00
824 changed files with 32544 additions and 12716 deletions

View File

@@ -2,24 +2,13 @@
"presets": [ [
"@babel/env",
{
"useBuiltIns": "usage",
"corejs": {
"version": 3, "proposals": true
},
"targets": {
"node": 12
"node": 14
}
}
],
"@babel/typescript"
],
"plugins": [
"babel-plugin-dynamic-import-node",
"@babel/proposal-class-properties",
"@babel/proposal-object-rest-spread",
"@babel/plugin-proposal-optional-chaining",
"@babel/plugin-proposal-nullish-coalescing-operator"
],
"ignore": [
"**/*.d.ts"
]

View File

@@ -0,0 +1,37 @@
---
'@verdaccio/api': major
'@verdaccio/fastify-migration': major
'@verdaccio/tarball': major
'@verdaccio/local-storage': major
'verdaccio-memory': major
'@verdaccio/server': major
'@verdaccio/store': major
'@verdaccio/utils': major
---
refactor: download manifest endpoint and integrate fastify
Much simpler API for fetching a package
```
const manifest = await storage.getPackageNext({
name,
uplinksLook: true,
req,
version: queryVersion,
requestOptions,
});
```
> not perfect, the `req` still is being passed to the proxy (this has to be refactored at proxy package) and then removed from here, in proxy we pass the request instance to the `request` library.
### Details
- `async/await` sugar for getPackage()
- Improve and reuse code between current implementation and new fastify endpoint (add scaffolding for request manifest)
- Improve performance
- Add new tests
### Breaking changes
All storage plugins will stop to work since the storage uses `getPackageNext` method which is Promise based, I won't replace this now because will force me to update all plugins, I'll follow up in another PR. Currently will throw http 500

View File

@@ -0,0 +1,11 @@
---
'@verdaccio/api': minor
'@verdaccio/core': minor
'@verdaccio/tarball': minor
'@verdaccio/middleware': minor
'verdaccio-audit': minor
'@verdaccio/utils': minor
'@verdaccio/web': minor
---
refactor: improve docker image build with strict dependencies and prod build

View File

@@ -0,0 +1,39 @@
---
'@verdaccio/api': major
'@verdaccio/auth': major
'@verdaccio/cli': major
'@verdaccio/config': major
'@verdaccio/core': major
'@verdaccio/file-locking': major
'verdaccio-htpasswd': major
'@verdaccio/readme': major
'@verdaccio/fastify-migration': major
'@verdaccio/streams': major
'@verdaccio/tarball': major
'@verdaccio/types': major
'@verdaccio/url': major
'@verdaccio/hooks': major
'@verdaccio/loaders': major
'@verdaccio/logger': major
'@verdaccio/middleware': major
'@verdaccio/mock': major
'@verdaccio/node-api': major
'@verdaccio/active-directory': major
'verdaccio-audit': major
'verdaccio-auth-memory': major
'verdaccio-aws-s3-storage': major
'verdaccio-google-cloud': major
'verdaccio-memory': major
'@verdaccio/ui-theme': major
'@verdaccio/server': major
'@verdaccio/cli-standalone': major
'@verdaccio/store': major
'@verdaccio/dev-types': major
'@verdaccio/utils': major
'verdaccio': major
'@verdaccio/web': major
---
Remove Node 12 support
- We need move to the new `undici` and does not support Node.js 12

View File

@@ -0,0 +1,6 @@
---
'@verdaccio/logger-prettify': minor
'@verdaccio/logger': patch
---
hydrate template placeholders in log messages when format is set to 'json'

View File

@@ -0,0 +1,10 @@
---
'@verdaccio/api': minor
'@verdaccio/fastify-migration': minor
'@verdaccio/hooks': minor
'@verdaccio/logger-prettify': minor
'@verdaccio/proxy': minor
'@verdaccio/store': minor
---
abort search request support for proxy

View File

@@ -0,0 +1,5 @@
---
'@verdaccio/ui-theme': minor
---
feat: integrate rematch for ui state storage

View File

@@ -0,0 +1,35 @@
---
'@verdaccio/api': minor
'@verdaccio/auth': minor
'@verdaccio/cli': minor
'@verdaccio/config': minor
'@verdaccio/core': minor
'verdaccio-htpasswd': minor
'@verdaccio/local-storage': minor
'@verdaccio/fastify-migration': minor
'@verdaccio/tarball': minor
'@verdaccio/types': minor
'@verdaccio/url': minor
'@verdaccio/hooks': minor
'@verdaccio/loaders': minor
'@verdaccio/logger': minor
'@verdaccio/middleware': minor
'@verdaccio/mock': minor
'@verdaccio/node-api': minor
'@verdaccio/active-directory': minor
'verdaccio-auth-memory': minor
'verdaccio-aws-s3-storage': minor
'verdaccio-google-cloud': minor
'verdaccio-memory': minor
'@verdaccio/ui-theme': minor
'@verdaccio/proxy': minor
'@verdaccio/server': minor
'@verdaccio/cli-standalone': minor
'@verdaccio/store': minor
'@verdaccio/utils': minor
'verdaccio': minor
'@verdaccio/web': minor
'@verdaccio/e2e-ui': minor
---
refactor: remove @verdaccio/commons-api in favor @verdaccio/core and remove duplications

View File

@@ -6,7 +6,6 @@
"@verdaccio/auth": "6.0.0-alpha.0",
"@verdaccio/cli": "6.0.0-alpha.0",
"@verdaccio/config": "6.0.0-alpha.0",
"@verdaccio/commons-api": "11.0.0-alpha.0",
"@verdaccio/file-locking": "11.0.0-alpha.0",
"verdaccio-htpasswd": "11.0.0-alpha.0",
"@verdaccio/local-storage": "11.0.0-alpha.0",
@@ -43,16 +42,23 @@
"@verdaccio/eslint-config": "1.0.0",
"@verdaccio/benchmark": "1.0.0",
"@verdaccio/website": "5.1.3",
"@verdaccio/core": "6.0.0-next.0"
"@verdaccio/core": "6.0.0-next.0",
"@verdaccio/helper": "1.0.0",
"docusaurus-plugin-contributors": "1.0.0"
},
"changesets": [
"afraid-mice-obey",
"big-lobsters-sin",
"bright-poems-obey",
"calm-pants-impress",
"dry-planes-tap",
"eleven-brooms-hunt",
"eleven-spoons-matter",
"fair-lemons-beam",
"few-cooks-destroy",
"few-mangos-grow",
"fifty-jars-rest",
"fuzzy-onions-draw",
"gentle-parrots-lay",
"gentle-trains-switch",
"gold-vans-tease",
@@ -66,6 +72,8 @@
"many-vans-care",
"modern-spies-tell",
"neat-toes-report",
"olive-candles-speak",
"perfect-candles-clap",
"perfect-emus-clean",
"perfect-kangaroos-agree",
"plenty-news-remember",
@@ -74,10 +82,16 @@
"pretty-hounds-tap",
"proud-jeans-walk",
"red-chefs-float",
"rich-ghosts-rule",
"shaggy-carrots-unite",
"shaggy-parrots-smash",
"shiny-chefs-heal",
"smart-apricots-kneel",
"sour-buses-shout",
"spicy-frogs-press",
"ten-parents-breathe",
"tender-bags-call",
"three-moles-drop",
"three-pots-sit",
"two-dolls-check",
"wild-jokes-beam"

View File

@@ -15,7 +15,6 @@
'@verdaccio/logger': patch
'@verdaccio/logger-prettify': patch
'@verdaccio/middleware': patch
'@verdaccio/mock': patch
'@verdaccio/node-api': patch
'@verdaccio/proxy': patch
'@verdaccio/server': patch

View File

@@ -0,0 +1,10 @@
---
'@verdaccio/types': major
'@verdaccio/ui-theme': major
'@verdaccio/dev-types': major
'@verdaccio/web': major
'@verdaccio/e2e-ui': major
'@verdaccio/website': major
---
feat: upgrade to material ui 5

View File

@@ -0,0 +1,5 @@
---
'@verdaccio/logger': patch
---
do not show deprecation warning on default logger config

View File

@@ -0,0 +1,8 @@
---
'@verdaccio/cli': minor
'@verdaccio/core': minor
'@verdaccio/logger': minor
'@verdaccio/node-api': minor
---
feat: use warning codes for deprecation warnings

View File

@@ -0,0 +1,11 @@
---
'@verdaccio/fastify-migration': minor
'@verdaccio/store': minor
'@verdaccio/utils': minor
'@verdaccio/web': minor
'@verdaccio/website': minor
---
feat: migrate web sidebar endpoint to fastify
reuse utils methods between packages

View File

@@ -0,0 +1,7 @@
---
'@verdaccio/auth': minor
'@verdaccio/fastify-migration': minor
'@verdaccio/web': minor
---
dist tags Implementation on Fastify

View File

@@ -0,0 +1,7 @@
---
'@verdaccio/api': minor
'@verdaccio/store': minor
'@verdaccio/utils': minor
---
refactor: improve versions and dist-tag filters

View File

@@ -7,7 +7,7 @@ contact_links:
url: https://github.com/verdaccio/verdaccio/security/policy
about: I want to report a security vulnerability
- name: Chat 🏘
url: http://chat.verdaccio.org
url: https://discord.gg/7qWJxBf
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

View File

@@ -57,8 +57,8 @@ jobs:
# - local
- 3.13.1
- 4.12.2
- 5.1.3
- 6.0.0-6-next.22
- 5.3.0
- 6.0.0-6-next.27
name: Benchmark autocannon
runs-on: ubuntu-latest
steps:
@@ -118,8 +118,8 @@ jobs:
# old versions to compare same test along previous releases
- 3.13.1
- 4.12.2
- 5.1.3
- 6.0.0-6-next.22
- 5.3.0
- 6.0.0-6-next.27
name: Benchmark hyperfine
runs-on: ubuntu-latest
steps:

View File

@@ -46,7 +46,12 @@ jobs:
run: pnpm install
env:
NODE_AUTH_TOKEN: ${{ secrets.REGISTRY_AUTH_TOKEN }}
- name: crowdin download
env:
CROWDIN_VERDACCIO_PROJECT_ID: ${{ secrets.CROWDIN_VERDACCIO_PROJECT_ID }}
CROWDIN_VERDACCIO_API_KEY: ${{ secrets.CROWDIN_VERDACCIO_API_KEY }}
CONTEXT: production
run: pnpm crowdin:download
- name: build
run: pnpm build

View File

@@ -10,6 +10,7 @@ on:
- .changeset/**
- .github/workflows/ci.yml
- 'packages/**'
- 'docker-examples/**'
- 'jest/**'
- 'package.json'
- 'pnpm-workspace.yaml'
@@ -19,11 +20,11 @@ jobs:
name: setup verdaccio
services:
verdaccio:
image: verdaccio/verdaccio:5
image: verdaccio/verdaccio:nightly-master
ports:
- 4873:4873
steps:
- uses: actions/checkout@v2.3.1
- uses: actions/checkout@v2.4.0
- name: Use Node 14
uses: actions/setup-node@v1
with:
@@ -48,7 +49,7 @@ jobs:
name: Lint
needs: prepare
steps:
- uses: actions/checkout@v2.3.1
- uses: actions/checkout@v2.4.0
- name: Use Node 16
uses: actions/setup-node@v1
with:
@@ -68,7 +69,7 @@ jobs:
name: Format
needs: prepare
steps:
- uses: actions/checkout@v2.3.1
- uses: actions/checkout@v2.4.0
- name: Use Node 16
uses: actions/setup-node@v1
with:
@@ -83,12 +84,13 @@ jobs:
run: pnpm recursive install --frozen-lockfile --ignore-scripts
- name: Lint
run: pnpm format:check
build:
runs-on: ubuntu-latest
name: build
needs: [format, lint]
steps:
- uses: actions/checkout@v2.3.1
- uses: actions/checkout@v2.4.0
- name: Use Node 16
uses: actions/setup-node@v1
with:
@@ -101,6 +103,15 @@ jobs:
key: pnpm-${{ hashFiles('pnpm-lock.yaml') }}
- name: Install
run: pnpm recursive install --frozen-lockfile --ignore-scripts
- name: crowdin download
env:
CROWDIN_VERDACCIO_PROJECT_ID: ${{ secrets.CROWDIN_VERDACCIO_PROJECT_ID }}
CROWDIN_VERDACCIO_API_KEY: ${{ secrets.CROWDIN_VERDACCIO_API_KEY }}
CONTEXT: production
run: pnpm crowdin:download
## this step is optional, translations are not mandatory for PR
## secrets keys are not available on forks, the failure here is guaranteed
continue-on-error: true
- name: build
run: pnpm build
- name: tar packages
@@ -116,11 +127,12 @@ jobs:
fail-fast: true
matrix:
os: [ubuntu-latest]
## Node 16 breaks UI test, jest issue
node_version: [14]
name: ${{ matrix.os }} / Node ${{ matrix.node_version }}
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2.3.1
- uses: actions/checkout@v2.4.0
- name: Use Node ${{ matrix.node_version }}
uses: actions/setup-node@v1
with:
@@ -145,7 +157,7 @@ jobs:
runs-on: ubuntu-latest
name: UI Test E2E Node 14
steps:
- uses: actions/checkout@v2.3.1
- uses: actions/checkout@v2.4.0
- uses: actions/setup-node@v1
with:
node-version: 14
@@ -165,14 +177,14 @@ jobs:
run: pnpm recursive install --frozen-lockfile
- name: Test UI
run: pnpm test:e2e:ui
env:
DEBUG: verdaccio:e2e*
# env:
# DEBUG: verdaccio:e2e*
ci-e2e-cli:
needs: build
runs-on: ubuntu-latest
name: CLI Test E2E Node 14
steps:
- uses: actions/checkout@v2.3.1
- uses: actions/checkout@v2.4.0
- uses: actions/setup-node@v1
with:
node-version: 14
@@ -193,13 +205,13 @@ jobs:
- name: Test CLI
run: pnpm test:e2e:cli
env:
DEBUG: verdaccio*
DEBUG: verdaccio*
test-windows:
needs: [format, lint]
runs-on: windows-latest
name: windows test node 14
steps:
- uses: actions/checkout@v2.3.1
- uses: actions/checkout@v2.4.0
- name: Use Node 14
uses: actions/setup-node@v1
with:
@@ -217,3 +229,35 @@ jobs:
run: pnpm build
- name: Test
run: pnpm test
sync-translations:
needs: [ci-e2e-cli, ci-e2e-ui, test-windows, test]
runs-on: ubuntu-latest
name: synchronize translations
if: (github.event_name == 'push' && github.ref == 'refs/heads/master') || github.event_name == 'workflow_dispatch'
steps:
- uses: actions/checkout@v2.4.0
- uses: actions/setup-node@v1
with:
node-version: 14
- uses: actions/download-artifact@v2
with:
name: verdaccio-artifact
- name: untar packages
run: tar -xzvf pkg.tar.gz -C ${{ github.workspace }}/packages
- name: Install pnpm
run: npm i pnpm@6.10.3 -g
- uses: actions/cache@v2
with:
path: ~/.pnpm-store
key: pnpm-${{ hashFiles('pnpm-lock.yaml') }}
- name: Install
## we need scripts, pupetter downloads aditional content
run: pnpm recursive install --frozen-lockfile
- name: generate website translations
run: pnpm write-translations --filter ...@verdaccio/website
- name: sync
env:
CROWDIN_VERDACCIO_PROJECT_ID: ${{ secrets.CROWDIN_VERDACCIO_PROJECT_ID }}
CROWDIN_VERDACCIO_API_KEY: ${{ secrets.CROWDIN_VERDACCIO_API_KEY }}
CONTEXT: production
run: pnpm crowdin:sync

View File

@@ -14,7 +14,7 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v2.3.1
uses: actions/checkout@v2.4.0
with:
# We must fetch at least the immediate parents so that if this is
# a pull request then we can checkout the head.

View File

@@ -24,7 +24,7 @@ jobs:
env:
NODE_OPTIONS: --max_old_space_size=4096
steps:
- uses: actions/checkout@v2.3.1
- uses: actions/checkout@v2.4.0
- name: Use Node 14
uses: actions/setup-node@v2
@@ -47,7 +47,8 @@ jobs:
run_install: |
- recursive: true
args: [--frozen-lockfile]
- name: Build Plugins
run: pnpm build --filter "docusaurus-plugin-contributors"
- name: Lint And Pretty
run: |
pnpm eslint:check --filter ...@verdaccio/website
@@ -82,13 +83,11 @@ jobs:
# Will deploy to Preview URL, only when a pull request is open with changes on the website
- name: Build Deployment Preview
if: github.event_name == 'pull_request' && github.ref != 'refs/heads/master' && github.event.label.name == 'trigger-preview'
env:
CONTEXT: deploy-preview
run: pnpm netlify:build:deployPreview --filter ...@verdaccio/website
- name: 🤖 Deploy Preview Netlify
if: github.event_name == 'pull_request' && github.ref != 'refs/heads/master' && github.event.label.name == 'trigger-preview'
uses: semoal/action-netlify-deploy@master
id: netlify_preview
with:
@@ -102,7 +101,6 @@ jobs:
build-dir: './website/build'
- name: Audit preview URL with Lighthouse
if: github.event_name == 'pull_request' && github.ref != 'refs/heads/master' && github.event.label.name == 'trigger-preview'
id: lighthouse_audit
uses: treosh/lighthouse-ci-action@v3
with:
@@ -112,7 +110,6 @@ jobs:
temporaryPublicStorage: true
- name: Format lighthouse score
if: github.event_name == 'pull_request' && github.ref != 'refs/heads/master' && github.event.label.name == 'trigger-preview'
id: format_lighthouse_score
uses: actions/github-script@v3
with:
@@ -137,7 +134,6 @@ jobs:
core.setOutput("comment", comment);
- name: Add comment to PR
if: github.event_name == 'pull_request' && github.ref != 'refs/heads/master' && github.event.label.name == 'trigger-preview'
id: comment_to_pr
uses: marocchino/sticky-pull-request-comment@v1
with:

5
.gitignore vendored
View File

@@ -34,6 +34,9 @@ packages/standalone/dist/
## ui
packages/plugins/ui-theme/static
/packages/plugins/ui-theme/src/i18n/download_translations/
!/packages/plugins/ui-theme/src/i18n/crowdin/ui.json
# CI Pnpm cache
.pnpm-store/
@@ -45,5 +48,5 @@ hyper-results*.json
api-results*.json
#docs
api/
./api
packages/core/core/docs

5
.husky/pre-commit Executable file
View File

@@ -0,0 +1,5 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
#./node_modules/.bin/lint-staged
npm run husky:pre-commit

2
.nvmrc
View File

@@ -1 +1 @@
14
16

View File

@@ -19,8 +19,8 @@ node_modules/
packages/core/local-storage/_storage/**
packages/partials/storage_default_storage/
packages/standalone/dist/bundle.js
packages/verdaccio/dist/bundle.js
docker-examples/v5/reverse_proxy/nginx/relative_path/storage/*
docker-examples/
build/
.vscode/
.github/

View File

@@ -1,11 +0,0 @@
{
"endOfLine": "lf",
"useTabs": false,
"printWidth": 100,
"tabWidth": 2,
"singleQuote": true,
"bracketSpacing": true,
"jsxBracketSameLine": true,
"trailingComma": "es5",
"semi": true
}

View File

@@ -2,7 +2,7 @@
{
"files.exclude": {
"**/.nyc_output": true,
"**/build": true,
"**/build": false,
"**/coverage": true,
".idea": true,
"storage_default_storage": true,

File diff suppressed because it is too large Load Diff

View File

@@ -19,6 +19,7 @@ guidelines for you:
- [What's is not considered a bug?](#whats-is-not-considered-a-bug)
- [Issue Search](#issue-search)
- [Chat](#chat)
- [Translations](#translations)
- [Request Features](#request-features)
- [Contributing Guidelines](#contributing-guidelines)
- [Submitting a Pull Request](#submitting-a-pull-request)
@@ -128,9 +129,23 @@ More details in the debug section
### Running and debugging
> Check the debugging guidelines [here](https://github.com/verdaccio/verdaccio/wiki/Debugging-Verdaccio)
We use [`debug`](https://www.npmjs.com/package/debug) to add helpful debugging
output to the code. Each package has it owns namespace.
#### Useful Scripts
To run the application from the source code, ensure the project has been built with `pnpm build`, once this is done, there are few commands that helps to run server:
- `pnpm start`: Run the server and the UI with `concurrently`, the
server runs in the port `8000` and the UI on the port `4873`. This command
is useful if you want to contribute mostly on the UI.
- `pnpm debug`: Run the server in debug mode `--inspect`, the UI is included but does not have hot reload. For automatic break use `pnpm debug:break`.
- `pnpm debug:fastify`: To contribute on the [fastify migration](https://github.com/verdaccio/verdaccio/discussions/2155) this is a temporary command for such purpose.
- `pnpm website`: Build the website, for more commands to run the _website_, run `cd website` and then `pnpm serve`, website will run on port `3000`.
- `pnpm docker`: Build the docker image. Requires `docker` command available in your system.
#### Debugging compiled code
Currently you can only run pre-compiled packages in debug mode. To enable debug
@@ -190,10 +205,28 @@ affecting multiple people.
### Chat
Questions can be asked via [Discord](http://chat.verdaccio.org/)
Questions can be asked via [Discord](https://discord.gg/7qWJxBf)
**Please use the `#help` channel.**
## Translations
All translations are provided by the `crowdin` platform:
[https://translate.verdaccio.org/](https://translate.verdaccio.org/)
If you want to contribute by adding translations, create an account (GitHub could be used as fast alternative), in the platform you can contribute to two areas, the website or improve User Interface translations.
If a language is not listed, ask for it in the [Discord](https://discord.gg/7qWJxBf) channel #contribute channel.
For adding a new **language** on the UI follow these steps:
1. Ensure the **language** has been enabled, must be visible in the `crowdin` platform.
2. Find in the explorer the file `en.US.json` in the path `packages/plugins/ui-theme/src/i18n/crowdin/ui.json` and complete the translations, **not need to find approval on this**.
3. Into the project, add a new field into `packages/plugins/ui-theme/src/i18n/crowdin/ui.json` file, in the section `lng`, the new language, eg: `{ lng: {korean:"Korean"}}`. (This file is English based, once the PR has been merged, this string will be available in crowdin for translate to the targeted language).
4. Add the language, [flag icon](https://www.npmjs.com/package/country-flag-icons), and the menu key fort he new language eg: `menuKey: 'lng.korean'` to the file `packages/plugins/ui-theme/src/i18n/enabledLanguages.ts`.
5. For local testing, read `packages/plugins/ui-theme/src/i18n/ABOUT_TRANSLATIONS.md`.
6. Add a `changeset` file, see more info below.
## Request Features
New feature requests are welcome. Analyse whether the idea fits within scope of

View File

@@ -1,25 +1,26 @@
FROM --platform=${BUILDPLATFORM:-linux/amd64} node:14.17.6-alpine as builder
FROM --platform=${BUILDPLATFORM:-linux/amd64} node:14.18.1-alpine as builder
ENV NODE_ENV=development \
VERDACCIO_BUILD_REGISTRY=https://registry.verdaccio.org
RUN apk --no-cache add openssl ca-certificates wget && \
apk --no-cache add g++ gcc libgcc libstdc++ linux-headers make python && \
apk --no-cache add g++ gcc libgcc libstdc++ linux-headers make python2 && \
wget -q -O /etc/apk/keys/sgerrand.rsa.pub https://alpine-pkgs.sgerrand.com/sgerrand.rsa.pub && \
wget -q https://github.com/sgerrand/alpine-pkg-glibc/releases/download/2.25-r0/glibc-2.25-r0.apk && \
apk add glibc-2.25-r0.apk
WORKDIR /opt/verdaccio-build
COPY . .
RUN npm -g i pnpm@6.10.3 && \
pnpm config set registry $VERDACCIO_BUILD_REGISTRY && \
pnpm recursive install --frozen-lockfile --ignore-scripts && \
pnpm run build
rm -Rf test && \
pnpm run build && \
pnpm install -P
# FIXME: need to remove devDependencies from the build
# RUN pnpm install --prod --ignore-scripts
FROM node:14.17.6-alpine
FROM node:14.18.1-alpine
LABEL maintainer="https://github.com/verdaccio/verdaccio"
ENV VERDACCIO_APPDIR=/opt/verdaccio \

View File

@@ -29,6 +29,8 @@ Google Cloud Storage** or create your own plugin.
## Install
> Latest Node.js v14
Install with npm:
```bash
@@ -75,7 +77,7 @@ booted in a couple of seconds, fast enough for any CI. Many open source projects
### **Testing the integrity of your React components by publishing in a private registry - React Finland 2021**.
[![beerjscrb](https://cdn.verdaccio.dev/readme/react-finland-2021-jpicado.jpeg)](https://www.youtube.com/watch?v=5olfi5wbgF4)
[![beerjscrb](https://cdn.verdaccio.dev/readme/react-finland-2021-jpicado.jpeg)](https://www.youtube.com/watch?v=bRKZbrlQqLY&t=16s&ab_channel=ReactFinland)
You might want to check out as well our previous talks:
@@ -190,7 +192,20 @@ Verdaccio aims to support all features of a standard npm client that make sense
If you want to report a security vulnerability, please follow the steps which we have defined for you in our [security policy](https://github.com/verdaccio/verdaccio/security/policy).
## Core Team
## Special Thanks
Thanks to the following companies to help us to achieve our goals providing free open source licenses. Every company provides enough resources to move this project forward.
| Company | Logo | License |
| ------------ | ------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- |
| JetBrains | [![jetbrain](assets/thanks/jetbrains/logo.png)](https://www.jetbrains.com/) | JetBrains provides licenses for products for active maintainers, renewable yearly |
| Crowdin | [![crowdin](assets/thanks/crowdin/logo.png)](https://crowdin.com/) | Crowdin provides platform for translations |
| BrowserStack | [![browserstack](https://cdn.verdaccio.dev/readme/browserstack_logo.png)](https://www.browserstack.com/) | BrowserStack provides plan to run End to End testing for the UI |
| Netlify | [![netlify](https://www.netlify.com/img/global/badges/netlify-color-accent.svg)](https://www.netlify.com/) | Netlify provides pro plan for website deployment |
| Algolia | [![algolia](https://cdn.verdaccio.dev/sponsor/logo/algolia/logo.png)](https://algolia.com/) | Algolia provides search services for the website |
| Docker | [![docker](https://cdn.verdaccio.dev/sponsor/logo/docker/docker.png)](https://www.docker.com/community/open-source/application) | Docker offers unlimited pulls and unlimited egress to any and all users |
## Maintainers
| [Juan Picado](https://github.com/juanpicado) | [Ayush Sharma](https://github.com/ayusharma) | [Sergio Hg](https://github.com/sergiohgz) |
| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------- |
@@ -244,18 +259,6 @@ Thank you to all our backers! 🙏 [[Become a backer](https://opencollective.com
[![backers](https://opencollective.com/verdaccio/backers.svg?width=890)](https://opencollective.com/verdaccio#backers)
## Special Thanks
Thanks to the following companies to help us to achieve our goals providing free open source licenses.
[![jetbrain](assets/thanks/jetbrains/logo.png)](https://www.jetbrains.com/)
[![crowdin](assets/thanks/crowdin/logo.png)](https://crowdin.com/)
[![browserstack](https://cdn.verdaccio.dev/readme/browserstack_logo.png)](https://www.browserstack.com/)
[![netlify](https://www.netlify.com/img/global/badges/netlify-color-accent.svg)](https://www.netlify.com/)
[![algolia](https://cdn.verdaccio.dev/sponsor/logo/algolia/logo.png)](https://algolia.com/)
Verdaccio also is part of to the [Docker Open Source Program](https://www.docker.com/blog/expanded-support-for-open-source-software-projects/).
## Contributors
This project exists thanks to all the people who contribute. [[Contribute](CONTRIBUTING.md)].
@@ -270,7 +273,7 @@ If you have any issue you can try the following options, do no desist to ask or
- [Donations](https://github.com/sponsors/verdaccio)
- [Reporting an issue](https://github.com/verdaccio/verdaccio/issues/new/choose)
- [Running discussions](https://github.com/verdaccio/verdaccio/issues?q=is%3Aissue+is%3Aopen+label%3Adiscuss)
- [Chat](http://chat.verdaccio.org/)
- [Chat](https://discord.gg/7qWJxBf)
- [Logos](https://verdaccio.org/docs/en/logo)
- [Docker Examples](https://github.com/verdaccio/verdaccio/tree/master/docker-examples)
- [FAQ](https://github.com/verdaccio/verdaccio/discussions/categories/q-a)

View File

@@ -5,6 +5,10 @@ preserve_hierarchy: true
files:
[
{
source: 'packages/plugins/ui-theme/src/i18n/crowdin/**/*',
translation: '/packages/plugins/ui-theme/src/i18n/download_translations/%locale%/**/%original_file_name%',
},
{
source: '/website/i18n/en/**/*',
translation: '/website/i18n/%locale%/**/%original_file_name%',
@@ -13,4 +17,4 @@ files:
source: '/website/docs/**/*',
translation: '/website/i18n/%locale%/docusaurus-plugin-content-docs/current/**/%original_file_name%',
}
]
]

View File

@@ -8,12 +8,14 @@ The following examples aim to be demonstrative and can be either improved or upd
- [v4 examples](v4/README.md)
- [v5 examples](v5/README.md)
- [v6 examples](v6/README.md)
## Aditional data
This folder aims to create a collection of Docker and Kubernetes examples.
For more information about the **Helm** Chart, please check it [owns repo](https://github.com/verdaccio/charts).
### Kubernetes
- Kubernetes (minikube) + Verdaccio (Basic Configuration)

View File

@@ -4,6 +4,9 @@ Verdaccio running with [Localstack](https://github.com/localstack/localstack) pr
## Usage
> You might need to create bucket manually here
> aws --endpoint-url=http://localhost:4572 s3 mb s3://localstack.s3.plugin.test
```
docker-compose up --force-recreate --build --always-recreate-deps
```

View File

@@ -13,7 +13,6 @@ uplinks:
packages:
'@*/*':
# scoped packages
access: $all
publish: $all
proxy: npmjs

View File

@@ -14,7 +14,7 @@ services:
links:
- localstack-s3
localstack-s3:
image: localstack/localstack:latest
image: localstack/localstack:0.10.9
container_name: localstack-s3-1
environment:
- DEBUG=0

View File

@@ -1,4 +1,4 @@
FROM python:2.7
FROM python:3.7-alpine
ENV AWS_ACCESS_KEY_ID='[something]'
ENV AWS_SECRET_ACCESS_KEY='[something]'
@@ -7,4 +7,4 @@ ENV AWS_S3_ENDPOINT='http://localstack-s3:4572'
RUN pip install awscli
COPY entry.sh /entry.sh
RUN chmod +x /entry.sh
ENTRYPOINT ["/entry.sh"]
ENTRYPOINT ["/entry.sh"]

View File

@@ -1,3 +1,3 @@
#!/bin/bash
aws --endpoint-url http://localstack-s3:4572 s3 mb s3://localstack.s3.plugin.test --region eu-west-2
aws --endpoint-url http://localstack-s3:4572 s3 mb s3://localstack.s3.plugin.test --region eu-west-2

View File

@@ -10,7 +10,7 @@ let _localMemory = require('./local-memory');
let _localMemory2 = _interopRequireDefault(_localMemory);
function _interopRequireDefault(obj) {
return obj && obj.__esModule ? obj : {default: obj};
return obj && obj.__esModule ? obj : { default: obj };
}
exports.LocalMemory = _localMemory2.default;

View File

@@ -9,7 +9,7 @@ let _memoryHandler = require('./memory-handler');
let _memoryHandler2 = _interopRequireDefault(_memoryHandler);
function _interopRequireDefault(obj) {
return obj && obj.__esModule ? obj : {default: obj};
return obj && obj.__esModule ? obj : { default: obj };
}
const DEFAULT_LIMIT = 1000;
@@ -43,8 +43,8 @@ class LocalMemory {
cb(null);
} else {
this.logger.info(
{limit: this.limit},
'Storage memory has reached limit of @{limit} packages',
{ limit: this.limit },
'Storage memory has reached limit of @{limit} packages'
);
cb(new Error('Storage memory has reached limit of limit packages'));
}

View File

@@ -16,7 +16,7 @@ let _memoryFs2 = _interopRequireDefault(_memoryFs);
let _streams = require('@verdaccio/streams');
function _interopRequireDefault(obj) {
return obj && obj.__esModule ? obj : {default: obj};
return obj && obj.__esModule ? obj : { default: obj };
}
// $FlowFixMe
@@ -111,8 +111,8 @@ class MemoryHandler {
const uploadStream = new _streams.UploadTarball();
const temporalName = `/${name}`;
process.nextTick(function() {
fs.exists(temporalName, function(exists) {
process.nextTick(function () {
fs.exists(temporalName, function (exists) {
if (exists) {
return uploadStream.emit('error', fSError(fileExist));
}
@@ -122,7 +122,7 @@ class MemoryHandler {
uploadStream.pipe(file);
uploadStream.done = function() {
uploadStream.done = function () {
const onEnd = function onEnd() {
uploadStream.emit('success');
};
@@ -130,7 +130,7 @@ class MemoryHandler {
uploadStream.on('end', onEnd);
};
uploadStream.abort = function() {
uploadStream.abort = function () {
uploadStream.emit('error', fSError('transmision aborted', 400));
file.end();
};
@@ -150,8 +150,8 @@ class MemoryHandler {
const readTarballStream = new _streams.ReadTarball();
process.nextTick(function() {
fs.exists(pathName, function(exists) {
process.nextTick(function () {
fs.exists(pathName, function (exists) {
if (!exists) {
readTarballStream.emit('error', noPackageFoundError());
} else {
@@ -164,7 +164,7 @@ class MemoryHandler {
readTarballStream.emit('error', error);
});
readTarballStream.abort = function() {
readTarballStream.abort = function () {
readStream.destroy(fSError('read has been aborted', 400));
};
}

View File

@@ -19,7 +19,7 @@ security:
expiresIn: 7d
## IMPORTANT
## This setup is required for relative path
## This setup is required for relative path
url_prefix: /verdaccio/
server:
behindProxy: true

View File

@@ -1,5 +1,5 @@
# Verdaccio 5
> Before run examples, build the local image by running `pnpm docker`.
> Before run examples, build the local image by running `pnpm docker`.
- [Docker + Nginx + Verdaccio](reverse_proxy/nginx/README.md)

View File

@@ -14,7 +14,7 @@ services:
- verdaccio
- verdaccio-root
verdaccio:
image: verdaccio/verdaccio:local
image: verdaccio/verdaccio:5
container_name: 'verdaccio_relative_path_v5'
networks:
- node-network
@@ -27,7 +27,7 @@ services:
- './storage:/verdaccio/storage'
- './conf/v5:/verdaccio/conf'
verdaccio-root:
image: verdaccio/verdaccio:local
image: verdaccio/verdaccio:5
container_name: 'verdaccio_relative_path_v5_root'
networks:
- node-network

View File

@@ -17,7 +17,7 @@ services:
- verdaccio
- verdaccio-root
verdaccio:
image: verdaccio/verdaccio:local
image: verdaccio/verdaccio:5
container_name: 'verdaccio_relative_path_v5'
networks:
- node-network
@@ -29,7 +29,7 @@ services:
- './storage:/verdaccio/storage'
- './conf/v5:/verdaccio/conf'
verdaccio-root:
image: verdaccio/verdaccio:local
image: verdaccio/verdaccio:5
container_name: 'verdaccio_relative_path_v5_root'
networks:
- node-network

View File

@@ -2,7 +2,7 @@ version: '2'
services:
verdaccio:
image: verdaccio/verdaccio:local
image: verdaccio/verdaccio:5
container_name: verdaccio_root_path
ports:
- '4873:4873'

View File

@@ -0,0 +1,8 @@
# Verdaccio 6
> We recommend to have installed [docker-compose >= 1.29.0](https://github.com/docker/compose/releases/tag/1.29.2)
- [Docker + Nginx + Verdaccio](reverse_proxy/nginx/README.md)
- [Docker + Apache + Verdaccio](apache-verdaccio/README.md)
- [Docker + Local Storage Volume + Verdaccio](docker-local-storage-volume/README.md)
- [Docker + HTTPS Portal + Verdaccio](https-portal-example/README.md)

View File

@@ -0,0 +1,93 @@
# Verdaccio and Apache2
Running `verdaccio` via reverse proxy is a common practice. This configuration provides a quick way to run the application through **apache2** as reverse proxy.
To run the containers, run the following command in this folder, it should start the containers in detach mode.
```bash
docker-compose up -d
```
To recreate the nginx image you can force the build.
```bash
docker-compose up --build -d
Building apacheproxy
Step 1/5 : FROM eboraas/apache
---> 1ba66e3f5580
Step 2/5 : MAINTAINER Juan Picado <juanpicado19@gmail.com>
---> Using cache
---> 4317b29c20ec
Step 3/5 : RUN a2enmod proxy
---> Using cache
---> b9334b33e2f1
Step 4/5 : COPY ./conf/000-default.conf /etc/apache2/sites-enabled/000-default.conf
---> Using cache
---> 6d464388db8f
Step 5/5 : COPY ./conf/env.load /etc/apache2/mods-enabled/env.load
---> Using cache
---> 66740b6ffb97
Successfully built 66740b6ffb97
Recreating verdaccio
Recreating apacheverdaccio_apacheproxy_1
```
To force recreate the images.
```bash
docker-compose up --build --force-recreate -d
```
To stop all containers
```bash
docker-compose stop
```
To display container logs
```bash
$> docker-compose logs
Attaching to apacheverdaccio_apacheproxy_1, verdaccio
verdaccio | warn --- config file - /verdaccio/conf/config.yaml
verdaccio | warn --- http address - http://0.0.0.0:4873/ - verdaccio/2.1.7
verdaccio | http <-- 304, user: undefined, req: 'GET /', bytes: 0/0
verdaccio | http <-- 304, user: undefined, req: 'GET /-/static/jquery.min.js', bytes: 0/0
verdaccio | http <-- 304, user: undefined, req: 'GET /-/static/main.css', bytes: 0/0
verdaccio | http <-- 304, user: undefined, req: 'GET /-/static/main.js', bytes: 0/0
verdaccio | http <-- 304, user: undefined, req: 'GET /-/logo', bytes: 0/0
verdaccio | http <-- 304, user: undefined, req: 'GET /-/static/fontello.woff?10872183', bytes: 0/0
verdaccio | http <-- 200, user: undefined, req: 'GET /-/static/favicon.png', bytes: 0/315
```
To access the apache logs
```bash
&> docker exec -it {ID} /bin/bash
root@da8ee3cb484c:~# tail -f /var/log/apache2/verdaccio-access.log
172.20.0.1 - - [31/May/2017:21:16:37 +0000] "GET /xmlhttprequest-ssl HTTP/1.1" 200 2616 "install sails" "npm/5.0.0 node/v4.6.1 darwin x64"
172.20.0.1 - - [31/May/2017:21:16:37 +0000] "GET /yeast HTTP/1.1" 200 2706 "install sails" "npm/5.0.0 node/v4.6.1 darwin x64"
172.20.0.1 - - [31/May/2017:21:16:37 +0000] "GET /has-cors HTTP/1.1" 200 1347 "install sails" "npm/5.0.0 node/v4.6.1 darwin x64"
172.20.0.1 - - [31/May/2017:21:16:37 +0000] "GET /parsejson HTTP/1.1" 200 1234 "install sails" "npm/5.0.0 node/v4.6.1 darwin x64"
172.20.0.1 - - [31/May/2017:21:16:37 +0000] "GET /better-assert HTTP/1.1" 200 2462 "install sails" "npm/5.0.0 node/v4.6.1 darwin x64"
172.20.0.1 - - [31/May/2017:21:16:37 +0000] "GET /callsite HTTP/1.1" 200 1369 "install sails" "npm/5.0.0 node/v4.6.1 darwin x64"
172.20.0.1 - - [31/May/2017:21:16:37 +0000] "GET /dot-access HTTP/1.1" 200 1477 "install sails" "npm/5.0.0 node/v4.6.1 darwin x64"
172.20.0.1 - - [31/May/2017:21:16:37 +0000] "GET /skipper-disk HTTP/1.1" 200 3801 "install sails" "npm/5.0.0 node/v4.6.1 darwin x64"
172.20.0.1 - - [31/May/2017:21:16:37 +0000] "GET /native-or-bluebird HTTP/1.1" 200 2257 "install sails" "npm/5.0.0 node/v4.6.1 darwin x64"
172.20.0.1 - - [31/May/2017:21:16:37 +0000] "GET /foreachasync HTTP/1.1" 200 2742 "install sails" "npm/5.0.0 node/v4.6.1 darwin x64"
tail: unrecognized file system type 0x794c7630 for '/var/log/apache2/verdaccio-access.log'. please report this to bug-coreutils@gnu.org. reverting to polling
```
### Display Information
To display the containers running
```bash
&> docker-compose ps
Name Command State Ports
----------------------------------------------------------------------------------------------------
apacheverdaccio_apacheproxy_1 /usr/sbin/apache2ctl -D FO ... Up 443/tcp, 0.0.0.0:80->80/tcp
verdaccio /usr/src/app/bin/verdaccio ... Up 0.0.0.0:4873->4873/tcp
```

View File

@@ -0,0 +1,6 @@
FROM eboraas/apache
MAINTAINER Juan Picado <juanpicado19@gmail.com>
# http://pierrecaserta.com/apache-proxy-one-docker-server-many-domains/
RUN a2enmod proxy
COPY ./conf/000-default.conf /etc/apache2/sites-enabled/000-default.conf
COPY ./conf/env.load /etc/apache2/mods-enabled/env.load

View File

@@ -0,0 +1,17 @@
ServerName localhost:80
ServerAdmin admin@localhost
<VirtualHost *:80>
ServerName localhost
<Proxy *>
Allow from localhost
</Proxy>
SSLProxyEngine On
ProxyRequests Off
ProxyPreserveHost On
AllowEncodedSlashes NoDecode
ProxyPass / http://verdaccio:4873/ nocanon
ProxyPassReverse / http://verdaccio:4873/
CustomLog /var/log/apache2/verdaccio-access.log combined
ErrorLog /var/log/apache2/verdaccio-error.log
</VirtualHost>

View File

@@ -0,0 +1,4 @@
LoadModule env_module /usr/lib/apache2/modules/mod_env.so
LoadModule proxy_module /usr/lib/apache2/modules/mod_proxy.so
LoadModule proxy_http_module /usr/lib/apache2/modules/mod_proxy_http.so
LoadModule socache_shmcb_module /usr/lib/apache2/modules/mod_socache_shmcb.so

View File

@@ -0,0 +1,21 @@
services:
verdaccio:
image: verdaccio/verdaccio:nightly-master
container_name: verdaccio
ports:
- '4873:4873'
volumes:
- verdaccio:/verdaccio
apacheproxy:
build: apache_proxy/
links:
- verdaccio
ports:
- '80:80'
volumes_from:
- verdaccio
volumes:
verdaccio:
driver: local

View File

@@ -0,0 +1,71 @@
#
# This is the config file used for the docker images.
# It allows all users to do anything, so don't use it on production systems.
#
# Do not configure host and port under `listen` in this file
# as it will be ignored when using docker.
# see https://github.com/verdaccio/verdaccio/blob/master/wiki/docker.md#docker-and-custom-port-configuration
#
# Look here for more config file examples:
# https://github.com/verdaccio/verdaccio/tree/master/conf
#
# path to a directory with all packages
storage: /verdaccio/storage
auth:
htpasswd:
file: /verdaccio/conf/htpasswd
# Maximum amount of users allowed to register, defaults to "+inf".
# You can set this to -1 to disable registration.
#max_users: 1000
security:
api:
jwt:
sign:
expiresIn: 60d
notBefore: 1
web:
sign:
expiresIn: 7d
# a list of other known repositories we can talk to
uplinks:
npmjs:
url: https://registry.npmjs.org/
packages:
'@jota/*':
access: $all
publish: $all
'@*/*':
# scoped packages
access: $all
publish: $all
proxy: npmjs
'**':
# allow all users (including non-authenticated users) to read and
# publish all packages
#
# you can specify usernames/groupnames (depending on your auth plugin)
# and three keywords: "$all", "$anonymous", "$authenticated"
access: $all
# allow all known users to publish packages
# (anyone can register by default, remember?)
publish: $all
# if package is not available locally, proxy requests to 'npmjs' registry
proxy: npmjs
# To use `npm audit` uncomment the following section
middlewares:
audit:
enabled: true
# log settings
logs:
- { type: stdout, format: pretty, level: trace }
#- {type: file, path: verdaccio.log, level: info}

View File

@@ -0,0 +1 @@
jpicado:$6vkdNgRX2npc:autocreated 2017-07-11T18:48:38.003Z

View File

@@ -0,0 +1,12 @@
services:
verdaccio:
image: verdaccio/verdaccio:nightly-master
container_name: verdaccio-docker-local-storage-vol
ports:
- '4873:4873'
volumes:
- './storage:/verdaccio/storage'
- './conf:/verdaccio/conf'
volumes:
verdaccio:
driver: local

View File

@@ -0,0 +1,31 @@
# Verdaccio and simple local storage
This example shows a simple configuration for `verdaccio` plus the default local storage with the minimum configuration required using `docker-compose`.
Contains
- conf: Configuration file and default user httpasswd
- storage: A published default package with 2 versions.
```bash
$> docker-compose up
```
## Login
If you want to login into the Verdaccio instance created via these Docker Examples, please try:
Username: jpicado
Password: jpicado
## Running in Dokku
If you use Dokku, an open-source alternative for Heroku, you can run this example using the following steps:
1. Create a new application `dokku apps:create verdaccio`
2. Pull the verdaccio image `docker pull verdaccio/verdaccio:`
3. Tag the docker image for the app: `docker tag verdaccio/verdaccio:nightly-master dokku/verdaccio:v1`
4. Create the directories for persistent storage `mkdir -p /var/lib/dokku/data/storage/verdaccio/storage`, `mkdir -p /var/lib/dokku/data/storage/verdaccio/storage`
5. Mount the volumes: `dokku storage:mount verdaccio /var/lib/dokku/data/storage/verdaccio/storage:/verdaccio/storage` and `dokku storage:mount verdaccio /var/lib/dokku/data/storage/verdaccio/conf:/verdaccio/conf`
6. Deploy the docker image `dokku tags:deploy verdaccio v1`
7. Enjoy the application

View File

@@ -0,0 +1,61 @@
{
"name": "@jota/pk1-juan-1",
"versions": {
"1.0.0": {
"name": "@jota/pk1-juan-1",
"version": "1.0.0",
"description": "Simple React Webpack Babel Starter Kit",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": {
"name": "Juan Picado",
"email": "juan@jotadeveloper.com"
},
"license": "ISC",
"dependencies": {
"angular": "^1.6.8",
"angular2": "^2.0.0-beta.21",
"babel-core": "^6.26.0",
"babel-env": "^2.4.1",
"jquery": "^3.2.1",
"react": "^16.2.0",
"test_npm_18": "^1.0.1",
"typescript": "^2.6.2",
"verdaccio": "^2.7.2",
"verdaccio-memory": "0.0.3",
"webpack": "^3.10.0"
},
"readmeFilename": "README.md",
"_id": "@jota/pk1-juan-1@1.0.0",
"_npmVersion": "5.5.1",
"_nodeVersion": "8.7.0",
"_npmUser": {},
"dist": {
"integrity": "sha512-aKXCuBayXFdSVt4+94B7lqvsPsM0KIsIcXvc7Ghkir3OsE6FQl2bXBBWe6deNuTwJihsFvDbCDiMq+0TIUENBQ==",
"shasum": "faf627d746ce7c670aed088b761960716e68e186",
"tarball": "http://0.0.0.0:4873/@jota/pk1-juan-1/-/@jota/pk1-juan-1-1.0.0.tgz"
}
}
},
"dist-tags": {
"latest": "1.0.0"
},
"time": {
"modified": "2018-01-17T18:32:18.049Z",
"created": "2018-01-17T18:32:18.049Z",
"1.0.0": "2018-01-17T18:32:18.049Z"
},
"_distfiles": {},
"_attachments": {
"pk1-juan-1-1.0.0.tgz": {
"shasum": "faf627d746ce7c670aed088b761960716e68e186",
"version": "1.0.0"
}
},
"_uplinks": {},
"_rev": "3-5cf06458deec6f04",
"readme": "# react-webpack-babel\nSimple React Webpack Babel Starter Kit\n\nTired of complicated starters with 200MB of dependencies which are hard to understand and modify?\n\nTry this is a simple [React](https://facebook.github.io/react/), [Webpack](http://webpack.github.io/) and [Babel](https://babeljs.io/) application with nothing else in it.\n\n### What's in it?\n\n* Simple src/index.jsx and src/index.css (local module css).\n* Webpack configuration for development (with hot reloading) and production (with minification).\n* CSS module loading, so you can include your css by ```import styles from './path/to.css';```.\n* Both js(x) and css hot loaded during development.\n* [Webpack Dashboard Plugin](https://github.com/FormidableLabs/webpack-dashboard) on dev server.\n\n### To run\n\n* You'll need to have [git](https://git-scm.com/) and [node](https://nodejs.org/en/) installed in your system.\n* Fork and clone the project:\n\n```\ngit clone https://github.com/alicoding/react-webpack-babel.git\n```\n\n* Then install the dependencies:\n\n```\nnpm install\n```\n\n* Run development server:\n\n```\nnpm start\n```\n\n* Or you can run development server with [webpack-dashboard](https://github.com/FormidableLabs/webpack-dashboard):\n\n```\nnpm run dev\n```\n\nOpen the web browser to `http://localhost:8888/`\n\n### To build the production package\n\n```\nnpm run build\n```\n\n### Nginx Config\n\nHere is an example Nginx config:\n```\nserver {\n\t# ... root and other options\n\n\tgzip on;\n\tgzip_http_version 1.1;\n\tgzip_types text/plain text/css text/xml application/javascript image/svg+xml;\n\n\tlocation / {\n\t\ttry_files $uri $uri/ /index.html;\n\t}\n\n\tlocation ~ \\.html?$ {\n\t\texpires 1d;\n\t}\n\n\tlocation ~ \\.(svg|ttf|js|css|svgz|eot|otf|woff|jpg|jpeg|gif|png|ico)$ {\n\t\taccess_log off;\n\t\tlog_not_found off;\n\t\texpires max;\n\t}\n}\n```\n\n### Eslint\nThere is a .eslint.yaml config for eslint ready with React plugin.\nTo use it, you need to install additional dependencies though:\n\n```\nnpm install --save-dev eslint eslint-plugin-react\n```\n\nTo do the actual linting, run:\n\n```\nnpm run lint\n```\n\n### Notes on importing css styles\n* styles having /src/ in their absolute path are considered part of the application and exported as local css modules.\n* other styles are considered global styles used by many components and are included in the css bundle directly.\n\n### Contribute\nPlease contribute to the project if you know how to make it better, including this README :)"
}

View File

@@ -0,0 +1,105 @@
{
"name": "@jota/pk1-juan",
"versions": {
"1.0.0": {
"name": "@jota/pk1-juan",
"version": "1.0.0",
"description": "Simple React Webpack Babel Starter Kit",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": {
"name": "Juan Picado",
"email": "juan@jotadeveloper.com"
},
"license": "ISC",
"dependencies": {
"angular": "^1.6.8",
"angular2": "^2.0.0-beta.21",
"babel-core": "^6.26.0",
"babel-env": "^2.4.1",
"jquery": "^3.2.1",
"react": "^16.2.0",
"test_npm_18": "^1.0.1",
"typescript": "^2.6.2",
"verdaccio": "^2.7.2",
"verdaccio-memory": "0.0.3",
"webpack": "^3.10.0"
},
"readmeFilename": "README.md",
"_id": "@jota/pk1-juan@1.0.0",
"_npmVersion": "5.5.1",
"_nodeVersion": "8.7.0",
"_npmUser": {},
"dist": {
"integrity": "sha512-JC4y+iHrUpD+li3Pf9z2oFxw2Mtbqi6vgnIDBB3H/P/t0gAuCKK/LJ86kV7TRyvQwVvyJk1qI61iOVLiMwjZ8Q==",
"shasum": "95a21c648054c7144a23995a519930255f35b6c2",
"tarball": "http://0.0.0.0:4873/@jota/pk1-juan/-/@jota/pk1-juan-1.0.0.tgz"
}
},
"1.0.1": {
"name": "@jota/pk1-juan",
"version": "1.0.1",
"description": "Simple React Webpack Babel Starter Kit",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": {
"name": "Juan Picado",
"email": "juan@jotadeveloper.com"
},
"license": "ISC",
"dependencies": {
"angular": "^1.6.8",
"angular2": "^2.0.0-beta.21",
"babel-core": "^6.26.0",
"babel-env": "^2.4.1",
"jquery": "^3.2.1",
"react": "^16.2.0",
"test_npm_18": "^1.0.1",
"typescript": "^2.6.2",
"verdaccio": "^2.7.2",
"verdaccio-memory": "0.0.3",
"webpack": "^3.10.0"
},
"readmeFilename": "README.md",
"_id": "@jota/pk1-juan@1.0.1",
"_npmVersion": "5.5.1",
"_nodeVersion": "8.7.0",
"_npmUser": {},
"dist": {
"integrity": "sha512-copZNn2mMX8S3W9czxd3GXKj8vKu1v7JrUD9zOtriP8v9AvZOHIt6nW8+1114cumNGukFxjBO+2VlZC793ynTA==",
"shasum": "ed59869c54d1bec7bc19732c4c23c97633ea30e2",
"tarball": "http://0.0.0.0:4873/@jota/pk1-juan/-/@jota/pk1-juan-1.0.1.tgz"
}
}
},
"dist-tags": {
"latest": "1.0.0",
"beta2": "1.0.1"
},
"time": {
"modified": "2018-01-17T18:49:09.087Z",
"created": "2018-01-17T18:27:39.952Z",
"1.0.0": "2018-01-17T18:27:39.952Z",
"1.0.1": "2018-01-17T18:49:09.087Z"
},
"_distfiles": {},
"_attachments": {
"pk1-juan-1.0.0.tgz": {
"shasum": "95a21c648054c7144a23995a519930255f35b6c2",
"version": "1.0.0"
},
"pk1-juan-1.0.1.tgz": {
"shasum": "ed59869c54d1bec7bc19732c4c23c97633ea30e2",
"version": "1.0.1"
}
},
"_uplinks": {},
"_rev": "18-5118c5019a188840",
"readme": "# react-webpack-babel\nSimple React Webpack Babel Starter Kit\n\nTired of complicated starters with 200MB of dependencies which are hard to understand and modify?\n\nTry this is a simple [React](https://facebook.github.io/react/), [Webpack](http://webpack.github.io/) and [Babel](https://babeljs.io/) application with nothing else in it.\n\n### What's in it?\n\n* Simple src/index.jsx and src/index.css (local module css).\n* Webpack configuration for development (with hot reloading) and production (with minification).\n* CSS module loading, so you can include your css by ```import styles from './path/to.css';```.\n* Both js(x) and css hot loaded during development.\n* [Webpack Dashboard Plugin](https://github.com/FormidableLabs/webpack-dashboard) on dev server.\n\n### To run\n\n* You'll need to have [git](https://git-scm.com/) and [node](https://nodejs.org/en/) installed in your system.\n* Fork and clone the project:\n\n```\ngit clone https://github.com/alicoding/react-webpack-babel.git\n```\n\n* Then install the dependencies:\n\n```\nnpm install\n```\n\n* Run development server:\n\n```\nnpm start\n```\n\n* Or you can run development server with [webpack-dashboard](https://github.com/FormidableLabs/webpack-dashboard):\n\n```\nnpm run dev\n```\n\nOpen the web browser to `http://localhost:8888/`\n\n### To build the production package\n\n```\nnpm run build\n```\n\n### Nginx Config\n\nHere is an example Nginx config:\n```\nserver {\n\t# ... root and other options\n\n\tgzip on;\n\tgzip_http_version 1.1;\n\tgzip_types text/plain text/css text/xml application/javascript image/svg+xml;\n\n\tlocation / {\n\t\ttry_files $uri $uri/ /index.html;\n\t}\n\n\tlocation ~ \\.html?$ {\n\t\texpires 1d;\n\t}\n\n\tlocation ~ \\.(svg|ttf|js|css|svgz|eot|otf|woff|jpg|jpeg|gif|png|ico)$ {\n\t\taccess_log off;\n\t\tlog_not_found off;\n\t\texpires max;\n\t}\n}\n```\n\n### Eslint\nThere is a .eslint.yaml config for eslint ready with React plugin.\nTo use it, you need to install additional dependencies though:\n\n```\nnpm install --save-dev eslint eslint-plugin-react\n```\n\nTo do the actual linting, run:\n\n```\nnpm run lint\n```\n\n### Notes on importing css styles\n* styles having /src/ in their absolute path are considered part of the application and exported as local css modules.\n* other styles are considered global styles used by many components and are included in the css bundle directly.\n\n### Contribute\nPlease contribute to the project if you know how to make it better, including this README :)"
}

View File

@@ -0,0 +1,70 @@
{
"name": "npm_test_pkg1",
"versions": {
"1.0.0": {
"name": "npm_test_pkg1",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "",
"license": "ISC",
"_id": "npm_test_pkg1@1.0.0",
"_npmVersion": "5.1.0",
"_nodeVersion": "4.6.1",
"_npmUser": {},
"dist": {
"integrity": "sha512-qq8u/xKpYFCfmANLg5ohY4ZBkzM7NsKjIpYH+eSXji69aceMQvltRXx0O1qo7yAIORiCFsMTGLlkDCQtbhByxg==",
"shasum": "d058de16fdf8bde775ef2898e682faacc3eaa67f",
"tarball": "http://localhost:4873/npm_test_pkg1/-/npm_test_pkg1-1.0.0.tgz"
}
},
"1.0.1": {
"name": "npm_test_pkg1",
"version": "1.0.1",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "",
"license": "ISC",
"_id": "npm_test_pkg1@1.0.1",
"_npmVersion": "5.1.0",
"_nodeVersion": "4.6.1",
"_npmUser": {},
"dist": {
"integrity": "sha512-0YLdKRIAbZJoLpOFqXZE/JldTnGRKjIX999xV4PMJ+sUO6pWiLO8NbG4wuT5738Re3D5WTRa743y9uPvgrTD0A==",
"shasum": "1f6251ce59e375a6328958202ec07eb7de38dae6",
"tarball": "http://localhost:4873/npm_test_pkg1/-/npm_test_pkg1-1.0.1.tgz"
}
}
},
"dist-tags": {
"latest": "1.0.1"
},
"time": {
"modified": "2017-07-11T18:52:35.061Z",
"created": "2017-07-11T18:49:27.417Z",
"1.0.0": "2017-07-11T18:49:27.417Z",
"1.0.1": "2017-07-11T18:52:35.061Z"
},
"_distfiles": {},
"_attachments": {
"npm_test_pkg1-1.0.0.tgz": {
"shasum": "d058de16fdf8bde775ef2898e682faacc3eaa67f",
"version": "1.0.0"
},
"npm_test_pkg1-1.0.1.tgz": {
"shasum": "1f6251ce59e375a6328958202ec07eb7de38dae6",
"version": "1.0.1"
}
},
"_uplinks": {},
"_rev": "11-382567c9979db3fd",
"readme": "ERROR: No README data found!"
}

View File

@@ -0,0 +1,61 @@
{
"name": "pk1-juan",
"versions": {
"1.0.0": {
"name": "pk1-juan",
"version": "1.0.0",
"description": "Simple React Webpack Babel Starter Kit",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": {
"name": "Juan Picado",
"email": "juan@jotadeveloper.com"
},
"license": "ISC",
"dependencies": {
"angular": "^1.6.8",
"angular2": "^2.0.0-beta.21",
"babel-core": "^6.26.0",
"babel-env": "^2.4.1",
"jquery": "^3.2.1",
"react": "^16.2.0",
"test_npm_18": "^1.0.1",
"typescript": "^2.6.2",
"verdaccio": "^2.7.2",
"verdaccio-memory": "0.0.3",
"webpack": "^3.10.0"
},
"readmeFilename": "README.md",
"_id": "pk1-juan@1.0.0",
"_npmVersion": "5.5.1",
"_nodeVersion": "8.7.0",
"_npmUser": {},
"dist": {
"integrity": "sha512-K3ifqa0DEndma1RPhM83TBVISIY3wq2JdTL0GafvJno6z6JvFBp4iQgyrKn7Yjkd0J/LZ9IJvhNWsGQZuoXMPQ==",
"shasum": "5d670df046b9bc4bc1714efe8873a614c522e41d",
"tarball": "http://0.0.0.0:4873/pk1-juan/-/pk1-juan-1.0.0.tgz"
}
}
},
"dist-tags": {
"latest": "1.0.0"
},
"time": {
"modified": "2018-01-17T18:27:09.087Z",
"created": "2018-01-17T18:27:09.087Z",
"1.0.0": "2018-01-17T18:27:09.087Z"
},
"_distfiles": {},
"_attachments": {
"pk1-juan-1.0.0.tgz": {
"shasum": "5d670df046b9bc4bc1714efe8873a614c522e41d",
"version": "1.0.0"
}
},
"_uplinks": {},
"_rev": "5-e7a0e845b8b0cdc8",
"readme": "# react-webpack-babel\nSimple React Webpack Babel Starter Kit\n\nTired of complicated starters with 200MB of dependencies which are hard to understand and modify?\n\nTry this is a simple [React](https://facebook.github.io/react/), [Webpack](http://webpack.github.io/) and [Babel](https://babeljs.io/) application with nothing else in it.\n\n### What's in it?\n\n* Simple src/index.jsx and src/index.css (local module css).\n* Webpack configuration for development (with hot reloading) and production (with minification).\n* CSS module loading, so you can include your css by ```import styles from './path/to.css';```.\n* Both js(x) and css hot loaded during development.\n* [Webpack Dashboard Plugin](https://github.com/FormidableLabs/webpack-dashboard) on dev server.\n\n### To run\n\n* You'll need to have [git](https://git-scm.com/) and [node](https://nodejs.org/en/) installed in your system.\n* Fork and clone the project:\n\n```\ngit clone https://github.com/alicoding/react-webpack-babel.git\n```\n\n* Then install the dependencies:\n\n```\nnpm install\n```\n\n* Run development server:\n\n```\nnpm start\n```\n\n* Or you can run development server with [webpack-dashboard](https://github.com/FormidableLabs/webpack-dashboard):\n\n```\nnpm run dev\n```\n\nOpen the web browser to `http://localhost:8888/`\n\n### To build the production package\n\n```\nnpm run build\n```\n\n### Nginx Config\n\nHere is an example Nginx config:\n```\nserver {\n\t# ... root and other options\n\n\tgzip on;\n\tgzip_http_version 1.1;\n\tgzip_types text/plain text/css text/xml application/javascript image/svg+xml;\n\n\tlocation / {\n\t\ttry_files $uri $uri/ /index.html;\n\t}\n\n\tlocation ~ \\.html?$ {\n\t\texpires 1d;\n\t}\n\n\tlocation ~ \\.(svg|ttf|js|css|svgz|eot|otf|woff|jpg|jpeg|gif|png|ico)$ {\n\t\taccess_log off;\n\t\tlog_not_found off;\n\t\texpires max;\n\t}\n}\n```\n\n### Eslint\nThere is a .eslint.yaml config for eslint ready with React plugin.\nTo use it, you need to install additional dependencies though:\n\n```\nnpm install --save-dev eslint eslint-plugin-react\n```\n\nTo do the actual linting, run:\n\n```\nnpm run lint\n```\n\n### Notes on importing css styles\n* styles having /src/ in their absolute path are considered part of the application and exported as local css modules.\n* other styles are considered global styles used by many components and are included in the css bundle directly.\n\n### Contribute\nPlease contribute to the project if you know how to make it better, including this README :)"
}

View File

@@ -0,0 +1,69 @@
# Verdaccio and https-portal Example
Run `verdaccio` under fully automated HTTPS server powered by Nginx, Let's Encrypt was never so easy. Using [https-portal](https://github.com/SteveLTN/https-portal) all is builtin and no need for extra configuration.
## Prerequisites
In order to make it work, this is just a local setup, so you must update your `host` file.
On Mac
```
➜ sudo vi /etc/hosts
##
# Host Database
#
# localhost is used to configure the loopback interface
# when the system is booting. Do not change this entry.
##
127.0.0.1 localhost
127.0.0.1 example.com
```
## Usage
To run the containers, run the followingcommands in this folder, it should start the containers in detach mode.
```bash
docker-compose up -d
```
To recreate the nginx image you can force the build.
```bash
docker-compose up --build -d
```
To force recreate the images.
```bash
docker-compose up --build --force-recreate -d
```
To stop all containers
```bash
docker-compose stop
```
From your Javascript project
```bash
npm publish --registry https://example.com
```
## NPM and self-signed certificates
Be aware of disabling strict SSL in `./npmrc`config file as explained [here](https://stackoverflow.com/questions/9626990/receiving-error-error-ssl-error-self-signed-cert-in-chain-while-using-npm).
```bash
npm config set strict-ssl false
```
## Login
If you want to login into the Verdaccio instance created via these Docker Examples, please try:
Username: jpicado
Password: jpicado

View File

@@ -0,0 +1,28 @@
plugins: /verdaccio/plugins
storage: /verdaccio/storage
auth:
htpasswd:
file: /verdaccio/conf/htpasswd
uplinks:
npmjs:
url: https://registry.npmjs.org/
middlewares:
audit:
enabled: true
packages:
'@*/*':
access: $all
publish: $all
proxy: npmjs
'**':
access: $all
publish: $all
proxy: npmjs
logs:
- { type: stdout, format: pretty, level: trace }

View File

@@ -0,0 +1 @@
jpicado:$6vkdNgRX2npc:autocreated 2018-09-22T10:24:17.535Z

View File

@@ -0,0 +1,20 @@
services:
verdaccio:
image: verdaccio/verdaccio:nightly-master
container_name: verdaccio-https
ports:
- '4873:4873'
volumes:
- './storage:/verdaccio/storage'
- './conf:/verdaccio/conf'
https-portal:
image: steveltn/https-portal:1
ports:
- '80:80'
- '443:443'
links:
- verdaccio:verdaccio
environment:
DOMAINS: 'example.com -> http://verdaccio:4873'
STAGE: local
FORCE_RENEW: 'true'

View File

@@ -0,0 +1,51 @@
{
"name": "@scope/example",
"versions": {
"1.0.0": {
"name": "@scope/example",
"version": "1.0.0",
"description": "exampled scoped module",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [
"example"
],
"author": {
"name": "Juan Picado"
},
"license": "ISC",
"dependencies": {
"jquery": "^3.3.1"
},
"_id": "@scope/example@1.0.0",
"_npmVersion": "6.3.0",
"_nodeVersion": "10.1.0",
"_npmUser": {},
"dist": {
"integrity": "sha512-UrpRhmCAwyGF2pWWd+fGDN8tFsVcCoLmK/qHaVAamphR+E4ZUjGf6N5GGgneFwbSeZ0FQrDYtUTPKrysxGIihQ==",
"shasum": "4c36e40e65049b32cd49599f65cb50b81b9d8810",
"tarball": "http://example.com/@scope/example/-/@scope/example-1.0.0.tgz"
}
}
},
"time": {
"modified": "2018-09-22T10:27:32.723Z",
"created": "2018-09-22T10:27:32.723Z",
"1.0.0": "2018-09-22T10:27:32.723Z"
},
"dist-tags": {
"latest": "1.0.0"
},
"_uplinks": {},
"_distfiles": {},
"_attachments": {
"example-1.0.0.tgz": {
"shasum": "4c36e40e65049b32cd49599f65cb50b81b9d8810",
"version": "1.0.0"
}
},
"_rev": "7-24f17006c03f69b9",
"readme": "ERROR: No README data found!"
}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,60 @@
# Verdaccio and Nginx
Running `verdaccio` via reverse proxy is a common practice. This configuration provides a quick way to run the application behind **nginx**.
This folder provides the following examples:
- root_path: Using reverse proxy with `/` as a path.
- relative_path: Using `/verdaccio/` as a subdirectory. It includes also SSL examples with reverse proxy.
To run the containers, run the following commands in this folder. The containers should start in detach mode.
```bash
docker-compose up -d
```
To recreate the nginx image you can force the build.
```bash
docker-compose up --build -d
```
To force recreate the images.
```bash
docker-compose up --build --force-recreate -d
```
To stop all containers
```bash
docker-compose stop
```
To display container logs
```bash
$> docker-compose logs
Attaching to nginxverdaccio_nginx_1, verdaccio
verdaccio | warn --- config file - /verdaccio/conf/config.yaml
verdaccio | warn --- http address - http://0.0.0.0:4873/ - verdaccio/2.1.7
verdaccio | http <-- 304, user: undefined, req: 'GET /', bytes: 0/0
verdaccio | http <-- 304, user: undefined, req: 'GET /-/static/jquery.min.js', bytes: 0/0
verdaccio | http <-- 304, user: undefined, req: 'GET /-/static/main.css', bytes: 0/0
verdaccio | http <-- 304, user: undefined, req: 'GET /-/static/main.js', bytes: 0/0
verdaccio | http <-- 304, user: undefined, req: 'GET /-/logo', bytes: 0/0
verdaccio | http <-- 304, user: undefined, req: 'GET /-/static/fontello.woff?10872183', bytes: 0/0
verdaccio | http <-- 200, user: undefined, req: 'GET /-/static/favicon.png', bytes: 0/315
```
### Display Information
To display the containers running
```bash
&> docker-compose ps
Name Command State Ports
----------------------------------------------------------------------------------------
nginxverdaccio_nginx_1 /usr/sbin/nginx Up 0.0.0.0:80->80/tcp
verdaccio /usr/src/app/bin/verdaccio ... Up 0.0.0.0:4873->4873/tcp
```

View File

@@ -0,0 +1,31 @@
# Nginx Relative Path with Verdaccio 6
This example runs two verdaccio versions:
- Running `verdaccio:6.x` http://localhost/verdaccio/
Note: we should add more sort of configurations here.
**Nginx HTTP Example**
```bash
docker-compose up --build --force-recreate
```
open the browser
```
http://localhost/verdaccio/
```
**Nginx SSL Example**
```bash
docker-compose -f docker-compose_ssl.yml up --build --force-recreate
```
open the browser
```
https://localhost/verdaccio/
```

View File

@@ -0,0 +1,49 @@
storage: /verdaccio/storage
web:
enable: true
title: VerdaccioV6 Relative Path
primary_color: red
auth:
htpasswd:
file: /verdaccio/conf/htpasswd
security:
api:
jwt:
sign:
expiresIn: 60d
notBefore: 1
web:
sign:
expiresIn: 7d
## IMPORTANT
## This will configure verdaccio to rely on a relative path
url_prefix: /verdaccio
uplinks:
npmjs:
url: https://registry.npmjs.org/
packages:
'@jota/*':
access: $all
publish: $all
'@*/*':
# scoped packages
access: $all
publish: $all
proxy: npmjs
'**':
access: $all
publish: $all
proxy: npmjs
middlewares:
audit:
enabled: true
logs: { type: stdout, format: pretty, level: trace }

View File

@@ -0,0 +1,2 @@
jpicado:$6vkdNgRX2npc:autocreated 2017-07-11T18:48:38.003Z
test:$6FrCaT/v0dwE:autocreated 2019-05-06T22:06:54.513Z

View File

@@ -0,0 +1,45 @@
storage: /verdaccio/storage
web:
enable: true
title: VerdaccioV6 Root Path
primary_color: redF
auth:
htpasswd:
file: /verdaccio/conf/htpasswd
security:
api:
jwt:
sign:
expiresIn: 60d
notBefore: 1
web:
sign:
expiresIn: 7d
uplinks:
npmjs:
url: https://registry.npmjs.org/
packages:
'@jota/*':
access: $all
publish: $all
'@*/*':
# scoped packages
access: $all
publish: $all
proxy: npmjs
'**':
access: $all
publish: $all
proxy: npmjs
middlewares:
audit:
enabled: true
logs: { type: stdout, format: json, level: trace }

View File

@@ -0,0 +1 @@
jpicado:$6vkdNgRX2npc:autocreated 2017-07-11T18:48:38.003Z

View File

@@ -0,0 +1,41 @@
services:
nginx:
build:
context: ''
dockerfile: nginx/Dockerfile
ports:
- '80:80'
networks:
- node-network
container_name: 'nginx'
depends_on:
- verdaccio
- verdaccio-root
verdaccio:
image: verdaccio/verdaccio:nightly-master
container_name: 'verdaccio_relative_path_v6'
networks:
- node-network
environment:
- VERDACCIO_PORT=4873
- DEBUG=verdaccio:*
ports:
- '4873:4873'
volumes:
- './storage:/verdaccio/storage'
- './conf/v6:/verdaccio/conf'
verdaccio-root:
image: verdaccio/verdaccio:nightly-master
container_name: 'verdaccio_relative_path_v6_root'
networks:
- node-network
environment:
- VERDACCIO_PORT=8000
ports:
- '8000:8000'
volumes:
- './storage:/verdaccio/storage'
- './conf/v6_root:/verdaccio/conf'
networks:
node-network:
driver: bridge

View File

@@ -0,0 +1,44 @@
services:
nginx:
build:
context: './nginx_ssl'
dockerfile: Dockerfile
ports:
- '443:443'
- '80:80'
environment:
- REMOTE_URL=http://verdaccio_relative_path_v6:4873/
networks:
- node-network
container_name: 'nginx_ssl'
depends_on:
- verdaccio
- verdaccio-root
verdaccio:
image: verdaccio/verdaccio:nightly-master
container_name: 'verdaccio_relative_path_v6'
networks:
- node-network
environment:
- VERDACCIO_PORT=4873
ports:
- '4873:4873'
volumes:
- './storage:/verdaccio/storage'
- './conf/v6:/verdaccio/conf'
verdaccio-root:
image: verdaccio/verdaccio:nightly-master
container_name: 'verdaccio_relative_path_v6_root'
networks:
- node-network
environment:
- VERDACCIO_PORT=8000
ports:
- '8000:8000'
volumes:
- './storage:/verdaccio/storage'
- './conf/v6_root:/verdaccio/conf'
networks:
node-network:
driver: bridge

View File

@@ -0,0 +1,2 @@
FROM nginx:1.21-alpine
COPY nginx/default.conf /etc/nginx/conf.d/default.conf

View File

@@ -0,0 +1,33 @@
upstream verdaccio_relative_v6 {
server verdaccio_relative_path_v6:4873;
keepalive 8;
}
upstream verdaccio_v6_root {
server verdaccio_relative_path_v6_root:8000;
keepalive 8;
}
server {
listen 80 default_server;
access_log /var/log/nginx/verdaccio.log;
charset utf-8;
location / {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $host;
proxy_set_header X-NginX-Proxy true;
proxy_pass http://verdaccio_v6_root;
proxy_redirect off;
}
location ~ ^/verdaccio/(.*)$ {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $host;
proxy_set_header X-NginX-Proxy true;
proxy_pass http://verdaccio_relative_v6/$1;
proxy_redirect off;
}
}

View File

@@ -0,0 +1,10 @@
FROM nginx:1
COPY cert.crt /etc/nginx/cert.crt
COPY cert.key /etc/nginx/cert.key
COPY nginx-default.conf /etc/nginx/conf.d/default.conf
COPY run.sh /run.sh
ENV REMOTE_URL="http://localhost:8080/"
CMD ["/run.sh"]

View File

@@ -0,0 +1,5 @@
Example taken from:
[https://github.com/foxylion/docker-nginx-self-signed-https](https://github.com/foxylion/docker-nginx-self-signed-https)
by [@foxylion](https://github.com/foxylion)

View File

@@ -0,0 +1,22 @@
-----BEGIN CERTIFICATE-----
MIIDrzCCApegAwIBAgIJAPVnhyCGRxmMMA0GCSqGSIb3DQEBCwUAMG4xCzAJBgNV
BAYTAlhYMQswCQYDVQQIDAJYWDELMAkGA1UEBwwCWFgxCzAJBgNVBAoMAlhYMQsw
CQYDVQQLDAJYWDESMBAGA1UEAwwJbG9jYWxob3N0MRcwFQYJKoZIhvcNAQkBFghY
WEBYWC5YWDAeFw0xNzExMjQxNDI0MzVaFw0xODExMjQxNDI0MzVaMG4xCzAJBgNV
BAYTAlhYMQswCQYDVQQIDAJYWDELMAkGA1UEBwwCWFgxCzAJBgNVBAoMAlhYMQsw
CQYDVQQLDAJYWDESMBAGA1UEAwwJbG9jYWxob3N0MRcwFQYJKoZIhvcNAQkBFghY
WEBYWC5YWDCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANTsFvryPfKK
4CSP58DEVJRDdlsurNz7Z3jbE9RwLmPbyhp+oVZ8gouufLrYxIFxKR0b+JrSbrSh
klvyAov1KcbKSl5W/k4uewgksLV5oWUIM2d6cII+esVNPeRGY6lG3T9nMrjBFC3/
r6HIQpsMiJbfZ0XkHhMFciJ0oVQ+/Y+IeJ2JyjBaXw+3CbCGmTO+4mNVxtHyzz4d
o6mHPASHn+utts+W2/+3/4bSYkJo+/KPxWeF2jyPasv6Kpif+/dJ44gOM+uecBPy
AJx6CCKfGUU9X5EGBynOroFqEY2m7Ndx1uWipfSuULWf9x/LSugC35DfNl+1hXGq
lLJHKI8h+c0CAwEAAaNQME4wHQYDVR0OBBYEFEOBWTm2wyyS3ETaI32FhbTDQ3Hc
MB8GA1UdIwQYMBaAFEOBWTm2wyyS3ETaI32FhbTDQ3HcMAwGA1UdEwQFMAMBAf8w
DQYJKoZIhvcNAQELBQADggEBAGva7AiwB2qSy+Mm1T6m3FkLzUabFStRwkj2TQsz
03E4P2G7j7s9rYdL6hz58kV9UwrWLYeceNioFTn7CxLdn12kHyYC21EO66fuLLaa
nb94GRVJ0IcZOVp+2WgihKM2/WW5WOqhD1NqZp+HUnJkiOCqdgrGj7lfzx1q45wG
NXGplOcGudxb1rLdA8U/kNmGZjCNQsNCdUxUdbqXjeb2piRBbtOnZqOXa2EN9h1/
C89RVuaQt8cQ/bK5QAIeDF/8eyY6B5j00wEa7DSgyRAwJtDU1X2LU6U+04LpU4Iw
sUDO17n2GlI9mPqg0j8EawbbQC70j8rgclDjUE9erf0K7m8=
-----END CERTIFICATE-----

View File

@@ -0,0 +1,28 @@
-----BEGIN PRIVATE KEY-----
MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQDU7Bb68j3yiuAk
j+fAxFSUQ3ZbLqzc+2d42xPUcC5j28oafqFWfIKLrny62MSBcSkdG/ia0m60oZJb
8gKL9SnGykpeVv5OLnsIJLC1eaFlCDNnenCCPnrFTT3kRmOpRt0/ZzK4wRQt/6+h
yEKbDIiW32dF5B4TBXIidKFUPv2PiHidicowWl8PtwmwhpkzvuJjVcbR8s8+HaOp
hzwEh5/rrbbPltv/t/+G0mJCaPvyj8Vnhdo8j2rL+iqYn/v3SeOIDjPrnnAT8gCc
egginxlFPV+RBgcpzq6BahGNpuzXcdbloqX0rlC1n/cfy0roAt+Q3zZftYVxqpSy
RyiPIfnNAgMBAAECggEANohVBmaeiQ0ahSK6N3vRMbvph0b4DQzynlh1xrYIm5jC
NXDzP2RaRw4kcfJsub5SylrMnFKC+g5bnuLn1hKvZXOQAoODVGDBL/+9pm0Fcgvc
pocMY78+0GONE3cXtVYp+kAjFICW+4T95ZCVxoI6RXHoUFUxgqulZL+8RghwBp90
r9X6OWb7e0cq4Msupm7qVTCh9u8X1jTBQ4gE/tny8oiTUW6YCvQlKld0NK1geB1x
BnF4osiOTRe8+6B++kTCf9mon9c6V0Bl1lN5y3znNN1eRMvvDSy554bPy1flo7vo
Z52xluItJwRxNn+brhvFUKqDuMl5D/YX9SGOOJ+PPQKBgQDt7usOECPcsc9Mc0F7
Ol4a3+KQHcp5M8Byc77b87k4gWxNROSOGhOobRRIBsgULkPC32EQ+XhoAcef+VjS
UKU0Rbor7oI5tnl2GuRMGocEzRvU5wa3IjU49ffnYAJty/6Y3wPzmA/sLj0m3Tzo
JTF761UjNQPZwi4wSRgp6jUIGwKBgQDlFv4eP+M4rovgMmUEU50iSkG0Sv8B6FAs
47V8UFSbWuOZ64vVDKNBa6KE3vNDKa0pQfaGyo18I0g2iK7RwkiNc7X8WBLcPEWZ
Vcb3FjjE38XckDA2QKy8cjGF6jwVU1K5OKD3Ujxid4fHuE1Zib04Uzp8Ss+oZlYY
rsTxtUN0NwKBgQCSRvdFjxCtJre+VYFlZA3k0c21Mkt/VhyzgItPKDiwD4lou7kT
z95UBrOYUGsDVSodjT1ctTKcJrP2mtJLgn7+cvuw9JIlLxTfUksWqpxljD/XFS1g
u2wjF70QB0uW+voMO9dvFAZ9+jNoSE2gnvUcLSMLYRV789B3qQhtBGsUDwKBgQCm
RU/fCKOUKitfZ3Ql9cHgd2DEyIHZEpHOYt8AARXHQ+pZdrogwXFkNAjawy5wGrmR
bkzNfAnAhaMN4Zpwp8Ac2lTFd+8IZb5mEfm8sCY3zeo/sW8skThN9du3xFAjcjxi
LpW1q7wkA3lLHZsWV4A8dzvFpk6dfNkURRSwEc2JdQKBgH1n8Io2gnrQd1Yhh5rH
pajY9Pdzp+mv9PW8G1Y7Z57RKxAorYfszmR5Qj2oZ3+0lqJ5+K7K4PffH3CkiCBz
i9HBnq/NczJggQ9BTifIdyznWkuAqZAjup5V+g7+CIhpa+XaeGzB4BpTsXrJFiy0
ZTYk/5J1N3d6rURRlybaoRGj
-----END PRIVATE KEY-----

View File

@@ -0,0 +1,40 @@
server {
listen 80;
return 302 https://$host$request_uri;
}
server {
listen 443 ssl http2;
server_name localhost;
ssl_certificate /etc/nginx/cert.crt;
ssl_certificate_key /etc/nginx/cert.key;
ssl on;
ssl_session_cache builtin:1000 shared:SSL:10m;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_ciphers HIGH:!aNULL:!eNULL:!EXPORT:!CAMELLIA:!DES:!MD5:!PSK:!RC4;
ssl_prefer_server_ciphers on;
location / {
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_pass XX_REMOTE_URL_XX;
proxy_read_timeout 600;
proxy_redirect off;
}
location ~ ^/verdaccio/(.*)$ {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $host;
proxy_set_header X-NginX-Proxy true;
proxy_pass XX_REMOTE_URL_XX$1;
proxy_redirect off;
}
}

View File

@@ -0,0 +1,5 @@
#!/bin/bash
sed -i -e "s|XX_REMOTE_URL_XX|$REMOTE_URL|g" /etc/nginx/conf.d/default.conf
exec nginx -g "daemon off;"

View File

@@ -0,0 +1,3 @@
FROM tutum/nginx
RUN rm /etc/nginx/sites-enabled/default
ADD sites-enabled /etc/nginx/sites-enabled

View File

@@ -0,0 +1,14 @@
server {
listen 80 default_server;
access_log /var/log/nginx/verdaccio.log;
charset utf-8;
location / {
proxy_pass http://verdaccio:4873/;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-NginX-Proxy true;
proxy_ssl_session_reuse off;
proxy_set_header Host $http_host;
proxy_redirect off;
}
}

View File

@@ -0,0 +1,24 @@
services:
verdaccio:
image: verdaccio/verdaccio:nightly-master
container_name: verdaccio_root_path
ports:
- '4873:4873'
volumes:
- verdaccio:/verdaccio
nginx:
restart: always
build: conf/nginx
ports:
- '80:80'
volumes:
- /www/public
volumes_from:
- verdaccio
links:
- verdaccio:verdaccio
volumes:
verdaccio:
driver: local

View File

@@ -51,4 +51,4 @@ By default, the storage is taken from config file, but using this variable allow
#### VERDACCIO_STORAGE_NAME
The database name for `@verdaccio/local-storge` is by default `.verdaccio-db.json`, but this can be update by using this variable.
The database name for `@verdaccio/local-storage` is by default `.verdaccio-db.json`, but this can be update by using this variable.

View File

@@ -74,3 +74,7 @@ Introduce environment variables for legacy tokens.
- `VERDACCIO_LEGACY_ALGORITHM`: Allows to define the specific algorithm for the token signature which by default is `aes-256-ctr`
- `VERDACCIO_LEGACY_ENCRYPTION_KEY`: By default, the token stores in the database, but using this variable allows to get it from memory
#### @verdaccio/commons-api migration
The package has been removed in favor of `@verdaccio/core` with a similar API, check API documentation for further details.

29
docs/warnings.md Normal file
View File

@@ -0,0 +1,29 @@
# Warning Codes
## VERWAR001
Verdaccio doesn't need superuser privileges. Don't run it under root.
## VERWAR002
logger is not defined
## VERWAR003
'rotating-file type is not longer supported, consider use [logrotate] instead'
## VERWAR004
invalid address - xxxxxx, we expect a port (e.g. "4873"),
## VERDEP001
'config.logs is deprecated, rename configuration to "config.log" in singular'
## VERDEP002
'deprecate: multiple logger configuration is deprecated, please check the migration guide.'
## VERDEP003
'multiple addresses will be deprecated in the next major, only use one'

View File

@@ -15,121 +15,104 @@
"url": "https://opencollective.com/verdaccio"
},
"devDependencies": {
"@babel/cli": "7.15.4",
"@babel/core": "7.15.5",
"@babel/node": "7.15.4",
"@babel/plugin-proposal-class-properties": "7.14.5",
"@babel/plugin-proposal-decorators": "7.15.4",
"@babel/plugin-proposal-export-namespace-from": "7.14.5",
"@babel/plugin-proposal-function-sent": "7.14.5",
"@babel/plugin-proposal-json-strings": "7.14.5",
"@babel/plugin-proposal-nullish-coalescing-operator": "7.14.5",
"@babel/plugin-proposal-numeric-separator": "7.14.5",
"@babel/plugin-proposal-object-rest-spread": "7.14.7",
"@babel/plugin-proposal-optional-chaining": "7.14.5",
"@babel/plugin-proposal-throw-expressions": "7.14.5",
"@babel/cli": "7.16.0",
"@babel/core": "7.16.0",
"@babel/node": "7.16.0",
"@babel/plugin-proposal-class-properties": "7.16.0",
"@babel/plugin-proposal-decorators": "7.16.4",
"@babel/plugin-proposal-export-namespace-from": "7.16.0",
"@babel/plugin-proposal-function-sent": "7.16.0",
"@babel/plugin-proposal-json-strings": "7.16.0",
"@babel/plugin-proposal-nullish-coalescing-operator": "7.16.0",
"@babel/plugin-proposal-numeric-separator": "7.16.0",
"@babel/plugin-proposal-object-rest-spread": "7.16.0",
"@babel/plugin-proposal-optional-chaining": "7.16.0",
"@babel/plugin-proposal-throw-expressions": "7.16.0",
"@babel/plugin-syntax-dynamic-import": "7.8.3",
"@babel/plugin-syntax-import-meta": "7.10.4",
"@babel/plugin-transform-async-to-generator": "7.14.5",
"@babel/plugin-transform-classes": "7.15.4",
"@babel/plugin-transform-runtime": "7.15.0",
"@babel/preset-env": "7.15.4",
"@babel/preset-react": "7.14.5",
"@babel/preset-typescript": "7.15.0",
"@babel/register": "7.15.3",
"@babel/runtime": "7.15.4",
"@babel/plugin-transform-async-to-generator": "7.16.0",
"@babel/plugin-transform-classes": "7.16.0",
"@babel/plugin-transform-runtime": "7.16.4",
"@babel/preset-env": "7.16.4",
"@babel/preset-react": "7.16.0",
"@babel/preset-typescript": "7.16.0",
"@babel/register": "7.16.0",
"@babel/runtime": "7.16.3",
"@changesets/changelog-github": "0.2.8",
"@changesets/cli": "2.15.0",
"@changesets/get-dependents-graph": "1.2.2",
"@crowdin/cli": "3.6.5",
"@changesets/get-dependents-graph": "1.2.4",
"@crowdin/cli": "3.7.2",
"@trivago/prettier-plugin-sort-imports": "3.1.1",
"@types/async": "3.2.7",
"@types/autocannon": "4.1.1",
"@types/autosuggest-highlight": "3.1.1",
"@types/express": "4.17.6",
"@types/express": "4.17.13",
"@types/http-errors": "1.8.1",
"@types/jest": "27.0.1",
"@types/lodash": "4.14.172",
"@types/jest": "27.0.3",
"@types/lodash": "4.14.178",
"@types/mime": "2.0.3",
"@types/minimatch": "3.0.5",
"@types/node": "14.6.0",
"@types/react": "17.0.19",
"@types/react-autosuggest": "10.1.5",
"@types/react-dom": "17.0.9",
"@types/react-helmet": "6.1.2",
"@types/react-router-dom": "5.1.8",
"@types/react-virtualized": "9.21.13",
"@types/request": "2.48.7",
"@types/semver": "7.3.8",
"@types/semver": "7.3.9",
"@types/supertest": "2.0.11",
"@types/testing-library__jest-dom": "5.14.1",
"@types/validator": "13.6.3",
"@types/testing-library__jest-dom": "5.14.2",
"@types/validator": "13.7.0",
"@types/webpack": "5.28.0",
"@types/webpack-env": "1.16.2",
"@typescript-eslint/eslint-plugin": "4.30.0",
"@typescript-eslint/parser": "4.30.0",
"@types/webpack-env": "1.16.3",
"@typescript-eslint/eslint-plugin": "4.33.0",
"@typescript-eslint/parser": "4.33.0",
"@verdaccio/benchmark": "workspace:*",
"@verdaccio/eslint-config": "workspace:*",
"@verdaccio/types": "workspace:*",
"@verdaccio/ui-theme": "workspace:*",
"autocannon": "7.4.0",
"autocannon": "7.5.0",
"babel-core": "7.0.0-bridge.0",
"babel-eslint": "10.1.0",
"babel-jest": "27.1.0",
"babel-jest": "27.3.1",
"babel-plugin-dynamic-import-node": "2.3.3",
"babel-plugin-emotion": "10.2.2",
"codecov": "3.8.3",
"concurrently": "6.2.1",
"concurrently": "6.4.0",
"core-js": "3.17.2",
"cross-env": "7.0.3",
"debug": "4.3.2",
"debug": "4.3.3",
"detect-secrets": "1.0.6",
"eslint": "7.32.0",
"eslint-config-google": "0.14.0",
"eslint-config-prettier": "8.3.0",
"eslint-plugin-babel": "5.3.1",
"eslint-plugin-import": "2.24.2",
"eslint-plugin-jest": "24.4.0",
"eslint-plugin-jsx-a11y": "6.4.1",
"eslint-plugin-prettier": "4.0.0",
"eslint-plugin-react": "7.25.1",
"eslint-plugin-react-hooks": "4.2.0",
"eslint-plugin-simple-import-sort": "7.0.0",
"eslint-plugin-verdaccio": "10.0.0",
"fs-extra": "10.0.0",
"husky": "4.3.5",
"husky": "7.0.4",
"in-publish": "2.0.1",
"jest": "27.1.0",
"jest-environment-jsdom": "27.1.0",
"jest": "27.3.1",
"jest-environment-jsdom": "27.3.1",
"jest-environment-jsdom-global": "3.0.0",
"jest-environment-node": "27.1.0",
"jest-fetch-mock": "3.0.3",
"jest-junit": "12.2.0",
"jest-environment-node": "27.3.1",
"jest-junit": "12.3.0",
"kleur": "3.0.3",
"lint-staged": "11.1.2",
"nock": "12.0.3",
"node-fetch": "3.0.0-beta.6-exportfix",
"nodemon": "2.0.12",
"nodemon": "2.0.15",
"npm-run-all": "4.1.5",
"prettier": "2.3.2",
"rimraf": "3.0.2",
"selfsigned": "1.10.11",
"supertest": "6.1.6",
"ts-node": "10.2.1",
"typescript": "4.4.2",
"update-ts-references": "2.4.0",
"verdaccio": "5.1.3",
"typescript": "4.4.4",
"update-ts-references": "2.4.1",
"verdaccio": "5.3.1",
"verdaccio-audit": "workspace:*",
"verdaccio-auth-memory": "workspace:*",
"verdaccio-htpasswd": "workspace:*",
"verdaccio-memory": "workspace:*"
},
"scripts": {
"husky:pre-commit": "lint-staged",
"clean": "pnpm recursive run clean",
"build": "pnpm recursive run build --filter=!@verdaccio/website",
"docker": "docker build -t verdaccio/verdaccio:local . --no-cache",
"format": "prettier --write \"**/*.{js,jsx,ts,tsx,json,yml,yaml,md}\"",
"format:check": "prettier --check \"**/*.{js,jsx,ts,tsx,json,yml,yaml,md}\"",
"lint": "eslint --max-warnings 60 \"**/*.{js,jsx,ts,tsx}\"",
"lint": "eslint --max-warnings 47 \"**/*.{js,jsx,ts,tsx}\"",
"test": "pnpm recursive test --filter ./packages",
"test:e2e:cli": "pnpm test --filter ...@verdaccio/e2e-cli",
"test:e2e:ui": "pnpm test --filter ...@verdaccio/e2e-ui",
@@ -139,11 +122,12 @@
"benchmark:submit": "pnpm ts-node ./scripts/submit-metrics.ts",
"start:watch": "concurrently --kill-others \"pnpm _build:watch\" \"pnpm _start:server\" \"pnpm _debug:reload\"",
"_build:watch": "pnpm run --parallel watch --filter ./packages",
"_start:server": "node packages/verdaccio/debug/bootstrap.js --listen 8000",
"_start:server": "node --inspect packages/verdaccio/debug/bootstrap.js --listen 8000",
"_start:web": "pnpm start --filter ...@verdaccio/ui-theme",
"_debug:reload": "nodemon -d 3 packages/verdaccio/debug/bootstrap.js",
"start:ts": "ts-node packages/verdaccio/src/start.ts -- --listen 8000",
"debug": "node --trace-warnings --trace-uncaught --inspect packages/verdaccio/debug/bootstrap.js",
"debug:fastify": "node --trace-warnings --trace-uncaught --inspect packages/verdaccio/debug/bootstrap.js -- fastify-server",
"debug:break": "node --trace-warnings --trace-uncaught --inspect-brk packages/verdaccio/debug/bootstrap.js",
"changeset": "changeset",
"changeset:check": "changeset status --since-master",
@@ -154,15 +138,11 @@
"ts:ref": "update-ts-references --discardComments",
"website": "pnpm build --filter ...@verdaccio/website",
"crowdin:upload": "crowdin upload sources --auto-update --config ./crowdin.yaml",
"crowdin:download": "crowdin download --config ./crowdin.yaml",
"crowdin:sync": "pnpm crowdin:upload && pnpm crowdin:download --verbose"
"crowdin:download": "crowdin download --verbose --config ./crowdin.yaml",
"crowdin:sync": "pnpm crowdin:upload && pnpm crowdin:download --verbose",
"postinstall": "husky install"
},
"license": "MIT",
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,jsx,ts,tsx,json,yml,yaml,md}": "prettier --write",
"*.{js,jsx,ts,tsx}": "eslint --cache --fix"

View File

@@ -1,5 +1,124 @@
# @verdaccio/api
## 6.0.0-6-next.19
### Major Changes
- a828271d: refactor: download manifest endpoint and integrate fastify
Much simpler API for fetching a package
```
const manifest = await storage.getPackageNext({
name,
uplinksLook: true,
req,
version: queryVersion,
requestOptions,
});
```
> not perfect, the `req` still is being passed to the proxy (this has to be refactored at proxy package) and then removed from here, in proxy we pass the request instance to the `request` library.
### Details
- `async/await` sugar for getPackage()
- Improve and reuse code between current implementation and new fastify endpoint (add scaffolding for request manifest)
- Improve performance
- Add new tests
### Breaking changes
All storage plugins will stop to work since the storage uses `getPackageNext` method which is Promise based, I won't replace this now because will force me to update all plugins, I'll follow up in another PR. Currently will throw http 500
### Minor Changes
- 24b9be02: refactor: improve docker image build with strict dependencies and prod build
- b13a3fef: refactor: improve versions and dist-tag filters
### Patch Changes
- Updated dependencies [a828271d]
- Updated dependencies [24b9be02]
- Updated dependencies [e75c0a3b]
- Updated dependencies [b13a3fef]
- @verdaccio/store@6.0.0-6-next.17
- @verdaccio/utils@6.0.0-6-next.10
- @verdaccio/core@6.0.0-6-next.4
- @verdaccio/middleware@6.0.0-6-next.16
- @verdaccio/logger@6.0.0-6-next.8
- @verdaccio/auth@6.0.0-6-next.16
- @verdaccio/config@6.0.0-6-next.12
- @verdaccio/hooks@6.0.0-6-next.10
## 6.0.0-6-next.18
### Patch Changes
- Updated dependencies [f86c31ed]
- Updated dependencies [20c9e43e]
- @verdaccio/store@6.0.0-6-next.16
- @verdaccio/utils@6.0.0-6-next.9
- @verdaccio/auth@6.0.0-6-next.15
- @verdaccio/config@6.0.0-6-next.11
- @verdaccio/tarball@11.0.0-6-next.10
- @verdaccio/middleware@6.0.0-6-next.15
- @verdaccio/hooks@6.0.0-6-next.9
## 6.0.0-6-next.17
### Patch Changes
- Updated dependencies [6c1eb021]
- @verdaccio/core@6.0.0-6-next.3
- @verdaccio/logger@6.0.0-6-next.7
- @verdaccio/auth@6.0.0-6-next.14
- @verdaccio/config@6.0.0-6-next.10
- @verdaccio/tarball@11.0.0-6-next.9
- @verdaccio/hooks@6.0.0-6-next.9
- @verdaccio/middleware@6.0.0-6-next.14
- @verdaccio/store@6.0.0-6-next.15
- @verdaccio/utils@6.0.0-6-next.8
## 6.0.0-6-next.16
### Major Changes
- 794af76c: Remove Node 12 support
- We need move to the new `undici` and does not support Node.js 12
### Minor Changes
- b702ea36: abort search request support for proxy
- 154b2ecd: refactor: remove @verdaccio/commons-api in favor @verdaccio/core and remove duplications
### Patch Changes
- Updated dependencies [794af76c]
- Updated dependencies [b702ea36]
- Updated dependencies [154b2ecd]
- @verdaccio/auth@6.0.0-6-next.13
- @verdaccio/config@6.0.0-6-next.9
- @verdaccio/core@6.0.0-6-next.2
- @verdaccio/tarball@11.0.0-6-next.8
- @verdaccio/hooks@6.0.0-6-next.8
- @verdaccio/logger@6.0.0-6-next.6
- @verdaccio/middleware@6.0.0-6-next.13
- @verdaccio/store@6.0.0-6-next.14
- @verdaccio/utils@6.0.0-6-next.7
## 6.0.0-6-next.15
### Patch Changes
- Updated dependencies [2c594910]
- @verdaccio/logger@6.0.0-6-next.5
- @verdaccio/auth@6.0.0-6-next.12
- @verdaccio/hooks@6.0.0-6-next.7
- @verdaccio/middleware@6.0.0-6-next.12
- @verdaccio/store@6.0.0-6-next.13
## 6.0.0-6-next.14
### Major Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@verdaccio/api",
"version": "6.0.0-6-next.14",
"version": "6.0.0-6-next.19",
"description": "loaders logic",
"main": "./build/index.js",
"types": "build/index.d.ts",
@@ -25,7 +25,7 @@
"verdaccio"
],
"engines": {
"node": ">=10",
"node": ">=14",
"npm": ">=6"
},
"scripts": {
@@ -39,28 +39,28 @@
},
"license": "MIT",
"dependencies": {
"@verdaccio/auth": "workspace:6.0.0-6-next.11",
"@verdaccio/commons-api": "workspace:11.0.0-6-next.4",
"@verdaccio/config": "workspace:6.0.0-6-next.8",
"@verdaccio/core": "workspace:6.0.0-6-next.1",
"@verdaccio/hooks": "workspace:6.0.0-6-next.6",
"@verdaccio/logger": "workspace:6.0.0-6-next.4",
"@verdaccio/middleware": "workspace:6.0.0-6-next.11",
"@verdaccio/store": "workspace:6.0.0-6-next.12",
"@verdaccio/tarball": "workspace:11.0.0-6-next.7",
"@verdaccio/utils": "workspace:6.0.0-6-next.6",
"@verdaccio/auth": "workspace:6.0.0-6-next.16",
"@verdaccio/config": "workspace:6.0.0-6-next.12",
"@verdaccio/core": "workspace:6.0.0-6-next.4",
"@verdaccio/hooks": "workspace:6.0.0-6-next.10",
"@verdaccio/logger": "workspace:6.0.0-6-next.8",
"@verdaccio/middleware": "workspace:6.0.0-6-next.16",
"@verdaccio/store": "workspace:6.0.0-6-next.17",
"@verdaccio/utils": "workspace:6.0.0-6-next.10",
"abortcontroller-polyfill": "1.7.3",
"cookies": "0.8.0",
"debug": "4.3.2",
"debug": "4.3.3",
"body-parser": "1.19.1",
"express": "4.17.1",
"lodash": "4.17.21",
"mime": "2.5.2",
"mime": "2.6.0",
"semver": "7.3.5"
},
"devDependencies": {
"@verdaccio/server": "workspace:6.0.0-6-next.19",
"@verdaccio/types": "workspace:11.0.0-6-next.8",
"body-parser": "1.19.0",
"lodash": "4.17.21",
"@types/node": "16.11.12",
"@verdaccio/server": "workspace:6.0.0-6-next.24",
"@verdaccio/types": "workspace:11.0.0-6-next.10",
"@verdaccio/helper": "1.0.0",
"supertest": "6.1.6"
},
"funding": {

View File

@@ -1,12 +1,13 @@
import mime from 'mime';
import _ from 'lodash';
import { Router } from 'express';
import _ from 'lodash';
import mime from 'mime';
import { media, allow } from '@verdaccio/middleware';
import { API_MESSAGE, HTTP_STATUS, DIST_TAGS, VerdaccioError } from '@verdaccio/commons-api';
import { Package } from '@verdaccio/types';
import { Storage } from '@verdaccio/store';
import { IAuth } from '@verdaccio/auth';
import { VerdaccioError, constants } from '@verdaccio/core';
import { allow, media } from '@verdaccio/middleware';
import { Storage } from '@verdaccio/store';
import { Package } from '@verdaccio/types';
import { $NextFunctionVer, $RequestExtend, $ResponseExtend } from '../types/custom';
export default function (route: Router, auth: IAuth, storage: Storage): void {
@@ -26,8 +27,8 @@ export default function (route: Router, auth: IAuth, storage: Storage): void {
if (err) {
return next(err);
}
res.status(HTTP_STATUS.CREATED);
return next({ ok: API_MESSAGE.TAG_ADDED });
res.status(constants.HTTP_STATUS.CREATED);
return next({ ok: constants.API_MESSAGE.TAG_ADDED });
});
};
@@ -58,9 +59,9 @@ export default function (route: Router, auth: IAuth, storage: Storage): void {
if (err) {
return next(err);
}
res.status(HTTP_STATUS.CREATED);
res.status(constants.HTTP_STATUS.CREATED);
return next({
ok: API_MESSAGE.TAG_REMOVED,
ok: constants.API_MESSAGE.TAG_REMOVED,
});
});
}
@@ -79,7 +80,7 @@ export default function (route: Router, auth: IAuth, storage: Storage): void {
return next(err);
}
next(info[DIST_TAGS]);
next(info[constants.DIST_TAGS]);
},
});
}
@@ -96,9 +97,9 @@ export default function (route: Router, auth: IAuth, storage: Storage): void {
if (err) {
return next(err);
}
res.status(HTTP_STATUS.CREATED);
res.status(constants.HTTP_STATUS.CREATED);
return next({
ok: API_MESSAGE.TAG_UPDATED,
ok: constants.API_MESSAGE.TAG_UPDATED,
});
}
);

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