Compare commits

..

653 Commits

Author SHA1 Message Date
Juan Picado
5b74e34992 chore(release): 6.2.1 2025-10-24 17:38:16 +02:00
renovate[bot]
78494d88f7 fix(deps): update core verdaccio dependencies (#5440)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-24 17:37:31 +02:00
Juan Picado
aea1db5c0d chore(release): 6.2.0 2025-09-29 22:56:20 +02:00
Juan Picado
9e404c1dca fix: #5281 view packages logged in (#5399)
* fix: #5281 view packages logged in

* types

* chore: update dependencies

add test helper

* types

* Update search.ts

* Update init.ts
2025-09-29 07:50:40 +02:00
renovate[bot]
7506934222 chore(deps): update dependency fs-extra to v11 (#5394)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-21 15:01:46 +02:00
Juan Picado
7dfc77a4d4 chore: remove dev dependency pinst (#5395)
not usage detected
2025-09-21 14:49:49 +02:00
renovate[bot]
802093d544 chore(deps): update typescript dependencies (#5393)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-21 14:39:06 +02:00
renovate[bot]
5267315166 chore(deps): update dependency selfsigned to v3 (#5392)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-21 14:29:40 +02:00
renovate[bot]
5e133aff6f chore(deps): update dependency cross-env to v10 (#5391)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-21 14:21:39 +02:00
renovate[bot]
eab95b04bc chore(deps): update all linting dependencies (#5390)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-21 14:15:30 +02:00
renovate[bot]
012c19f383 fix(deps): update core verdaccio dependencies (6.x) (#5388)
* fix(deps): update core verdaccio dependencies

* fix address types

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Juan Picado <juanpicado19@gmail.com>
2025-09-21 12:41:15 +02:00
renovate[bot]
24edd646c0 fix(deps): update dependency debug to v4.4.3 (#5387)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-19 21:29:35 +02:00
monholm
2cbd3268d6 fix: filter plugins not loading (#5382) 2025-09-19 14:58:21 +02:00
renovate[bot]
479836ba80 chore(deps): update babel monorepo to v7.28.4 (#5383)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-14 14:43:50 +02:00
renovate[bot]
d9f40c141f chore(deps): update actions/setup-node action to v5 (#5370)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-04 07:46:20 +02:00
renovate[bot]
458cb8e3b8 chore(deps): update all actions to v5 (#5366)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-01 11:36:15 +02:00
renovate[bot]
7e5afa7b3f chore(deps): update babel monorepo to v7.28.3 (#5360)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-26 22:01:17 +02:00
renovate[bot]
2e1f131a70 chore(deps): pin dependencies (6.x) (#5354)
* chore(deps): pin dependencies

* add timeout

* Update cli.spec.ts

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Juan Picado <juanpicado19@gmail.com>
2025-08-26 21:47:29 +02:00
Juan Picado
87bb1b8c4d fix: remove unused dependencies (#5349) 2025-08-02 14:53:47 +02:00
renovate[bot]
78971348d8 chore(deps): update dependency supertest to v7.1.4 (#5321)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-27 14:29:20 +02:00
renovate[bot]
f389431446 fix(deps): update core verdaccio dependencies (#5327)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-27 14:27:12 +02:00
Juan Picado
af55fbb65f feat: 6.x refactor test and deps (#5315) 2025-07-27 14:18:22 +02:00
Juan Picado
7636b44caa chore(release): 6.1.6 2025-07-25 08:33:34 +02:00
renovate[bot]
4421d86af8 fix(deps): update dependency compression to v1.8.1 (#5337)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-25 08:33:14 +02:00
renovate[bot]
ae6668c8e4 fix(deps): update dependency @cypress/request to v3.0.9 (#5336)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-25 08:09:52 +02:00
Juan Picado
a1765c33f6 chore(release): 6.1.5 2025-06-29 11:42:01 +02:00
renovate[bot]
ef7232fc1a chore(deps): update typescript dependencies (#5309)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-26 22:22:42 +02:00
renovate[bot]
07d05354c6 fix(deps): update core verdaccio dependencies (#5308)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-26 22:01:23 +02:00
Marc Bernard
1e4af4e842 fix: allow config changes in docker image (#5304) 2025-06-24 08:01:13 +02:00
Juan Picado
556bc9747b chore(release): 6.1.4 2025-06-17 22:49:32 +02:00
renovate[bot]
88c076698f fix(deps): update core verdaccio dependencies (#5283)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-17 22:40:36 +02:00
renovate[bot]
4c5c45d345 fix(deps): update dependency semver to v7.7.2 (#5284)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-17 22:27:48 +02:00
Marc Bernard
ba00feeb97 fix: config web login default (6.x) (#5279) 2025-06-17 20:04:21 +02:00
Juan Picado
e4a18b9c65 chore: enable node.js 24 on ci (#5276)
* chore: enable node.js 24 on ci

* Update ci.yml
2025-06-16 05:41:58 +02:00
Juan Picado
5526e4b337 chore(release): 6.1.3 2025-06-15 22:38:04 +02:00
Marc Bernard
31a8d7636c fix: anonymous access web ui (6.x) (#5250)
* fix: anonymous access web ui (6.x)

* Update api.web.spec.yaml

* Update package.ts

---------

Co-authored-by: Juan Picado <juanpicado19@gmail.com>
2025-06-15 22:21:55 +02:00
Juan Picado
16cbf18812 fix: unpublish broken #5214 (#5275) 2025-06-15 20:53:54 +02:00
renovate[bot]
ab6ce2bb31 chore(deps): update babel monorepo (#5267)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-09 22:49:03 +02:00
Juan Picado
9eb6618d8d fix: update yarn 4.9.2 and remove pnp (#5266)
* chore: try with node_linker

* chore: update latest yarn 4.9.2

* Update yarn.lock
2025-06-08 22:33:25 +02:00
renovate[bot]
6c23c61b32 fix(deps): update dependency debug to v4.4.1 (#5264)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-07 23:05:26 +02:00
renovate[bot]
213bade6a5 fix(deps): update core verdaccio dependencies (#5263)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-07 14:44:26 +02:00
Marc Bernard
f66bff549f fix: docker smoke test (6.x) (#5251)
https://github.com/verdaccio/verdaccio/actions/runs/14802762748
2025-06-07 10:11:23 +02:00
Marc Bernard
b9dc5e4dc9 chore: update yarn version in Dockerfile (#5216)
* chore: update yarn version in Dockerfile

Update Dockerfile to reflect alpine updated yarn to 1.22.22 

Issue found [here](https://github.com/orgs/verdaccio/discussions/5213#discussioncomment-12989512).

Current version [here](b3d8cc1533/22/alpine3.21/Dockerfile (L81))

* Lint
2025-05-02 22:22:59 +02:00
renovate[bot]
27b55b056e chore(deps): update actions/setup-node action to v4.4.0 (#5219)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-02 21:39:22 +02:00
Juan Picado
36c4c80b47 chore(release): 6.1.2 2025-04-01 17:58:55 +02:00
Antonio Terrero Algaba
2e572ac97b fix: add missing packages argument on getMatchedPackagesSpec (#5185)
* fix: add missing packages argument on getMatchedPackagesSpec

Issues: #5175, #5160

* chore: lint config.ts file
2025-04-01 17:30:08 +02:00
renovate[bot]
adb1373589 fix(deps): update core verdaccio dependencies (6.x) (#5179)
* fix(deps): update core verdaccio dependencies

* add legacyMergeConfigs

* format

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Juan Picado <juanpicado19@gmail.com>
2025-04-01 08:28:28 +02:00
Juan Picado
ee33c9c1c8 chore(release): 6.1.1 2025-03-30 21:36:34 +02:00
Juan Picado
86b459784c Update SECURITY.md 2025-03-30 21:33:59 +02:00
Juan Picado
abe787ea55 chore: update release script 2025-03-30 21:31:59 +02:00
Juan Picado
abea8ce095 fix: add legacy getMatchedPackagesSpec to config (#5173)
* fix: add legacy getMatchedPackagesSpec to config

Some old plugins depends of this function

* Update storage.ts

* Update src/lib/config.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-03-29 18:10:18 +01:00
renovate[bot]
cbd69af5d0 fix(deps): update core verdaccio dependencies (6.x) (#5172)
* fix(deps): update core verdaccio dependencies

* fix naming

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Juan Picado <juanpicado19@gmail.com>
2025-03-29 16:11:32 +01:00
Juan Picado
cad868cae2 chore: clean up code (#5169)
* chore: clean up code

* cleanup

* format

* cleanup

* Update index.ts

* remove deps

* clean up test

* clean up

* clean up
2025-03-29 10:47:35 +01:00
Juan Picado
15a224f887 chore(release): 6.1.0 2025-03-24 21:49:49 +01:00
renovate[bot]
c9ee50c2c0 fix(deps): update dependency @cypress/request to v3.0.8 (#5155) 2025-03-23 18:25:56 +01:00
renovate[bot]
890f4fddc9 fix(deps): update core verdaccio dependencies (#5154) 2025-03-23 17:35:33 +01:00
Juan Picado
4c5c509566 feat: upgrade load plugin and auth (#5130)
* feat: upgrade load plugin and auth

* fix types

* format

* Update e2e-jest-workflow.yml

* Update e2e-jest-workflow.yml

* Update e2e-jest-workflow.yml

* add filter plugin loader
2025-03-16 15:10:00 +01:00
Juan Picado
f2cc71cd2c feat: refactor add api names and update core dependencies (#5090)
* chore: update deps

* use url from package

* format

* add publish endpoint

* fix tests

* format

* fix lint

* test

* test

* Update index.ts

* deps

* update deps

* Update ci.yml
2025-02-23 12:55:35 +01:00
renovate[bot]
5bacb9375a fix(deps): update dependency compression to v1.8.0 (#5091)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-15 15:27:24 +01:00
renovate[bot]
f13c5a8a8f chore(deps): update actions/setup-node action to v4.2.0 (#5072) 2025-01-27 07:00:48 +01:00
renovate[bot]
9f8556720a chore(deps): update node.js to v22 (#5070)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-26 18:37:00 +01:00
renovate[bot]
e419483bb5 chore(deps): update dependency @octokit/rest to v21 (#5068)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-26 18:36:34 +01:00
renovate[bot]
00ed7ff731 chore(deps): update node.js to v20.18.2 (#5063)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-26 11:09:57 +01:00
renovate[bot]
1107053c7b chore(deps): update all actions to v4 (#5036)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-01 01:30:47 +01:00
renovate[bot]
880364d033 chore(deps): update all linting dependencies (#5033) 2024-12-30 17:04:18 +01:00
Juan Picado
bc7806d377 chore(release): 6.0.5 2024-12-21 10:42:32 +01:00
renovate[bot]
f878a34548 fix(deps): update core verdaccio dependencies (#5014)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-21 10:39:07 +01:00
Juan Picado
5e95111c46 chore(release): 6.0.4 2024-12-17 08:16:27 +01:00
Xingwang Liao
cc63799d5a fix(api): fix scope handling in package routes (#5006)
The changes in #5000 breaks package scopes
2024-12-17 08:16:02 +01:00
Juan Picado
e841cbe44d chore(release): 6.0.3 2024-12-15 10:07:23 +01:00
renovate[bot]
30a8b4d00a fix(deps): update core verdaccio dependencies (#5001)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-15 10:04:15 +01:00
Juan Picado
fb8b2c40aa fix: #4984 improved paths for web endpoint (#5000)
* fix: array web url endpoints

* Update package.ts
2024-12-15 09:41:46 +01:00
renovate[bot]
e3f3825905 chore(deps): update dependency nock to v13.5.6 (#4998)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-12 21:21:39 +01:00
renovate[bot]
466e07500d chore(deps): update babel monorepo (#4997)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-12 20:39:41 +01:00
renovate[bot]
7c935e955d fix(deps): update dependency debug to v4.4.0 (#4996)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-12 20:04:39 +01:00
renovate[bot]
df4e435e8c fix(deps): update dependency @cypress/request to v3.0.7 (#4995)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-12 19:58:29 +01:00
renovate[bot]
e345b3b537 fix(deps): update node.js to v20.18.1 (#4994)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-11 22:33:58 +01:00
renovate[bot]
153a33fd7e fix(deps): update dependency express to v4.21.2 (6.x) (#4988)
* fix(deps): update dependency express to v4.21.2

* Update package.ts

* Update package.ts

* Update package.ts

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Juan Picado <juanpicado19@gmail.com>
2024-12-11 19:21:53 +01:00
Juan Picado
b332ba15c9 chore(release): 6.0.2 2024-11-17 15:46:34 +01:00
renovate[bot]
4416a524fc fix(deps): update core verdaccio dependencies (#4952)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-16 16:04:07 +01:00
renovate[bot]
461de62268 chore(deps): update yarn to v3.8.6 (#4933)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-04 06:59:20 +01:00
renovate[bot]
8da7a413b8 fix(deps): update dependency compression to v1.7.5 (#4934)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-03 18:04:23 +01:00
Juan Picado
594d7f680e chore(release): 6.0.1 2024-10-16 20:35:14 +02:00
Juan Picado
e753da3d41 chore: 23 not ready for yarn
it fails with corepack and build
2024-10-16 20:25:01 +02:00
Juan Picado
c5699fec53 chore: fix ci settings 2024-10-16 20:19:51 +02:00
Juan Picado
700e83f213 chore: enable node 23 ci 2024-10-16 20:17:32 +02:00
renovate[bot]
96f73655eb chore(deps): update all linting dependencies (#4910)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-13 14:44:37 +02:00
renovate[bot]
dd4f5579c0 chore(deps): update typescript dependencies (#4909)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-13 14:03:20 +02:00
renovate[bot]
f8148905d8 chore(deps): update babel monorepo to v7.25.8 (#4908)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-13 13:43:40 +02:00
renovate[bot]
7ebc4ff598 fix(deps): update core verdaccio dependencies (#4907)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-13 12:45:44 +02:00
renovate[bot]
3172c30255 fix(deps): update dependency express to v4.21.1 (#4899) 2024-10-12 13:25:50 +02:00
renovate[bot]
e14a17455c chore(deps): update node.js to v20.18.0 (#4900) 2024-10-12 13:14:51 +02:00
Juan Picado
9cca282849 chore: reuse workflows 6.x (#4857) 2024-10-03 11:26:12 +02:00
renovate[bot]
c0b3769478 chore(deps): update babel monorepo to v7.25.7 (#4881)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-03 11:25:31 +02:00
renovate[bot]
1f0aa759bc chore(deps): update all linting dependencies (#4861)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-26 19:44:42 +02:00
renovate[bot]
39538fb759 fix(deps): update dependency clipanion to v4.0.0-rc.4 (#4863) 2024-09-26 19:31:52 +02:00
renovate[bot]
2781bf021c fix(deps): update core verdaccio dependencies (#4862) 2024-09-26 19:20:03 +02:00
Juan Picado
f46fb69049 chore: update shared ci workflow 2024-09-22 11:31:20 +02:00
Juan Picado
02f5a5b636 chore(release): 6.0.0 2024-09-20 19:50:23 +02:00
Juan Picado
11d0ee3b46 Update README.md 2024-09-20 19:44:03 +02:00
Juan Picado
de969d392e chore: enable 6.x branch for latest release 2024-09-20 18:27:01 +02:00
renovate[bot]
c36d87f3b6 fix(deps): update dependency envinfo to v7.14.0 (#4843)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-15 22:43:26 +02:00
renovate[bot]
66a3f2e2c7 chore(deps): update node.js to v20.17.0 (#4842)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-15 22:43:14 +02:00
renovate[bot]
1598b1fab8 chore(deps): update yarn to v3.8.5 (#4837)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-15 13:13:13 +02:00
renovate[bot]
d9a80747c1 chore(deps): update dependency nock to v13.5.5 (#4836)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-15 13:13:03 +02:00
renovate[bot]
cdf7810f1d fix(deps): update dependency debug to v4.3.7 (#4838)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-15 12:46:14 +02:00
Juan Picado
1be9ff83d8 Update README.md 2024-09-15 09:35:13 +02:00
Juan Picado
0d970ea9ce chore(release): 6.0.0-rc.1 2024-09-15 09:30:08 +02:00
Juan Picado
fa1ad8d02e Update docker-publish.yml 2024-09-15 08:33:50 +02:00
Juan Picado
706bfb918c Update release-snapshot.yml 2024-09-14 20:30:48 +02:00
Juan Picado
88e0207398 Update release-snapshot.yml 2024-09-14 20:30:39 +02:00
Juan Picado
91ffc00b30 Update release-snapshot.yml 2024-09-14 20:28:03 +02:00
Juan Picado
78b759ccfb feat!: drop Node.js 16 (#4835)
* feat!: drop Node.js 16 support

* restore lru-cache

* Update ci.yml

* Update index.ts

* names

* Update smok-test-module.yml

* Update utils.ts

* Update package.json

* Update e2e-jest-workflow.yml

* Update release-snapshot.yml
2024-09-14 20:11:12 +02:00
renovate[bot]
2bdca6ac98 fix(deps): update dependency async to v3.2.6 (#4829) 2024-09-13 18:19:08 +02:00
renovate[bot]
d68f1db408 fix(deps): update dependency @cypress/request to v3.0.5 (#4828) 2024-09-13 18:18:56 +02:00
Juan Picado
5c52bfc1a5 chore: format 2024-09-12 23:22:22 +02:00
Juan Picado
19ae9fbb90 chore: prepare release 6.x 2024-09-12 23:17:08 +02:00
Juan Picado
7f816b9399 chore(release): 5.32.2 2024-09-12 21:48:20 +02:00
renovate[bot]
f17b5a9c9f fix(deps): update core verdaccio dependencies (5.x) (#4825)
* fix(deps): update core verdaccio dependencies

* update deps

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Juan Picado <juanpicado19@gmail.com>
2024-09-12 21:47:01 +02:00
renovate[bot]
f8e53957f7 fix(deps): update dependency express to v4.21.0 (#4815)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-12 16:35:30 +02:00
renovate[bot]
25ce0dedd4 chore(deps): update babel monorepo (#4773)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-03 18:54:14 +02:00
renovate[bot]
bf8ce28241 chore(deps): update node.js to v20.16.0 (#4771)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-03 18:47:57 +02:00
renovate[bot]
b597dd1ecf chore(deps): update dependency @babel/eslint-parser to v7.25.1 (#4774) 2024-08-03 17:49:40 +02:00
Juan Picado
cab0b967dd Update smok-test-module.yml 2024-08-02 08:52:51 +02:00
Juan Picado
09d4ee9dfe Update smok-test-module.yml 2024-08-02 08:51:14 +02:00
Juan Picado
9f66c41273 Update smok-test-module.yml 2024-08-02 08:48:32 +02:00
Juan Picado
b38b498f4f chore: improve ci smoke test 2024-08-02 08:47:01 +02:00
Juan Picado
3dcc7b5d8a chore(release): 5.32.1 2024-08-02 08:34:51 +02:00
renovate[bot]
960924b3c2 fix(deps): update core verdaccio dependencies (#4752)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-02 08:15:06 +02:00
renovate[bot]
0d2b58f899 chore(deps): update yarn to v3.8.3 (#4741)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-28 22:17:32 +02:00
renovate[bot]
187e3b9db6 chore(deps): update babel monorepo to v7.25.0 (#4742)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-28 22:17:18 +02:00
Juan Picado
0867aec8ff chore(release): 5.32.0 2024-07-28 09:21:36 +02:00
renovate[bot]
e062a02c03 fix(deps): update core verdaccio dependencies (#4737)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-28 08:57:42 +02:00
Juan Picado
6dc8e91bf4 feat: update core deps (#4726)
* chore: update core deps minor

* feat: update clipanion 4

* chore: update test dev

* remove dep

* more deps
2024-07-20 23:40:53 +02:00
renovate[bot]
301deca8e3 fix(deps): update core verdaccio dependencies (5.x) (#4708)
* fix(deps): update core verdaccio dependencies

* Update publish.spec.ts.snap

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Juan Picado <juanpicado19@gmail.com>
2024-07-07 21:28:43 +02:00
Juan Picado
5aa59f5989 chore(release): 5.31.1 2024-06-06 08:02:23 +02:00
renovate[bot]
1584f22bf1 chore(deps): update yarn to v3.8.2 (#4669)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-03 22:40:07 +02:00
renovate[bot]
8fd654041d chore(deps): update babel monorepo to v7.24.6 (#4667)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-03 22:25:33 +02:00
renovate[bot]
9e3a79d503 fix(deps): update core verdaccio dependencies (#4668) 2024-06-03 19:37:36 +02:00
renovate[bot]
6591927727 fix(deps): update node.js to v20.14.0 (#4663)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-02 21:28:05 +02:00
Juan Picado
03e2bb2133 chore: remove dependenciesMeta
only affect local development
2024-05-13 20:21:33 +02:00
Juan Picado
81512be887 chore: add ignore files npmignore 2024-05-11 12:09:03 +02:00
Juan Picado
9a6d5b3d44 fix: set engine to Node.js 14 2024-05-11 11:51:15 +02:00
Juan Picado
fd7d181159 chore: revert "fix: set engine to 14.21.3"
This reverts commit 6cf6064d06.
2024-05-11 11:50:25 +02:00
Juan Picado
6cf6064d06 fix: set engine to 14.21.3 2024-05-11 11:49:09 +02:00
Juan Picado
0f53de14eb chore(release): 5.31.0 2024-05-11 10:55:41 +02:00
Juan Picado
a3b1abee1d chore: update dependencies (#4639)
mostly devDependencies
2024-05-11 10:05:30 +02:00
Juan Picado
2941522099 feat: add property forceMigrateToSecureLegacySignature (#4625)
* migrate to forceMigrateToSecureLegacySignature

* Update token.ts

* remove dep

* Update token.ts
2024-05-05 21:57:22 +02:00
renovate[bot]
6ce34256e6 chore(deps): update yarn to v3.8.1 (#4598)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-29 21:38:39 +02:00
renovate[bot]
4123dbc8bd fix(deps): update dependency express to v4.19.2 (#4596)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-26 04:29:57 +02:00
renovate[bot]
e912493e26 chore(deps): update node.js to v20.12.2 (#4593)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-25 16:21:28 +02:00
Juan Picado
dba20fa1b4 chore: update readme 2024-04-06 17:56:47 +02:00
Juan Picado
5e7827630f chore(release): 5.30.3 2024-04-06 08:14:45 +02:00
Juan Picado
513b10d8b0 fix: upgrade docker file base image to v20.12.1 (#4576)
* fix: upgrade docker file base image to v20.12.1

* Update smok-test-module.yml

* Update .npmignore
2024-04-06 08:14:12 +02:00
Juan Picado
6868fdbf60 chore(release): 5.30.2 2024-03-24 12:42:31 +01:00
Juan Picado
1ceb9f98db fix: update @verdaccio/search-indexer engine restrictions 2024-03-24 12:40:05 +01:00
Juan Picado
161e7abc81 chore(release): 5.30.1 2024-03-24 12:23:30 +01:00
Juan Picado
a9cfae5800 fix: remove search dependency (#4560)
* fix: remove search dependency

* Update smok-test-module-v14.yml
2024-03-24 12:19:52 +01:00
Juan Picado
11419b03ea chore(release): 5.30.0 2024-03-24 11:46:48 +01:00
renovate[bot]
72c3ab72a0 feat(deps): update core verdaccio dependencies (5.x) (#4558)
End of Node.js 12 support, cannot guarantee due dependencies updates.

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Juan Picado <juanpicado19@gmail.com>
2024-03-23 22:21:39 +01:00
renovate[bot]
bf2a2c3fdd chore(deps): update babel monorepo (#4556) 2024-03-23 21:12:52 +01:00
Juan Picado
7ddffb0f8b chore: migrate to @verdaccio/local-storage-legacy (#4545)
* migrate to @verdaccio/local-storage-legacy

* test

* update dep
2024-03-17 01:00:44 +01:00
Juan Picado
177e571eb5 chore: update ci 2024-03-16 16:07:07 +01:00
Aseer KT
c478324643 fix: newline after version command (#4543) 2024-03-16 16:04:16 +01:00
renovate[bot]
da5030221e fix(deps): update core verdaccio dependencies (5.x) (#4539)
* fix(deps): update core verdaccio dependencies

* Create fsevents-patch-2882183fbf-8.zip

* fix types

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Juan Picado <juanpicado19@gmail.com>
2024-03-16 16:03:56 +01:00
renovate[bot]
6b2fddde4d chore(deps): update babel monorepo (#4538)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-13 22:19:02 +01:00
renovate[bot]
7206f84df6 fix(deps): update core verdaccio dependencies (#4530)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-03 20:01:12 +01:00
renovate[bot]
e07c35201a fix(deps): update dependency express to v4.18.3 (#4528)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-03 19:43:19 +01:00
renovate[bot]
43d3c5e3e1 fix(deps): update dependency semver to v7.6.0 (#4529)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-03 19:28:53 +01:00
renovate[bot]
c2604e788e fix(deps): update dependency envinfo to v7.11.1 (#4527)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-03 19:20:29 +01:00
renovate[bot]
880076569c chore(deps): update node.js to v20.11.1 (#4526)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-03 19:20:03 +01:00
Juan Picado
b28a3ab744 chore(release): 5.29.2 2024-02-21 20:56:07 +01:00
renovate[bot]
11f3309fd9 fix(deps): update core verdaccio dependencies (5.x) (#4516)
* fix(deps): update core verdaccio dependencies

* lock file

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Juan Picado <juanpicado19@gmail.com>
2024-02-21 19:37:46 +01:00
renovate[bot]
2f74d7c1a5 chore(deps): update yarn to v3.8.0 (#4509)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-17 15:17:05 +01:00
Juan Picado
563bdaa435 chore(release): 5.29.1 2024-02-17 09:51:58 +01:00
renovate[bot]
23afe222d8 fix(deps): update core verdaccio dependencies (#4508)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-16 17:48:35 +01:00
renovate[bot]
e10b381a28 fix(deps): update core verdaccio dependencies (#4499)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-12 13:49:57 +01:00
renovate[bot]
4241700698 chore(deps): update dependency @types/node to v18.19.8 (#4444)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-20 11:06:01 +01:00
renovate[bot]
03d9c5e2cf chore(deps): update dependency prettier to v3.2.2 (#4431)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-15 07:14:07 +01:00
renovate[bot]
4aa919c5e5 chore(deps): update dependency nock to v13.5.0 (#4430)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-14 20:48:26 +01:00
renovate[bot]
487f2ed4df chore(deps): update dependency supertest to v6.3.4 (#4427)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-14 18:24:49 +01:00
renovate[bot]
30af49f0a1 fix(deps): update core verdaccio dependencies (#4428)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-14 18:24:36 +01:00
renovate[bot]
79031aa4c2 chore(deps): update dependency eslint-plugin-prettier to v5.1.3 (#4426)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-14 18:05:40 +01:00
renovate[bot]
247965ca49 chore(deps): update dependency @types/node to v18.19.6 (#4423)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-14 17:51:12 +01:00
renovate[bot]
132df031d4 chore(deps): update babel monorepo to v7.23.8 (#4422)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-14 17:51:03 +01:00
renovate[bot]
69364c4d7c chore(deps): update dependency eslint-plugin-jest to v27.6.3 (#4424)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-14 17:50:40 +01:00
renovate[bot]
19bdf10a4e chore(deps): update node.js to v20.11.0 (#4407) 2024-01-13 17:11:42 +01:00
renovate[bot]
5d25567f54 chore(deps): update dependency @types/node to v18.19.5 (#4392)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-08 07:58:47 +01:00
renovate[bot]
f64b3958e0 fix(deps): update core verdaccio dependencies (#4389)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-07 11:22:18 +01:00
renovate[bot]
c96468a9e9 fix(deps): update dependency cookies to v0.9.1 (#4371)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-02 12:59:47 +01:00
renovate[bot]
3400cf94b3 chore(deps): update dependency eslint-plugin-jest to v27.6.1 (#4367)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-02 09:18:02 +01:00
renovate[bot]
03d8bb4881 fix(deps): update dependency verdaccio-htpasswd to v12.0.0-next.5 (#4355)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-31 23:55:06 +01:00
Juan Picado
b8787dc4b3 chore: update deps 2023-12-31 16:02:02 +01:00
renovate[bot]
11421c0138 fix(deps): update dependency verdaccio-audit to v12.0.0-next.5 (#4353)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-31 16:00:09 +01:00
renovate[bot]
b41f6c9e2b fix(deps): update core verdaccio dependencies (5.x) (#4352)
* fix(deps): update core verdaccio dependencies

* restore dep

* Update package.json

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Juan Picado <juanpicado19@gmail.com>
2023-12-31 15:59:51 +01:00
renovate[bot]
16b78d287c chore(deps): update dependency @types/node to v18.19.4 (#4347)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-30 11:48:24 +01:00
renovate[bot]
96be821872 chore(deps): update babel monorepo to v7.23.7 (#4344)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-30 09:40:06 +01:00
renovate[bot]
0bdc10efd7 fix(deps): update dependency cookies to v0.9.0 (#4341) 2023-12-29 19:10:14 +01:00
renovate[bot]
df3779b85b chore(deps): update dependency eslint-plugin-prettier to v5.1.2 (#4323)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-24 20:44:26 +01:00
renovate[bot]
8373310679 chore(deps): update dependency eslint-plugin-prettier to v5.1.1 (#4315) 2023-12-21 21:40:46 +01:00
renovate[bot]
b6437a5c43 chore(deps): update dependency eslint-plugin-prettier to v5.1.0 (#4312)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-20 21:41:05 +01:00
renovate[bot]
326018330d chore(deps): update dependency eslint to v8.56.0 (#4292) 2023-12-16 09:25:41 +01:00
renovate[bot]
bf1f578a22 chore(deps): update dependency eslint-plugin-import to v2.29.1 (#4285)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-15 08:46:44 +01:00
renovate[bot]
3fdf5f19d9 chore(deps): update babel monorepo to v7.23.6 (#4262) 2023-12-11 19:33:55 +01:00
renovate[bot]
cd68408087 chore(deps): update dependency prettier to v3.1.1 (#4258) 2023-12-10 12:04:45 +01:00
renovate[bot]
ec7572d7a7 chore(deps): update dependency ts-node to v10.9.2 (#4250)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-08 19:33:39 +01:00
renovate[bot]
9d1e34f628 chore(deps): update dependency @types/node to v18.19.3 (#4249)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-08 19:29:47 +01:00
renovate[bot]
55ae1c4ed1 chore(deps): update dependency @types/jest to v29.5.11 (#4236)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-08 10:43:20 +01:00
Juan Picado
8aacbec4a7 chore(release): 5.29.0 2023-12-08 08:53:30 +01:00
legobeat
e11d95d41f feat: replace request with @cypress/request (#4234)
* deps: request@2.88.2 -> @cypress/request@3.0.1

* yarn dedupe dependencies

* Fix comment
2023-12-08 08:52:06 +01:00
Juan Picado
359e4ae37f chore(release): 5.28.0 2023-12-05 21:35:28 +01:00
Juan Picado
591ad20ee8 fix: restore search all endpoint (#4233) 2023-12-05 21:26:59 +01:00
Juan Picado
adf6927374 feat: update docker base image to node20 (#4231)
* feat: update docker base image to node20

* Update ci.yml
2023-12-05 21:15:03 +01:00
renovate[bot]
ca304ad4f0 chore(deps): update dependency @types/node to v18.19.2 (#4220)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-03 21:55:39 +01:00
renovate[bot]
0a1522bb4c chore(deps): update dependency lockfile-lint to v4.12.1 (#4218)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-02 23:21:46 +01:00
Juan Picado
4047c5b6cd chore(release): 5.27.1 2023-12-02 23:03:49 +01:00
renovate[bot]
4d1727edd5 chore(deps): update dependency @types/serve-static to v1.15.5 (#4212)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-02 22:14:18 +01:00
renovate[bot]
8a7a3b3094 chore(deps): update actions/checkout action to v3.6.0 (#4197)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-02 20:16:56 +01:00
renovate[bot]
820e22328b chore(deps): update node.js to v18.19.0 (#4198)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-02 20:16:48 +01:00
renovate[bot]
8da2957ac4 chore(deps): update actions/checkout digest to f43a0e5 (#4195)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-02 20:16:36 +01:00
renovate[bot]
565868144f chore(deps): update actions/setup-node digest to 1a4442c (#4196)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-02 20:16:27 +01:00
Juan Picado
0eeb743359 chore: update deps 2023-12-02 19:01:24 +01:00
Juan Picado
68742aa21d chore: update types dependencies 2023-12-02 18:10:38 +01:00
renovate[bot]
002029ab70 chore(deps): update yarn to v3.7.0 (#4180)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-02 16:20:47 +01:00
renovate[bot]
4ec93392d9 chore(deps): update babel monorepo (#4133)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-29 21:59:41 +01:00
Juan Picado
52eaf2484f chore: fix ci issue 2023-11-12 18:04:12 +01:00
Juan Picado
6a317f8819 fix: reuse middleware reporting layer (#4114)
* chore: clean up

* chore: clean up
2023-11-12 17:51:20 +01:00
renovate[bot]
d0789b4f15 chore(deps): update babel monorepo to v7.23.3 (#4111)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-10 07:13:44 +01:00
Juan Picado
a8d2dbed2f chore: update ci jest 2023-11-10 06:42:21 +01:00
Juan Picado
b1171f4de8 chore: update ci angular 2023-11-10 06:33:31 +01:00
Juan Picado
6033481a6b chore(release): 5.27.0 2023-10-15 00:06:24 +02:00
Juan Picado
257d46a76f feat: update core dependencies (#4073)
* feat: update core dependencies

* Update auth.ts
2023-10-14 23:26:58 +02:00
Juan Picado
c4283fa449 chore(release): 5.26.3 2023-09-24 14:10:02 +02:00
Juan Picado
15a8f8a4b3 chore: add assets 2023-09-24 14:09:20 +02:00
Juan Picado
bd0d0291b6 fix: update core dependencies (#4035)
* fix: update core dependencies

* remove node 12 ci

* test

* add files

* Update e2e-angular-cli-workflow.yml

* Update e2e-jest-workflow.yml
2023-09-24 13:01:29 +02:00
Juan Picado
a363707c7b update canary script 2023-09-24 11:45:39 +02:00
Juan Picado
ac9e94cb55 chore(release): 5.26.2 2023-08-26 19:07:24 +02:00
Juan Picado
528a902755 fix: update core depepedencies 5.x (#3991)
update core dependencies (7.x) no breaking changes, just internal bump up to prepare a major release (6.x)
🐛 fix fix: local search keyword undefined errors #3992
🐛 fix Missing "onClick" prop in @verdaccio/ui-components Link component preventing handleDownload call in Package.tsx #3988 #3989
2023-08-26 16:30:54 +02:00
renovate[bot]
f61cfda1c3 fix(deps): update dependency validator to v13.11.0 (#3967)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-09 07:36:17 +02:00
Juan Picado
63f8236bbe chore(release): 5.26.1 2023-07-21 06:58:17 +02:00
renovate[bot]
11097633c8 chore(deps): update node.js to v18.17.0 (#3945)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-21 00:40:52 +02:00
Juan Picado
5e9637da90 fix: add missing token auth middleware (#3944)
* fix: add missing token auth middleware

* improve tests

* format
2023-07-21 00:32:14 +02:00
renovate[bot]
93bc69abc1 chore(deps): update babel monorepo to v7.22.9 (#3936)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-18 21:51:14 +02:00
renovate[bot]
9a81334216 chore(deps): update yarn to v3.6.1 (#3937)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-18 21:51:03 +02:00
Juan Picado
2c7ee01286 chore(release): 5.26.0 2023-07-15 23:46:55 +02:00
Juan Picado
8ec5b2cb6f chore: release snapshot id refactor 2023-07-15 21:49:11 +02:00
Juan Picado
43de79d46a feat: refactor middleware and bufixes (#3922) 2023-07-15 21:37:45 +02:00
Juan Picado
c671faace5 fix: docker update v18.16.1 (#3923) 2023-07-09 11:19:18 +02:00
Juan Picado
4be19db0c1 fix: remove req.host deprecation warning (#3921) 2023-07-09 10:26:36 +02:00
Juan Picado
971d500c6e fix: update dependencies
semver, babel, jest, etc..
2023-07-08 13:11:27 +02:00
renovate[bot]
a69978755d fix(deps): update dependency semver to v7.5.2 (#3895) 2023-06-21 10:26:05 +08:00
renovate[bot]
349c12fd75 chore(deps): update dependency eslint to v8.43.0 (#3881)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-17 15:19:45 +08:00
renovate[bot]
1989e080c0 chore(deps): update actions/checkout digest to c85c95e (#3882)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-17 15:19:31 +08:00
renovate[bot]
68f6e6e877 chore(deps): update actions/checkout action to v3.5.3 (#3883)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-17 15:19:20 +08:00
renovate[bot]
772a1bbb65 chore(deps): update typescript-eslint monorepo to v5.59.11 (#3880)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-17 15:02:24 +08:00
renovate[bot]
a84d1786f8 fix(deps): update dependency verdaccio-audit to v11.0.0-6-next.35 (#3877)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-16 08:35:38 +08:00
renovate[bot]
13d0df0ca3 chore(deps): update babel monorepo to v7.22.5 (#3875)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-15 17:59:06 +08:00
renovate[bot]
adc937fc66 chore(deps): update dependency eslint to v8.42.0 (#3876)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-14 21:39:46 +08:00
renovate[bot]
b39c01f158 fix(deps): update dependency clipanion to v3.2.1 (#3874) 2023-06-13 11:35:29 +08:00
renovate[bot]
f0bb451111 fix(deps): update core verdaccio dependencies (#3873) 2023-06-13 11:34:08 +08:00
renovate[bot]
ec1b49ef12 chore(deps): update yarn to v3.6.0 (#3855)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-03 10:33:13 +02:00
Juan Picado
f3afd04018 chore(release): 5.25.0 2023-06-03 08:49:52 +02:00
renovate[bot]
54fbf5a81a chore(deps): update typescript-eslint monorepo to v5.59.8 (#3852)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-03 08:28:21 +02:00
renovate[bot]
3972702651 chore(deps): update babel monorepo (#3854)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-03 08:25:48 +02:00
Juan Picado
99d06e5f02 fix: update verdaccio 6.x dependencies (#3853)
* fix(core): update verdaccio 6 dependencies

* add

* ci
2023-06-03 08:16:58 +02:00
George Kalpakas
1a5d5b41d5 fix(docker): remove yarn symlinks (#3840)
The [`node:alpine` Docker image][1] adds some symlinks to `yarn` in
`/usr/local/bin/`. These should be removed as part of removing `yarn`
from the Verdaccio Docker image, otherwise there will be errors when
a someone tries to re-install `yarn` in their Docker image that builds
on top of the Verdaccio one.

[1]: 02a64a08a9/18/alpine3.16/Dockerfile (L91-L92)
2023-05-30 14:53:42 +02:00
Juan Picado
c5afdbbb0c fix dependency issue renovate 2023-05-14 18:06:51 +02:00
renovate[bot]
2d6dbc7daf fix(deps): update core verdaccio dependencies (#3822)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-14 17:54:24 +02:00
renovate[bot]
a7a2d5f3e1 fix(deps): update dependency verdaccio-audit to v11.0.0-6-next.33 (#3824)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-14 17:37:43 +02:00
Juan Picado
770cd27759 feat: replace internal web search indexer (#3818)
* feat: replace internal search indexer

* chore: add import

* chore: fix tests

* add search dependency

* remove lunr-mutable-indexes
2023-05-14 13:27:09 +02:00
renovate[bot]
373c584019 fix(deps): update dependency semver to v7.5.1 (#3816) 2023-05-14 08:45:39 +02:00
renovate[bot]
271f918fc8 fix(deps): update dependency @babel/eslint-parser to v7.21.8 (#3807)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-11 07:59:46 +02:00
renovate[bot]
45f0718afc chore(deps): update typescript-eslint monorepo to v5.59.5 (#3806)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-11 07:59:32 +02:00
renovate[bot]
ca77e00882 chore(deps): update dependency @types/express to v4.17.17 (#3800) 2023-05-07 22:24:30 +02:00
renovate[bot]
6c3673cb24 chore(deps): update dependency @types/node to v18.16.5 (#3799) 2023-05-07 22:24:20 +02:00
renovate[bot]
e1ef8c2b52 chore(deps): update typescript-eslint monorepo to v5.59.2 (#3798) 2023-05-07 17:34:49 +02:00
renovate[bot]
e9c663f144 chore(deps): update dependency @types/lodash to v4.14.194 (#3797) 2023-05-07 17:34:38 +02:00
renovate[bot]
a34eb07b1d chore(deps): update dependency eslint to v8.40.0 (#3796)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-07 14:59:22 +02:00
renovate[bot]
dbe1b24b09 chore(deps): replace dependency babel-eslint with @babel/eslint-parser 7.11.0 (#3795)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-07 14:47:44 +02:00
renovate[bot]
b9cb51e78a chore(deps): update dependency prettier to v2.8.8 (#3794)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-07 14:39:08 +02:00
renovate[bot]
a23e9c8e2d chore(deps): update dependency @types/async to v3.2.20 (#3793)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-07 14:32:46 +02:00
renovate[bot]
0e5155ebad chore(deps): update babel monorepo (#3791)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-07 14:23:48 +02:00
renovate[bot]
16623cd8ab chore(deps): update yarn to v3.5.1 (#3792)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-07 14:15:06 +02:00
Juan Picado
807baba858 chore: update ci settings 2023-05-07 13:57:49 +02:00
Juan Picado
9e466946b8 chore(release): 5.24.1 2023-04-24 06:55:32 +02:00
cmkk
268c5e7740 fix: fixed an issue where logger.info in allow_action always output undefined (#3763)
logger.info({ user: user.name }, `auth/allow_action: access granted to: @{user}`);

The above log code will always output undefined
2023-04-24 06:54:52 +02:00
renovate[bot]
12d954ae2c chore(deps): update dependency eslint-config-prettier to v8.8.0 (#3757)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-22 12:15:03 +02:00
Juan Picado
3cd65b840c chore(release): 5.24.0 2023-04-22 12:00:25 +02:00
renovate[bot]
4add891d06 chore(deps): update dependency eslint to v8.39.0 (#3756)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-22 11:45:47 +02:00
renovate[bot]
dd067f5b40 chore(deps): update actions/setup-node action to v2.5.2 (#3754)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-22 11:43:42 +02:00
renovate[bot]
c4df518046 chore(deps): update actions/checkout action to v3.5.2 (#3755)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-22 11:43:33 +02:00
renovate[bot]
7710d6c6f8 chore(deps): update actions/checkout digest to 8e5e7e5 (#3753)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-22 11:42:59 +02:00
Juan Picado
d3bb520374 feat: update docker base image v18.16.0 (#3751) 2023-04-22 11:15:27 +02:00
Juan Picado
e939ca24af feat: upgrade plugin htpassw major (#3712)
Replaces default auth plugin verdaccio-htpasswd@10.x by verdaccio-htpasswd@11.x which is being used in verdaccio 6.x (almost identical)
Apply backward compabiity
Reduces maintenance (monorepo plugin can be removed)
One more step to switch v6.x
Add Node.js 12 GH Action for check backward compatibility
2023-04-22 11:08:59 +02:00
renovate[bot]
b3ea8162ac fix(deps): update dependency verdaccio-htpasswd to v10.5.5 (#3749)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-21 09:55:59 +02:00
renovate[bot]
42798df639 chore(deps): update typescript-eslint monorepo to v5.59.0 (#3747)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-20 16:12:16 +02:00
renovate[bot]
dcd530ba85 fix(deps): update dependency semver to v7.5.0 (#3733)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-17 23:22:53 +02:00
renovate[bot]
48909352a2 chore(deps): update actions/setup-node digest to 64ed1c7 (#3720)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-05 07:34:30 +02:00
Juan Picado
bf6045f9f0 chore(release): 5.23.2 2023-04-04 07:40:02 +02:00
Juan Picado
1cf229d732 chore: update dependencies (#3718) 2023-04-04 07:39:24 +02:00
renovate[bot]
cb7b1d8360 chore(deps): update jest monorepo to v29.5.0 (#3717)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-04 07:18:27 +02:00
jzhangdev
1029d7a381 fix: ui package search (#3713)
* fix: package search

* Update init.ts

---------

Co-authored-by: Juan Picado <juanpicado19@gmail.com>
2023-04-04 07:17:31 +02:00
renovate[bot]
8e79e5f4ab fix(deps): update dependency @verdaccio/config to v6.0.0-6-next.67 (#3716) 2023-04-03 23:28:03 +02:00
renovate[bot]
e8daaeec75 chore(deps): update yarn to v3.5.0 (#3714)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-03 21:11:38 +02:00
Juan Picado
c732a76a34 chore: update workflows 2023-04-03 20:59:32 +02:00
Juan Picado
81bee27c76 Update smok-test-module.yml 2023-03-31 08:33:55 +02:00
Juan Picado
980771c04d Update smok-test-module.yml 2023-03-31 08:30:29 +02:00
Juan Picado
aec4e700ba chore: add test for require module (#3710) 2023-03-31 08:28:41 +02:00
Juan Picado
6944b7de35 chore(release): 5.23.1 2023-03-23 10:26:32 +01:00
Michal Piechowiak
5d83c52da3 fix: package.json main field (#3700) 2023-03-23 10:26:17 +01:00
Juan Picado
ef12d884b6 chore(release): 5.23.0 2023-03-23 07:20:55 +01:00
Juan Picado
c95ab88e46 fix: update core dependencies 2023-03-23 07:17:45 +01:00
Juan Picado
fd78ca9772 feat: update docker image base to v18.15.0 2023-03-23 07:13:23 +01:00
Juan Picado
9a684a7cd3 chore: clean up types 2023-03-19 11:39:00 +01:00
Juan Picado
783422b4a2 refactor: migrate @verdaccio/types@11.x (#3692)
* refactor: migrate @verdaccio/types@11

* deps
2023-03-18 22:40:34 +01:00
Juan Picado
b85ba995b5 fix: add missing version on footer #3671 2023-03-18 17:32:29 +01:00
Juan Picado
ccfac8f0aa chore: update typescript (#3689) 2023-03-18 17:26:13 +01:00
Juan Picado
2a6fc98f92 fix: update core dependencies (#3688) 2023-03-18 16:56:31 +01:00
Juan Picado
4c1cc3cec8 chore(release): 5.22.1 2023-03-07 23:06:23 +01:00
Juan Picado
f6c22d3ea8 fix: #3666 experiments config fail on startup (#3668)
* fix: #3666 experiments config fail on startup

* Update experiments.yaml

* Update init.ts

* add tests

* Update bootstrap.ts

* update deps

* update deps
2023-03-07 22:50:16 +01:00
Juan Picado
335704ba2a chore(release): 5.22.0 2023-03-05 08:00:01 +01:00
Juan Picado
dd4726d82b chore: restore removed import 2023-03-03 21:55:38 +01:00
Juan Picado
8d584dddd0 chore: refactor createAnonymousRemoteUser and createRemoteUser 2023-03-03 21:50:43 +01:00
Juan Picado
d78561a3fd chore: clean up code 2023-03-03 21:40:52 +01:00
Juan Picado
e50d4d92a2 feat: improved config and token signature (#3658)
* chore: add signature module

* feat: improved config and token signature

feat: improved config and token signature

Update package.json

* chore: update deps

* types

* fix: logger missing options

* chore: update deps

* update dep

* Update e2e-jest-workflow.yml

* Update init.ts

* Update config-path.ts

* fix logger

* Update init.ts
2023-03-03 21:32:10 +01:00
Juan Picado
8c8dafc8a0 chore(release): 5.21.2 2023-02-25 08:21:10 +01:00
Juan Picado
ed80a25c08 fix: update dependencies (#3649)
* fix: update dependencies

* chore: restore types

* chore: update deps
2023-02-25 08:02:58 +01:00
薄涛
e4573c7e15 fix: avoid setting body for GET requests (#3643)
* fix: avoid setting body for GET requests

When making a GET request to certain uplinks, such as https://registry.npmmirror.com, setting the body field can result in a 413 error. Previously, the code was setting the body field for all requests, including GET requests.

This commit fixes the issue by checking the request method and avoiding setting the body field for GET requests. This ensures that GET requests are not affected by the issue and can be made without error.

Fixes #3601

* add missing deps for run test locally

* test(up-storage): add unit test about uplink is npmmirror

Cause thers is a bug in `isObject` function from `@verdaccio/core`, when `options.json` is `true`
GET request body will be string 'true', some uplinks might return 413 status code such as
https://registry.npmmirror.com

fix #3601

* chore(deps): update @verdaccio/core

---------

Co-authored-by: Juan Picado <juanpicado19@gmail.com>
Co-authored-by: botao <botao@tal.com>
2023-02-24 07:18:18 +01:00
Juan Picado
164d9d2185 add missing deps for run test locally 2023-02-22 07:51:32 +01:00
Juan Picado
7752424de0 chore(release): 5.21.1 2023-02-14 22:33:30 +01:00
Juan Picado
d157131225 chore: remove changelog failures on master 2023-02-14 22:33:04 +01:00
Juan Picado
5385f33991 Update trigger-release.ts 2023-02-14 22:32:40 +01:00
Juan Picado
4105fecf4c fix: restore @verdaccio/ui-theme version 2023-02-14 22:32:01 +01:00
Juan Picado
a858c2161b chore(release): 5.21.0 2023-02-14 22:25:08 +01:00
Juan Picado
f9f269ee04 feat: refactor render middleware and audit plugin (#3602)
* chore: replace web middleware

* clean up

* migrate user agent

* migrate rate limit

* clean up

* replace audit plugin

* feat: refactor render middleware and audit plugin

* update deps

* update deps

* update packages

* update deps

* chore: update deps

* update deps

* update config dep

* chore: update deps

* update deps
2023-02-14 22:20:11 +01:00
Juan Picado
bf9ed26d90 feat: replace middleware and logger core (#3586)
Use verdaccio 6 modules for middleware and logger with pino 7
2023-02-09 21:42:24 +01:00
Juan Picado
cbe4a17337 chore(release): 5.20.1 2023-01-29 16:43:03 +01:00
Juan Picado
fc7cdc19bb chore: test types on builds 2023-01-29 16:25:36 +01:00
Juan Picado
45d7c95a08 fix: pushed wrong types library and broken build 2023-01-29 16:24:58 +01:00
Juan Picado
7439c8d120 chore(release): 5.20.0 2023-01-29 15:34:10 +01:00
Juan Picado
3320b4dfe2 fix: update docker base to 18.13.0 (#3579) 2023-01-28 17:42:38 +01:00
Juan Picado
bae430fe24 feat: refactor test and use verdaccio 6 core modules (#3569)
chore: clean up comments

remove commitlint

update deps

add new tests

test

separate ci

test

test

test

test

test

test

chore: add preprelase

test

test

test

test

test

chore: update deps

Update release-snapshot.yml

Update .npmignore

test

chore: remove @verdaccio/commons-api dep

chore: cleanup

remove normalizeContributors

remove validateMetadata

fix test

clean up getLocalRegistryTarballUri

Update store.spec.ts

clean up convertDistRemoteToLocalTarballUrls

chore: update libraries

reuse getPublic url

clean up

Update jest.config.js

Update jest.config.js

update nvmrc

add tests
2023-01-28 14:39:37 +01:00
Juan Picado
50a20e922b chore: fix automated release notes on publish (#3568)
* chore: fix automated release notes on publish

* chore: fix automated release notes on publish
2023-01-19 22:53:05 +01:00
Juan Picado
d1519228a3 fix: update dependencies (#3567)
* chore: update dependencies

* chore: update batch 2
2023-01-19 00:21:28 +01:00
Juan Picado
a8a992cfb6 chore: upgrade jest 29 (#3566)
* chore: upgrade jest 29

* Update api.spec.ts
2023-01-19 00:09:24 +01:00
Juan Picado
57ac3389f1 chore: removed unused files 2023-01-18 22:50:29 +01:00
Juan Picado
6df04e1ce1 chore: upgrade eslint and prettier (#3565) 2023-01-18 22:49:28 +01:00
Juan Picado
0c315c588c chore(release): 5.19.1 2023-01-07 22:32:17 +01:00
Juan Picado
a774e29715 fix: include ts types and systemd into the published package (#3556) 2023-01-07 22:31:44 +01:00
Juan Picado
3032fc8b28 chore(release): 5.19.0 2022-12-25 22:25:54 +01:00
Juan Picado
99a39d55a2 feat(security): update dependencies (#3540)
* fix:  update dependencies

https://security.snyk.io/vuln/SNYK-JS-JSONWEBTOKEN-3180020

* chore: clean cache

* Update ci.yml

* Update ci.yml
2022-12-25 21:56:24 +01:00
Juan Picado
65f00d33d2 chore: update readme 2022-12-17 13:54:37 +01:00
Juan Picado
64d2ae6ee0 Update smok-test-docker.yml 2022-12-04 11:03:08 +01:00
Juan Picado
01dffb2748 Update smok-test-docker.yml 2022-12-04 10:57:19 +01:00
Juan Picado
8a5daa92ab Update smok-test-docker.yml 2022-12-04 10:53:45 +01:00
Juan Picado
82326e7c5c Create smok-test-docker.yml 2022-12-04 10:50:32 +01:00
Juan Picado
9353b3ebf0 fix: update core dependencies (#3519) 2022-12-03 17:58:46 +01:00
Juan Picado
34ac91f7cb chore(release): 5.18.0 2022-11-23 07:47:23 +01:00
Juan Picado
0b49566176 fix: add hasInstallScript calculation (#3509)
* fix: add hasInstallScript calculation

* Update storage-utils.ts

* chore: add tests
2022-11-23 07:35:10 +01:00
Juan Picado
a0a0654f15 Update package.json 2022-11-22 19:50:02 +01:00
Juan Picado
0a0b772f52 feat: export module types (#3508)
* chore: export types to the module

* chore: remove unused dep

* chore: format

* Update package.json
2022-11-22 18:35:47 +01:00
Juan Picado
83ed963f20 chore(release): 5.17.0 2022-11-19 22:02:15 +01:00
Juan Picado
8715a5cfa2 feat: highlight readme source code (#3506)
* feat: highlight readme source code

* chore: fix tests

* Delete utils.spec.ts.snap
2022-11-19 22:00:56 +01:00
Juan Picado
07144c9886 fix(sec): update base image to v18.12.1-alpine (#3489) 2022-11-09 20:23:27 +01:00
Juan Picado
32535002f4 chore(release): 5.16.3 2022-11-08 20:40:59 +01:00
Juan Picado
32ecdfb301 fix: remove dry run
^_^ not my best release day
2022-11-08 20:40:34 +01:00
Juan Picado
1500f9272e chore(release): 5.16.2 2022-11-08 20:37:55 +01:00
Juan Picado
1f477bd6e8 fix: release package
mixing npm and yarn is something to fix, not good mix
2022-11-08 20:37:46 +01:00
Juan Picado
c7e6222b69 chore: restore npmignore 2022-11-08 20:35:46 +01:00
Juan Picado
4573ad9c8a chore: test release 5.x 2022-11-08 20:32:30 +01:00
Juan Picado
6eb1ea595f chore: test release on ci 2022-11-08 20:30:07 +01:00
Juan Picado
9735e6e401 chore(release): 5.16.1 2022-11-08 20:14:12 +01:00
Juan Picado
61e01368f4 fix: missing files on release
this happens when you remove e2e cli :(
2022-11-08 20:13:54 +01:00
Juan Picado
0a3c66938a chore(release): 5.16.0 2022-11-08 19:47:02 +01:00
Juan Picado
7a000bccdb fix: update core deps (#3485)
* fix: update core deps

* Update e2e-gatsbyjs-cli-workflow.yml

* Update e2e-gatsbyjs-cli-workflow.yml

* Update e2e-gatsbyjs-cli-workflow.yml
2022-11-08 19:45:25 +01:00
Juan Picado
ebaaf3f681 feat: docker image refactor a new internal binary run (#3475) 2022-11-08 07:29:19 +01:00
Juan Picado
644938c0f3 feat: update to docker base image to node v18.12.0 (#3469)
* feat: update to  node v18.12.0

* Delete ci-e2e.yml
2022-11-02 23:09:15 +01:00
Juan Picado
e62cd006ea chore: update yarn 3.x (#3394)
* chore: update yarn

chore: update yarn

Update .pnp.cjs

* chore: rebase from 5.x

* chore: remove cli test

* chore: update jest

* chore: restore jest

* Update Dockerfile

* Update ci.yml

* chore: remove node linker

* restore docker file

* Update ci.yml
2022-11-02 22:52:53 +01:00
Juan Picado
e549d381db chore: clean up project 5.x (#3468)
* chore: clean up project

* Update ci-e2e.yml
2022-11-02 21:41:58 +01:00
renovate[bot]
106e00a751 fix(deps): update dependency dayjs to v1.11.6 (#3459)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-27 08:06:18 +02:00
Juan Picado
829173e3d7 chore: add node 19 to ci (#3450) 2022-10-18 21:34:36 +02:00
renovate[bot]
b3b44f6317 fix(deps): update dependency body-parser to v1.20.1 (#3438)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-15 16:31:34 +02:00
renovate[bot]
1a1572ff9e fix(deps): update dependency marked to v4.1.1 (#3439)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-15 16:31:21 +02:00
renovate[bot]
128ab21a8a fix(deps): update dependency express to v4.18.2 (#3435)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-15 12:56:42 +02:00
renovate[bot]
d8eae392ff chore(deps): update babel monorepo (#3407)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-29 19:01:17 +02:00
Juan Picado
5ad1bf8c4f chore(release): 5.15.4 2022-09-29 08:11:09 +02:00
Juan Picado
1d6b7632d7 fix: docker base image upgraded 14.20.1 (#3405) 2022-09-29 08:09:12 +02:00
renovate[bot]
be5c9f93ed fix(deps): update dependency @verdaccio/ui-theme to v6.0.0-6-next.48 (#3404)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-29 07:58:18 +02:00
renovate[bot]
b0a965b3c2 chore(deps): pin dependencies (#3374)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-13 20:11:09 +02:00
Juan Picado
6226e2953d chore(release): 5.15.3 2022-09-07 17:52:46 +02:00
Juan Picado
90e7cfd1ed fix: remove stringify with space responses (#3364) 2022-09-07 17:52:10 +02:00
Juan Picado
b000fafc2d chore(release): 5.15.2 2022-09-05 21:37:16 +02:00
Juan Picado
cdb80aac20 fix: get header by quality priority value (#3359)
* fix: get header by quality priority value

* chore: disable some workflows

* chore: add more tests

* chore: remove some duplicated testss

* chore: return right content type haders
2022-09-05 21:36:23 +02:00
Juan Picado
8ac917deb2 chore(release): 5.15.1 2022-09-04 08:39:04 +02:00
Zoltan Kochan
317177a937 fix: add missing fields to abbreviated metadata (#3347)
* fix: add missing fields to abbreviated metadata

The abbreviated metadata should include the cpu, os, and peerDependenciesMeta fields

* chore: update types

Co-authored-by: Juan Picado <juanpicado19@gmail.com>
2022-09-04 08:24:40 +02:00
Juan Picado
60be3e6cd0 chore(release): 5.15.0 2022-09-03 19:22:57 +02:00
renovate[bot]
354f9ee16c fix(deps): update dependency marked to v4.1.0 (#3346)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-03 19:09:44 +02:00
renovate[bot]
628616ce32 fix(deps): update dependency lru-cache to v7.14.0 (#3345)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-03 19:08:12 +02:00
Juan Picado
966139ffd8 feat: implement abbreviated manifest (#3343)
* feat: implement abbreviated manifest

Follow up of https://github.com/verdaccio/verdaccio/pull/3322
Fixes for 5.x https://github.com/verdaccio/verdaccio/issues/2792

* chore: improve expects

* chore: fix test
2022-09-03 17:55:45 +02:00
Juan Picado
01b487b908 chore: update readme 2022-09-03 14:13:50 +02:00
Juan Picado
7ce2727bf3 chore: update readme 2022-09-03 14:09:33 +02:00
Juan Picado
63e8cc7d65 chore: update readme 2022-09-03 07:16:11 +02:00
renovate[bot]
b1ec0daeca fix(deps): update dependency @verdaccio/ui-theme to v6.0.0-6-next.28 (#3335)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-28 17:05:13 +02:00
renovate[bot]
b80794a46f fix(deps): update dependency marked to v4.0.19 (5.x) (#3328)
* fix(deps): update dependency marked to v4.0.19

* Update e2e-jest-workflow.yml

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Juan Picado <juanpicado19@gmail.com>
2022-08-27 18:45:30 +02:00
renovate[bot]
f810cea0cc chore(deps): update dependency standard-version to v9.5.0 (#3314)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-20 11:23:18 +02:00
renovate[bot]
80755f21c9 fix(deps): update dependency @verdaccio/ui-theme to v6.0.0-6-next.26 (#3313) 2022-08-20 11:07:15 +02:00
renovate[bot]
296fe5af60 chore(deps): update dependency supertest to v6.2.4 (#3299)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-17 17:15:39 +02:00
renovate[bot]
6a2b2fa36a fix(deps): update dependency dayjs to v1.11.5 (#3300)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-17 17:15:28 +02:00
renovate[bot]
8b204b3918 chore(deps): update babel monorepo (#3297)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-08 18:47:08 +02:00
Juan Picado
6cb96d7fd9 chore(release): 5.14.0 2022-07-29 20:19:51 +02:00
Ed Clement
0bc26e395a feat: allow express 'trust proxy' to be set for ip resolution behind proxies and load-balancers (#3274) 2022-07-29 20:19:03 +02:00
renovate[bot]
d995cc516e fix(deps): update dependency lru-cache to v7.13.1 (#3268)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-16 13:58:26 +02:00
renovate[bot]
080bd4578f fix(deps): update dependency @verdaccio/readme to v10.4.1 (#3267)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-16 13:58:14 +02:00
Juan Picado
eddabb3de7 chore(release): 5.13.3 2022-07-13 21:31:14 +02:00
renovate[bot]
0a611c0b7d fix(deps): update dependency lru-cache to v7.13.0 (#3266)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-13 21:30:47 +02:00
renovate[bot]
b3f964d93a fix(deps): update dependency marked to v4.0.18 (#3264) 2022-07-13 20:02:12 +02:00
renovate[bot]
531f4685ab fix(deps): update dependency @verdaccio/readme to v10.4.0 (#3265) 2022-07-13 18:58:47 +02:00
renovate[bot]
cc1c2a5e50 fix(deps): update dependency kleur to v4.1.5 (#3263) 2022-07-13 18:36:02 +02:00
Juan Picado
e1b69d2d4f chore(release): 5.13.2 2022-07-12 22:31:02 +02:00
renovate[bot]
af9cc6d4f9 fix(deps): update dependency @verdaccio/ui-theme to v6.0.0-6-next.25 (#3258)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-12 22:26:35 +02:00
Lukas Immesberger
5f83dc294e fix: update nodejs to 14.20.0 to fix CVE-2022-32212 (#3262) 2022-07-12 22:26:18 +02:00
renovate[bot]
fc253b1b78 chore(deps): update babel monorepo (#3259)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-12 22:26:04 +02:00
Juan Picado
f6fda6b27c chore(release): 5.13.1 2022-06-23 08:18:13 +02:00
renovate[bot]
991cf1083d fix(deps): update dependency @verdaccio/local-storage to v10.3.1 (#3245)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-23 08:15:45 +02:00
renovate[bot]
236b6bfeda chore(deps): update dependency prettier to v2.7.1 (#3243)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-22 23:01:14 +02:00
renovate[bot]
884e05b13e fix(deps): update dependency verdaccio-htpasswd to v10.5.0 (#3242)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-22 22:34:04 +02:00
Juan Picado
78c789c76c chore: update readme 2022-06-22 22:33:41 +02:00
Juan Picado
5075030749 chore: update readme 2022-06-22 21:34:26 +02:00
Juan Picado
88f15b1131 chore: update readme 2022-06-22 21:33:52 +02:00
Juan Picado
40efe64517 chore: update readme 2022-06-22 21:33:01 +02:00
Juan Picado
23b5c1d6ef aling eslint config with main branch (#3238)
* chore: update linter tools

* fix: eslint warnings

* fix: eslint warnings

* chore: set max warnings
2022-06-19 21:26:46 +02:00
Juan Picado
f8df6d2ef9 chore(release): 5.13.0 2022-06-17 05:32:08 +02:00
Juan Picado
87fbc0fb7c feat: allow other password hashing algorithms (#3229) 2022-06-14 21:56:50 +02:00
Juan Picado
3c06bbd1d2 chore(release): 5.12.0 2022-06-14 07:48:04 +02:00
Juan Picado
5c50ec9a2c feat: add scope support loading plugins (#3227)
* feat: add scope support loading plugins

* format

* Update src/lib/plugin-loader.ts

Co-authored-by: Michael Prentice <splaktar@gmail.com>

* Update src/lib/plugin-loader.ts

Co-authored-by: Michael Prentice <splaktar@gmail.com>

* chore: add tests

* chore: add comment

* format

* chore: update dep

* chore: add better name

Co-authored-by: Michael Prentice <splaktar@gmail.com>
2022-06-14 07:47:17 +02:00
renovate[bot]
9d9c086ba3 fix(deps): update dependency marked to v4.0.17 (#3226)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-13 23:15:19 +02:00
renovate[bot]
325e536f03 fix(deps): update dependency dayjs to v1.11.3 (#3225)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-13 22:27:53 +02:00
renovate[bot]
c486af23ea fix(deps): update dependency async to v3.2.4 (#3224)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-13 22:27:41 +02:00
renovate[bot]
2b8ac7a1ac fix(deps): update dependency @verdaccio/local-storage to v10.3.0 (#3223)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-13 22:07:28 +02:00
renovate[bot]
03e52940cc chore(deps): update dependency verdaccio-memory to v10.3.0 (#3222)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-13 22:07:18 +02:00
renovate[bot]
4f8c4a46cf chore(deps): update dependency @verdaccio/types to v10.5.1 (#3221)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-13 22:07:04 +02:00
renovate[bot]
25a2825f8b fix(deps): update dependency verdaccio-htpasswd to v10.3.1 (#3220)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-13 21:38:47 +02:00
renovate[bot]
d5fa7fb7b4 chore(deps): update dependency @verdaccio/eslint-config to v10 (#3219)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-13 21:18:13 +02:00
renovate[bot]
7bc60ffca8 fix(deps): update dependency lru-cache to v7.10.1 (#3182) 2022-06-02 21:01:15 +02:00
renovate[bot]
e5dbd9bbd1 fix(deps): update dependency minimatch to v5.1.0 (#3183) 2022-06-02 21:01:02 +02:00
Juan Picado
e9542d2fda chore(release): 5.11.0 2022-06-02 17:57:49 +02:00
Juan Picado
42194c7302 feat: run server init as promise (#3210)
* feat: run server init as promise

* chore: format

* fix: format

* fix: format

* fix: restore files

* fix: restore files

* fix: disable steps

* fix: init log on cli

* fix: init log on cli

* fix: init log on cli

* fix: init log on cli

* fix: init log on cli

* fix: init log on cli

* fix: init log on cli

* fix: init log on cli

* fix: init log on cli

* fix: init log on cli

* fix: init log on cli
2022-06-02 17:39:49 +02:00
renovate[bot]
4f59bb8f20 chore(deps): update actions/checkout action to v3.0.2 (#3185)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-30 22:27:08 +02:00
Juan Picado
78d4078b75 chore(release): 5.10.3 2022-05-30 18:32:46 +02:00
renovate[bot]
acfa4ea781 chore(deps): update dependency verdaccio-memory to v10.2.1 (#3204)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-30 18:23:22 +02:00
renovate[bot]
9e743f493e fix(deps): update dependency verdaccio-audit to v10.2.2 (#3201) 2022-05-30 16:13:32 +02:00
renovate[bot]
2443900329 fix(deps): update dependency @verdaccio/readme to v10.3.4 (#3197)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-30 07:21:01 +02:00
renovate[bot]
2373f4126d chore(deps): update babel monorepo to v7.17.12 (#3186)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-19 20:39:39 +02:00
renovate[bot]
a17378d252 fix(deps): update dependency marked to v4.0.16 (#3187)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-19 19:57:16 +02:00
Juan Picado
e427ee40f2 chore(release): 5.10.2 2022-05-07 11:06:35 +02:00
renovate[bot]
5fffeacda9 fix(deps): update dependency express to v4.18.1 (#3160)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-07 11:01:37 +02:00
renovate[bot]
f16a1ea68d fix(deps): update dependency lru-cache to v7.9.0 (#3161)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-07 11:01:06 +02:00
renovate[bot]
cd39a429b6 fix(deps): update dependency dayjs to v1.11.2 (#3159)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-07 11:00:56 +02:00
Juan Picado
adfbefc59e fix: remove lru deprecation warning (#3158)
* fix: remove lru deprecation warning

* fix: format
2022-05-07 10:36:56 +02:00
renovate[bot]
0a1e9d649f chore(deps): update dependency supertest to v6.2.3 (#3155)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-07 09:51:51 +02:00
renovate[bot]
a4037343e2 chore(deps): update babel monorepo (#3157)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-07 09:51:34 +02:00
renovate[bot]
61249a4edd fix(deps): update dependency marked to v4.0.15 (#3153)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-05 08:10:16 +02:00
Juan Picado
559a7343d6 chore(release): 5.10.1 2022-05-05 07:54:33 +02:00
Juan Picado
923e63c5f0 chore: update vscode settings 2022-05-05 07:51:29 +02:00
Juan Picado
4457ce5a6e chore: update readme 2022-05-05 07:51:15 +02:00
Juan Picado
51803c3477 fix: duplicated groups on use jwt tokens (#3151)
* fix: duplicated groups on use jwt tokens

* chore: format

* chore: fix jest ci
2022-05-05 00:13:55 +02:00
Juan Picado
34b7394bcf chore(release): 5.10.0 2022-04-26 20:05:18 +02:00
renovate[bot]
abb8b60356 chore(deps): update dependency @types/lodash to v4.14.182 (#3139)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-23 08:19:55 +02:00
renovate[bot]
dcb181a7d7 chore(deps): update dependency ts-node to v10.7.0 (#3140)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-21 17:27:07 +02:00
Juan Picado
c62bc4e538 chore: node 18 on 5.x ci (#3138) 2022-04-21 08:22:04 +02:00
Juan Picado
95212188d4 chore: remove duplication 2022-04-18 19:59:21 +02:00
renovate[bot]
39c7a0905e chore(deps): update dependency fs-extra to v10.1.0 (#3133) 2022-04-18 12:05:06 +02:00
renovate[bot]
fff9905eec chore(deps): update dependency @types/lodash to v4.14.181 (#3134)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-18 09:45:21 +02:00
Juan Picado
b6e1a672c3 chore: upgrade notes config files 2022-04-18 09:10:36 +02:00
Juan Picado
5c650acbb2 chore: improving configuration documentation 2022-04-18 08:55:52 +02:00
renovate[bot]
27035f9403 fix(deps): update dependency dayjs to v1.11.1 (#3131) 2022-04-18 05:33:46 +02:00
renovate[bot]
da01a14e70 feat(deps): update dependency @verdaccio/ui-theme to v6.0.0-6-next.24 (5.x) (#3130)
* fix(deps): update dependency @verdaccio/ui-theme to v6.0.0-6-next.24

* chore: add missing props to ui

* chore: add missing props to ui

* chore: add missing props to ui

* chore: add missing props to ui

* chore: add missing props to ui

* chore: add docs

* chore: format file

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Juan Picado <juanpicado19@gmail.com>
2022-04-17 23:39:00 +02:00
renovate[bot]
157d5c5ce4 fix(deps): update dependency semver to v7.3.7 (#3121)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-12 21:43:51 +02:00
renovate[bot]
78b9c8b33e fix(deps): update dependency @verdaccio/readme to v10.3.3 (#3119)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-12 21:43:34 +02:00
renovate[bot]
decd7f1e5c fix(deps): update dependency verdaccio-audit to v10.2.1 (#3122)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-12 21:43:18 +02:00
renovate[bot]
8a60050b8b fix(deps): update dependency marked to v4.0.14 (#3120)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-12 20:15:20 +02:00
renovate[bot]
7ceaa1799c fix(deps): update dependency lru-cache to v7 (#3124)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-12 20:13:54 +02:00
renovate[bot]
954886d2db fix(deps): update dependency body-parser to v1.20.0 (#3123)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-12 20:13:04 +02:00
renovate[bot]
0f9d6eca34 fix(deps): update dependency @verdaccio/local-storage to v10.2.1 (#3118)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-12 20:12:36 +02:00
Juan Picado
f3691b0fcd chore(release): 5.9.0 2022-04-12 17:11:47 +02:00
Tiny
b30ba81b86 feat(web): add a config item to web,let the developer can select whether enable the html cache (#3110)
* Add a config item to web,let the developer can select whether enable the html cache

* Add a config item to web,let the developer can select whether enable the html cache

* chore: move check close to other configuration

* chore: update configuration files to suggest new option on web

* chore: format fix

Co-authored-by: fengdi <fengdi@bbktel.com>
Co-authored-by: Juan Picado <juanpicado19@gmail.com>
2022-04-11 23:00:43 +02:00
renovate[bot]
b963f7db2a fix(deps): update dependency @verdaccio/ui-theme to v6.0.0-6-next.23 (#3106) 2022-04-05 19:30:44 +02:00
renovate[bot]
4cc18773b7 fix(deps): update dependency dayjs to v1.11.0 (#3094) 2022-03-28 06:40:25 +02:00
renovate[bot]
a7bbab90f0 chore(deps): update dependency @types/lodash to v4.14.180 (#3085)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-26 12:36:58 +01:00
renovate[bot]
8cee85f811 fix(deps): update dependency body-parser to v1.19.2 (#3087)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-26 12:36:36 +01:00
renovate[bot]
ab4f922ffc chore(deps): update dependency fs-extra to v10.0.1 (#3086)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-26 12:02:06 +01:00
renovate[bot]
48a84093f5 chore(deps): update actions/checkout action (#3083)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-26 12:01:50 +01:00
renovate[bot]
7949a3011e chore(deps): update babel monorepo (#3088)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-26 12:01:31 +01:00
Juan Picado
662a05dc90 chore: remove npm 7 jest 2022-03-26 11:02:55 +01:00
Juan Picado
3f8047a2d0 chore: fix e2e pnpm7 2022-03-24 07:52:02 +01:00
Juan Picado
7e30384456 chore: remove argument pnpm e2e 2022-03-23 20:49:33 +01:00
Juan Picado
d461fdf516 chore(release): 5.8.0 2022-03-12 23:13:17 +01:00
Juan Picado
2ad085a8e2 feat: update ui with new modal banner (#3062) 2022-03-12 23:13:07 +01:00
Juan Picado
5a0611fe9c chore(release): 5.7.1 2022-03-08 18:45:09 +01:00
renovate[bot]
ace754ddff fix(deps): update dependency @verdaccio/ui-theme to v6.0.0-6-next.21 (#3050)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-08 18:42:21 +01:00
Juan Picado
0f51a6ced5 fix: missing colors on terminal (#3049) 2022-03-08 18:30:29 +01:00
renovate[bot]
1221ffd512 fix(deps): update dependency dayjs to v1.10.8 (#3036) 2022-03-05 12:35:08 +01:00
renovate[bot]
24830e06e8 fix(deps): update dependency verdaccio-htpasswd to v10.3.0 (#3038) 2022-03-05 12:33:27 +01:00
renovate[bot]
21c66f65c3 fix(deps): update dependency express to v4.17.3 (#3039) 2022-03-05 12:33:14 +01:00
renovate[bot]
2ef97d4847 fix(deps): update dependency minimatch to v5 (#3035)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-05 11:06:50 +01:00
Juan Picado
e88571fa3e chore: enable test e2e pnpm7 (#3033)
* enable test e2e pnpm7

* chore: add npm8

* chore: rename title

* chore: skip flaky tests added note
2022-03-04 21:08:18 +01:00
Juan Picado
db51c6a350 chore(release): 5.7.0 2022-03-04 19:27:15 +01:00
renovate[bot]
87e5e74ea4 fix(deps): update dependency @verdaccio/ui-theme to v6.0.0-6-next.20 (#3028)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-03 23:22:28 +01:00
osher
ac45c0b5b2 feature: config control for colors in logs (#3011)
* pass `logs.colors` as `prettyOptions.colorize`

* `prettyPrintOptions` defaults is no concern of `createLogger`

* call it `colors` not to confuse with `pinoPretty.colorize`

* fix hardcoded `true` for `options.colors`

* Support `VERDACCIO_LOGGER_COLORS` overriding env-var

* Update docs for `VERDACCIO_LOGGER_COLORS`

* docs for `VERDACCIO_LOGGER_COLORS`

* docs for `VERDACCIO_LOGGER_COLORS`

* `.isTTY` from `stdout` not `stdin`

both work, but I want to ask if I emit to TTY, not if I consume from TTY.

* .md format

* format

* more format guesses

* declare `PrettyOptionsExtended.colors`

* lint

* docs: `EXPERIMENTAL__` prefix

* logger.ts - prefix `EXPERIMENTAL__`

* Update env.variables.md

* env.variables.md - remove double `_`

* Update logger.ts

* logger.ts - remove double `_`, fix boolean parsing

* env.variables.md - explain boolean parsing

* chore: format

* chore: add format, improve logic

Co-authored-by: Juan Picado <juanpicado19@gmail.com>
2022-03-02 23:41:30 +01:00
Juan Picado
7f04697175 chore(release): 5.6.2 2022-02-27 00:02:51 +01:00
renovate[bot]
7cff3f7693 fix(deps): update dependency @verdaccio/ui-theme to v6.0.0-6-next.18 (#3019)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-26 23:51:01 +01:00
renovate[bot]
08b72b4663 fix(deps): update dependency pino to v6.14.0 (#3018)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-26 23:36:43 +01:00
Juan Picado
541aca922e chore(release): 5.6.1 2022-02-26 19:11:46 +01:00
renovate[bot]
f57508d6f3 fix(deps): update dependency @verdaccio/ui-theme to v6.0.0-6-next.17 (#3014)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-26 19:08:23 +01:00
Juan Picado
2a6f1d5475 chore(release): 5.6.0 2022-02-15 19:28:14 +01:00
renovate[bot]
8fd8a1659a chore(deps): update dependency verdaccio-memory to v10.2.0 (#2994)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-15 13:21:40 +01:00
renovate[bot]
ea199b229d chore(deps): update dependency @verdaccio/types to v10.3.0 (#2997)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-15 12:34:16 +01:00
renovate[bot]
25b22128b8 fix(deps): update dependency verdaccio-htpasswd to v10.2.0 (#2999)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-15 12:34:04 +01:00
renovate[bot]
60fea02ad1 fix(deps): update dependency @verdaccio/streams to v10.2.0 (#2995) 2022-02-14 23:13:28 +01:00
renovate[bot]
57c4ce5a19 fix(deps): update dependency verdaccio-audit to v10.2.0 (#2998) 2022-02-14 23:13:15 +01:00
renovate[bot]
fee3ac670a fix(deps): update dependency @verdaccio/readme to v10.3.2 (#2984)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-14 22:35:13 +01:00
osher
681dc821aa feat: new environment variable (storage path) (#2993)
* WIP: port PR#2199 to master into 5.x

* port PR#2199 to master to 5.x - env.variables.md

* port PR#2199 to master to 5.x - config.spec

* Update config.spec.ts

* Update config.spec.ts

* fix format

Co-authored-by: Juan Picado <juanpicado19@gmail.com>
2022-02-14 21:05:59 +01:00
renovate[bot]
63fc4d1baf fix(deps): update dependency @verdaccio/commons-api to v10.2.0 (#2986)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-13 12:22:50 +01:00
renovate[bot]
1db0a2ebf5 fix(deps): update dependency @verdaccio/local-storage to v10.2.0 (#2987)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-13 11:53:35 +01:00
renovate[bot]
92dca9887a chore(deps): update dependency verdaccio-auth-memory to v10.2.0 (#2982)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-13 09:54:52 +01:00
renovate[bot]
2cd4a3bb07 fix(deps): update dependency marked to v4.0.12 (#2976)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-07 22:00:45 +01:00
Juan Picado
09e8afcc8c chore(release): 5.5.2 2022-01-27 07:45:14 +01:00
Martin Sander
b964c0d488 fix: re-opening log files using SIGUSR2 (#2966)
by @marvinthepa
2022-01-26 20:25:34 +01:00
Juan Picado
c40d01a0ea chore(release): 5.5.1 2022-01-24 21:25:08 +01:00
Juan Picado
de7713ecc1 fix: remove engines restriction from ui-theme dependency 2022-01-24 21:22:28 +01:00
renovate[bot]
50097976ed fix(deps): update dependency marked to v4 (#2956)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-23 13:17:16 +01:00
renovate[bot]
ac4392a221 fix(deps): update dependency mime to v3 (#2957)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-23 13:12:57 +01:00
Juan Picado
e9902ecd4b chore(release): 5.5.0 2022-01-22 16:27:48 +01:00
Juan Picado
d36b8b1e00 feat: upgrade @verdaccio-ui-theme 2022-01-22 16:18:09 +01:00
Juan Picado
1a7b1ee8ad feat: add new options to the web disable login and pkg managers (#2947) 2022-01-22 10:58:04 +01:00
renovate[bot]
d6415d4dc3 chore(deps): update dependency supertest to v6.2.2 (#2938)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-22 09:50:26 +01:00
renovate[bot]
f9301d1827 chore(deps): update dependency jest-junit to v12.3.0 (#2944) 2022-01-21 21:54:07 +01:00
renovate[bot]
3a9d773415 fix(deps): update dependency verdaccio-audit to v10.1.1 (#2935) 2022-01-20 23:58:32 +01:00
renovate[bot]
8a75f8cc36 fix(deps): update dependency @verdaccio/readme to v10.2.1 (#2933)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-20 22:30:01 +01:00
renovate[bot]
e2eb6ce27f fix(deps): update dependency async to v3.2.3 (#2934)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-20 19:57:56 +01:00
renovate[bot]
8c7e39e8f3 fix(deps): update dependency @verdaccio/local-storage to v10.1.1 (#2932)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-20 19:05:03 +01:00
renovate[bot]
6110e51a83 chore(deps): update babel monorepo (#2929)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-20 18:28:18 +01:00
renovate[bot]
881367925c chore(deps): update dependency @types/express-serve-static-core to v4.17.28 (#2914)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-19 08:03:46 +01:00
renovate[bot]
b2bef8dfbc chore(deps): update dependency @octokit/rest to v18.12.0 (#2921)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-19 07:59:12 +01:00
renovate[bot]
eb65ba6e11 chore(deps): update dependency @types/http-errors to v1.8.2 (#2915)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-16 10:20:26 +01:00
renovate[bot]
ce3aa50d9a chore(deps): update dependency selfsigned to v1.10.14 (#2907)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-16 09:40:39 +01:00
renovate[bot]
d9cebcdbd9 chore(deps): update dependency @babel/register to v7.16.9 (#2911)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-16 09:12:56 +01:00
Juan Picado
b79266d54e feat: use backward compatible UI from v6 on v5 (#2912)
* feat: upgrade ui theme plugin v4

* chore: fix e2e

* fix: format

* chore: update theme ui
2022-01-15 20:51:14 +01:00
renovate[bot]
dad89bc72c chore(deps): update dependency @types/minimatch to v3.0.5 (#2894)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-13 20:21:15 +01:00
renovate[bot]
bd883cbe2b chore(deps): update dependency @types/serve-static to v1.13.10 (#2906)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-12 21:18:48 +01:00
renovate[bot]
c3849b314a chore(deps): update dependency @types/semver to v7.3.9 (#2904) 2022-01-11 18:32:07 +01:00
renovate[bot]
2bced91cd0 chore(deps): update babel monorepo to v7.16.8 (#2901) 2022-01-11 17:42:24 +01:00
renovate[bot]
511fc8f1e0 chore(deps): update dependency @types/jest to v26.0.24 (#2892)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-11 00:11:30 +01:00
renovate[bot]
ad938ac795 chore(deps): update dependency @types/request to v2.48.8 (#2895)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-10 22:21:44 +01:00
renovate[bot]
a99ea00c3a chore(deps): update actions/checkout action to v2.4.0 (#2896)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-10 22:21:30 +01:00
renovate[bot]
6ca7cced1e chore(deps): update actions/setup-node action to v2.5.1 (#2897)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-10 22:20:47 +01:00
renovate[bot]
9e27aa9d3c chore(deps): update dependency @types/lodash to v4.14.178 (#2893)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-10 00:16:37 +01:00
renovate[bot]
63c2ec1f89 chore(deps): update dependency @types/express to v4.17.13 (#2889) 2022-01-09 23:44:54 +01:00
renovate[bot]
bd738ecf60 fix(deps): update dependency fast-safe-stringify to v2.1.1 (#2891) 2022-01-09 23:21:08 +01:00
renovate[bot]
a6131f0748 chore(deps): update dependency @types/express-serve-static-core to v4.17.27 (#2890)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-09 22:44:02 +01:00
Juan Picado
22cfea0907 fix: update docker to v14.18.2 (#2888) 2022-01-09 22:15:12 +01:00
Juan Picado
ec98159c3c fix: update babel and core dependencies (#2887) 2022-01-09 22:02:47 +01:00
Juan Picado
558fcafc71 build: format code prettier, enable ci (#2886)
* fix: format code prettier, enable ci

* chore: add trivago import prettier pluggin
2022-01-09 20:51:50 +01:00
renovate[bot]
23d0bd7056 fix(deps): update all non-major linting dependencies (5.x) (#2885)
* fix(deps): update all non-major linting dependencies

* fix lint issues

* chore: increase timeout

* chore: increase timeout

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Juan Picado <juanpicado19@gmail.com>
2022-01-09 20:31:26 +01:00
renovate[bot]
1ec77e7605 fix(deps): update dependency pino to v6.13.4 (#2829) 2021-12-31 15:08:57 +01:00
Juan Picado
7423e3d008 chore(release): 5.4.0 2021-12-24 19:15:15 +01:00
Juan Picado
5b1264c733 feat: allow override user rate limit and user agent (#2803)
* feat: allow override user rate limit

- improve user_agent config allow string

* chore: fix tests

* chore: refactor userRateLimit

* chore: remove comment

* chore: optional prop

* chore: refactor limiter

* chore: refactor endpoints

* chore: fix undefined

* chore: fix params

* chore: fix params

* chore: update ui

* chore: refactor limiter

* chore: fix tests

* chore: fix test
2021-12-24 19:04:15 +01:00
Juan Picado
f64e403f0a feat: add rate limit to user api endpoints (#2800) (#2799)
* feat: add rate limit to user api endpoints

* chore: fix test

* chore: refactor token endpoint

* chore: refactor
2021-12-24 01:07:26 +01:00
Juan Picado
c91d6beb8b feat: add rate limit to web endpoints (#2799)
* feat: add rate limit to web endpoints

* fix: types express conflict

* fix: undefined issue

* fix: tests
2021-12-23 17:35:31 +01:00
Juan Picado
b2b3804f87 build: enable Node 17 on CI and npm8 on E2E (#2795)
* chore: increase ci e2e settings

* fix: ci for node 17

* chore: restore versions

* chore: fix tests

* chore: fix tests

* chore: fix domain

* chore: restore yarn on angular

* chore: rename tests

* chore: fix syntax

* chore: disable yarn angular
2021-12-23 00:14:53 +01:00
Juan Picado
e5d79ce8f0 feat: user agent is the client by default (#2793)
* feat: user agent is the client by default

* chore: get user agent fix

* chore: disable x-powered-by
2021-12-21 23:09:31 +01:00
renovate[bot]
46e583f683 fix(deps): update dependency body-parser to v1.19.1 (#2788)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-21 20:33:03 +01:00
renovate[bot]
c5c0ef8750 fix(deps): update dependency @verdaccio/commons-api to v10.1.0 (#2789)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-21 17:27:03 +01:00
Juan Picado
fd3ad1e546 feat: add cache-control header to endpoints (#2791)
Add no cache to endpoints that returns tokens in the body
2021-12-20 23:11:17 +01:00
Juan Picado
1c17d0986e feat: jwt default time new set (#2787)
Reduce 7 days to 1 hour as expiration time to improve security measures.
2021-12-20 08:09:18 +01:00
Juan Picado
e1a9bb46ff chore: add docker all hands talk 2021-12-16 18:29:04 +01:00
Juan Picado
e37e9fe15c chore(release): 5.3.2 2021-12-16 17:30:26 +01:00
贾顺名(Jarvis)
b5ac3c0f28 fix: publish with deprecated field (#2771)
* fix: publish with deprecated field by @Jiasm 

When publish with deprecated field in `package.json`, that will make all old versions miss.

Examples:

I have package@1.0.0 and package@1.0.1.

When `npm deprecate package@1.0.0 "xxx"`, Verdaccio will recived:

```json
{
  "name": "module_name",
  "version": {
    "1.0.0": {
      "deprecated": "xxx"
    },
    "1.0.1": {}
  }
}
```

⬆️ This make sense

But then publish new version with @1.0.2.

Verdaccio will recived:

```json
{
  "name": "module_name",
  "version": {
    "1.0.2": {
      "deprecated": "xxx" // if we set this field in package.json
    },
  }
}
```

and that metadata will override package.json, make old version miss.

migrate from #2766

* remove spaces

* fix: ignore empty package case

* fix: cover normal unpublish case

* refactor: Optimize check logic for lazy execution

* test: upgrade Jest Snapshot

* fix: set storage.getPackage `uplinksLook: false`.

* feat: use `_attachments` to distinguish deprecate

* test: rollback test snapshots

* test: rollback jest snapshots

* test: publish new version with deprecate field

* test: remove space
2021-12-16 16:17:52 +01:00
Juan Picado
3b2ec6cbfa chore: update readme 2021-12-15 23:25:26 +01:00
Juan Picado
f575ab767c chore(release): 5.3.1 2021-12-12 00:06:56 +01:00
Juan Picado
29d4551e5b fix: conflict core-js dependency (#2754)
* chore: remove core-js

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

* chore: update registry

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

* fix: update base dependencies

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

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

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

* chore: fix lint

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

* chore: fix test

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

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

* add allow_access

* chore: add types

* chore: format

* fix eslint prettier

* chore: add tests

* add tests

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

* update list files docker publish

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

* chore: ignore pnp

* fix type issues on run eslint

* add missing dependency and fix some errors

* fix most of the errors

some were just disabled, already fixed in master

* add missing jest-config

* update jest@26 align with other deps

* add missing @babel/register

* clean up

* use yarn node

* use yarn node on release

* chore: add husky 6

* chore: add husky 6

* chore: lint-stage

* chore: test

* chore: add hook git

* chore: test

* chore: test

* update deps

* chore: fix commit lint

* fix docker run

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

* chore: update yarn2

* feat: restore file

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

* fix: handle uplinks

* feat: allow function for config.tarball_url_redirect

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

* chore: simplify localStream null check in hasLocalTarball

As requested in PR feedback.

* chore: fix sonarcloud code smell on test

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

* fix: move tarball_url_redirect to experiments

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

View File

@@ -1,18 +0,0 @@
{
"presets": [
[
"@babel/env",
{
"targets": {
"node": 12
}
}
],
"@babel/typescript"
],
"ignore": ["**/*.d.ts"],
"plugins": [
"@babel/plugin-proposal-optional-chaining",
"@babel/plugin-proposal-nullish-coalescing-operator"
]
}

View File

@@ -1,8 +0,0 @@
# Changesets
Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
with multi-package repos, or single-package repos to help you version and publish your code. You can
find the full documentation for it [in our repository](https://github.com/changesets/changesets)
We have a quick list of common questions to get you started engaging with this project in
[our documentation](https://github.com/changesets/changesets/blob/master/docs/common-questions.md)

View File

@@ -1,6 +0,0 @@
---
'@verdaccio/ui-components': patch
'@verdaccio/ui-theme': patch
---
- fixed login state when token is expired (@ku3mi41 in #3980)

View File

@@ -1,44 +0,0 @@
---
'@verdaccio/api': major
'@verdaccio/auth': major
'@verdaccio/cli': major
'@verdaccio/config': major
'@verdaccio/core': major
'@verdaccio/file-locking': major
'@verdaccio/tarball': major
'@verdaccio/types': major
'@verdaccio/url': major
'@verdaccio/hooks': major
'@verdaccio/loaders': major
'@verdaccio/logger': major
'@verdaccio/logger-7': major
'@verdaccio/logger-commons': major
'@verdaccio/logger-prettify': major
'@verdaccio/middleware': major
'@verdaccio/node-api': major
'verdaccio-audit': major
'verdaccio-auth-memory': major
'verdaccio-htpasswd': major
'@verdaccio/local-storage': major
'verdaccio-memory': major
'@verdaccio/ui-theme': major
'@verdaccio/proxy': major
'@verdaccio/search': major
'@verdaccio/server': major
'@verdaccio/server-fastify': major
'@verdaccio/signature': major
'@verdaccio/cli-standalone': major
'@verdaccio/store': major
'docusaurus-plugin-contributors': major
'@verdaccio/eslint-config': major
'@verdaccio/test-helper': major
'customprefix-auth': major
'@verdaccio/ui-components': major
'@verdaccio/utils': major
'verdaccio': major
'@verdaccio/web': major
'@verdaccio/website': major
'@verdaccio/local-publish': patch
---
feat!: bump to v7

View File

@@ -1,6 +0,0 @@
---
'@verdaccio/ui-theme': patch
---
- added `onClick` prop to `Link` component in @verdaccio/ui-components. (@moglerdev in #3989)
- resolved issue in the `Package` component where the download button was incorrectly opening a new tab to the homepage. (@moglerdev in #3989)

View File

@@ -1,18 +0,0 @@
{
"$schema": "https://unpkg.com/@changesets/config@1.3.0/schema.json",
"changelog": "@changesets/cli/changelog",
"commit": false,
"fixed": [
[
"verdaccio",
"@verdaccio/cli",
"@verdaccio/core",
"@verdaccio/config",
"@verdaccio/node-api",
"@verdaccio/ui-theme"
]
],
"access": "public",
"baseBranch": "master",
"updateInternalDependencies": "patch"
}

View File

@@ -1,6 +0,0 @@
---
'@verdaccio/ui-theme': patch
'@verdaccio/ui-components': patch
---
fix: display labels for engine versions

View File

@@ -1,15 +0,0 @@
---
'@verdaccio/ui-theme': minor
'@verdaccio/ui-components': minor
---
feat: ui improvements
Some UI improvements
- download progress indicator: https://github.com/verdaccio/verdaccio/discussions/4068
- fix dark mode and readme css support https://github.com/verdaccio/verdaccio/discussions/3942 https://github.com/verdaccio/verdaccio/discussions/3467
- fix global for yarn packages and add version to the packages on copy
- feat: hide deprecated versions option
- fix: improve deprecated package style
- feat: display deprecated versions

View File

@@ -1,18 +0,0 @@
---
'@verdaccio/config': minor
'@verdaccio/core': minor
'@verdaccio/file-locking': minor
'@verdaccio/tarball': minor
'@verdaccio/url': minor
'@verdaccio/logger-7': minor
'@verdaccio/logger-commons': minor
'@verdaccio/logger-prettify': minor
'@verdaccio/middleware': minor
'verdaccio-audit': minor
'verdaccio-htpasswd': minor
'@verdaccio/search': minor
'@verdaccio/signature': minor
'@verdaccio/utils': minor
---
restore legacy support

View File

@@ -1,36 +0,0 @@
---
'@verdaccio/api': major
'@verdaccio/auth': major
'@verdaccio/cli': major
'@verdaccio/config': major
'@verdaccio/core': major
'@verdaccio/file-locking': major
'@verdaccio/tarball': major
'@verdaccio/types': major
'@verdaccio/url': major
'@verdaccio/hooks': major
'@verdaccio/loaders': major
'@verdaccio/logger': major
'@verdaccio/logger-commons': major
'@verdaccio/logger-prettify': major
'@verdaccio/middleware': major
'@verdaccio/node-api': major
'verdaccio-audit': major
'verdaccio-auth-memory': major
'verdaccio-htpasswd': major
'@verdaccio/local-storage': major
'verdaccio-memory': major
'@verdaccio/ui-theme': major
'@verdaccio/proxy': major
'@verdaccio/search': major
'@verdaccio/server': major
'@verdaccio/server-fastify': major
'@verdaccio/signature': major
'@verdaccio/store': major
'@verdaccio/ui-components': major
'@verdaccio/utils': major
'verdaccio': major
'@verdaccio/web': major
---
update major dependencies, remove old nodejs support

View File

@@ -1,73 +0,0 @@
{
"mode": "pre",
"tag": "next",
"initialVersions": {
"@verdaccio/test-cli-commons": "1.1.0",
"@verdaccio/e2e-cli-npm6": "1.0.1",
"@verdaccio/e2e-cli-npm7": "1.0.1",
"@verdaccio/e2e-cli-npm8": "1.0.1",
"@verdaccio/e2e-cli-npm9": "1.0.1",
"@verdaccio/e2e-cli-pnpm6": "1.0.1",
"@verdaccio/e2e-cli-pnpm7": "1.0.1",
"@verdaccio/e2e-cli-pnpm8": "1.0.1",
"@verdaccio/e2e-cli-yarn1": "1.0.1",
"@verdaccio/e2e-cli-yarn2": "1.0.1",
"@verdaccio/e2e-cli-yarn3": "1.0.1",
"@verdaccio/e2e-cli-yarn4": "1.0.1",
"@verdaccio/e2e-ui": "2.0.0",
"@verdaccio/api": "6.0.0",
"@verdaccio/auth": "6.0.0",
"@verdaccio/cli": "6.0.0",
"@verdaccio/config": "6.0.0",
"@verdaccio/core": "6.0.0",
"@verdaccio/file-locking": "11.0.0",
"@verdaccio/tarball": "11.0.0",
"@verdaccio/types": "11.0.0",
"@verdaccio/url": "11.0.0",
"@verdaccio/hooks": "6.0.0",
"@verdaccio/loaders": "6.0.0",
"@verdaccio/logger": "6.0.0",
"@verdaccio/logger-7": "6.0.0",
"@verdaccio/logger-commons": "6.0.0",
"@verdaccio/logger-prettify": "6.0.0",
"@verdaccio/middleware": "6.0.0",
"@verdaccio/node-api": "6.0.0",
"verdaccio-audit": "11.0.0",
"verdaccio-auth-memory": "11.0.0",
"verdaccio-htpasswd": "11.0.0",
"@verdaccio/local-storage": "11.0.0",
"verdaccio-memory": "11.0.0",
"@verdaccio/ui-theme": "6.0.0",
"@verdaccio/proxy": "6.0.0",
"@verdaccio/search": "6.0.0",
"@verdaccio/server": "6.0.0",
"@verdaccio/server-fastify": "6.0.0",
"@verdaccio/signature": "6.0.0",
"@verdaccio/cli-standalone": "6.0.0",
"@verdaccio/store": "6.0.0",
"docusaurus-plugin-contributors": "1.0.1",
"@verdaccio/eslint-config": "2.0.0",
"@verdaccio/test-helper": "2.0.0",
"@verdaccio/crowdin-translations": "1.0.0",
"customprefix-auth": "1.0.0",
"@verdaccio/ui-components": "2.0.0",
"@verdaccio/utils": "6.0.0",
"verdaccio": "6.0.0",
"@verdaccio/web": "6.0.0",
"@verdaccio/website": "5.20.2",
"@verdaccio/local-publish": "0.0.1"
},
"changesets": [
"angry-trees-tie",
"breezy-mayflies-pull",
"chilled-carrots-guess",
"eight-squids-judge",
"long-jars-collect",
"old-turkeys-heal",
"perfect-chairs-act",
"shiny-worms-retire",
"shy-carrots-compare",
"shy-garlics-cry",
"weak-fans-explain"
]
}

View File

@@ -1,5 +0,0 @@
---
'@verdaccio/search': patch
---
fix: keyword undefined errors

View File

@@ -1,14 +0,0 @@
---
'@verdaccio/server': minor
'@verdaccio/test-helper': minor
'@verdaccio/types': minor
'@verdaccio/middleware': minor
'@verdaccio/core': minor
'@verdaccio/signature': minor
'@verdaccio/url': minor
'@verdaccio/config': minor
'@verdaccio/auth': minor
'@verdaccio/api': minor
---
refactor: auth with legacy sign support

View File

@@ -1,5 +0,0 @@
---
'@verdaccio/signature': patch
---
chore: export signature options type

View File

@@ -1,5 +0,0 @@
---
'@verdaccio/server': patch
---
fix: Avoid 404 error when getting favicon from root

View File

@@ -8,22 +8,22 @@
.*
# you can add exceptions like in .gitignore to maintain a whitelist:
# e.g.
!.babelrc
!.eslintrc
!.prettierrc.json
!.prettierignore
!babel.config.js
!eslintrc.js
!.prettierrc
!.eslintignore
!.stylelintrc
!.jest.config.js
!.jestEnvironment.js
!.yarnrc.yml
!.yarn/releases/yarn-*.cjs
!.yarn/plugins/*
!.pnp.js
# do not copy over node_modules we will run `pnpm install` anyway
# just in case, yarn 2 pnp is enabled
node_modules
website
jest
docs
contrib
docker-examples
website
systemd
.husky/
.git/
# output from test runs and similar things
*.log
@@ -33,7 +33,21 @@ coverage/
# IDE config files
jsconfig.json
*.iml
# let's not get too recursive ;)
Dockerfile*
docker-compose*.yaml
.github/
.husky/
*.log
coverage/
.vscode/
*.md
contrib/
docs/
docker-examples/
systemd/
assets/
jest*.js
test/
wiki/
debug/

View File

@@ -7,7 +7,6 @@ end_of_line = lf
insert_final_newline = true
# 2 space indentation
[{.,}*.{ts,tsx,js,jsx,yml,yaml}]
[{.,}*.{js,jsx,yml,yaml}]
indent_style = space
indent_size = 2
quote_type = single

View File

@@ -1,20 +0,0 @@
**/fixtures/**
**/mock/store/**
**/partials/**
**/types/custom.d.ts
build/
coverage/
node_modules/
static/
website/
wiki/
dist/
docs/
test/functional/store/*
docker-examples/**/lib/**/*.js
test/cli/e2e-yarn4/bin/yarn-4.0.0-rc.14.cjs
yarn.js
# storybook
packages/ui-components/storybook-static
dist.js
bundle.js

View File

@@ -1,3 +0,0 @@
module.exports = {
extends: ['@verdaccio/eslint-config'],
};

199
.gitattributes vendored
View File

@@ -1,199 +0,0 @@
## GITATTRIBUTES FOR WEB PROJECTS
#
# These settings are for any web project.
#
# Details per file setting:
# text These files should be normalized (i.e. convert CRLF to LF).
# binary These files are binary and should be left untouched.
#
# Note that binary is a macro for -text -diff.
######################################################################
# Auto detect
## Handle line endings automatically for files detected as
## text and leave all files detected as binary untouched.
## This will handle all files NOT defined below.
* text=lf
# Source code
*.bash text eol=lf
*.bat text eol=crlf
*.cmd text eol=crlf
*.coffee text eol=lf
*.css text eol=lf
*.htm text diff=html
*.html text diff=html
*.inc text eol=lf
*.ini text eol=lf
*.js text eol=lf
*.json text eol=lf
*.jsx text eol=lf
*.less text eol=lf
*.ls text eol=lf
*.map text -diff
*.od text eol=lf
*.onlydata text eol=lf
*.php text diff=php
*.pl text eol=lf
*.ps1 text eol=crlf
*.py text diff=python
*.rb text diff=ruby
*.sass text eol=lf
*.scm text eol=lf
*.scss text diff=css
*.sh text eol=lf
*.sql text eol=lf
*.styl text eol=lf
*.tag text eol=lf
*.ts text eol=lf
*.tsx text eol=lf
*.xml text eol=lf
*.xhtml text diff=html
# Docker
Dockerfile text eol=lf
# Documentation
*.ipynb text eol=lf
*.markdown text eol=lf
*.md text eol=lf
*.mdwn text eol=lf
*.mdown text eol=lf
*.mkd text eol=lf
*.mkdn text eol=lf
*.mdtxt text eol=lf
*.mdtext text eol=lf
*.txt text eol=lf
AUTHORS text eol=lf
CHANGELOG text eol=lf
CHANGES text eol=lf
CONTRIBUTING text eol=lf
COPYING text eol=lf
copyright text eol=lf
*COPYRIGHT* text eol=lf
INSTALL text eol=lf
license text eol=lf
LICENSE text eol=lf
NEWS text eol=lf
readme text eol=lf
*README* text eol=lf
TODO text eol=lf
# Templates
*.dot text eol=lf
*.ejs text eol=lf
*.haml text eol=lf
*.handlebars text eol=lf
*.hbs text eol=lf
*.hbt text eol=lf
*.jade text eol=lf
*.latte text eol=lf
*.mustache text eol=lf
*.njk text eol=lf
*.phtml text eol=lf
*.tmpl text eol=lf
*.tpl text eol=lf
*.twig text eol=lf
*.vue text eol=lf
# Configs
*.cnf text eol=lf
*.conf text eol=lf
*.config text eol=lf
.editorconfig text eol=lf
.env text eol=lf
.gitattributes text eol=lf
.gitconfig text eol=lf
.htaccess text eol=lf
*.lock text -diff
package-lock.json text -diff
*.toml text eol=lf
*.yaml text eol=lf
*.yml text eol=lf
browserslist text eol=lf
Makefile text eol=lf
makefile text eol=lf
# Heroku
Procfile text eol=lf
# Graphics
*.ai binary
*.bmp binary
*.eps binary
*.gif binary
*.gifv binary
*.ico binary
*.jng binary
*.jp2 binary
*.jpg binary
*.jpeg binary
*.jpx binary
*.jxr binary
*.pdf binary
*.png binary
*.psb binary
*.psd binary
# SVG treated as an asset (binary) by default.
*.svg text eol=lf
# If you want to treat it as binary,
# use the following line instead.
# *.svg binary
*.svgz binary
*.tif binary
*.tiff binary
*.wbmp binary
*.webp binary
# Audio
*.kar binary
*.m4a binary
*.mid binary
*.midi binary
*.mp3 binary
*.ogg binary
*.ra binary
# Video
*.3gpp binary
*.3gp binary
*.as binary
*.asf binary
*.asx binary
*.fla binary
*.flv binary
*.m4v binary
*.mng binary
*.mov binary
*.mp4 binary
*.mpeg binary
*.mpg binary
*.ogv binary
*.swc binary
*.swf binary
*.webm binary
# Archives
*.7z binary
*.gz binary
*.jar binary
*.rar binary
*.tar binary
*.zip binary
# Fonts
*.ttf binary
*.eot binary
*.otf binary
*.woff binary
*.woff2 binary
# Executables
*.exe binary
*.pyc binary
# RC files (like .babelrc or .eslintrc)
*.*rc text eol=lf
# Ignore files (like .npmignore or .gitignore)
*.*ignore text eol=lf

View File

@@ -6,31 +6,10 @@ title: ''
assignees: ''
---
<!-- PLEASE READ THIS:
- If you are not sure is a bug, OPEN a DISCUSSION, if is a legitimate bug, is easy to create a bug from a discussion.
- Empty reports won't be considered and eventually be closed by a bot.
- Include debugging notes will help to fix it faster, HOW TO: https://github.com/verdaccio/verdaccio/wiki/Debugging-Verdaccio
- If you remove this template, ticket will be closed immediately.
- No English perfect is required, use public translators if is need it, we will do our best to help you.
- Extra bonus: The most complete this report is delivered, the faster you will get a response.
- Extra bonus: include screenshots, logs (remove sensitive data).
- If you are willing to fix it, there is a checkbox at the bottom.
-->
**Your Environment**
<!-- bug below the version 5.x will be closed, see SECURITY.md for more details -->
* **verdaccio version**: 5.x.x
* **node version** [12.x.x, 14.x.x]:
* **package manager**: [npm@7, pnpm@6, yarn@2]
* **os**: [mac, windows@10, linux]
* **platform**: [npm, docker, helm, other]
**Describe the bug**
<!-- A clear and concise description of what the bug is. -->
**To Reproduce**
<!-- IMPORTANT:
- How to reproduce the issue
- Steps to reproduce the issue
@@ -39,11 +18,9 @@ Be aware, the lack of reproducible steps the issue might cause your ticket to be
-->
**Expected behavior**
<!-- A clear and concise description of what you expected to happen. -->
**Screenshots, server logs, package manager log**
**Screenshots**
<!-- If applicable, add screenshots to help explain your problem. -->
**Configuration File (cat ~/.config/verdaccio/config.yaml)**
@@ -51,21 +28,16 @@ Be aware, the lack of reproducible steps the issue might cause your ticket to be
<!-- Please be careful do not leak any sensitive information, remove tokens -->
**Environment information**
<!-- Please paste the results of running `verdaccio --info` -->
**Debugging output**
- `$ NODE_DEBUG=request verdaccio` display request calls (verdaccio <--> uplinks)
- `$ DEBUG=verdaccio* verdaccio` enable extreme verdaccio debug mode (verdaccio api)
- `$ npm -ddd` prints:
- `$ npm config get registry` prints:
**Contribute to Verdaccio**
- [ ] I'm willing to fix this bug 🥇
- `$ NODE_DEBUG=request verdaccio` display request calls (verdaccio <--> uplinks)
- `$ DEBUG=express:* verdaccio` enable extreme verdaccio debug mode (verdaccio api)
- `$ npm -ddd` prints:
- `$ npm config get registry` prints:
<!--
IMPORTANT: please do not attach external files, all content should be visible from any device.
-->

View File

@@ -7,5 +7,8 @@ contact_links:
url: https://github.com/verdaccio/verdaccio/security/policy
about: I want to report a security vulnerability
- name: Chat 🏘
url: https://discord.gg/7qWJxBf
about: Quick question? Try out Discord chat, you can get faster feedback
url: http://chat.verdaccio.org
about: For a quick question you should do it through our community chat
- name: User Interface Report 👩🏼‍🎨👨🏼‍🎨
url: https://github.com/verdaccio/ui/issues/new/choose
about: Any report related with the User Interface should be posted in another repository

View File

@@ -1,24 +1,21 @@
---
name: 'Feature Request 🔮'
name: "Feature Request \U0001F52E"
about: You want a feature request.
title: ''
labels: 'topic: feature request'
assignees: ''
---
<!--
IMPORTANT: If you don't have an action plan, please consider create a DISCUSSION (idea) instead for an open a feature request issue.
https://github.com/verdaccio/verdaccio/discussions/new
Verdaccio is a project addressed for voluntaries, if you appreciate this project consider to donate.
1$/5$ or custom amount single contribution
or monthly
1$/month - minimal contribution
5$/month - nice contribution
500$ - help to promote this project, marketing, stickers.
2000$/year - sponsor status, your company logo will be in our readme, meetups talks and your request will have high priority
https://github.com/sponsors/verdaccio
https://opencollective.com/verdaccio
As reminder, the Open Source must be sustainable.
-->

View File

@@ -5,21 +5,23 @@
version: 2
updates:
# Maintain dependencies for GitHub Actions
- package-ecosystem: 'github-actions'
directory: '/'
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: 'weekly'
interval: "weekly"
# Maintain dependencies for npm
- package-ecosystem: 'npm'
directory: '/'
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: 'daily'
allow:
- dependency-name: '@verdaccio/*'
- dependency-name: 'verdaccio-*'
interval: "daily"
allow:
- dependency-name: "@verdaccio/*"
- dependency-name: "verdaccio-*"
assignees:
- 'verdacciobot'
- "verdacciobot"
labels:
- 'bot: dependencies'
- "bot: dependencies"

View File

@@ -1,39 +0,0 @@
name: E2E Docker Proxy Plugins Test
on:
workflow_dispatch:
push:
branches:
- 'master'
schedule:
# run every sunday
- cron: '0 0 * * 0'
jobs:
docker:
timeout-minutes: 10
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3
- name: Start containers
run: docker-compose -f "./e2e/docker/docker-build-install-plugin/docker-compose.yaml" up -d --build
- name: Install node
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3
with:
node-version: 18
- name: verdaccio cli
run: npm install -g verdaccio --registry=http://localhost:4873
- name: gastby cli
run: npm install -g gatsby-cli --registry http://localhost:4873
- name: netlify cli
run: npm install -g netlify-cli --registry http://localhost:4873
- name: angular cli
run: npm install -g @angular/cli --registry http://localhost:4873
- name: Stop containers
if: always()
run: docker-compose -f "./e2e/docker/docker-build-install-plugin/docker-compose.yaml" down

View File

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

View File

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

View File

@@ -1,121 +0,0 @@
on:
schedule:
- cron: '0 3 * * 5'
pull_request:
branches:
- '**'
name: 'E2E Jest with verdaccio'
jobs:
yarn:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
name: '${{ matrix.os }} / yarn:jest example'
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2.3.1
- name: 'Use Node.js 10.x'
uses: actions/setup-node@v2.1.1
with:
node-version: 10.x
- name: Install Dependencies
run: yarn install --pure-lockfile
- name: 'Run verdaccio in the background'
run: |
nohup node ./scripts/run-verdaccio.js &
- name: 'Ping to verdaccio'
run: |
npm ping --registry http://localhost:4873
- name: 'Running the integration test'
run: |
source scripts/e2e-setup-ci.sh
yarn init --yes
yarn add jest --registry http://localhost:4873
echo "it('should pass', () => { expect(true).toBeTruthy(); });" | tee pass.test.js
yarn jest pass.test.js
yarn add left-pad --registry http://localhost:4873 --verbose
echo "const leftPad = require('left-pad'); it('should resolve a module', () => { expect(typeof leftPad).toBe('function');});" | tee module.test.js
yarn jest module.test.js
npm:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
name: '${{ matrix.os }} / npm:jest example'
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2.3.1
- name: 'Use Node.js 10.x'
uses: actions/setup-node@v2.1.1
with:
node-version: 10.x
- name: 'install latest npm'
run: npm i -g npm
- name: Install Dependencies
run: yarn install --pure-lockfile
- name: 'Run verdaccio in the background'
run: |
nohup node ./scripts/run-verdaccio.js &
- name: 'Ping to verdaccio'
run: |
npm ping --registry http://localhost:4873
- name: 'Running the integration test'
run: |
source scripts/e2e-setup-ci.sh
npm init --force
npm install jest --registry http://localhost:4873
echo "it('should pass', () => { expect(true).toBeTruthy(); });" | tee pass.test.js
yarn jest pass.test.js
yarn add left-pad --registry http://localhost:4873 --verbose
echo "const leftPad = require('left-pad'); it('should resolve a module', () => { expect(typeof leftPad).toBe('function');});" | tee module.test.js
yarn jest module.test.js
pnpm:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
name: '${{ matrix.os }} / pnpm:jest example'
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2.3.1
- name: 'Use Node.js 10.x'
uses: actions/setup-node@v2.1.1
with:
node-version: 10.x
- name: 'install latest pnpm'
run: npm i -g pnpm
- name: Install Dependencies
run: yarn install --pure-lockfile
- name: 'Run verdaccio in the background'
run: |
nohup node ./scripts/run-verdaccio.js &
- name: 'Ping to verdaccio'
run: |
pnpm ping --registry http://localhost:4873
- name: 'Running the integration test'
run: |
source scripts/e2e-setup-ci.sh
pnpm init --force
pnpm install jest --registry http://localhost:4873
echo "it('should pass', () => { expect(true).toBeTruthy(); });" | tee pass.test.js
yarn jest pass.test.js
yarn add left-pad --registry http://localhost:4873 --verbose
echo "const leftPad = require('left-pad'); it('should resolve a module', () => { expect(typeof leftPad).toBe('function');});" | tee module.test.js
yarn jest module.test.js

View File

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

View File

@@ -1,35 +0,0 @@
name: Canary Release to Verdaccio
on:
pull_request:
paths:
- .github/workflows/release-canary.yml
- 'packages/**'
- 'package.json'
- 'lerna.json'
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Use Node (latest)
uses: actions/setup-node@v1
with:
node_version: 13
- name: Install
run: yarn --frozen-lockfile
- name: Clean
run: yarn clean
- name: Lint
run: yarn lint
- name: Build
run: yarn build
- name: Test
run: yarn test
- name: Publish
run: |
echo "//registry.verdaccio.org/:_authToken=${{ secrets.VERDACCIO_TOKEN }}" > .npmrc
git update-index --assume-unchanged .npmrc
yarn publish:canary

35
.github/lock.yml vendored
View File

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

26
.github/stale.yml vendored
View File

@@ -1,26 +0,0 @@
# Number of days of inactivity before an issue becomes stale
daysUntilStale: 365
# Number of days of inactivity before a stale issue is closed
daysUntilClose: 500
# Issues with these labels will never be considered stale
exemptLabels:
- dev: high priority
- topic: feature request
- issue: need verification
- issue: bug
- dev: discuss
# Label to use when marking an issue as stale
staleLabel: 'issue: wontfix'
# Comment to post when marking an issue as stale. Set to `false` to disable
markComment: >
Hi pal 👋🏼!
This issue has gone quiet 😶.
We get a lot of issues, so we currently close issues after 180 days of inactivity. Its been at least 90c days since the last update here.
If we missed this issue or if you want to keep it open, please reply here. You can also add/suggest the label "discuss" to keep this issue open!
As a friendly reminder: the best way to see this issue, or any other, fixed is to open a Pull Request. Check out [https://github.com/verdaccio/contributing](https://github.com/verdaccio/contributing) for more information about opening PRs, triaging issues, and contributing!
Thanks for being a part of the Verdaccio community! 💘
# Comment to post when closing a stale issue. Set to `false` to disable
closeComment: false

View File

@@ -1,69 +0,0 @@
name: Changesets
on:
schedule:
- cron: '0 0 * * *'
push:
branches:
- master
env:
CI: true
PNPM_CACHE_FOLDER: .pnpm-store
jobs:
# Update package versions from changesets.
version:
timeout-minutes: 14
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master' && github.repository == 'verdaccio/verdaccio'
steps:
- name: checkout code repository
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
with:
fetch-depth: 0
- name: setup node.js
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v3
with:
node-version-file: '.nvmrc'
env:
NODE_AUTH_TOKEN: ${{ secrets.REGISTRY_AUTH_TOKEN }}
- name: install pnpm
run: npm i pnpm@8.9.0 -g
env:
NODE_AUTH_TOKEN: ${{ secrets.REGISTRY_AUTH_TOKEN }}
- name: setup pnpm config
run: pnpm config set store-dir $PNPM_CACHE_FOLDER
- name: setup pnpm config registry
run: pnpm config set registry https://registry.npmjs.org
- name: install dependencies
run: pnpm install
env:
NODE_AUTH_TOKEN: ${{ secrets.REGISTRY_AUTH_TOKEN }}
- name: crowdin download
env:
CROWDIN_VERDACCIO_API_KEY: ${{ secrets.CROWDIN_VERDACCIO_API_KEY }}
CONTEXT: production
run: pnpm crowdin:download
- name: build
run: pnpm build
- name: create versions
uses: changesets/action@master
with:
version: pnpm ci:version
commit: 'chore: update versions'
title: 'chore: update versions'
publish: pnpm ci:publish
createGithubReleases: false
setupGitUser: false
env:
GITHUB_TOKEN: ${{ secrets.CHANGESET_RELEASE_TOKEN }}
NPM_TOKEN: ${{ secrets.REGISTRY_AUTH_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.REGISTRY_AUTH_TOKEN }}
NPM_CONFIG_REGISTRY: https://registry.npmjs.org

10
.github/workflows/ci-lint.yml vendored Normal file
View File

@@ -0,0 +1,10 @@
name: CI Lint
on: [push, pull_request]
permissions:
contents: read
jobs:
lint:
uses: verdaccio/verdaccio/.github/workflows/yarn-ci-lint.yml@master

View File

@@ -1,150 +0,0 @@
name: CI windows
on:
workflow_dispatch:
schedule:
- cron: '5 0 * * SUN'
permissions:
contents: read
jobs:
prepare:
runs-on: ubuntu-latest
name: setup verdaccio
services:
verdaccio:
image: verdaccio/verdaccio:nightly-master
ports:
- 4873:4873
env:
NODE_ENV: production
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
- name: Node
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v3
with:
node-version-file: '.nvmrc'
- name: Install pnpm
run: npm i pnpm@latest-8 -g
- name: set store
run: |
mkdir ~/.pnpm-store
pnpm config set store-dir ~/.pnpm-store
- name: set store
run: |
mkdir ~/.pnpm-store
pnpm config set store-dir ~/.pnpm-store
- name: Install
run: pnpm install --registry http://localhost:4873
- name: Cache .pnpm-store
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3
with:
path: ~/.pnpm-store
key: pnpm-${{ hashFiles('pnpm-lock.yaml') }}
restore-keys: |
pnpm-
lint:
runs-on: windows-latest
name: Lint
needs: prepare
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
- name: Node
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v3
with:
node-version-file: '.nvmrc'
- name: Install pnpm
run: npm i pnpm@latest-8 -g
- uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3
with:
path: ~/.pnpm-store
key: pnpm-${{ hashFiles('pnpm-lock.yaml') }}
- name: set store
run: |
mkdir ~/.pnpm-store
pnpm config set store-dir ~/.pnpm-store
- name: Install
run: pnpm install --offline --reporter=silence --ignore-scripts
- name: Lint
run: pnpm lint
format:
runs-on: windows-latest
name: Format
needs: prepare
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
- name: Use Node
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v3
with:
node-version-file: '.nvmrc'
- name: Install pnpm
run: npm i pnpm@latest-8 -g
- uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3
with:
path: ~/.pnpm-store
key: pnpm-${{ hashFiles('pnpm-lock.yaml') }}
- name: set store
run: |
mkdir ~/.pnpm-store
pnpm config set store-dir ~/.pnpm-store
- name: Install
run: pnpm install --offline --reporter=silence --ignore-scripts
- name: Lint
run: pnpm format:check
build:
needs: [format, lint]
strategy:
fail-fast: true
matrix:
os: [windows-latest]
node_version: [18]
name: ${{ matrix.os }} / Node ${{ matrix.node_version }}
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
- name: Use Node ${{ matrix.node_version }}
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v3
with:
node-version: ${{ matrix.node_version }}
- name: Install pnpm
run: npm i pnpm@latest-8 -g
- uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3
with:
path: ~/.pnpm-store
key: pnpm-${{ hashFiles('pnpm-lock.yaml') }}
- name: set store
run: |
mkdir ~/.pnpm-store
pnpm config set store-dir ~/.pnpm-store
- name: Install
run: pnpm install --offline --reporter=silence --ignore-scripts --registry http://localhost:4873
- name: build
run: pnpm build
- name: Test
run: pnpm test
ci-e2e-ui:
needs: [format, lint]
runs-on: windows-latest
name: UI Test E2E
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
- uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v3
with:
node-version-file: '.nvmrc'
- name: Install pnpm
run: npm i pnpm@latest-8 -g
- uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3
with:
path: ~/.pnpm-store
key: pnpm-${{ hashFiles('pnpm-lock.yaml') }}
- name: set store
run: |
mkdir ~/.pnpm-store
pnpm config set store-dir ~/.pnpm-store
- name: Install
run: pnpm install --offline --reporter=silence --registry http://localhost:4873
- name: build
run: pnpm build
- name: Test UI
run: pnpm test:e2e:ui
# env:
# DEBUG: verdaccio:e2e*

View File

@@ -1,166 +1,19 @@
name: CI
on:
push:
pull_request:
paths:
- .changeset/**
- .github/workflows/ci.yml
- 'packages/**'
- 'test/**'
- 'docker-examples/**'
- 'jest/**'
- 'package.json'
- 'pnpm-workspace.yaml'
on: [push, pull_request]
permissions:
contents: read
concurrency:
group: ci-${{ github.ref }}-6.x
cancel-in-progress: true
jobs:
prepare:
runs-on: ubuntu-latest
name: setup verdaccio
services:
verdaccio:
image: verdaccio/verdaccio:5
ports:
- 4873:4873
env:
NODE_ENV: production
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
- name: Node
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v3
with:
node-version-file: '.nvmrc'
- name: Install pnpm
run: |
corepack enable
corepack install
- name: set store
run: |
mkdir ~/.pnpm-store
pnpm config set store-dir ~/.pnpm-store
- name: Install
run: pnpm install --registry http://localhost:4873
- name: Cache .pnpm-store
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3
with:
path: ~/.pnpm-store
key: pnpm-${{ hashFiles('pnpm-lock.yaml') }}
restore-keys: |
pnpm-
lint:
runs-on: ubuntu-latest
name: Lint
needs: prepare
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
- name: Node
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v3
with:
node-version-file: '.nvmrc'
- name: Install pnpm
run: |
corepack enable
corepack install
- uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3
with:
path: ~/.pnpm-store
key: pnpm-${{ hashFiles('pnpm-lock.yaml') }}
- name: set store
run: |
pnpm config set store-dir ~/.pnpm-store
- name: Install
run: pnpm install --ignore-scripts
- name: Lint
run: pnpm lint
format:
runs-on: ubuntu-latest
name: Format
needs: prepare
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
- name: Use Node
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v3
with:
node-version-file: '.nvmrc'
- name: Install pnpm
run: |
corepack enable
corepack install
- uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3
with:
path: ~/.pnpm-store
key: pnpm-${{ hashFiles('pnpm-lock.yaml') }}
- name: set store
run: |
pnpm config set store-dir ~/.pnpm-store
- name: Install
run: pnpm install --ignore-scripts
- name: Lint
run: pnpm format:check
test:
needs: [prepare]
build:
strategy:
fail-fast: true
fail-fast: false
matrix:
os: [ubuntu-latest]
node_version: [18, 20, 21]
name: ${{ matrix.os }} / Node ${{ matrix.node_version }}
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
- name: Use Node ${{ matrix.node_version }}
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v3
with:
node-version: ${{ matrix.node_version }}
- name: Install pnpm
run: |
corepack enable
corepack prepare
- uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3
with:
path: ~/.pnpm-store
key: pnpm-${{ hashFiles('pnpm-lock.yaml') }}
- name: set store
run: |
pnpm config set store-dir ~/.pnpm-store
- name: Install
run: pnpm install --ignore-scripts --registry http://localhost:4873
- name: build
run: pnpm build
- name: Test
run: pnpm test
sync-translations:
needs: [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@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
- uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v3
with:
node-version-file: '.nvmrc'
- name: Install pnpm
run: |
corepack enable
corepack install
- uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3
with:
path: ~/.pnpm-store
key: pnpm-${{ hashFiles('pnpm-lock.yaml') }}
- name: set store
run: |
pnpm config set store-dir ~/.pnpm-store
- name: Install
## we need scripts, pupetter downloads aditional content
run: pnpm install --registry http://localhost:4873
- name: build
run: pnpm build
- name: generate website translations
run: pnpm --filter ...@verdaccio/website write-translations
- name: sync
env:
CROWDIN_VERDACCIO_API_KEY: ${{ secrets.CROWDIN_VERDACCIO_API_KEY }}
CONTEXT: production
run: pnpm crowdin:sync
node_version: [18, 20, 22, 24]
uses: verdaccio/verdaccio/.github/workflows/yarn-ci.yml@master
with:
node_version: ${{ matrix.node_version }}

View File

@@ -1,59 +0,0 @@
name: 'Code scanning - action'
on:
pull_request:
paths:
- .github/workflows/codeql-analysis.yml
- 'packages/**'
schedule:
- cron: '0 2 * * 4'
permissions:
contents: read
jobs:
CodeQL-Build:
permissions:
actions: read # for github/codeql-action/init to get workflow details
contents: read # for actions/checkout to fetch code
security-events: write # for github/codeql-action/autobuild to send a status report
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
with:
# We must fetch at least the immediate parents so that if this is
# a pull request then we can checkout the head.
fetch-depth: 2
# If this run was triggered by a pull request event, then checkout
# the head of the pull request instead of the merge commit.
- run: git checkout HEAD^2
if: ${{ github.event_name == 'pull_request' }}
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@1500a131381b66de0c52ac28abb13cd79f4b7ecc # v2
# Override language selection by uncommenting this and choosing your languages
# with:
# languages: go, javascript, csharp, python, cpp, java
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@1500a131381b66de0c52ac28abb13cd79f4b7ecc # v2
# Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language
#- run: |
# make bootstrap
# make release
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@1500a131381b66de0c52ac28abb13cd79f4b7ecc # v2

View File

@@ -1,45 +0,0 @@
name: E2E Docker Proxy Apache Test
on:
workflow_dispatch:
push:
branches:
- 'master'
schedule:
# run every sunday
- cron: '0 0 * * 0'
jobs:
docker:
timeout-minutes: 10
runs-on: ubuntu-latest
env:
NODE_OPTIONS: --max_old_space_size=4096
steps:
- name: Checkout
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
- name: Start containers
run: docker-compose -f "./e2e/docker/apache-verdaccio/docker-compose.yaml" up -d --build
- name: Install node
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v3
with:
node-version-file: '.nvmrc'
- name: npm setup
run: |
npm config set fetch-retries="10"
npm config set fetch-retry-factor="50"
npm config set fetch-retry-mintimeout="20000"
npm config set fetch-retry-maxtimeout="80000"
- name: verdaccio cli
run: npm install -g verdaccio --registry http://localhost
- name: gastby cli
run: npm install -g gatsby-cli --registry http://localhost
# - name: netlify cli
# run: npm install -g netlify-cli --registry http://localhost
- name: angular cli
run: npm install -g @angular/cli --registry http://localhost
- name: Stop containers
if: always()
run: docker-compose -f "./e2e/docker/apache-verdaccio/docker-compose.yaml" down

View File

@@ -1,42 +0,0 @@
name: E2E Docker Proxy Nginx Test
on:
workflow_dispatch:
push:
branches:
- 'master'
jobs:
docker:
timeout-minutes: 10
runs-on: ubuntu-latest
env:
NODE_OPTIONS: --max_old_space_size=4096
steps:
- name: Checkout
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
- name: Start containers
run: docker-compose -f "./e2e/docker/proxy-nginx/docker-compose.yaml" up -d --build
- name: Install node
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v3
with:
node-version-file: '.nvmrc'
- name: npm setup
run: |
npm config set fetch-retries="10"
npm config set fetch-retry-factor="50"
npm config set fetch-retry-mintimeout="20000"
npm config set fetch-retry-maxtimeout="80000"
- name: verdaccio cli
run: npm install -g verdaccio --registry http://localhost
- name: gastby cli
run: npm install -g gatsby-cli --registry http://localhost
#- name: netlify cli
# run: npm install -g netlify-cli --registry http://localhost
- name: angular cli
run: npm install -g @angular/cli --registry http://localhost
- name: Stop containers
if: always()
run: docker-compose -f "./e2e/docker/proxy-nginx/docker-compose.yaml" down

View File

@@ -4,52 +4,25 @@ on:
push:
paths:
- .github/workflows/docker-publish.yml
- .github/workflows/docker-publish.yml
- 'packages/**'
- 'src/**'
- 'conf/**'
- 'types/**'
- 'docker-bin/**'
- 'bin/**'
- 'package.json'
- 'pnpm-*.yaml'
- 'Dockerfile'
- '.dockerignore'
- 'yarn.lock'
- '.yarn/**'
- '.yarnrc.yaml'
branches:
- 'master'
- '**'
tags:
- 'v*'
permissions:
contents: read # to fetch code (actions/checkout)
- 'v*'
jobs:
docker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
- uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 # tag=v1
- uses: docker/setup-buildx-action@v1
with:
driver-opts: network=host
- uses: docker/login-action@v1
name: Login Docker Hub
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Prepare docker image tags
id: docker_meta
uses: crazy-max/ghaction-docker-meta@v1
with:
images: ${{ github.repository }}
tag-custom: nightly-master
tag-custom-only: ${{ github.ref == 'refs/heads/master' }}
tag-semver: |
{{version}}
{{major}}
{{major}}.{{minor}}
- name: Build & Push
uses: docker/build-push-action@v4
with:
context: .
file: ./Dockerfile
platforms: linux/amd64,linux/arm64
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.docker_meta.outputs.tags }}
labels: ${{ steps.docker_meta.outputs.labels }}
docker-publish:
secrets: inherit
uses: verdaccio/verdaccio/.github/workflows/shared-docker-publish.yml@master
with:
tag-latest: true
tag-custom: 6.x-next
tag-custom-only: ${{ github.ref == 'refs/heads/6.x' }}

View File

@@ -0,0 +1,12 @@
on:
pull_request:
push:
concurrency:
group: e2e-audit-${{ github.ref }}-6.x
cancel-in-progress: true
name: 'Plugin Audit E2E'
jobs:
e2e:
uses: verdaccio/verdaccio/.github/workflows/x-e2e-audit-workflow.yml@master

View File

@@ -1,216 +0,0 @@
name: E2E CLI
on: [pull_request]
permissions:
contents: read
jobs:
prepare:
runs-on: ubuntu-latest
name: setup e2e verdaccio
services:
verdaccio:
image: verdaccio/verdaccio:nightly-master
ports:
- 4873:4873
env:
NODE_ENV: production
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
- name: Use Node
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v3
with:
node-version-file: '.nvmrc'
- name: Install pnpm
run: |
corepack enable
corepack prepare
- name: set store
run: |
mkdir ~/.pnpm-store
pnpm config set store-dir ~/.pnpm-store
- name: Install
run: pnpm install --reporter=silence --ignore-scripts --registry http://localhost:4873
- name: Cache .pnpm-store
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3
with:
path: ~/.pnpm-store
key: pnpm-${{ hashFiles('pnpm-lock.yaml') }}-${{ github.run_id }}-${{ github.sha }}
restore-keys: |
pnpm-
build:
needs: [prepare]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
- name: Use Node 16
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v3
with:
node-version-file: '.nvmrc'
- name: Install pnpm
run: |
corepack enable
corepack prepare
- uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3
with:
path: ~/.pnpm-store
key: pnpm-${{ hashFiles('pnpm-lock.yaml') }}-${{ github.run_id }}-${{ github.sha }}
- name: set store
run: |
pnpm config set store-dir ~/.pnpm-store
- name: Install
run: pnpm recursive install --reporter=silence --registry http://localhost:4873
- name: build
run: pnpm build
- name: Cache packages
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3
id: cache-packages
with:
path: ./packages/
key: pkg-${{ hashFiles('pnpm-lock.yaml') }}-${{ github.run_id }}-${{ github.sha }}
restore-keys: |
packages-
# - name: Cache test
# uses: actions/cache@9b0c1fce7a93df8e3bb8926b0d6e9d89e92f20a7 # tag=v3
# id: cache-test
# with:
# path: ./e2e/
# key: test-${{ hashFiles('pnpm-lock.yaml') }}-${{ github.run_id }}-${{ github.sha }}
# restore-keys: |
# test-
e2e-cli-npm:
needs: [prepare, build]
strategy:
fail-fast: false
matrix:
pkg:
[
npm6,
npm7,
npm8,
npm9,
npm10
]
node: [20, 21]
name: ${{ matrix.pkg }}/ ubuntu-latest / ${{ matrix.node }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
- uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v3
with:
node-version: ${{ matrix.node }}
- name: Install pnpm
run: |
corepack enable
corepack prepare
- uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3
with:
path: ~/.pnpm-store
key: pnpm-${{ hashFiles('pnpm-lock.yaml') }}-${{ github.run_id }}-${{ github.sha }}
- name: set store
run: |
pnpm config set store-dir ~/.pnpm-store
- name: Install
run: pnpm install --offline --reporter=silence --ignore-scripts --registry http://localhost:4873
- uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3
with:
path: ./packages/
key: pkg-${{ hashFiles('pnpm-lock.yaml') }}-${{ github.run_id }}-${{ github.sha }}
# - uses: actions/cache@9b0c1fce7a93df8e3bb8926b0d6e9d89e92f20a7 # tag=v3
# with:
# path: ./e2e/
# key: test-${{ hashFiles('pnpm-lock.yaml') }}-${{ github.run_id }}-${{ github.sha }}
- name: build e2e
run: pnpm --filter @verdaccio/test-cli-commons build
- name: Test CLI
run: NODE_ENV=production pnpm test --filter ...@verdaccio/e2e-cli-${{matrix.pkg}}
# TODO: fix pnpm setup
# e2e-cli-pnpm:
# needs: [prepare, build]
# strategy:
# fail-fast: true
# matrix:
# pkg:
# [
# pnpm6,
# pnpm7,
# pnpm8
# ]
# node: [20, 21]
# name: ${{ matrix.pkg }}/ ubuntu-latest / ${{ matrix.node }}
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
# - uses: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7 # v3
# with:
# node-version: ${{ matrix.node }}
# - name: Install pnpm
# run: |
# corepack enable
# corepack prepare
# - uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3
# with:
# path: ~/.pnpm-store
# key: pnpm-${{ hashFiles('pnpm-lock.yaml') }}-${{ github.run_id }}-${{ github.sha }}
# - name: set store
# run: |
# pnpm config set store-dir ~/.pnpm-store
# - name: Install
# run: pnpm install --loglevel debug --ignore-scripts --registry http://localhost:4873
# - uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3
# with:
# path: ./packages/
# key: pkg-${{ hashFiles('pnpm-lock.yaml') }}-${{ github.run_id }}-${{ github.sha }}
# # - uses: actions/cache@9b0c1fce7a93df8e3bb8926b0d6e9d89e92f20a7 # tag=v3
# # with:
# # path: ./e2e/
# # key: test-${{ hashFiles('pnpm-lock.yaml') }}-${{ github.run_id }}-${{ github.sha }}
# - name: build e2e
# run: pnpm --filter @verdaccio/test-cli-commons build
# - name: Test CLI
# run: NODE_ENV=production pnpm test --filter ...@verdaccio/e2e-cli-${{matrix.pkg}}
e2e-cli-yarn:
needs: [prepare, build]
strategy:
fail-fast: false
matrix:
pkg:
[
yarn1,
yarn2,
yarn3,
yarn4
]
node: [20, 21]
name: ${{ matrix.pkg }}/ ubuntu-latest / ${{ matrix.node }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
- uses: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7 # v3
with:
node-version: ${{ matrix.node }}
- name: Install pnpm
run: |
corepack enable
corepack prepare
- uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3
with:
path: ~/.pnpm-store
key: pnpm-${{ hashFiles('pnpm-lock.yaml') }}-${{ github.run_id }}-${{ github.sha }}
- name: set store
run: |
pnpm config set store-dir ~/.pnpm-store
- name: Install
run: pnpm install --offline --reporter=silence --ignore-scripts --registry http://localhost:4873
- uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3
with:
path: ./packages/
key: pkg-${{ hashFiles('pnpm-lock.yaml') }}-${{ github.run_id }}-${{ github.sha }}
# - uses: actions/cache@9b0c1fce7a93df8e3bb8926b0d6e9d89e92f20a7 # tag=v3
# with:
# path: ./e2e/
# key: test-${{ hashFiles('pnpm-lock.yaml') }}-${{ github.run_id }}-${{ github.sha }}
- name: build e2e
run: pnpm --filter @verdaccio/test-cli-commons build
- name: Test CLI
run: NODE_ENV=production pnpm test --filter ...@verdaccio/e2e-cli-${{matrix.pkg}}

View File

@@ -0,0 +1,17 @@
on:
pull_request:
concurrency:
group: e2e-cli-${{ github.ref }}-6.x
cancel-in-progress: true
name: 'E2E install CLI libraries through verdaccio'
jobs:
e2e-gatsbyjs:
uses: verdaccio/verdaccio/.github/workflows/x-e2e-gatsbyjs-cli-workflow.yml@master
e2e-jest:
uses: verdaccio/verdaccio/.github/workflows/x-e2e-jest-workflow.yml@master
e2e-angular-cli:
uses: verdaccio/verdaccio/.github/workflows/x-e2e-angular-cli-workflow.yml@master

View File

@@ -1,36 +0,0 @@
name: E2E UI
on: [pull_request]
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
name: UI Test E2E
services:
verdaccio:
image: verdaccio/verdaccio:5
ports:
- 4873:4873
env:
NODE_ENV: production
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
- name: Use Node
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v3
with:
node-version-file: '.nvmrc'
- name: Install pnpm
run: |
corepack enable
corepack prepare
- name: Install
run: pnpm install --reporter=silence --registry http://localhost:4873
- name: build
run: pnpm build
- name: Test UI
run: pnpm test:e2e:ui
- uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3
with:
name: videos
path: /home/runner/work/verdaccio/verdaccio/e2e/ui/cypress/videos

11
.github/workflows/release-snapshot.yml vendored Normal file
View File

@@ -0,0 +1,11 @@
name: Release Canary
on:
workflow_dispatch:
push:
branches:
- 6.x
jobs:
snapshot:
secrets: inherit
uses: verdaccio/verdaccio/.github/workflows/x-release-snapshot.yml@master

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

@@ -0,0 +1,11 @@
name: Release
on:
push:
tags:
- '*'
jobs:
snapshot:
secrets: inherit
uses: verdaccio/verdaccio/.github/workflows/x-release.yml@master

17
.github/workflows/smoke-test-docker.yml vendored Normal file
View File

@@ -0,0 +1,17 @@
name: Docker Smoke Test
on:
workflow_dispatch:
push:
permissions:
contents: read
concurrency:
group: e2e-docker-pkgs-${{ github.ref }}-6.x
cancel-in-progress: true
jobs:
smoke:
uses: verdaccio/verdaccio/.github/workflows/x-smok-test-docker.yml@master
with:
docker_tag: '6.x-next'
module_tag: '@latest'

View File

@@ -0,0 +1,90 @@
name: Import Module Smoke Test
on: [pull_request]
permissions:
contents: read
concurrency:
group: smoke-test-import-module-${{ github.ref }}-6x
cancel-in-progress: true
jobs:
test:
strategy:
fail-fast: false
matrix:
node_version: [18, 20, 22, 24]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Use Node ${{ matrix.node_version }}
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
with:
node-version: ${{ matrix.node_version }}
- name: Docker test
run: |
docker run -d -it --rm --name verdaccio -p 4873:4873 -e "DEBUG=verdaccio*" verdaccio/verdaccio:6
- name: login
run: npx npm-cli-login -u test -p 1234 -e test@domain.test -r http://localhost:4873
- name: Install dependencies
run: yarn
- name: Bump up package and save version
run: |
npm version prerelease --no-git-tag-version --preid $(date +%s%N)
echo "VERDACCIO_VERSION=$(node -p "require('./package.json').version")" >> $GITHUB_ENV
- name: Build
run: yarn build
- name: publish verdaccio
run: npm publish --tag next --registry http://localhost:4873
- name: 'Running runServer / export the integration test'
run: |
source scripts/e2e-setup-ci.sh
npm init --force
npm install vitest --registry http://localhost:4873
npm install verdaccio@${{ env.VERDACCIO_VERSION }} --loglevel info --registry http://localhost:4873
echo "import { describe, expect, test } from 'vitest';
import { runServer, getDefaultConfig, fileUtils } from 'verdaccio';
test('runServer should start correctly with default config', async () => {
const storage = await fileUtils.createTempStorageFolder('basic-test');
expect(typeof runServer).toBe('function');
const defaultConfig = {...getDefaultConfig(), storage}
console.log('Default Config:', defaultConfig);
const server = await runServer(defaultConfig);
expect(server).toBeDefined();
expect(server).toHaveProperty('listen');
if (server && typeof server.close === 'function') {
await server.close();
}
});" | tee module.spec.js
cat module.spec.js
DEBUG=verdaccio* yarn vitest run module.spec --reporter verbose
- name: 'Running startVerdaccio / export integration test'
run: |
source scripts/e2e-setup-ci.sh
npm init --force
npm install vitest --registry http://localhost:4873
npm install verdaccio@${{ env.VERDACCIO_VERSION }} --loglevel info --registry http://localhost:4873
echo "import { describe, expect, test } from 'vitest';
import { startVerdaccio, getDefaultConfig, fileUtils } from 'verdaccio';
test('run server should be able to listen', async () => {
const storage = await fileUtils.createTempStorageFolder('basic-test');
expect(typeof startVerdaccio).toBe('function');
const defaultConfig = {...getDefaultConfig(), storage}
console.log('Default Config:', defaultConfig);
return new Promise((done) => {
startVerdaccio(defaultConfig, '5000', storage, '1.0.0', 'verdaccio', (server, addr) => {
expect(server).toBeDefined();
expect(addr).toBeDefined();
expect(addr.port).toBe('5000');
server.close();
done(true);
});
});
});" | tee legacy.module.spec.js
cat legacy.module.spec.js
DEBUG=verdaccio* yarn vitest run legacy.module.spec.js --reporter verbose

View File

@@ -1,54 +0,0 @@
---
name: static data
on:
workflow_dispatch:
schedule:
# twice peer week
- cron: '0 0 * * 1,4'
# for now, scheduled, we can enable on push master but not make much sense now
# push:
# branches:
# - master
permissions:
contents: read # to fetch code (actions/checkout)
jobs:
prepare:
name: Run script
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
with:
persist-credentials: false
fetch-depth: 0
- uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v3
with:
node-version: 18.x
- name: install pnpm
run: sudo npm i pnpm@latest-8 -g
- name: install dependencies
run: pnpm install
- name: Build Translations percentage
run: pnpm --filter @verdaccio/crowdin-translations build
- name: update contributors
run: pnpm run contributors
env:
TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: update addson data
run: pnpm script:addson
- name: update translations
run: pnpm run translations
env:
TOKEN: ${{ secrets.CROWDIN_VERDACCIO_API_KEY }}
- name: format
run: pnpm format
- name: Commit & Push changes
uses: actions-js/push@156f2b10c3aa000c44dbe75ea7018f32ae999772 # tag=v1.4
with:
github_token: ${{ secrets.TOKEN_VERDACCIOBOT_GITHUB }}
message: "chore: updated static data"
branch: master
author_email: verdaccio.npm@gmail.com
author_name: verdacciobot

148
.github/workflows/test-docker-build.yml vendored Normal file
View File

@@ -0,0 +1,148 @@
name: Test Docker Build
on: [push, pull_request]
concurrency:
group: ci-${{ github.ref }}-docker-build-test
cancel-in-progress: true
jobs:
testDocker:
name: Test Docker Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
- name: Build Docker image
run: docker build -t verdaccio-test .
env:
VERDACCIO_BUILD_REGISTRY: https://registry.npmjs.org
- name: Run Verdaccio in background
run: |
docker run -d --name verdaccio-test -e "DEBUG=verdaccio*" -p 4873:4873 verdaccio-test
sleep 10 # Give Verdaccio some time to start
- name: Test npm install from local Verdaccio
run: |
npm set registry http://localhost:4873
npm install -g verdaccio
- name: Show Verdaccio logs (for debugging)
if: always()
run: docker logs verdaccio-test
- name: Stop Verdaccio
if: always()
run: docker stop verdaccio-test
testStorageVolume:
name: Test Storage Volume
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
- name: Build Docker image
run: docker build -t verdaccio-test .
env:
VERDACCIO_BUILD_REGISTRY: https://registry.npmjs.org
- name: Prepare storage directory
run: |
mkdir -p storage
sudo chown -R 10001:root storage
- name: Run Verdaccio with storage volume
run: |
docker run -d --name verdaccio-test -e "DEBUG=verdaccio*" -p 4873:4873 \
-v $PWD/storage:/verdaccio/storage \
verdaccio-test
sleep 10
- name: Test npm install from local Verdaccio
run: |
npm set registry http://localhost:4873
npm install -g verdaccio
- name: Show Verdaccio logs (for debugging)
if: always()
run: docker logs verdaccio-test
- name: Stop Verdaccio
if: always()
run: docker stop verdaccio-test
testConfigVolume:
name: Test Config Volume
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
- name: Build Docker image
run: docker build -t verdaccio-test .
env:
VERDACCIO_BUILD_REGISTRY: https://registry.npmjs.org
- name: Create config.yaml without comments
run: |
cat > config.yaml <<'EOF'
storage: /verdaccio/storage/data
plugins: /verdaccio/plugins
web:
title: Verdaccio
auth:
htpasswd:
file: /verdaccio/storage/htpasswd
uplinks:
npmjs:
url: https://registry.npmjs.org/
yarn:
url: https://registry.yarnpkg.com/
packages:
'@*/*':
access: $all
publish: $authenticated
unpublish: $authenticated
proxy: npmjs
'**':
access: $all
publish: $authenticated
unpublish: $authenticated
proxy: yarn
server:
keepAliveTimeout: 60
middlewares:
audit:
enabled: true
log:
type: stdout
format: pretty
level: http
i18n:
web: en-US
EOF
- name: Set permissions for config.yaml
run: |
sudo chown 10001:root config.yaml
sudo chmod 644 config.yaml
- name: Run Verdaccio with config volume
run: |
docker run -d --name verdaccio-test -e "DEBUG=verdaccio*" -p 4873:4873 \
-v $PWD/config.yaml:/verdaccio/conf/config.yaml \
verdaccio-test
sleep 10
- name: Test npm install from local Verdaccio
run: |
npm set registry http://localhost:4873
npm install -g verdaccio
- name: Show Verdaccio logs (for debugging)
if: always()
run: docker logs verdaccio-test
- name: Stop Verdaccio
if: always()
run: docker stop verdaccio-test

View File

@@ -0,0 +1,9 @@
name: Test Publish Package
on: [push, pull_request]
jobs:
testVerdaccio:
uses: verdaccio/verdaccio/.github/workflows/test-publish-package.yml@master
with:
verdaccio-version: "6"

View File

@@ -1,78 +0,0 @@
name: UI Components
on:
workflow_dispatch:
pull_request:
paths:
- .github/workflows/ui-components.yml
- 'packages/ui-components/**'
- 'package.json'
- 'pnpm-workspace.yaml'
- 'pnpm-lock.yaml'
permissions:
contents: read # to fetch code (actions/checkout)
env:
DEBUG: verdaccio*
jobs:
deploy:
permissions:
contents: read # to fetch code (actions/checkout)
deployments: write
pull-requests: write # to comment on pull-requests
runs-on: ubuntu-latest
env:
NODE_OPTIONS: --max_old_space_size=4096
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
- name: Use Node
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v3
with:
node-version-file: '.nvmrc'
- name: Cache pnpm modules
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3
env:
cache-name: cache-pnpm-modules
with:
path: ~/.pnpm-store
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ matrix.node-version }}-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-${{ matrix.node-version }}-
- name: Install pnpm
run: |
corepack enable
corepack prepare --activate pnpm@8.9.0
- name: Install
run: pnpm install
- name: Build storybook
run: pnpm ui:storybook:build
- name: Copy public content
# the msw.js worker is need it at the storybook-static folder in production
run: cp -R packages/ui-components/public/* packages/ui-components/storybook-static
- name: 🔥 Deploy Production UI Netlify
if: (github.event_name == 'push' && github.ref == 'refs/heads/master') || github.event_name == 'workflow_dispatch'
uses: verdaccio/action-netlify-deploy@1c086d59169edeec9254672c7de17d2ceac3928f # v2.0.0
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
netlify-auth-token: ${{ secrets.NETLIFY_AUTH_TOKEN }}
netlify-site-id: ${{ secrets.NETLIFY_UI_SITE_ID }}
build-dir: './packages/ui-components/storybook-static'
- name: 🤖 Deploy Preview UI Components Netlify
if: github.repository == 'verdaccio/verdaccio'
uses: semoal/action-netlify-deploy@1a53f098745bf78555d11b436f5ee3af87e6b566
id: netlify_preview_ui
with:
draft: true
comment-on-pull-request: true
github-deployment-is-production: false
github-deployment-is-transient: true
github-token: ${{ secrets.GITHUB_TOKEN }}
netlify-auth-token: ${{ secrets.NETLIFY_AUTH_TOKEN }}
netlify-site-id: ${{ secrets.NETLIFY_UI_SITE_ID }}
build-dir: './packages/ui-components/storybook-static'

View File

@@ -1,152 +0,0 @@
name: Verdaccio Website CI
on:
workflow_dispatch:
pull_request:
paths:
- 'website/**'
- './.github/workflows/website.yml'
schedule:
- cron: '0 0 * * *'
permissions:
contents: read # to fetch code (actions/checkout)
jobs:
build:
permissions:
contents: read # to fetch code (actions/checkout)
deployments: write
pull-requests: write # to comment on pull-requests
runs-on: ubuntu-latest
name: setup verdaccio
services:
verdaccio:
image: verdaccio/verdaccio:5
ports:
- 4873:4873
env:
NODE_ENV: production
env:
NODE_OPTIONS: --max_old_space_size=4096
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
- name: Node
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v3
with:
node-version-file: '.nvmrc'
- name: Install pnpm
run: |
corepack enable
corepack install
- name: set store
run: |
mkdir ~/.pnpm-store
pnpm config set store-dir ~/.pnpm-store
- name: Install
run: pnpm install --registry http://localhost:4873
- name: Cache .pnpm-store
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3
with:
path: ~/.pnpm-store
key: pnpm-${{ hashFiles('pnpm-lock.yaml') }}
restore-keys: |
pnpm-
- name: Build
run: pnpm build
- name: Build Translations percentage
run: pnpm --filter @verdaccio/crowdin-translations build
- name: Cache Docusaurus Build
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3
with:
path: website/node_modules/.cache/webpack
key: cache/webpack-${{github.ref}}-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: cache/webpack-${{github.ref}}
# Will deploy to production on:
# 1st: When a push occurs on master branch
# 2nd: When we force the worflow dispatch through the UI
- name: Build Production
if: (github.event_name == 'push' && github.ref == 'refs/heads/master') || github.event_name == 'workflow_dispatch'
env:
CROWDIN_VERDACCIO_API_KEY: ${{ secrets.CROWDIN_VERDACCIO_API_KEY }}
SENTRY_KEY: ${{ secrets.SENTRY_KEY }}
CONTEXT: production
run: pnpm --filter @verdaccio/website netlify:build:production
- name: 🔥 Deploy Production Netlify
if: (github.event_name == 'push' && github.ref == 'refs/heads/master') || github.event_name == 'workflow_dispatch'
uses: semoal/action-netlify-deploy@1a53f098745bf78555d11b436f5ee3af87e6b566
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
netlify-auth-token: ${{ secrets.NETLIFY_AUTH_TOKEN }}
netlify-site-id: ${{ secrets.NETLIFY_SITE_ID }}
build-dir: './website/build'
# Will deploy to Preview URL, only when a pull request is open with changes on the website
- name: Build Deployment Preview
env:
CONTEXT: deploy-preview
run: pnpm --filter ...@verdaccio/website netlify:build:deployPreview
- name: 🤖 Deploy Preview Netlify
if: github.repository == 'verdaccio/verdaccio'
uses: semoal/action-netlify-deploy@1a53f098745bf78555d11b436f5ee3af87e6b566
id: netlify_preview
with:
draft: true
comment-on-pull-request: true
github-deployment-is-production: false
github-deployment-is-transient: true
github-token: ${{ secrets.GITHUB_TOKEN }}
netlify-auth-token: ${{ secrets.NETLIFY_AUTH_TOKEN }}
netlify-site-id: ${{ secrets.NETLIFY_SITE_ID }}
build-dir: './website/build'
- name: Audit preview URL with Lighthouse
if: github.repository == 'verdaccio/verdaccio'
id: lighthouse_audit
uses: treosh/lighthouse-ci-action@03becbfc543944dd6e7534f7ff768abb8a296826 # tag=10.1.0
with:
urls: |
${{ steps.netlify_preview.outputs.preview-url }}
uploadArtifacts: true
temporaryPublicStorage: true
- name: Format lighthouse score
id: format_lighthouse_score
uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
const result = ${{ steps.lighthouse_audit.outputs.manifest }}[0].summary
const links = ${{ steps.lighthouse_audit.outputs.links }}
const formatResult = (res) => Math.round((res * 100))
Object.keys(result).forEach(key => result[key] = formatResult(result[key]))
const score = res => res >= 90 ? '🟢' : res >= 50 ? '🟠' : '🔴'
const comment = [
`⚡️ [Lighthouse report](${Object.values(links)[0]}) for the changes in this PR:`,
'| Category | Score |',
'| --- | --- |',
`| ${score(result.performance)} Performance | ${result.performance} |`,
`| ${score(result.accessibility)} Accessibility | ${result.accessibility} |`,
`| ${score(result['best-practices'])} Best practices | ${result['best-practices']} |`,
`| ${score(result.seo)} SEO | ${result.seo} |`,
' ',
`*Lighthouse ran on [${Object.keys(links)[0]}](${Object.keys(links)[0]})*`
].join('\n')
core.setOutput("comment", comment);
- name: Add comment to PR
if: github.repository == 'verdaccio/verdaccio'
id: comment_to_pr
uses: marocchino/sticky-pull-request-comment@efaaab3fd41a9c3de579aba759d2552635e590fd # v2
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
number: ${{ github.event.issue.number }}
delete: true
header: lighthouse
message: |
${{ steps.format_lighthouse_score.outputs.comment }}

60
.gitignore vendored
View File

@@ -1,55 +1,41 @@
*.log*
verdaccio-*.tgz
.DS_Store
build/
dist/
.eslintcache
node_modules
### database
### Test
test/unit/partials/store/test-*-storage/*
test/unit/partials/store/*-storage/*
test/unit/partials/store/storage_default_storage/*
.verdaccio-db.json
.sinopia-db.json
### test
###
!bin/verdaccio
test-storage*
access-storage*
.verdaccio_test_env
node_modules
package-lock.json
npm_test-fails-add-tarball*
yarn-error.log
.yarn/cache
./conf/*.yaml
# docker examples
docker-examples/v5/reverse_proxy/nginx/relative_path/storage/*
docker-examples/v5/**/storage/*
# jest
# coverage
reports/
coverage/
## IDE
# IDE
.idea/
# Compiled script
packages/partials
tsconfig.tsbuildinfo
static/*
## bundle files
packages/standalone/dist/
# This is the Yarn build state; it's local to each clone
/.yarn/build-state.yml
## 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/
#docs
website/docs/api/**/*.md
website/docs/api/**/*.yml
!website/docs/api/index.md
packages/**/docs
# cypress
e2e/ui/cypress/videos/**/*
e2e/ui/cypress/screenshots/**/*
# storybook
packages/ui-components/storybook-static
# This is the Yarn install state cache, it can be rebuilt anytime
/.yarn/install-state.gz
.history

View File

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

View File

@@ -1,10 +0,0 @@
module.exports = {
onPreBuild: async ({ utils: { build, run } }) => {
try {
await run.command("npm install -g pnpm")
await run.command("pnpm install --ignore-scripts --frozen-lockfile")
} catch (error) {
return build.failBuild(error)
}
}
}

View File

@@ -1,2 +0,0 @@
name: netlify-plugin-pnpm
inputs: []

View File

@@ -1,17 +1,15 @@
## npm
npm-debug.log
yarn-error.log
node_modules
verdaccio-*.tgz
docker-compose.yaml
Dockerfile
crowdin.yaml
scripts/
src/
/.*
.vscode/
.circleci/
debug/
docker-examples/
reports/
## assets and website
@@ -22,6 +20,7 @@ docs/
wiki/
## flow
flow-typed/
types/
# jest
@@ -38,3 +37,12 @@ jest.config.js
contrib/
storage_default_storage/
docker-bin/
tsconfig.json
*.md
prettier.config.js
eslintrc.cjs
babel.config.js
debug/*
tsconfig*
vitest.config.mjs

2
.nvmrc
View File

@@ -1 +1 @@
20
22

View File

@@ -3,37 +3,23 @@
**/corrupted.json
**/invalid.js
**/invalid.json
**/pnpm-lock.yaml
**/verdaccio-corrupted.db.json
**/wrong.package.json
crowdin.yaml
/docs/website
/website/translated_docs/
CHANGELOG.md
README.md
CONTRIBUTORS.md
test/unit/partials/config/js/*
node_modules/
**/coverage/**
**/static/*.js
**/dist/*.js
website/.docusaurus/**/*
website/i18n/**/*
**/build/*.js
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/*
build/
.vscode/
build/*
.github/
.netlify/
packages/**/docs/**
packages/mock/mock-store/**
api/**
packages/core/local-storage/tests/__fixtures__/test-storage/
packages/plugins/ui-theme/static/
.verdaccio-db.json
test/cli/e2e-yarn4/bin/yarn-4.0.0-rc.14.cjs
yarn.js
website/docs/api/*
packages/ui-components/storybook-static/*
.vscode/
.yarnrc.yml
.yarn/
test/functional/store/*
storage_default_storage/*
.prettierignore
.npmignore
.gitignore
*.ico

View File

@@ -1,22 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>verdaccio-dev</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
</buildSpec>
<natures>
</natures>
<filteredResources>
<filter>
<id>1630305579538</id>
<name></name>
<type>26</type>
<matcher>
<id>org.eclipse.ui.ide.multiFilter</id>
<arguments>1.0-name-matches-true-false-node_modules</arguments>
</matcher>
</filter>
</filteredResources>
</projectDescription>

File diff suppressed because it is too large Load Diff

1
.sonarcloud.properties Normal file
View File

@@ -0,0 +1 @@

View File

@@ -26,7 +26,7 @@
"no-descending-specificity": [true, { "severity": "warning" }],
"no-duplicate-at-import-rules": true,
"no-duplicate-selectors": true,
"no-empty-source": null,
"no-empty-source": true,
"no-extra-semicolons": true,
"no-invalid-double-slash-comments": true,
"property-no-unknown": true,
@@ -38,3 +38,4 @@
}
}

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

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

25
.vscode/launch.json vendored
View File

@@ -1,15 +1,14 @@
{
// Use IntelliSense to learn about possible Node.js debug attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Attach",
"port": 9229,
"request": "attach",
"skipFiles": ["<node_internals>/**"],
"type": "pwa-node"
}
]
"version": "0.2.0",
"configurations": [
{
"name": "Attach by Process ID",
"processId": "${command:PickProcess}",
"request": "attach",
"skipFiles": [
"<node_internals>/**"
],
"type": "node"
}
]
}

13
.vscode/settings.json vendored
View File

@@ -1,10 +1,15 @@
// Place your settings in this file to overwrite default and user settings.
{
"files.exclude": {
"**/build": false,
"**/coverage": true,
".idea": true,
"**/.idea": true,
"**/coverage": true
},
"editor.formatOnSave": true,
"search.exclude": {
"**/.yarn": true ,
"**/node_modules": true,
"**/build": true,
},
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true
}

942
.yarn/releases/yarn-4.9.2.cjs vendored Executable file

File diff suppressed because one or more lines are too long

7
.yarnrc.yml Normal file
View File

@@ -0,0 +1,7 @@
defaultSemverRangePrefix: ""
nodeLinker: node-modules
npmRegistryServer: "https://registry.npmjs.org"
yarnPath: .yarn/releases/yarn-4.9.2.cjs

2977
CHANGELOG.md Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -1,414 +1,13 @@
# Contributing
# Contributing to Verdaccio
> This guidelines refers to the main (`master`) that host the v6.x, if you want to contribute to `5.x` please read the following [link](https://github.com/verdaccio/verdaccio/blob/5.x/CONTRIBUTING.md).
Full text for contributing can be read [here](https://verdaccio.org/community/contributing).
We're happy that you're considering contributing!
## Especifics for the branch 6.x
To help you getting started we've prepared these guidelines for you, any change matter, just do it:
The 6.x uses `yarn berry` with Plug and Play enabled, thus some advices are required for helping contributing:
## How Do I Contribute?
There are many ways to contribute:
- [Report a bug](#reporting-bugs)
- [Request a feature you think would be great for Verdaccio](#feature-request)
- [Fixing bugs](https://github.com/verdaccio/verdaccio/issues?q=is%3Aopen+is%3Aissue+label%3A%22issue%3A+bug%22)
- [Test and triage bugs reported by others](https://github.com/verdaccio/verdaccio/issues?q=is%3Aopen+is%3Aissue+label%3Aissue_needs_triage)
- [Working on requested/approved features](https://github.com/verdaccio/verdaccio/issues?q=is%3Aopen+is%3Aissue+label%3A%22topic%3A+feature+request%22+)
- [Improve the codebase (linting, naming, comments, test descriptions, etc...)](https://github.com/verdaccio/verdaccio/discussions/1461)
- Improve code coverage for unit testing for every module, [end to end](https://github.com/verdaccio/verdaccio/tree/master/e2e/cli) or [UI test](https://github.com/verdaccio/verdaccio/tree/master/e2e/ui) (with cypress).
The Verdaccio project is split into several areas, the first three hosted in the main repository:
- **Core**: The [core](https://github.com/verdaccio/verdaccio) is the main repository, built with **Node.js**.
- **Website**: we use [**Docusaurus**](https://docusaurus.io/) for the **website** and if you are familiar with this technology, you might become the official webmaster.
- **User Interface**: The [user Interface](https://github.com/verdaccio/ui) is based in **react** and **material-ui** and looking for front-end contributors.
- **Kubernetes and Helm**: Ts the official repository for the [**Helm chart**](https://github.com/verdaccio/charts).
> There are other areas to contribute, like [documentation](https://github.com/verdaccio/verdaccio/tree/master/website/docs) or [translations](#translations}).
## Prepare local setup {#local-setup}
**Note**: The size of the Verdaccio project is quite significant. Unzipped it is about 33 MB. However, a full build with all node_modules installed takes about **2.8 GB** of disk space (~190k files)!
Verdaccio uses [pnpm](https://pnpm.io) as the package manager for development in this repository.
If you are using pnpm for the first time the [pnpm configuration documentation](https://pnpm.io/configuring) may be useful to avoid any potential problems with the following steps.
**Note**: pnpm uses npm's configuration formats so check that your global `.npmrc` file does not inadvertently disable package locks. In other words, your `.npmrc` file **should not** contain
```
package-lock=false
```
This setting would cause the `pnpm install` command to install incorrect versions of package dependencies and the subsequent `pnpm build` step would likely fail.
We use [corepack](https://github.com/nodejs/corepack) to install and use a specific (latest) version of pnpm. Please run the following commands which is use a specific version on Node.js and configure it to use a specific version of pnpm. The version of pnpm is specified in the `package.json` file in `packageManager` field.
```shell
nvm install
corepack enable
```
`pnpm` version will be updated mainly by the maintainers but if you would like to set it to a specific version, you can do so by running the following command:
> `packageManager` at the `package.json` defines the default version to be used.
```shell
corepack prepare
```
With pnpm installed, the first step is installing all dependencies:
```shell
pnpm install
```
### Building the project
Each package is independent, dependencies must be build first, run:
```shell
pnpm build
```
### Running test
```shell
pnpm test
```
Verdaccio is a mono repository. To run the tests for for a specific package:
```shell
cd packages/store
pnpm test
```
or an specific test in that package:
```shell
pnpm test test/merge.dist.tags.spec.ts
```
or a single test unit:
```shell
pnpm test test/merge.dist.tags.spec.ts -- -t 'simple'
```
Coverage reporting is enabled by default, but you can turn it off to speed up
test runs:
```shell
pnpm test test/merge.dist.tags.spec.ts -- -t 'simple' --coverage=false
```
You can enable increased [`debug`](https://www.npmjs.com/package/debug) output:
```shell
DEBUG=verdaccio:* pnpm test
```
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.
#### Developing with local server
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:
The command `pnpm start` runs web server on port `8000` and user interface (webpack-server) on port `4873`. This is particularly useful if you want to contribute to the UI, since it runs with hot reload. The request to the server are proxy through webpack proxy support through the port `4873`.
The user interface is split in two packages, the `/packages/plugins/ui-theme` and the `/packages/ui-components`. The `ui-components` package uses _storybook_ in order to develop component, but if you need to reload ui components with `ui-theme` do the following.
Go to `/packages/ui-component` and run `pnpm watch` to enable _babel_ in watch mode, every change on the components will be hot reloaded in combination with the `pnpm start` command.
Any change on the server packages, must be build independently (server do not has hot reload, `pnpm start` should be triggered again).
Any interaction with the server should be done through the port `8000` eg: `npm login --registry http://localhost:8000` .
#### Useful commands
- `pnpm debug`: Run the server in debug mode `--inspect`. UI runs too but without 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 {#debugging-compiled-code}
Currently you can only run pre-compiled packages in debug mode. To enable debug
while running add the `verdaccio` namespace using the `DEBUG` environment
variable, like this:
```shell
DEBUG=verdaccio:* node packages/verdaccio/debug/bootstrap.js
```
You can filter this output to just the packages you're interested in using
namespaces:
```shell
DEBUG=verdaccio:plugin:* node packages/verdaccio/debug/bootstrap.js
```
The debug code is intended to analyze what is happening under the hood and none
of the output is sent to the logger module.
> [See the full guide how to debug with Verdaccio](https://github.com/verdaccio/verdaccio/wiki/Debugging-Verdaccio)
#### Testing your changes in a local registry {#testing-local-registry}
Once you have perform your changes in the code base, the build and tests passes you can publish a local version:
- Ensure you have built all modules by running `pnpm build` (or the one you have modified)
- Run `pnpm local:publish:release` to launch a local registry and publish all packages into it. This command will be alive until server is killed (Control Key + C)
```shell
pnpm build
pnpm local:publish:release
```
The last step consist on install globally the package from the local registry which runs on the default port (4873).
```shell
npm i -g verdaccio --registry=http://localhost:4873
verdaccio
```
If you perform more changes in the source code, repeat this process, there is not _hot reloading_ support.
## Feature Request {#feature-request}
New feature requests are welcome. Analyse whether the idea fits within scope of the project. Adding in context and the use-case will really help!
**Please provide:**
- Create a [discussion](https://github.com/verdaccio/verdaccio/discussions/new).
- A detailed description the advantages of your request.
- Whether or not it's compatible with `npm`, `pnpm` and [_yarn classic_
](https://github.com/yarnpkg/yarn) or [_yarn modern_
](https://github.com/yarnpkg/berry).
- A potential implementation or design
- Whatever else is on your mind! 🤓
## Reporting Bugs {#reporting-bugs}
**Bugs are considered features that are not working as described in
documentation.**
If you've found a bug in Verdaccio **that isn't a security risk**, please file
a report in our [issue tracker](https://github.com/verdaccio/verdaccio/issues), if you think a potential vulnerability please read the [security policy](https://verdaccio.org/community/security) .
> **NOTE: Verdaccio still does not support all npm commands. Some were not
> considered important and others have not been requested yet.**
### What's is not considered a bug?
- _Third party integrations_: proxies integrations, external plugins
- _Package managers_: If a package manager does not support a specific command
or cannot be reproduced with another package manager
- _Features clearly flagged as not supported_
- _Node.js issues installation in any platform_: If you cannot install the
global package (this is considered external issue)
- Any ticket which has been flagged as an [external issue
](https://github.com/verdaccio/verdaccio/labels/external-issue)
If you intend to report a **security** issue, please follow our [Security policy
guidelines](https://github.com/verdaccio/verdaccio/security/policy).
### Issues {#issues}
Before reporting a bug please:
- Search for existing issues to see if it has already been reported
- Look for the **question** label: we have labelled questions for easy follow-up
as [questions](https://github.com/verdaccio/verdaccio/labels/question)
In case any of those match with your search, up-vote it (using GitHub reactions)
or add additional helpful details to the existing issue to show that it's
affecting multiple people.
### Contributing support
Questions can be asked via [Discord](https://discord.gg/7qWJxBf)
**Please use the `#contribute` channel.**
## Development Guidelines {#development-guidelines}
It's recommended use a UNIX system for local development, Windows dev local support is not being tested and might not work. To ensure a fast code review and merge, please follow the next guidelines:
Any contribution gives you the right to be part of this organization as _collaborator_ and your avatar will be automatically added to the [contributors page](https://verdaccio.org/contributors).
## Pull Request {#pull-request}
### Submitting a Pull Request {#submit-pull-request}
The following are the steps you should follow when creating a pull request.
Subsequent pull requests only need to follow step 3 and beyond.
1. Fork the repository on GitHub
2. Clone the forked repository to your machine
3. Make your changes and commit them to your local repository
4. Rebase and push your commits to your GitHub remote fork/repository
5. Issue a Pull Request to the official repository
6. Your Pull Request is reviewed by a committer and merged into the repository
**NOTE**: While there are other ways to accomplish the steps using other tools,
the examples here will assume most actions will be performed via `git` on
command line.
For more information on maintaining a fork, please see the GitHub Help article
titled [Fork a Repo](https://help.github.com/articles/fork-a-repo/), and
information on [rebasing](https://git-scm.com/book/en/v2/Git-Branching-Rebasing).
### Make Changes and Commit
#### Caveats
Feel free to commit as much times you want in your branch, but keep on mind on
this repository we `git squash` on merge by default, as we like to maintain a
clean git history.
#### Before Push {#before-push}
Before committing or push, **you must ensure there are no linting errors and
all tests passes**. To do verify, run these commands before creating the PR:
### Debugging Jest
```bash
pnpm lint
pnpm format
pnpm build
pnpm test
yarn node --inspect-brk --expose-gc $(yarn bin jest) test --runInBand --silent --logHeapUsage test/unit/modules/api/publish.spec.ts
```
> note: eslint and formatting are run separately, keep code formatting
> before push.
All good? Perfect! You should create the pull request.
#### Commit Guidelines {#commits}
On a pull request, commit messages are not important, please focus on document properly the pull request content. The commit message will be taken from the pull request title, it is recommended to use lowercase format.
### Adding a changeset {#changeset}
We use [changesets](https://github.com/atlassian/changesets) in order to
generate a detailed Changelog as possible.
Adding a changeset with your Pull Request is essential if you want your
contribution to get merged (unless it does not affect functionality or
user-facing content, eg: docs, readme, adding test or typo/lint fixes). To
create a changeset please run:
```shell
pnpm changeset
```
Then select the packages you want to include in your changeset navigating
through them and press the spacebar to check it, on finish press enter to move
to the next step.
```
🦋 Which packages would you like to include? …
✔ changed packages
changed packages
✔ @verdaccio/api
✔ @verdaccio/auth
✔ @verdaccio/cli
✔ @verdaccio/config
✔ @verdaccio/commons-api
```
The next question would be if you want a _major bump_. This is not the usual
scenario, most likely you want a patch, and in that case press enter 2 times
(to skip minor)
```
🦋 Which packages should have a major bump? …
✔ all packages
✔ @verdaccio/config@5.0.0-alpha.0
```
Once you have the desired bump you need, the CLI will ask for a summary. Here
you have full freedom on what to include:
```
🦋 Which packages would you like to include? · @verdaccio/config
🦋 Which packages should have a major bump? · No items were selected
🦋 Which packages should have a minor bump? · No items were selected
🦋 The following packages will be patch bumped:
🦋 @verdaccio/config@5.0.0-alpha.0
🦋 Please enter a summary for this change (this will be in the changelogs). Submit empty line to open external editor
🦋 Summary
```
The last step is to confirm your changeset or abort the operation:
```
🦋 Is this your desired changeset? (Y/n) · true
🦋 Changeset added! - you can now commit it
🦋
🦋 If you want to modify or expand on the changeset summary, you can find it here
🦋 info /Users/user/verdaccio.clone/.changeset/light-scissors-smell.md
```
Once the changeset is added (all will have an unique name) you can freely edit
using markdown, adding additional information, code snippets or whatever else
you consider to be relevant.
All that information will be part of the **changelog**. Be concise but
informative! It's recommended to add your nickname and GitHub link to your
profile.
**PRs that do not follow the commit message guidelines will not be merged.**
### Update Tests
**Any change in source code must include test updates**.
If you need help with how testing works, please [refer to the following guide
](https://github.com/verdaccio/verdaccio/wiki/Running-and-Debugging-tests).
**If you are introducing new features, you MUST include new tests. PRs for
features without tests will not be merged.**
## Translations {#translations}
All translations are provided by the **[crowdin](http://crowdin.com)** 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.
> Languages with less the 40% of translations available are excluded by the build system.
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.
## Develop Plugins {#develop-plugins}
Plugins are add-ons that extend the functionality of the application.
If you want to develop your own plugin:
1. Check whether there is a legacy Sinopia plugin for the feature that you need
via [npmjs](https://www.npmjs.com/search?q=sinopia)
2. Keep in mind the [life-cycle to load a plugin
](https://verdaccio.org/docs/en/dev-plugins)
3. You are free to host your plugin in your repository
4. Provide a detailed description of your plugin to help users understand how to
use it

41
CONTRIBUTORS.md Normal file
View File

@@ -0,0 +1,41 @@
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
<!-- prettier-ignore-start -->
<!-- markdownlint-disable -->
<table>
<tr>
<td align="center"><a href="https://www.linkedin.com/in/jotadeveloper/"><img src="https://avatars0.githubusercontent.com/u/558752?v=4" width="100px;" alt=""/><br /><sub><b>Juan Picado</b></sub></a><br /><a href="https://github.com/verdaccio/verdaccio/commits?author=juanpicado" title="Documentation">📖</a> <a href="https://github.com/verdaccio/verdaccio/commits?author=juanpicado" title="Code">💻</a> <a href="#infra-juanpicado" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a> <a href="#eventOrganizing-juanpicado" title="Event Organizing">📋</a> <a href="#blog-juanpicado" title="Blogposts">📝</a> <a href="#maintenance-juanpicado" title="Maintenance">🚧</a></td>
<td align="center"><a href="https://github.com/sergiohgz"><img src="https://avatars3.githubusercontent.com/u/14012309?v=4" width="100px;" alt=""/><br /><sub><b>Sergio Herrera</b></sub></a><br /><a href="#infra-sergiohgz" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a> <a href="#maintenance-sergiohgz" title="Maintenance">🚧</a></td>
<td align="center"><a href="https://daniel-ruf.de/"><img src="https://avatars1.githubusercontent.com/u/827205?v=4" width="100px;" alt=""/><br /><sub><b>Daniel Ruf</b></sub></a><br /><a href="#security-DanielRuf" title="Security">🛡️</a> <a href="#infra-DanielRuf" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a> <a href="#maintenance-DanielRuf" title="Maintenance">🚧</a></td>
<td align="center"><a href="https://priscilawebdev.github.io/priscilaoliveira/"><img src="https://avatars1.githubusercontent.com/u/29228205?v=4" width="100px;" alt=""/><br /><sub><b>Priscila Oliveira</b></sub></a><br /><a href="#design-priscilawebdev" title="Design">🎨</a> <a href="https://github.com/verdaccio/verdaccio/commits?author=priscilawebdev" title="Code">💻</a> <a href="#maintenance-priscilawebdev" title="Maintenance">🚧</a></td>
<td align="center"><a href="http://ayusharma.github.io/"><img src="https://avatars0.githubusercontent.com/u/6918450?v=4" width="100px;" alt=""/><br /><sub><b>Ayush Sharma</b></sub></a><br /><a href="#infra-ayusharma" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a> <a href="https://github.com/verdaccio/verdaccio/commits?author=ayusharma" title="Code">💻</a> <a href="#design-ayusharma" title="Design">🎨</a></td>
<td align="center"><a href="https://github.com/trentearl"><img src="https://avatars2.githubusercontent.com/u/802857?v=4" width="100px;" alt=""/><br /><sub><b>Trent Earl</b></sub></a><br /><a href="https://github.com/verdaccio/verdaccio/commits?author=trentearl" title="Code">💻</a></td>
<td align="center"><a href="https://github.com/jmwilkinson"><img src="https://avatars0.githubusercontent.com/u/17836030?v=4" width="100px;" alt=""/><br /><sub><b>jmwilkinson</b></sub></a><br /><a href="https://github.com/verdaccio/verdaccio/commits?author=jmwilkinson" title="Code">💻</a></td>
</tr>
<tr>
<td align="center"><a href="https://github.com/bufferoverflow"><img src="https://avatars2.githubusercontent.com/u/378909?v=4" width="100px;" alt=""/><br /><sub><b>Roger Meier</b></sub></a><br /><a href="#plugin-bufferoverflow" title="Plugin/utility libraries">🔌</a></td>
<td align="center"><a href="https://ghuser.io/jamesgeorge007"><img src="https://avatars2.githubusercontent.com/u/25279263?v=4" width="100px;" alt=""/><br /><sub><b>James George</b></sub></a><br /><a href="https://github.com/verdaccio/verdaccio/commits?author=jamesgeorge007" title="Code">💻</a></td>
<td align="center"><a href="https://github.com/AvailCat"><img src="https://avatars3.githubusercontent.com/u/19658647?v=4" width="100px;" alt=""/><br /><sub><b>AvailCat</b></sub></a><br /><a href="https://github.com/verdaccio/verdaccio/commits?author=AvailCat" title="Code">💻</a> <a href="#infra-AvailCat" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a> <a href="#maintenance-AvailCat" title="Maintenance">🚧</a></td>
<td align="center"><a href="https://www.luciusgaitan.com/"><img src="https://avatars0.githubusercontent.com/u/5970350?v=4" width="100px;" alt=""/><br /><sub><b>Lucius Gaitán</b></sub></a><br /><a href="https://github.com/verdaccio/verdaccio/commits?author=lgaitan" title="Code">💻</a></td>
<td align="center"><a href="https://github.com/ramonornela"><img src="https://avatars1.githubusercontent.com/u/187946?v=4" width="100px;" alt=""/><br /><sub><b>Ramon Henrique Ornelas</b></sub></a><br /><a href="https://github.com/verdaccio/verdaccio/commits?author=ramonornela" title="Code">💻</a></td>
<td align="center"><a href="https://people.freebsd.org/~mi/resume/"><img src="https://avatars1.githubusercontent.com/u/1486340?v=4" width="100px;" alt=""/><br /><sub><b>UnitedMarsupials-zz</b></sub></a><br /><a href="https://github.com/verdaccio/verdaccio/commits?author=UnitedMarsupials-zz" title="Code">💻</a></td>
<td align="center"><a href="http://www.codingintrigue.co.uk/"><img src="https://avatars0.githubusercontent.com/u/9048902?v=4" width="100px;" alt=""/><br /><sub><b>Ryan Graham</b></sub></a><br /><a href="https://github.com/verdaccio/verdaccio/commits?author=ryan-codingintrigue" title="Code">💻</a></td>
</tr>
<tr>
<td align="center"><a href="https://github.com/coolsp"><img src="https://avatars1.githubusercontent.com/u/1246647?v=4" width="100px;" alt=""/><br /><sub><b>coolsp</b></sub></a><br /><a href="https://github.com/verdaccio/verdaccio/commits?author=coolsp" title="Code">💻</a></td>
<td align="center"><a href="http://ashishsurana.in/"><img src="https://avatars0.githubusercontent.com/u/5610944?v=4" width="100px;" alt=""/><br /><sub><b>Ashish Surana</b></sub></a><br /><a href="https://github.com/verdaccio/verdaccio/commits?author=ashishsurana" title="Code">💻</a></td>
<td align="center"><a href="https://github.com/buffaybu"><img src="https://avatars3.githubusercontent.com/u/2025661?v=4" width="100px;" alt=""/><br /><sub><b>Wang Yifei</b></sub></a><br /><a href="https://github.com/verdaccio/verdaccio/commits?author=buffaybu" title="Code">💻</a></td>
<td align="center"><a href="https://twitter.com/liran_tal"><img src="https://avatars1.githubusercontent.com/u/316371?v=4" width="100px;" alt=""/><br /><sub><b>Liran Tal</b></sub></a><br /><a href="https://github.com/verdaccio/verdaccio/commits?author=lirantal" title="Code">💻</a></td>
<td align="center"><a href="https://github.com/brenordr"><img src="https://avatars2.githubusercontent.com/u/19731692?v=4" width="100px;" alt=""/><br /><sub><b>Breno Rodrigues</b></sub></a><br /><a href="https://github.com/verdaccio/verdaccio/commits?author=brenordr" title="Code">💻</a></td>
<td align="center"><a href="https://github.com/jachstet-sea"><img src="https://avatars0.githubusercontent.com/u/7993508?v=4" width="100px;" alt=""/><br /><sub><b>jachstet-sea</b></sub></a><br /><a href="https://github.com/verdaccio/verdaccio/commits?author=jachstet-sea" title="Code">💻</a></td>
<td align="center"><a href="https://patrik.votocek.cz/"><img src="https://avatars1.githubusercontent.com/u/112567?v=4" width="100px;" alt=""/><br /><sub><b>Patrik Votoček</b></sub></a><br /><a href="https://github.com/verdaccio/verdaccio/commits?author=Vrtak-CZ" title="Code">💻</a></td>
</tr>
<tr>
<td align="center"><a href="https://github.com/monkeywithacupcake"><img src="https://avatars3.githubusercontent.com/u/7316730?v=4" width="100px;" alt=""/><br /><sub><b>jess</b></sub></a><br /><a href="https://github.com/verdaccio/verdaccio/commits?author=monkeywithacupcake" title="Code">💻</a></td>
<td align="center"><a href="https://github.com/toolsofraj"><img src="https://avatars0.githubusercontent.com/u/2507152?v=4" width="100px;" alt=""/><br /><sub><b>toolsofraj</b></sub></a><br /><a href="https://github.com/verdaccio/verdaccio/commits?author=toolsofraj" title="Code">💻</a></td>
<td align="center"><a href="https://github.com/ddhp"><img src="https://avatars1.githubusercontent.com/u/1715380?v=4" width="100px;" alt=""/><br /><sub><b>Jian-Chen Chen (jesse)</b></sub></a><br /><a href="#translation-ddhp" title="Translation">🌍</a> <a href="https://github.com/verdaccio/verdaccio/commits?author=ddhp" title="Code">💻</a></td>
</tr>
</table>
<!-- markdownlint-enable -->
<!-- prettier-ignore-end -->
<!-- ALL-CONTRIBUTORS-LIST:END -->

View File

@@ -1,9 +1,13 @@
FROM --platform=${BUILDPLATFORM:-linux/amd64} node:21-alpine as builder
FROM --platform=${BUILDPLATFORM:-linux/amd64} node:22.13.1-alpine as builder
ENV NODE_ENV=development \
VERDACCIO_BUILD_REGISTRY=https://registry.npmjs.org
ENV NODE_ENV=production \
VERDACCIO_BUILD_REGISTRY=https://registry.npmjs.org \
HUSKY_SKIP_INSTALL=1 \
CI=true \
HUSKY_DEBUG=1
RUN apk --no-cache add openssl ca-certificates wget && \
RUN apk add --force-overwrite && \
apk --no-cache add openssl ca-certificates wget && \
apk --no-cache add g++ gcc libgcc libstdc++ linux-headers make python3 && \
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.35-r0/glibc-2.35-r0.apk && \
@@ -11,16 +15,23 @@ RUN apk --no-cache add openssl ca-certificates wget && \
WORKDIR /opt/verdaccio-build
COPY . .
RUN npm -g i pnpm@8.9.0 && \
pnpm config set registry $VERDACCIO_BUILD_REGISTRY && \
pnpm install --frozen-lockfile --ignore-scripts && \
rm -Rf test && \
pnpm run build
# FIXME: need to remove devDependencies from the build
# NODE_ENV=production pnpm install --frozen-lockfile --ignore-scripts
# RUN pnpm install --prod --ignore-scripts
FROM node:21-alpine
## build the project and create a tarball of the project for later
## global installation
RUN yarn config set npmRegistryServer $VERDACCIO_BUILD_REGISTRY && \
yarn config set enableProgressBars true && \
yarn config set enableScripts false && \
yarn install --immutable && \
yarn build
## pack the project
RUN yarn pack --out verdaccio.tgz \
&& mkdir -p /opt/tarball \
&& mv /opt/verdaccio-build/verdaccio.tgz /opt/tarball
## clean up and reduce bundle size
RUN rm -Rf /opt/verdaccio-build
FROM node:22.13.1-alpine
LABEL maintainer="https://github.com/verdaccio/verdaccio"
ENV VERDACCIO_APPDIR=/opt/verdaccio \
@@ -31,28 +42,63 @@ ENV VERDACCIO_APPDIR=/opt/verdaccio \
ENV PATH=$VERDACCIO_APPDIR/docker-bin:$PATH \
HOME=$VERDACCIO_APPDIR
# yarn version included in [`node:alpine` Docker image](https://github.com/nodejs/docker-node/blob/b3d8cc15338c545a4328286b2df806b511e2b31b/22/alpine3.21/Dockerfile#L81)
ENV YARN_VERSION=1.22.22
WORKDIR $VERDACCIO_APPDIR
# https://github.com/Yelp/dumb-init
RUN apk --no-cache add openssl dumb-init
RUN mkdir -p /verdaccio/storage /verdaccio/plugins /verdaccio/conf
COPY --from=builder /opt/verdaccio-build .
COPY --from=builder /opt/tarball .
RUN ls packages/config/src/conf
ADD packages/config/src/conf/docker.yaml /verdaccio/conf/config.yaml
USER root
# install verdaccio as a global package so is fully handled by npm
# ensure none dependency is being missing and is prod by default
RUN npm install -g $VERDACCIO_APPDIR/verdaccio.tgz \
# copy default config file
&& cp /usr/local/lib/node_modules/verdaccio/node_modules/@verdaccio/config/build/conf/docker.yaml /verdaccio/conf/config.yaml \
## clean up cache
&& npm cache clean --force \
&& rm -Rf .npm/ \
&& rm $VERDACCIO_APPDIR/verdaccio.tgz \
# yarn is not need it after this step
# Also remove the symlinks added in the [`node:alpine` Docker image](https://github.com/nodejs/docker-node/blob/b3d8cc15338c545a4328286b2df806b511e2b31b/22/alpine3.21/Dockerfile#L99-L100).
&& rm -Rf /opt/yarn-v$YARN_VERSION/ /usr/local/bin/yarn /usr/local/bin/yarnpkg
ADD docker-bin $VERDACCIO_APPDIR/docker-bin
# Create a non-root system user for running Verdaccio securely
# - Uses custom UID from $VERDACCIO_USER_UID
# - Sets home directory to $VERDACCIO_APPDIR
# - Assigns a shell of /sbin/nologin to prevent login access
RUN adduser -u $VERDACCIO_USER_UID -S -D -h $VERDACCIO_APPDIR -g "$VERDACCIO_USER_NAME user" -s /sbin/nologin $VERDACCIO_USER_NAME && \
chmod -R +x $VERDACCIO_APPDIR/packages/verdaccio/bin $VERDACCIO_APPDIR/docker-bin && \
chown -R $VERDACCIO_USER_UID:root /verdaccio/storage && \
chmod -R g=u /verdaccio/storage /etc/passwd
# Ensure Verdaccio's CLI entry points and custom docker binaries are executable
chmod -R +x /usr/local/lib/node_modules/verdaccio/bin/verdaccio $VERDACCIO_APPDIR/docker-bin && \
# Give ownership of critical runtime folders to the Verdaccio user
chown -R $VERDACCIO_USER_UID:root /verdaccio/storage /verdaccio/conf && \
# Allow group access to config and storage so other containers (e.g., volumes or init containers) can read/write if needed
chmod -R g=u /verdaccio/storage /verdaccio/conf /etc/passwd
# Switch to the non-root Verdaccio user by UID for improved security
# This ensures all following operations (including `CMD`) run as an unprivileged user
USER $VERDACCIO_USER_UID
# Expose Verdaccio's listening port (default: 4873) to the host
# This does not publish the port — that's handled at runtime with `-p` or `--publish`
EXPOSE $VERDACCIO_PORT
# Declare the storage directory as a Docker volume
# This allows data (packages, logs, etc.) to persist outside the container lifecycle
VOLUME /verdaccio/storage
# Set the entrypoint script
# - Used to adjust UID/GID dynamically in runtime (e.g. OpenShift)
# - Keeps CMD intact and allows passing custom commands
ENTRYPOINT ["uid_entrypoint"]
CMD $VERDACCIO_APPDIR/packages/verdaccio/bin/verdaccio --config /verdaccio/conf/config.yaml --listen $VERDACCIO_PROTOCOL://0.0.0.0:$VERDACCIO_PORT
# Default command to start Verdaccio using the custom config
# - Uses environment variables for protocol and port binding
CMD verdaccio --config /verdaccio/conf/config.yaml --listen $VERDACCIO_PROTOCOL://0.0.0.0:$VERDACCIO_PORT

View File

@@ -1,6 +1,6 @@
MIT License
Copyright (c) 2021 Verdaccio contributors
Copyright (c) 2023 Verdaccio contributors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal

198
README.md
View File

@@ -1,19 +1,8 @@
[![BannerUK](https://cdn.verdaccio.dev/readme/banner-uk.svg)](https://donate.redcrossredcrescent.org/ua/donate/~my-donation?_cv=1)
> Verdaccio stands for **peace**, stop the war, we will be yellow / blue 🇺🇦 until that happens.
![verdaccio logo](https://cdn.verdaccio.dev/readme/verdaccio@2x.png)
![verdaccio gif](https://cdn.verdaccio.dev/readme/readme-website.png)
# Version Next (Development branch)
> Looking for Verdaccio 5 version? Check the branch `5.x`
> The plugins for the `v5.x` that are hosted within this organization are located
> at the [`verdaccio/monorepo`](https://github.com/verdaccio/monorepo) repository, while for the `next` version
> are hosted on this project `./packages/plugins`, keep on mind `next` plugins will eventually would be
> incompatible with `v5.x` versions.
> Note that contributing guidelines might be different based on the branch.
# Version 6
[Verdaccio](https://verdaccio.org/) is a simple, **zero-config-required local private npm registry**.
No need for an entire database just to get started! Verdaccio comes out of the box with
@@ -27,9 +16,8 @@ Google Cloud Storage** or create your own plugin.
[![verdaccio (downloads)](https://img.shields.io/npm/dy/verdaccio.svg)](https://www.npmjs.com/package/verdaccio)
[![docker pulls](https://img.shields.io/docker/pulls/verdaccio/verdaccio.svg?maxAge=43200)](https://verdaccio.org/docs/en/docker.html)
[![backers](https://opencollective.com/verdaccio/tiers/backer/badge.svg?label=Backer&color=brightgreen)](https://opencollective.com/verdaccio)
[![stackshare](https://img.shields.io/badge/Follow%20on-StackShare-blue.svg?logo=stackshare&style=flat)](https://stackshare.io/verdaccio)
[![discord](https://img.shields.io/discord/388674437219745793.svg)](http://chat.verdaccio.org/)
[![discord](https://img.shields.io/discord/388674437219745793.svg)](https://discord.gg/7qWJxBf)
[![MIT](https://img.shields.io/github/license/mashape/apistatus.svg)](https://github.com/verdaccio/verdaccio/blob/master/LICENSE)
[![Crowdin](https://d322cqt584bo4o.cloudfront.net/verdaccio/localized.svg)](https://crowdin.com/project/verdaccio)
@@ -38,30 +26,26 @@ Google Cloud Storage** or create your own plugin.
## Install
> Latest Node.js v16 required
Install with npm:
```bash
npm install --location=global verdaccio@next
npm install --global verdaccio
```
With `yarn`
**Node.js v18 or higher is required for Verdaccio**
> It's recommended using Node.js 20 (or latest LTS)
or pull [Docker official image](https://verdaccio.org/docs/docker)
```bash
yarn global add verdaccio@next
docker pull verdaccio/verdaccio
```
With `pnpm`
and run
```bash
pnpm i -g verdaccio@next
```
or
```bash
docker pull verdaccio/verdaccio:nightly-master
docker run -it --rm --name verdaccio -p 4873:4873 verdaccio/verdaccio
```
or with _helm_ [official chart](https://github.com/verdaccio/charts).
@@ -72,24 +56,32 @@ helm repo update
helm install verdaccio/verdaccio
```
Furthermore, you can read the [**Debugging Guidelines**](https://github.com/verdaccio/verdaccio/wiki/Debugging-Verdaccio) and the [**Docker Examples**](https://github.com/verdaccio/verdaccio/tree/master/docker-examples) for more advanced development.
## Programmatic API
Verdaccio can be used as a module for launch a server programmatically, [you can find more info at the website](https://verdaccio.org/docs/verdaccio-programmatically#using-the-module-api).
```
import {runServer} from 'verdaccio';
const app = await runServer(); // default configuration
const app = await runServer('./config/config.yaml');
const app = await runServer({ configuration });
app.listen(4873, (event) => {
// do something
});
```
## Plugins
You can develop your own [plugins](https://verdaccio.org/docs/plugins) with the [verdaccio generator](https://github.com/verdaccio/generator-verdaccio-plugin). Installing [Yeoman](https://yeoman.io/) is required.
```
npm install --location=global yo
npm install --location=global generator-verdaccio-plugin
```
Learn more [here](https://verdaccio.org/docs/dev-plugins) how to develop plugins. Share your plugins with the community.
## Donations
Verdaccio is run by **volunteers**; nobody is working full-time on it. If you find this project to be useful and would like to support its development, consider do a long support donation - **and your logo will be on this section of the readme.**
Verdaccio is run by **volunteers**; nobody is working full-time on it. If you find this project to be useful and would like to support its development and maintenance.
**[Donate](https://github.com/sponsors/verdaccio)** 💵👍🏻 starting from _$1/month_ or just one single contribution.
You can donate at **[Open Collective](https://opencollective.com/verdaccio)** 💵👍🏻 starting from _$1/month_ or just one single contribution.
## What does Verdaccio do for me?
@@ -121,27 +113,13 @@ Furthermore, here few examples how to start:
- [verdaccio-end-to-end-tests](https://github.com/juanpicado/verdaccio-end-to-end-tests)
- [verdaccio-fork](https://github.com/juanpicado/verdaccio-fork)
## Watch our Videos
## Talks
**Node Congress 2022, February 2022, Online Free**
- [**NodeTLV 20222** - Deep dive into Verdaccio, a lightweight Node.js registry - **Juan Picado**](https://portal.gitnation.org/contents/five-ways-of-taking-advantage-of-verdaccio-your-private-and-proxy-nodejs-registry)
- [Five Ways of Taking Advantage of Verdaccio, Your Private and Proxy Node.js Registry **Node Congress 2022** - **Juan Picado**](https://portal.gitnation.org/contents/five-ways-of-taking-advantage-of-verdaccio-your-private-and-proxy-nodejs-registry)
- [Using Docker and Verdaccio to make Integration Testing Easy - **Docker All Hands #4 December - 2021** - **Juan Picado**](https://www.youtube.com/watch?v=zRI0skF1f8I)
<div>
<a href="https://portal.gitnation.org/contents/five-ways-of-taking-advantage-of-verdaccio-your-private-and-proxy-nodejs-registry">
<img src="https://cdn.verdaccio.dev/readme/nodejscongress2022.jpg" alt="nodejs" width="200"/>
</a>
</div>
You might want to check out as well our previous talks:
- [Using Docker and Verdaccio to make Integration Testing Easy - **Docker All Hands #4 December - 2021**](https://www.youtube.com/watch?v=zRI0skF1f8I)
- [**Juan Picado** Testing the integrity of React components by publishing in a private registry - React Finland - 2021](https://www.youtube.com/watch?v=bRKZbrlQqLY&t=16s&ab_channel=ReactFinland)
- [BeerJS Cba Meetup No. 53 May 2021 - **Juan Picado**](https://www.youtube.com/watch?v=6SyjqBmS49Y&ab_channel=BeerJSCba)
- [Node.js Dependency Confusion Attacks - April 2021 - **Juan Picado**](https://www.youtube.com/watch?v=qTRADSp3Hpo)
- [**OpenJS World 2020** about \*Cover your Projects with a Multi purpose Lightweight Node.js Registry - **Juan Picado**](https://www.youtube.com/watch?v=oVCjDWeehAQ)
- [ViennaJS Meetup - Introduction to Verdaccio by **Priscila Olivera** and **Juan Picado**](https://www.youtube.com/watch?v=hDIFKzmoCa)
- [Open Source? trivago - Verdaccio (**Ayush** and **Juan Picado**) January 2020](https://www.youtube.com/watch?v=A5CWxJC9xzc)
- [GitNation Open Source Stage - How we have built a Node.js Registry with React - **Juan Picado** December 2019](https://www.youtube.com/watch?v=gpjC8Qp9B9A)
- [Verdaccio - A lightweight Private Proxy Registry built in Node.js | **Juan Picado** at The Destro Dev Show](https://www.youtube.com/watch?reload=9&v=P_hxy7W-IL4&ab_channel=TheDestroDevShow)
[View more in the YouTube channel](https://www.youtube.com/channel/UC5i20v6o7lSjXzAHOvatt0w).
## Get Started
@@ -154,7 +132,7 @@ verdaccio
You would need set some npm configuration, this is optional.
```bash
npm set registry http://localhost:4873/
$ npm set registry http://localhost:4873/
```
For one-off commands or to avoid setting the registry globally:
@@ -178,7 +156,7 @@ npm adduser --registry http://localhost:4873
> if you use HTTPS, add an appropriate CA information ("null" means get CA list from OS)
```bash
npm set ca null
$ npm set ca null
```
#### 2. publish your package
@@ -195,11 +173,15 @@ Below are the most commonly needed information,
every aspect of Docker and verdaccio is [documented separately](https://www.verdaccio.org/docs/en/docker.html)
```
docker pull verdaccio/verdaccio:nightly-master
docker pull verdaccio/verdaccio
```
Available as [tags](https://hub.docker.com/r/verdaccio/verdaccio/tags/).
```
docker pull verdaccio/verdaccio:6.x-next
```
### Running verdaccio using Docker
To run the docker container:
@@ -208,7 +190,7 @@ To run the docker container:
docker run -it --rm --name verdaccio -p 4873:4873 verdaccio/verdaccio
```
Docker examples are available [in this repository](https://github.com/verdaccio/verdaccio/tree/master/docker-examples).
Docker examples are available [in this repository](https://github.com/verdaccio/docker-examples).
## Compatibility
@@ -216,27 +198,27 @@ Verdaccio aims to support all features of a standard npm client that make sense
### Basic features
- Installing packages (npm install, npm upgrade, etc.) - **supported**
- Publishing packages (npm publish) - **supported**
- Installing packages (`npm install`, `npm upgrade`, etc.) - **supported**
- Publishing packages (`npm publish`) - **supported**
### Advanced package control
- Unpublishing packages (npm unpublish) - **supported**
- Tagging (npm tag) - **supported**
- Deprecation (npm deprecate) - **supported**
- Unpublishing packages (`npm unpublish`) - **supported**
- Tagging (`npm tag`) - **supported**
- Deprecation (`npm deprecate`) - **supported**
### User management
- Registering new users (npm adduser {newuser}) - **supported**
- Change password (npm profile set password) - **supported**
- Transferring ownership (npm owner add {user} {pkg}) - not supported, _PR-welcome_
- Token (npm token) - **supported**
- Registering new users (`npm adduser {newuser}`) - **supported**
- Change password (`npm profile set password`) - **supported**
- Transferring ownership (`npm owner add {user} {pkg}`) - not supported, _PR-welcome_
- Token (`npm token`) - **supported** (under flag)
### Miscellany
- Searching (npm search) - **supported** (cli / browser)
- Ping (npm ping) - **supported**
- Starring (npm star, npm unstar, npm stars) - **supported**
- Search (`npm search`) - **supported** (cli (`/-/all` and `v1`) / browser)
- Ping (`npm ping`) - **supported**
- Starring (`npm star`, `npm unstar`, `npm stars`) - **supported**
### Security
@@ -246,6 +228,24 @@ 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).
## Contributors
| [Juan Picado](https://github.com/juanpicado) | [Ayush Sharma](https://github.com/ayusharma) | [Sergio Hg](https://github.com/sergiohgz) |
| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------- | ------------------------------------------------------------------------ |
| ![jotadeveloper](https://avatars3.githubusercontent.com/u/558752?s=80&v=4) | ![ayusharma](https://avatars2.githubusercontent.com/u/6918450?s=80&v=4) | ![sergiohgz](https://avatars2.githubusercontent.com/u/14012309?s=80&v=4) |
| [@jotadeveloper](https://fosstodon.org/@jotadeveloper) | [@ayusharma\_](https://twitter.com/ayusharma_) | [@sergiohgz](https://twitter.com/sergiohgz) |
| [Priscila Oliveria](https://github.com/priscilawebdev) | [Daniel Ruf](https://github.com/DanielRuf) |
| ![priscilawebdev](https://avatars2.githubusercontent.com/u/29228205?s=80&v=4) | ![DanielRuf](https://avatars3.githubusercontent.com/u/827205?s=80&v=4) |
| [@priscilawebdev](https://twitter.com/priscilawebdev) | [@DanielRufde](https://twitter.com/DanielRufde) |
[See the full list of contributors is at the website.](https://verdaccio.org/contributors)
## Open Collective Backers
Thank you to all our backers! 🙏 [[Become a backer](https://opencollective.com/verdaccio#backer)]
[![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. Every company provides enough resources to move this project forward.
@@ -259,62 +259,6 @@ Thanks to the following companies to help us to achieve our goals providing free
| 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) |
| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------- |
| ![jotadeveloper](https://avatars3.githubusercontent.com/u/558752?s=120&v=4) | ![ayusharma](https://avatars2.githubusercontent.com/u/6918450?s=120&v=4) | ![sergiohgz](https://avatars2.githubusercontent.com/u/14012309?s=120&v=4) |
| [@jotadeveloper](https://twitter.com/jotadeveloper) | [@ayusharma\_](https://twitter.com/ayusharma_) | [@sergiohgz](https://twitter.com/sergiohgz) |
| [Priscila Oliveria](https://github.com/priscilawebdev) | [Daniel Ruf](https://github.com/DanielRuf) |
| ![priscilawebdev](https://avatars2.githubusercontent.com/u/29228205?s=120&v=4) | ![DanielRuf](https://avatars3.githubusercontent.com/u/827205?s=120&v=4) |
| [@priscilawebdev](https://twitter.com/priscilawebdev) | [@DanielRufde](https://twitter.com/DanielRufde) |
You can find and chat with then over Discord, click [here](http://chat.verdaccio.org) or follow them at _Twitter_.
## Who is using Verdaccio?
- [create-react-app](https://github.com/facebook/create-react-app/blob/master/CONTRIBUTING.md#customizing-e2e-registry-configuration) _(+86.2k ⭐️)_
- [Grafana](https://github.com/grafana/grafana/search?q=verdaccio) _(+54.9k ⭐️)_
- [Gatsby](https://github.com/gatsbyjs/gatsby) _(+49.2k ⭐️)_
- [Babel.js](https://github.com/babel/babel) _(+38.5k ⭐️)_
- [Docusaurus](https://github.com/facebook/docusaurus) _(+34k ⭐️)_
- [Vue CLI](https://github.com/vuejs/vue-cli) _(+27.4k ⭐️)_
- [Angular CLI](https://github.com/angular/angular-cli) _(+24.3k ⭐️)_
- [Uppy](https://github.com/transloadit/uppy) _(+23.8k ⭐️)_
- [bit](https://github.com/teambit/bit) _(+13k ⭐️)_
- [Aurelia Framework](https://github.com/aurelia/framework) _(+11.6k ⭐️)_
- [pnpm](https://github.com/pnpm/pnpm) _(+10.1k ⭐️)_
- [ethereum/web3.js](https://github.com/ethereum/web3.js) _(+9.8k ⭐️)_
- [Webiny CMS](https://github.com/webiny/webiny-js) _(+6.6k ⭐️)_
- [NX](https://github.com/nrwl/nx) _(+6.1k ⭐️)_
- [Mozilla Neutrino](https://github.com/neutrinojs/neutrino) _(+3.7k ⭐️)_
- [workshopper how to npm](https://github.com/workshopper/how-to-npm) _(+1k ⭐️)_
- [Amazon SDK v3](https://github.com/aws/aws-sdk-js-v3)
- [Amazon Encryption SDK for Javascript](https://github.com/aws/aws-encryption-sdk-javascript)
🤓 Don't be shy, add yourself to this readme.
## Open Collective Sponsors
Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [[Become a sponsor](https://opencollective.com/verdaccio#sponsor)]
[![sponsor](https://opencollective.com/verdaccio/sponsor/0/avatar.svg)](https://opencollective.com/verdaccio/sponsor/0/website)
[![sponsor](https://opencollective.com/verdaccio/sponsor/1/avatar.svg)](https://opencollective.com/verdaccio/sponsor/1/website)
[![sponsor](https://opencollective.com/verdaccio/sponsor/2/avatar.svg)](https://opencollective.com/verdaccio/sponsor/2/website)
[![sponsor](https://opencollective.com/verdaccio/sponsor/3/avatar.svg)](https://opencollective.com/verdaccio/sponsor/3/website)
[![sponsor](https://opencollective.com/verdaccio/sponsor/4/avatar.svg)](https://opencollective.com/verdaccio/sponsor/4/website)
[![sponsor](https://opencollective.com/verdaccio/sponsor/5/avatar.svg)](https://opencollective.com/verdaccio/sponsor/5/website)
[![sponsor](https://opencollective.com/verdaccio/sponsor/6/avatar.svg)](https://opencollective.com/verdaccio/sponsor/6/website)
[![sponsor](https://opencollective.com/verdaccio/sponsor/7/avatar.svg)](https://opencollective.com/verdaccio/sponsor/7/website)
[![sponsor](https://opencollective.com/verdaccio/sponsor/8/avatar.svg)](https://opencollective.com/verdaccio/sponsor/8/website)
[![sponsor](https://opencollective.com/verdaccio/sponsor/9/avatar.svg)](https://opencollective.com/verdaccio/sponsor/9/website)
## Open Collective Backers
Thank you to all our backers! 🙏 [[Become a backer](https://opencollective.com/verdaccio#backer)]
[![backers](https://opencollective.com/verdaccio/backers.svg?width=890)](https://opencollective.com/verdaccio#backers)
## Contributors
This project exists thanks to all the people who contribute. [[Contribute](CONTRIBUTING.md)].
@@ -326,7 +270,7 @@ This project exists thanks to all the people who contribute. [[Contribute](CONTR
If you have any issue you can try the following options, do no desist to ask or check our issues database, perhaps someone has asked already what you are looking for.
- [Blog](https://verdaccio.org/blog/)
- [Donations](https://github.com/sponsors/verdaccio)
- [Donations](https://opencollective.com/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](https://discord.gg/7qWJxBf)

View File

@@ -1,77 +1,5 @@
# Security Policy
## Supported versions
For the latest version of the security policy, please refer to the official page:
The following table describes the versions of this project that are currently supported with security updates:
| Version | Supported |
| --------- | ------------------ |
| 2.x | :x: |
| 3.x | :x: |
| 4.x | :x: |
| 5.x | :white_check_mark: |
| 6.x alpha | :x: |
## Responsible disclosure security policy
A responsible disclosure policy helps protect users of the project from publicly disclosed security vulnerabilities without a fix by employing a process where vulnerabilities are first triaged in a private manner, and only publicly disclosed after a reasonable time period that allows patching the vulnerability and provides an upgrade path for users.
When contacting us directly via email, we will do our best efforts to respond in a reasonable time to resolve the issue. When contacting a security program their disclosure policy will provide details on timeframe, processes and paid bounties.
We kindly ask you to refrain from malicious acts that put our users, the project, or any of the projects team members at risk.
## Reporting a security issue
> Please do not use the provided email address to report issues which are not related to security vulnerabilities
At Verdaccio, we consider the security of our systems a top priority. But no matter how much effort we put into system security, there can still be vulnerabilities present.
If you discover a security vulnerability, please use one of the following means of communications to report it to us:
- Report the security issue to [Snyk Security Team](https://snyk.io/vulnerability-disclosure). They will help triage the security issue and work with all involved parties to remediate and release a fix.
Note that time-frame and processes are subject to each programs own policy.
- Report the security issue to the project maintainers directly at verdaccio@pm.me. If the report contains highly sensitive information, please be advised to encrypt your findings using our [PGP key](https://cdn.verdaccio.dev/gpg/publickey.verdaccio@pm.me.asc) which is also available in this document.
Your efforts to responsibly disclose your findings are sincerely appreciated and will be taken into account to acknowledge your contributions.
## PGP key
The following is this projects PGP key which should be used to encrypt any sensitive information shared on unsecured medium such as e-mails:
```
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: OpenPGP.js v4.5.1
Comment: https://openpgpjs.org
xsBNBFzm3asBCACxnJDv1r6dxiM2e8iqS6B7fxY2I3X1Rc+3m8mhXOwVwRG4
AOrQ417oSzsVLf4iocg+DWrtxzY79odTLJEovVt79rxwqIIl4y96tH+29kLB
ao7eaYZacfstonVkBAmxBLaYv1x7cqWuukm6sBCOxapW1X9BcbR3vOghDziY
/1AwNjupAOPvKNMtghjrdh3w0iMfZS1hw28zjM1oCeezEil+CTjgQDN+69qS
UFG/BInJ7CVn9TvhU85inSwpxVa576fkhvFoNUrGvFvYRWtXRJndbRdBodVj
C9At/Gb2IeNf7xqXH2KloZ1yaVNVSzLX4jqrMWeF+9Z12SjUyL6G9TwDABEB
AAHNIXZlcmRhY2Npb0BwbS5tZSA8dmVyZGFjY2lvQHBtLm1lPsLAdQQQAQgA
HwUCXObdqwYLCQcIAwIEFQgKAgMWAgECGQECGwMCHgEACgkQpSvoGbwFJYhn
2wf+JF+yLQXh1EFMih6lpbx243hvglgOWmcigYVRh5mSfULcdW2pmkPQXqhE
DW73qqwN9G9piiPnGMw7sKoB7XJVuFKyvHOYKtem5UQVRvs2rTxnSc5qFcUJ
0w3Tw/pZ9B3fYAEYti2B/GsSOzaECfBKCFOg15xXGAdwfgff5FsorN1Gb6MG
eCO9c8faSF/+fQUCfokwMDVzxXQFZEMx3q/rHVJ/Fm+XelZ+00c9fdyiuPW5
dM9gATle7lz0iPtxaUDGLW8QZ/7b6O8IJ1kle0tL4AE++bXsVWxNdzhlNohH
Hn09sIdFnG4ySTz4YJjiDd70ZdQjOGEGvutymEIN1xcNq87ATQRc5t2rAQgA
yX2ZhUCtrz7lzK0992yveB+duVF//yo9Pei2ra9Z3GNmA+oWlRH1FTWpAmVH
uDdUchTnxAwaKntabt3Mb1AgEZwrdiG4LuHFbdx2ls93BJ5lXdp7vB6pVf3N
IrhHKyQ/Y5L5kMSj/GjrhO19zmj6mPPEgb3M3ZIZjQUF4pro0pExuAPA9Wxe
awn5+0BUYFs4mZQDtTdiVuz5tWA0fNtt1aBfOPA97tmn18y4b1b0iQIJQpep
BVVnFLeAZOevDcBJFbmQOdAjufWSSgpzX+FZ3rx6RVwwKxUiVQyUuwSQkKh5
RufZ5zE0y7Fe/YlWXbKoj4zNJqYtjPSPngQRWf7UpwARAQABwsBfBBgBCAAJ
BQJc5t2rAhsMAAoJEKUr6Bm8BSWIoYQH+QDw0Z84tZK4N1lh49hYyohs6vNU
9kG69nKLQA5NymPtTxh8YOJhdJL697FkvKI4OGEO2FXUmcJS3CBJ2nBVKMq2
1biDRKC4OhIU2RgFhS6bHy6VOn24EYs77T+zX8YXpz8ulYVln2b0QZCubN0Z
L50tEC8HnuVMVN+/pqITdD3FjzwGZgHdW8qkKgD6qhObHCl8/cW2buCsaIAY
eZWVPgPY1S1U0V608qYNtUCkrmUW5Sl6YLvz7JTvTsaym5mzyFXF3ErAURgI
/v4XaWmRgNGIxbIxsFGuEs+KIKBQDJmtvJCVpBNS5IYnFf5h/LA5cfkwMKJt
wXhyE0b/iDs60ZM=
=QWXs
-----END PGP PUBLIC KEY BLOCK-----
```
[Verdaccio Security Policy](https://github.com/verdaccio/verdaccio/blob/master/SECURITY.md)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

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