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
1881 changed files with 129600 additions and 293314 deletions

View File

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

View File

@@ -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,15 +0,0 @@
---
'@verdaccio/types': minor
'@verdaccio/ui-theme': minor
'@verdaccio/web': minor
---
allow disable login on ui and endpoints
To be able disable the login, set `login: false`, anything else would enable login. This flag will disable access via UI and web endpoints.
```yml
web:
title: verdaccio
login: false
```

View File

@@ -1,23 +0,0 @@
---
'@verdaccio/local-storage': major
'@verdaccio/url': major
'verdaccio-aws-s3-storage': major
'verdaccio-google-cloud': major
'verdaccio-memory': major
'@verdaccio/store': major
---
# async storage plugin bootstrap
Gives a storage plugin the ability to perform asynchronous tasks on initialization
## Breaking change
Plugin must have an init method in which asynchronous tasks can be executed
```js
public async init(): Promise<void> {
this.data = await this._fetchLocalPackages();
this._sync();
}
```

View File

@@ -1,5 +0,0 @@
---
'verdaccio-aws-s3-storage': patch
---
Fix the prefix used to delete from s3 when unpublishing packages

View File

@@ -1,10 +0,0 @@
{
"$schema": "https://unpkg.com/@changesets/config@1.3.0/schema.json",
"changelog": "@changesets/cli/changelog",
"commit": false,
"linked": [],
"access": "public",
"baseBranch": "master",
"updateInternalDependencies": "patch",
"ignore": []
}

View File

@@ -1,59 +0,0 @@
---
'@verdaccio/api': major
'@verdaccio/auth': major
'@verdaccio/cli': major
'@verdaccio/config': major
'@verdaccio/commons-api': major
'@verdaccio/core': major
'@verdaccio/local-storage': major
'@verdaccio/fastify-migration': major
'@verdaccio/streams': major
'@verdaccio/types': major
'@verdaccio/hooks': major
'verdaccio-audit': major
'verdaccio-aws-s3-storage': major
'verdaccio-google-cloud': major
'verdaccio-memory': major
'@verdaccio/ui-theme': major
'@verdaccio/proxy': major
'@verdaccio/server': major
'@verdaccio/store': major
'@verdaccio/eslint-config': major
'@verdaccio/dev-types': major
'@verdaccio/utils': major
'verdaccio': major
'@verdaccio/web': major
---
refactor: search v1 endpoint and local-database
- refactor search `api v1` endpoint, improve performance
- remove usage of `async` dependency https://github.com/verdaccio/verdaccio/issues/1225
- refactor method storage class
- create new module `core` to reduce the ammount of modules with utilities
- use `undici` instead `node-fetch`
- use `fastify` instead `express` for functional test
### Breaking changes
- plugin storage API changes
- remove old search endpoint (return 404)
- filter local private packages at plugin level
The storage api changes for methods `get`, `add`, `remove` as promise base. The `search` methods also changes and recieves a `query` object that contains all query params from the client.
```ts
export interface IPluginStorage<T> extends IPlugin {
add(name: string): Promise<void>;
remove(name: string): Promise<void>;
get(): Promise<any>;
init(): Promise<void>;
getSecret(): Promise<string>;
setSecret(secret: string): Promise<any>;
getPackageStorage(packageInfo: string): IPackageStorage;
search(query: searchUtils.SearchQuery): Promise<searchUtils.SearchItem[]>;
saveToken(token: Token): Promise<any>;
deleteToken(user: string, tokenKey: string): Promise<any>;
readTokens(filter: TokenFilter): Promise<Token[]>;
}
```

View File

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

View File

@@ -1,46 +0,0 @@
---
'@verdaccio/api': major
'@verdaccio/auth': major
'@verdaccio/cli': major
'@verdaccio/config': major
'@verdaccio/commons-api': major
'@verdaccio/file-locking': major
'verdaccio-htpasswd': major
'@verdaccio/local-storage': major
'@verdaccio/readme': major
'@verdaccio/streams': major
'@verdaccio/types': major
'@verdaccio/hooks': major
'@verdaccio/loaders': major
'@verdaccio/logger': major
'@verdaccio/logger-prettify': major
'@verdaccio/middleware': major
'@verdaccio/mock': major
'@verdaccio/node-api': major
'@verdaccio/active-directory': major
'verdaccio-audit': major
'verdaccio-auth-memory': major
'verdaccio-aws-s3-storage': major
'verdaccio-google-cloud': major
'verdaccio-memory': major
'@verdaccio/proxy': major
'@verdaccio/server': major
'@verdaccio/store': major
'@verdaccio/dev-types': major
'@verdaccio/utils': major
'verdaccio': major
'@verdaccio/web': major
'@verdaccio/website': major
---
feat!: experiments config renamed to flags
- The `experiments` configuration is renamed to `flags`. The functionality is exactly the same.
```js
flags: token: false;
search: false;
```
- The `self_path` property from the config file is being removed in favor of `config_file` full path.
- Refactor `config` module, better types and utilities

View File

@@ -1,5 +0,0 @@
---
'@verdaccio/ui-theme': minor
---
upgrade to react@17 and other dependencies

View File

@@ -1,6 +0,0 @@
---
'@verdaccio/middleware': patch
'@verdaccio/web': patch
---
Remove @ts-ignore and any in packages/web/src/endpoint/package.ts

View File

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

View File

@@ -1,11 +0,0 @@
---
'@verdaccio/config': minor
'@verdaccio/local-storage': minor
'@verdaccio/e2e-ui': minor
---
Some verdaccio modules depend on 'mkdirp' library which provides recursive directory creation functionality.
NodeJS can do this out of the box since v.10.12. The last commit in 'mkdirp' was made in early 2016, and it's mid 2021 now.
Time to stick with a built-in library solution!
- All 'mkdirp' calls are replaced with appropriate 'fs' calls.

View File

@@ -1,44 +0,0 @@
---
'@verdaccio/api': major
'@verdaccio/auth': major
'@verdaccio/cli': major
'@verdaccio/config': major
'@verdaccio/commons-api': major
'@verdaccio/file-locking': major
'verdaccio-htpasswd': major
'@verdaccio/local-storage': major
'@verdaccio/readme': major
'@verdaccio/streams': major
'@verdaccio/types': major
'@verdaccio/hooks': major
'@verdaccio/loaders': major
'@verdaccio/logger': major
'@verdaccio/logger-prettify': major
'@verdaccio/middleware': major
'@verdaccio/mock': major
'@verdaccio/node-api': major
'@verdaccio/proxy': major
'@verdaccio/server': major
'@verdaccio/store': major
'@verdaccio/dev-types': major
'@verdaccio/utils': major
'verdaccio': major
'@verdaccio/web': major
---
- Replace signature handler for legacy tokens by removing deprecated crypto.createDecipher by createCipheriv
- Introduce environment variables for legacy tokens
### Code Improvements
- Add debug library for improve developer experience
### Breaking change
- The new signature invalidates all previous tokens generated by Verdaccio 4 or previous versions.
- The secret key must have 32 characters long.
### New environment variables
- `VERDACCIO_LEGACY_ALGORITHM`: Allows to define the specific algorithm for the token signature which by default is `aes-256-ctr`
- `VERDACCIO_LEGACY_ENCRYPTION_KEY`: By default, the token stores in the database, but using this variable allows to get it from memory

View File

@@ -1,5 +0,0 @@
---
'@verdaccio/utils': patch
---
Fixed the validation of the name when searching for a tarball that have scoped package name

View File

@@ -1,21 +0,0 @@
---
'@verdaccio/cli': patch
'@verdaccio/types': patch
'@verdaccio/node-api': patch
'@verdaccio/server': patch
---
fix: restore logger on init
Enable logger after parse configuration and log the very first step on startup phase.
```bash
warn --- experiments are enabled, it is recommended do not use experiments in production comment out this section to disable it
info --- support for experiment [token] is disabled
info --- support for experiment [search] is disabled
(node:50831) Warning: config.logs is deprecated, rename configuration to "config.log"
(Use `node --trace-warnings ...` to show where the warning was created)
info --- http address http://localhost:4873/
info --- version: 6.0.0-6-next.11
info --- server started
```

View File

@@ -1,11 +0,0 @@
---
'@verdaccio/config': patch
---
Feature
- add option to set storage from environment variable VERDACCIO_STORAGE_PATH
#### Related tickets
https://github.com/verdaccio/verdaccio/issues/1681

View File

@@ -1,6 +0,0 @@
---
'@verdaccio/cli': minor
'@verdaccio/fastify-migration': minor
---
[Fastify] Add ping endpoint

View File

@@ -1,39 +0,0 @@
---
'@verdaccio/local-storage': patch
'@verdaccio/ui-theme': patch
'@verdaccio/server': patch
'@verdaccio/api': patch
'@verdaccio/auth': patch
'@verdaccio/cli': patch
'@verdaccio/config': patch
'@verdaccio/commons-api': patch
'@verdaccio/file-locking': patch
'verdaccio-htpasswd': patch
'@verdaccio/readme': patch
'@verdaccio/streams': patch
'@verdaccio/types': patch
'@verdaccio/hooks': patch
'@verdaccio/loaders': patch
'@verdaccio/logger': patch
'@verdaccio/logger-prettify': patch
'@verdaccio/middleware': patch
'@verdaccio/mock': patch
'@verdaccio/node-api': patch
'@verdaccio/active-directory': patch
'verdaccio-audit': patch
'verdaccio-auth-memory': patch
'verdaccio-aws-s3-storage': patch
'verdaccio-google-cloud': patch
'verdaccio-memory': patch
'@verdaccio/proxy': patch
'@verdaccio/store': patch
'@verdaccio/dev-types': patch
'@verdaccio/utils': patch
'verdaccio': patch
'@verdaccio/web': patch
'@verdaccio/e2e-cli': patch
'@verdaccio/e2e-ui': patch
'@verdaccio/website': patch
---
chore: add release step to private regisry on merge changeset pr

View File

@@ -1,20 +0,0 @@
---
'@verdaccio/api': minor
'verdaccio-htpasswd': minor
'@verdaccio/local-storage': minor
---
feat: remove level dependency by lowdb for npm token cli as storage
### new npm token database
There will be a new database located in your storage named `.token-db.json` which
will store all references to created tokens, **it does not store tokens**, just
mask of them and related metadata required to reference them.
#### Breaking change
If you were relying on `npm token` experiment. This PR will replace the
used database (level) by a json plain based one (lowbd) which does not
require Node.js C++ compilation step and has less dependencies. Since was
a experiment there is no migration step.

View File

@@ -1,6 +0,0 @@
---
'@verdaccio/hooks': patch
'@verdaccio/proxy': patch
---
refactor: migrate request to node-fetch at hooks package

View File

@@ -1,5 +0,0 @@
---
'verdaccio-audit': patch
---
fix: several issues which caused the audit to fail (#2335)

View File

@@ -1,16 +0,0 @@
---
'@verdaccio/tarball': patch
'@verdaccio/mock': patch
'@verdaccio/ui-theme': patch
'@verdaccio/server': patch
'@verdaccio/utils': patch
'verdaccio': patch
---
Bug Fixes
- fix escaped slash in namespaced packages
#### Related tickets
https://github.com/verdaccio/verdaccio/pull/2193

View File

@@ -1,6 +0,0 @@
---
'@verdaccio/ui-theme': minor
'verdaccio': minor
---
feat: ui theme plugin part of the application

View File

@@ -1,51 +0,0 @@
---
'@verdaccio/api': minor
'@verdaccio/auth': minor
'@verdaccio/cli': minor
'@verdaccio/config': minor
'@verdaccio/commons-api': minor
'@verdaccio/file-locking': minor
'verdaccio-htpasswd': minor
'@verdaccio/local-storage': minor
'@verdaccio/readme': minor
'@verdaccio/streams': minor
'@verdaccio/types': minor
'@verdaccio/hooks': minor
'@verdaccio/loaders': minor
'@verdaccio/logger': minor
'@verdaccio/logger-prettify': minor
'@verdaccio/middleware': minor
'@verdaccio/mock': minor
'@verdaccio/node-api': minor
'@verdaccio/active-directory': minor
'verdaccio-audit': minor
'verdaccio-auth-memory': minor
'verdaccio-aws-s3-storage': minor
'verdaccio-google-cloud': minor
'verdaccio-memory': minor
'@verdaccio/ui-theme': minor
'@verdaccio/proxy': minor
'@verdaccio/server': minor
'@verdaccio/store': minor
'@verdaccio/dev-types': minor
'@verdaccio/utils': minor
'verdaccio': minor
'@verdaccio/web': minor
---
feat: add server rate limit protection to all request
To modify custom values, use the server settings property.
```markdown
server:
## https://www.npmjs.com/package/express-rate-limit#configuration-options
rateLimit:
windowMs: 1000
max: 10000
```
The values are intended to be high, if you want to improve security of your server consider
using different values.

View File

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

View File

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

View File

@@ -1,5 +0,0 @@
---
'@verdaccio/cli': major
---
feat: node 14 as minimum for running cli

View File

@@ -1,5 +0,0 @@
---
'@verdaccio/cli': major
---
feat: use clipanion over commander

View File

@@ -1,30 +0,0 @@
---
'@verdaccio/auth': major
'verdaccio-htpasswd': major
'verdaccio-audit': major
'@verdaccio/server': major
'@verdaccio/cli-standalone': major
---
feat: standalone registry with no dependencies
## Usage
To install a server with no dependencies
```bash
npm install -g @verdaccio/standalone
```
with no internet required
```bash
npm install -g ./tarball.tar.gz
```
Bundles htpasswd and audit plugins.
### Breaking Change
It does not allow anymore the `auth` and `middleware` property at config file empty,
it will fallback to those plugins by default.

View File

@@ -1,36 +0,0 @@
---
'@verdaccio/api': minor
'@verdaccio/auth': minor
'@verdaccio/cli': minor
'@verdaccio/config': minor
'@verdaccio/commons-api': minor
'@verdaccio/file-locking': minor
'verdaccio-htpasswd': minor
'@verdaccio/local-storage': minor
'@verdaccio/readme': minor
'@verdaccio/streams': minor
'@verdaccio/types': minor
'@verdaccio/hooks': minor
'@verdaccio/loaders': minor
'@verdaccio/logger': minor
'@verdaccio/logger-prettify': minor
'@verdaccio/middleware': minor
'@verdaccio/mock': minor
'@verdaccio/node-api': minor
'@verdaccio/proxy': minor
'@verdaccio/server': minor
'@verdaccio/store': minor
'@verdaccio/dev-types': minor
'@verdaccio/utils': minor
'verdaccio': minor
'@verdaccio/web': minor
'@verdaccio/website': minor
---
feat: add typescript project references settings
Reading https://ebaytech.berlin/optimizing-multi-package-apps-with-typescript-project-references-d5c57a3b4440 I realized I can use project references to solve the issue to pre-compile modules on develop mode.
It allows to navigate (IDE) trough the packages without need compile the packages.
Add two `tsconfig`, one using the previous existing configuration that is able to produce declaration files (`tsconfig.build`) and a new one `tsconfig` which is enables [_projects references_](https://www.typescriptlang.org/docs/handbook/project-references.html).

View File

@@ -1,6 +0,0 @@
---
'@verdaccio/cli': minor
'@verdaccio/node-api': minor
---
feat: improve cli loggin on start up

View File

@@ -1,91 +0,0 @@
{
"mode": "pre",
"tag": "6-next",
"initialVersions": {
"@verdaccio/api": "6.0.0-alpha.0",
"@verdaccio/auth": "6.0.0-alpha.0",
"@verdaccio/cli": "6.0.0-alpha.0",
"@verdaccio/config": "6.0.0-alpha.0",
"@verdaccio/file-locking": "11.0.0-alpha.0",
"verdaccio-htpasswd": "11.0.0-alpha.0",
"@verdaccio/local-storage": "11.0.0-alpha.0",
"@verdaccio/readme": "11.0.0-alpha.0",
"@verdaccio/streams": "11.0.0-alpha.0",
"@verdaccio/types": "11.0.0-alpha.0",
"@verdaccio/hooks": "6.0.0-alpha.0",
"@verdaccio/loaders": "6.0.0-alpha.0",
"@verdaccio/logger": "6.0.0-alpha.0",
"@verdaccio/logger-prettify": "6.0.0-alpha.0",
"@verdaccio/middleware": "6.0.0-alpha.0",
"@verdaccio/mock": "6.0.0-alpha.0",
"@verdaccio/node-api": "6.0.0-alpha.0",
"@verdaccio/proxy": "6.0.0-alpha.0",
"@verdaccio/server": "6.0.0-alpha.0",
"@verdaccio/store": "6.0.0-alpha.0",
"@verdaccio/dev-types": "6.0.0-alpha.0",
"@verdaccio/utils": "6.0.0-alpha.0",
"verdaccio": "6.0.0-alpha.0",
"@verdaccio/web": "6.0.0-alpha.0",
"@verdaccio/active-directory": "11.0.0-alpha.0",
"verdaccio-audit": "11.0.0-alpha.0",
"verdaccio-auth-memory": "11.0.0-alpha.0",
"verdaccio-aws-s3-storage": "11.0.0-alpha.0",
"verdaccio-google-cloud": "11.0.0-alpha.0",
"verdaccio-memory": "11.0.0-alpha.0",
"@verdaccio/ui-theme": "6.0.0-alpha.1",
"@verdaccio/e2e-cli": "1.0.0",
"@verdaccio/e2e-ui": "1.0.0",
"@verdaccio/cli-standalone": "6.0.0-alpha.3",
"@verdaccio/tarball": "11.0.0-alpha.3",
"@verdaccio/url": "11.0.0-alpha.3",
"@verdaccio/fastify-migration": "6.0.0-6-next.9",
"@verdaccio/eslint-config": "1.0.0",
"@verdaccio/benchmark": "1.0.0",
"@verdaccio/website": "5.1.3",
"@verdaccio/core": "6.0.0-next.0",
"@verdaccio/helper": "1.0.0"
},
"changesets": [
"afraid-mice-obey",
"big-lobsters-sin",
"calm-pants-impress",
"dry-planes-tap",
"eleven-spoons-matter",
"few-cooks-destroy",
"few-mangos-grow",
"fifty-jars-rest",
"fuzzy-onions-draw",
"gentle-parrots-lay",
"gentle-trains-switch",
"gold-vans-tease",
"healthy-bikes-behave",
"healthy-poets-compare",
"heavy-ravens-lay",
"hip-hounds-destroy",
"late-adults-love",
"late-parents-act",
"little-stingrays-rule",
"many-vans-care",
"modern-spies-tell",
"neat-toes-report",
"olive-candles-speak",
"perfect-candles-clap",
"perfect-emus-clean",
"perfect-kangaroos-agree",
"plenty-news-remember",
"plenty-spiders-melt",
"plenty-tables-refuse",
"pretty-hounds-tap",
"proud-jeans-walk",
"red-chefs-float",
"shaggy-carrots-unite",
"shaggy-parrots-smash",
"shiny-chefs-heal",
"smart-apricots-kneel",
"spicy-frogs-press",
"tender-bags-call",
"three-pots-sit",
"two-dolls-check",
"wild-jokes-beam"
]
}

View File

@@ -1,29 +0,0 @@
---
'@verdaccio/api': patch
'@verdaccio/auth': patch
'@verdaccio/cli': patch
'@verdaccio/config': patch
'@verdaccio/commons-api': patch
'@verdaccio/file-locking': patch
'verdaccio-htpasswd': patch
'@verdaccio/local-storage': patch
'@verdaccio/readme': patch
'@verdaccio/streams': patch
'@verdaccio/types': patch
'@verdaccio/hooks': patch
'@verdaccio/loaders': patch
'@verdaccio/logger': patch
'@verdaccio/logger-prettify': patch
'@verdaccio/middleware': patch
'@verdaccio/mock': patch
'@verdaccio/node-api': patch
'@verdaccio/proxy': patch
'@verdaccio/server': patch
'@verdaccio/store': patch
'@verdaccio/dev-types': patch
'@verdaccio/utils': patch
'verdaccio': patch
'@verdaccio/web': patch
---
Enable prerelease mode with **changesets**

View File

@@ -1,10 +0,0 @@
---
'verdaccio-htpasswd': patch
'@verdaccio/local-storage': patch
'@verdaccio/fastify-migration': patch
'@verdaccio/hooks': patch
'@verdaccio/mock': patch
'@verdaccio/node-api': patch
---
Added core-js missing from dependencies though referenced in .js sources

View File

@@ -1,11 +0,0 @@
---
'@verdaccio/store': patch
'@verdaccio/web': patch
---
Fix the search by exact name of the package
Full package name queries was not finding anithing. It was happening
becouse of stemmer of [lunr.js](https://lunrjs.com/).
To fix this, the stemmer of [lunr.js](https://lunrjs.com/) was removed from search pipeline.

View File

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

View File

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

View File

@@ -1,5 +0,0 @@
---
'@verdaccio/api': patch
---
testing changesets

View File

@@ -1,79 +0,0 @@
---
'@verdaccio/ui-theme': major
'@verdaccio/cli-standalone': major
'@verdaccio/web': major
---
feat: flexible user interface generator
**breaking change**
The UI does not provide a pre-generated `index.html`, instead the server generates
the body of the web application based in few parameters:
- Webpack manifest
- User configuration details
It allows inject html tags, javascript and new CSS to make the page even more flexible.
### Web new properties for dynamic template
The new set of properties are made in order allow inject _html_ and _JavaScript_ scripts within the template. This
might be useful for scenarios like Google Analytics scripts or custom html in any part of the body.
- metaScripts: html injected before close the `head` element.
- scriptsBodyAfter: html injected before close the `body` element.
- bodyAfter: html injected after _verdaccio_ JS scripts.
```yaml
web:
scriptsBodyAfter:
- '<script type="text/javascript" src="https://my.company.com/customJS.min.js"></script>'
metaScripts:
- '<script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script>'
- '<script type="text/javascript" src="https://browser.sentry-cdn.com/5.15.5/bundle.min.js"></script>'
- '<meta name="robots" content="noindex" />'
bodyBefore:
- '<div id="myId">html before webpack scripts</div>'
bodyAfter:
- '<div id="myId">html after webpack scripts</div>'
```
### UI plugin changes
- `index.html` is not longer used, template is generated based on `manifest.json` generated by webpack.
- Plugin must export:
- the manifest file.
- the manifest files: matcher (array of id that generates required scripts to run the ui)
- static path: The absolute path where the files are located in `node_modules`
```
exports.staticPath = path.join(__dirname, 'static');
exports.manifest = require('./static/manifest.json');
exports.manifestFiles = {
js: ['runtime.js', 'vendors.js', 'main.js'],
css: [],
ico: 'favicon.ico',
};
```
- Remove font files
- CSS is inline on JS (this will help with #2046)
### Docker v5 Examples
- Move all current examples to v4 folder
- Remove any v3 example
- Create v5 folder with Nginx Example
#### Related tickets
https://github.com/verdaccio/verdaccio/issues/1523
https://github.com/verdaccio/verdaccio/issues/1297
https://github.com/verdaccio/verdaccio/issues/1593
https://github.com/verdaccio/verdaccio/discussions/1539
https://github.com/verdaccio/website/issues/264
https://github.com/verdaccio/verdaccio/issues/1565
https://github.com/verdaccio/verdaccio/issues/1251
https://github.com/verdaccio/verdaccio/issues/2029
https://github.com/verdaccio/docker-examples/issues/29

View File

@@ -1,32 +0,0 @@
---
'verdaccio-htpasswd': major
---
feat: allow other password hashing algorithms (#1917)
**breaking change**
The current implementation of the `htpasswd` module supports multiple hash formats on verify, but only `crypt` on sign in.
`crypt` is an insecure old format, so to improve the security of the new `verdaccio` release we introduce the support of multiple hash algorithms on sign in step.
### New hashing algorithms
The new possible hash algorithms to use are `bcrypt`, `md5`, `sha1`. `bcrypt` is chosen as a default, because of its customizable complexity and overall reliability. You can read more about them [here](https://httpd.apache.org/docs/2.4/misc/password_encryptions.html).
Two new properties are added to `auth` section in the configuration file:
- `algorithm` to choose the way you want to hash passwords.
- `rounds` is used to determine `bcrypt` complexity. So one can improve security according to increasing computational power.
Example of the new `auth` config file section:
```yaml
auth:
htpasswd:
file: ./htpasswd
max_users: 1000
# Hash algorithm, possible options are: "bcrypt", "md5", "sha1", "crypt".
algorithm: bcrypt
# Rounds number for "bcrypt", will be ignored for other algorithms.
rounds: 10
```

View File

@@ -1,9 +0,0 @@
---
'@verdaccio/logger': major
---
logging prettifier only in development mode
- Verdaccio prettify `@verdaccio/logger-prettify` the logging which looks beautiful. But there are scenarios which does not make sense in production. This feature enables disable by default the prettifies if production `NODE_ENV` is enabled.
- Updates pino.js to `^6.7.0`.
- Suppress the warning when prettifier is enabled `suppressFlushSyncWarning`

View File

@@ -1,33 +0,0 @@
---
'@verdaccio/api': patch
'@verdaccio/auth': patch
'@verdaccio/cli': patch
'@verdaccio/config': patch
'@verdaccio/commons-api': patch
'@verdaccio/file-locking': patch
'verdaccio-htpasswd': patch
'@verdaccio/local-storage': patch
'@verdaccio/readme': patch
'@verdaccio/types': patch
'@verdaccio/hooks': patch
'@verdaccio/loaders': patch
'@verdaccio/logger': patch
'@verdaccio/logger-prettify': patch
'@verdaccio/middleware': patch
'@verdaccio/mock': patch
'@verdaccio/node-api': patch
'@verdaccio/proxy': patch
'@verdaccio/server': patch
'@verdaccio/store': patch
'@verdaccio/dev-types': patch
'@verdaccio/utils': patch
'verdaccio': patch
---
ESLint Warnings Fixed
Related to issue #1461
- max-len: most of the sensible max-len errors are fixed
- no-unused-vars: most of these types of errors are fixed by deleting not needed declarations
- @typescript-eslint/no-unused-vars: same as above

View File

@@ -1,28 +0,0 @@
---
'@verdaccio/cli': major
'@verdaccio/config': major
'@verdaccio/types': major
'@verdaccio/logger': major
'@verdaccio/node-api': major
'verdaccio-google-cloud': major
'verdaccio': major
---
feat: node api new structure based on promise
```js
import { runServer } from '@verdaccio/node-api';
// or
import { runServer } from 'verdaccio';
const app = await runServer(); // default configuration
const app = await runServer('./config/config.yaml');
const app = await runServer({ configuration });
app.listen(4000, (event) => {
// do something
});
```
### Breaking Change
If you are using the node-api, the new structure is Promise based and less arguments.

View File

@@ -1,32 +0,0 @@
---
'@verdaccio/types': minor
'@verdaccio/ui-theme': minor
'@verdaccio/web': minor
---
web: allow ui hide package managers on sidebar
If there is a package manager of preference over others, you can define the package managers to be displayed on the detail page and sidebar, just define in the `config.yaml` and web section the list of package managers to be displayed.
```
web:
title: Verdaccio
sort_packages: asc
primary_color: #cccccc
pkgManagers:
- pnpm
- yarn
# - npm
```
To disable all package managers, just define empty:
```
web:
title: Verdaccio
sort_packages: asc
primary_color: #cccccc
pkgManagers:
```
and the section would be hidden.

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,13 +0,0 @@
**/fixtures/**
**/mock/store/**
**/partials/**
**/types/custom.d.ts
build/
coverage/
node_modules/
static/
website/
wiki/
dist/
docs/
test/functional/store/*

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,7 +7,7 @@ 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
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

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,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

View File

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,171 +0,0 @@
---
name: ci - benchmark
on:
workflow_dispatch:
schedule:
# 3 times day
# collecting enough data to draw some graphics
- cron: '0 1 * * *'
# push:
# branches:
# - master
jobs:
prepare:
name: Prepare build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 14.x
- name: install pnpm
run: sudo npm i pnpm@6.6.1 -g
- name: set store
run: |
mkdir ~/.pnpm-store
pnpm config set store-dir ~/.pnpm-store
- name: setup pnpm config registry
run: pnpm config set registry https://registry.verdaccio.org
- name: install dependencies
run: pnpm install
- name: Cache .pnpm-store
uses: actions/cache@v2
with:
path: ~/.pnpm-store
key: pnpm-${{ hashFiles('pnpm-lock.yaml') }}
restore-keys: |
pnpm-
- name: build
run: pnpm build
- name: tar packages
run: |
tar -czvf ${{ github.workspace }}/pkg.tar.gz -C ${{ github.workspace }}/packages .
- uses: actions/upload-artifact@v2
with:
name: verdaccio-artifact
path: pkg.tar.gz
benchmark-autocannon:
needs: prepare
strategy:
fail-fast: false
matrix:
benchmark:
- info
- tarball
verdaccioVersion:
# - local
- 3.13.1
- 4.12.2
- 5.1.3
- 6.0.0-6-next.24
name: Benchmark autocannon
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 14.x
- uses: actions/download-artifact@v2
with:
name: verdaccio-artifact
- name: untar packages
run: tar -xzvf pkg.tar.gz -C ${{ github.workspace }}/packages
- name: install pnpm
# require fixed version
run: sudo npm i pnpm@6.6.1 -g
- uses: actions/cache@v2
with:
path: ~/.pnpm-store
key: pnpm-${{ hashFiles('pnpm-lock.yaml') }}
- name: install dependencies
run: pnpm install
- name: start registry
run: ./scripts/benchmark-prepare.sh ${{matrix.verdaccioVersion}}
- name: benchmark
run: pnpm benchmark:api -- -v ${{matrix.verdaccioVersion}} -f ${{matrix.benchmark}}
shell: bash
env:
DEBUG: metrics*
- uses: actions/upload-artifact@v2
with:
name: verdaccio-metrics-api
path: ./api-results-${{matrix.verdaccioVersion}}-${{matrix.benchmark}}.json
if-no-files-found: error
retention-days: 10
- name: submit metrics
run: pnpm benchmark:submit
env:
DEBUG: metrics
METRICS_SOURCE: autocannon
METRICS_URL: ${{ secrets.METRICS_URL }}
METRICS_TOKEN: ${{ secrets.METRICS_TOKEN }}
METRICS_BENCHMARK: ${{matrix.benchmark}}
METRICS_VERSION: ${{matrix.verdaccioVersion}}
METRICS_COMMIT_HASH: ${{ github.sha }}
METRICS_FILE_NAME: 'api-results'
benchmark:
needs: prepare
strategy:
fail-fast: false
matrix:
benchmark:
- info
- tarball
verdaccioVersion:
# future 6.x (wip)
# - local (master branch)
# old versions to compare same test along previous releases
- 3.13.1
- 4.12.2
- 5.1.3
- 6.0.0-6-next.24
name: Benchmark hyperfine
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 14.x
- uses: actions/download-artifact@v2
with:
name: verdaccio-artifact
- name: untar packages
run: tar -xzvf pkg.tar.gz -C ${{ github.workspace }}/packages
- name: install pnpm
# require fixed version
run: sudo npm i pnpm@6.6.1 -g
- uses: actions/cache@v2
with:
path: ~/.pnpm-store
key: pnpm-${{ hashFiles('pnpm-lock.yaml') }}
- name: install dependencies
run: pnpm install
- name: install hyperfine
run: |
wget https://github.com/sharkdp/hyperfine/releases/download/v1.11.0/hyperfine_1.11.0_amd64.deb
sudo dpkg -i hyperfine_1.11.0_amd64.deb
- name: start registry
run: ./scripts/benchmark-prepare.sh ${{matrix.verdaccioVersion}}
- name: benchmark
run: ./scripts/benchmark-run.sh ${{matrix.benchmark}}
# https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#using-a-specific-shell
shell: bash
- name: rename
run: mv ./hyper-results.json ./hyper-results-${{matrix.verdaccioVersion}}-${{matrix.benchmark}}.json
- uses: actions/upload-artifact@v2
with:
name: verdaccio-metrics
path: ./hyper-results-${{matrix.verdaccioVersion}}-${{matrix.benchmark}}.json
if-no-files-found: error
retention-days: 10
- name: submit metrics
run: pnpm benchmark:submit
env:
DEBUG: metrics
METRICS_SOURCE: hyperfine
METRICS_URL: ${{ secrets.METRICS_URL }}
METRICS_TOKEN: ${{ secrets.METRICS_TOKEN }}
METRICS_BENCHMARK: ${{matrix.benchmark}}
METRICS_VERSION: ${{matrix.verdaccioVersion}}
METRICS_COMMIT_HASH: ${{ github.sha }}

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@v2
with:
fetch-depth: 0
- name: setup node.js
uses: actions/setup-node@v2
with:
node-version: 14
registry-url: 'https://registry.npmjs.org'
env:
NODE_AUTH_TOKEN: ${{ secrets.REGISTRY_AUTH_TOKEN }}
- name: install pnpm
run: npm i pnpm@6.10.3 -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_PROJECT_ID: ${{ secrets.CROWDIN_VERDACCIO_PROJECT_ID }}
CROWDIN_VERDACCIO_API_KEY: ${{ secrets.CROWDIN_VERDACCIO_API_KEY }}
CONTEXT: production
run: pnpm crowdin:download
- name: build
run: pnpm build
- name: create versions
uses: verdaccio/changeset-action@master
with:
version: pnpm ci:version
commit: 'chore: update versions'
title: 'chore: update versions'
publish: pnpm ci:publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_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,262 +1,19 @@
name: CI
on:
push:
branches:
- master
- 'changeset-release/master'
pull_request:
paths:
- .changeset/**
- .github/workflows/ci.yml
- 'packages/**'
- 'jest/**'
- 'package.json'
- 'pnpm-workspace.yaml'
jobs:
prepare:
runs-on: ubuntu-latest
name: setup verdaccio
services:
verdaccio:
image: verdaccio/verdaccio:5
ports:
- 4873:4873
steps:
- uses: actions/checkout@v2.3.5
- name: Use Node 14
uses: actions/setup-node@v1
with:
node-version: 14
- name: Install pnpm
run: npm i pnpm@6.10.3 -g
- name: set store
run: |
mkdir ~/.pnpm-store
pnpm config set store-dir ~/.pnpm-store
- name: Install
run: pnpm recursive install --frozen-lockfile --registry http://localhost:4873
- name: Cache .pnpm-store
uses: actions/cache@v2
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@v2.3.5
- name: Use Node 16
uses: actions/setup-node@v1
with:
node-version: 16
- name: Install pnpm
run: npm i pnpm@6.10.3 -g
- uses: actions/cache@v2
with:
path: ~/.pnpm-store
key: pnpm-${{ hashFiles('pnpm-lock.yaml') }}
- name: Install
run: pnpm recursive install --frozen-lockfile --ignore-scripts
- name: Lint
run: pnpm lint
format:
runs-on: ubuntu-latest
name: Format
needs: prepare
steps:
- uses: actions/checkout@v2.3.5
- name: Use Node 16
uses: actions/setup-node@v1
with:
node-version: 16
- name: Install pnpm
run: npm i pnpm@6.10.3 -g
- uses: actions/cache@v2
with:
path: ~/.pnpm-store
key: pnpm-${{ hashFiles('pnpm-lock.yaml') }}
- name: Install
run: pnpm recursive install --frozen-lockfile --ignore-scripts
- name: Lint
run: pnpm format:check
on: [push, pull_request]
build:
runs-on: ubuntu-latest
name: build
needs: [format, lint]
steps:
- uses: actions/checkout@v2.3.5
- name: Use Node 16
uses: actions/setup-node@v1
with:
node-version: 16
- name: Install pnpm
run: npm i pnpm@6.10.3 -g
- uses: actions/cache@v2
with:
path: ~/.pnpm-store
key: pnpm-${{ hashFiles('pnpm-lock.yaml') }}
- name: Install
run: pnpm recursive install --frozen-lockfile --ignore-scripts
- name: crowdin download
env:
CROWDIN_VERDACCIO_PROJECT_ID: ${{ secrets.CROWDIN_VERDACCIO_PROJECT_ID }}
CROWDIN_VERDACCIO_API_KEY: ${{ secrets.CROWDIN_VERDACCIO_API_KEY }}
CONTEXT: production
run: pnpm crowdin:download
## this step is optional, translations are not mandatory for PR
## secrets keys are not available on forks, the failure here is guaranteed
continue-on-error: true
- name: build
run: pnpm build
- name: tar packages
run: |
tar -czvf ${{ github.workspace }}/pkg.tar.gz -C ${{ github.workspace }}/packages .
- uses: actions/upload-artifact@v2
with:
name: verdaccio-artifact
path: pkg.tar.gz
test:
needs: build
permissions:
contents: read
concurrency:
group: ci-${{ github.ref }}-6.x
cancel-in-progress: true
jobs:
build:
strategy:
fail-fast: true
fail-fast: false
matrix:
os: [ubuntu-latest]
## Node 16 breaks UI test, jest issue
node_version: [14]
name: ${{ matrix.os }} / Node ${{ matrix.node_version }}
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2.3.5
- name: Use Node ${{ matrix.node_version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node_version }}
- uses: actions/download-artifact@v2
with:
name: verdaccio-artifact
- name: untar packages
run: tar -xzvf pkg.tar.gz -C ${{ github.workspace }}/packages
- name: Install pnpm
run: npm i pnpm@6.10.3 -g
- uses: actions/cache@v2
with:
path: ~/.pnpm-store
key: pnpm-${{ hashFiles('pnpm-lock.yaml') }}
- name: Install
run: pnpm recursive install --frozen-lockfile --ignore-scripts
- name: Test
run: pnpm test
ci-e2e-ui:
needs: build
runs-on: ubuntu-latest
name: UI Test E2E Node 14
steps:
- uses: actions/checkout@v2.3.5
- uses: actions/setup-node@v1
with:
node-version: 14
- uses: actions/download-artifact@v2
with:
name: verdaccio-artifact
- name: untar packages
run: tar -xzvf pkg.tar.gz -C ${{ github.workspace }}/packages
- name: Install pnpm
run: npm i pnpm@6.10.3 -g
- uses: actions/cache@v2
with:
path: ~/.pnpm-store
key: pnpm-${{ hashFiles('pnpm-lock.yaml') }}
- name: Install
## we need scripts, pupetter downloads aditional content
run: pnpm recursive install --frozen-lockfile
- name: Test UI
run: pnpm test:e2e:ui
# env:
# DEBUG: verdaccio:e2e*
ci-e2e-cli:
needs: build
runs-on: ubuntu-latest
name: CLI Test E2E Node 14
steps:
- uses: actions/checkout@v2.3.5
- uses: actions/setup-node@v1
with:
node-version: 14
- uses: actions/download-artifact@v2
with:
name: verdaccio-artifact
- name: untar packages
run: tar -xzvf pkg.tar.gz -C ${{ github.workspace }}/packages
- name: Install pnpm
run: npm i pnpm@6.10.3 -g
- uses: actions/cache@v2
with:
path: ~/.pnpm-store
key: pnpm-${{ hashFiles('pnpm-lock.yaml') }}
- name: Install
## we need scripts, pupetter downloads aditional content
run: pnpm recursive install --frozen-lockfile
- name: Test CLI
run: pnpm test:e2e:cli
# env:
# DEBUG: verdaccio*
test-windows:
needs: [format, lint]
runs-on: windows-latest
name: windows test node 14
steps:
- uses: actions/checkout@v2.3.5
- name: Use Node 14
uses: actions/setup-node@v1
with:
node-version: 14
- name: Install pnpm
run: npm i pnpm@6.10.3 -g
# pnpm cache is not working for windows (we need a solution)
- uses: actions/cache@v2
with:
path: ~/.pnpm-store
key: pnpm-${{ hashFiles('pnpm-lock.yaml') }}
- name: Install
run: pnpm recursive install --frozen-lockfile --ignore-scripts
- name: build
run: pnpm build
- name: Test
run: pnpm test
sync-translations:
needs: [ci-e2e-cli, ci-e2e-ui, test-windows, test]
runs-on: ubuntu-latest
name: synchronize translations
if: (github.event_name == 'push' && github.ref == 'refs/heads/master') || github.event_name == 'workflow_dispatch'
steps:
- uses: actions/checkout@v2.3.5
- uses: actions/setup-node@v1
with:
node-version: 14
- uses: actions/download-artifact@v2
with:
name: verdaccio-artifact
- name: untar packages
run: tar -xzvf pkg.tar.gz -C ${{ github.workspace }}/packages
- name: Install pnpm
run: npm i pnpm@6.10.3 -g
- uses: actions/cache@v2
with:
path: ~/.pnpm-store
key: pnpm-${{ hashFiles('pnpm-lock.yaml') }}
- name: Install
## we need scripts, pupetter downloads aditional content
run: pnpm recursive install --frozen-lockfile
- name: generate website translations
run: pnpm write-translations --filter ...@verdaccio/website
- name: sync
env:
CROWDIN_VERDACCIO_PROJECT_ID: ${{ secrets.CROWDIN_VERDACCIO_PROJECT_ID }}
CROWDIN_VERDACCIO_API_KEY: ${{ secrets.CROWDIN_VERDACCIO_API_KEY }}
CONTEXT: production
run: pnpm crowdin:sync
node_version: [18, 20, 22, 24]
uses: verdaccio/verdaccio/.github/workflows/yarn-ci.yml@master
with:
node_version: ${{ matrix.node_version }}

View File

@@ -1,52 +0,0 @@
name: 'Code scanning - action'
on:
pull_request:
paths:
- .github/workflows/codeql-analysis.yml
- 'packages/**'
schedule:
- cron: '0 2 * * 4'
jobs:
CodeQL-Build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2.3.5
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@v1
# 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@v1
# 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@v1

View File

@@ -4,48 +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*'
- 'v*'
jobs:
docker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: docker/setup-qemu-action@v1
- uses: docker/setup-buildx-action@v1
with:
driver-opts: network=host
- uses: docker/login-action@v1
name: Login Docker Hub
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Prepare docker image tags
id: docker_meta
uses: crazy-max/ghaction-docker-meta@v1
with:
images: ${{ github.repository }}
tag-custom: nightly-master
tag-custom-only: ${{ github.ref == 'refs/heads/master' }}
tag-semver: |
{{version}}
{{major}}
{{major}}.{{minor}}
- name: Build & Push
uses: docker/build-push-action@v2
with:
context: .
file: ./Dockerfile
platforms: linux/amd64
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

@@ -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

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

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,148 +0,0 @@
name: Verdaccio Website CI
on:
workflow_dispatch:
pull_request:
types:
- opened
- synchronize
paths:
- 'website/**'
- 'package.json'
- './.github/workflows/website.yml'
push:
branches:
- 'master'
paths:
- 'website/**'
- 'package.json'
- './.github/workflows/website.yml'
jobs:
build:
runs-on: ubuntu-latest
env:
NODE_OPTIONS: --max_old_space_size=4096
steps:
- uses: actions/checkout@v2.3.5
- name: Use Node 14
uses: actions/setup-node@v2
with:
node-version: 14
- name: Cache pnpm modules
uses: actions/cache@v2
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 }}-
- uses: pnpm/action-setup@v2.0.1
with:
version: 6.10.2
run_install: |
- recursive: true
args: [--frozen-lockfile]
- name: Lint And Pretty
run: |
pnpm eslint:check --filter ...@verdaccio/website
pnpm prettier:check --filter ...@verdaccio/website
- name: Cache Docusaurus Build
uses: actions/cache@v2
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_PROJECT_ID: ${{ secrets.CROWDIN_VERDACCIO_PROJECT_ID }}
CROWDIN_VERDACCIO_API_KEY: ${{ secrets.CROWDIN_VERDACCIO_API_KEY }}
CONTEXT: production
run: pnpm netlify:build:production --filter ...@verdaccio/website
- name: 🔥 Deploy Production Netlify
if: (github.event_name == 'push' && github.ref == 'refs/heads/master') || github.event_name == 'workflow_dispatch'
uses: semoal/action-netlify-deploy@master
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
if: github.event_name == 'pull_request' && github.ref != 'refs/heads/master' && github.event.label.name == 'trigger-preview'
env:
CONTEXT: deploy-preview
run: pnpm netlify:build:deployPreview --filter ...@verdaccio/website
- name: 🤖 Deploy Preview Netlify
if: github.event_name == 'pull_request' && github.ref != 'refs/heads/master' && github.event.label.name == 'trigger-preview'
uses: semoal/action-netlify-deploy@master
id: netlify_preview
with:
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.event_name == 'pull_request' && github.ref != 'refs/heads/master' && github.event.label.name == 'trigger-preview'
id: lighthouse_audit
uses: treosh/lighthouse-ci-action@v3
with:
urls: |
${{ steps.netlify_preview.outputs.preview-url }}
uploadArtifacts: true
temporaryPublicStorage: true
- name: Format lighthouse score
if: github.event_name == 'pull_request' && github.ref != 'refs/heads/master' && github.event.label.name == 'trigger-preview'
id: format_lighthouse_score
uses: actions/github-script@v3
with:
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.event_name == 'pull_request' && github.ref != 'refs/heads/master' && github.event.label.name == 'trigger-preview'
id: comment_to_pr
uses: marocchino/sticky-pull-request-comment@v1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
number: ${{ github.event.issue.number }}
header: lighthouse
message: |
${{ steps.format_lighthouse_score.outputs.comment }}

57
.gitignore vendored
View File

@@ -1,52 +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/
# benchmark
api-results.json
hyper-results.json
hyper-results*.json
api-results*.json
#docs
./api
packages/core/core/docs
# 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

3
.npmrc
View File

@@ -1,5 +1,2 @@
always-auth = true
recursive-install = true
registry = https://registry.verdaccio.org
loglevel=info
fetch-retries="10"

2
.nvmrc
View File

@@ -1 +1 @@
16
22

View File

@@ -3,31 +3,23 @@
**/corrupted.json
**/invalid.js
**/invalid.json
**/pnpm-lock.yaml
**/verdaccio-corrupted.db.json
**/wrong.package.json
crowdin.yaml
/docs/website
/website/*
/website/translated_docs/
CHANGELOG.md
README.md
CONTRIBUTORS.md
test/unit/partials/config/js/*
node_modules/
**/coverage/**
**/static/*.js
**/build/*.js
packages/core/local-storage/_storage/**
packages/partials/storage_default_storage/
packages/standalone/dist/bundle.js
docker-examples/v5/reverse_proxy/nginx/relative_path/storage/*
docker-examples/
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
.vscode/
.yarnrc.yml
.yarn/
test/functional/store/*
storage_default_storage/*
.prettierignore
.npmignore
.gitignore
*.ico

View File

@@ -5,7 +5,11 @@
"tabWidth": 2,
"singleQuote": true,
"bracketSpacing": true,
"jsxBracketSameLine": true,
"trailingComma": "es5",
"semi": true
"semi": true,
"plugins": ["@trivago/prettier-plugin-sort-imports"],
"importOrder": ["^@verdaccio/(.*)$", "^[./]"],
"importOrderSeparation": true,
"importOrderParserPlugins": ["typescript", "classProperties", "jsx"],
"importOrderSortSpecifiers": true
}

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": []
}

101
.vscode/launch.json vendored
View File

@@ -1,91 +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"
},
{
"name": "Verdaccio Debug",
"port": 9229,
"request": "attach",
"skipFiles": ["<node_internals>/**"],
"type": "pwa-node"
},
{
"type": "node",
"request": "launch",
"name": "CLI Babel Registry",
"stopOnEntry": false,
"program": "${workspaceFolder}/debug/bootstrap.js",
"args": ["-l", "0.0.0.0:4873"],
"env": {
"BABEL_ENV": "registry"
},
"preLaunchTask": "npm: build:webui",
"console": "integratedTerminal"
},
{
"name": "Unit Tests",
"type": "node",
"request": "launch",
"program": "${workspaceRoot}/node_modules/bin/jest",
"stopOnEntry": false,
"args": ["--debug=true"],
"cwd": "${workspaceRoot}",
"runtimeExecutable": null,
"runtimeArgs": ["--nolazy"],
"env": {
"NODE_ENV": "test",
"TZ": "UTC"
},
"console": "integratedTerminal"
},
{
"name": "Functional Tests",
"type": "node",
"request": "launch",
"program": "${workspaceRoot}/node_modules/.bin/jest",
"stopOnEntry": false,
"args": [
"--config",
"./test/jest.config.functional.js",
"--testPathPattern",
"./test/functional/index*",
"--debug=false",
"--verbose",
"--useStderr",
"--detectOpenHandles"
],
"cwd": "${workspaceRoot}",
"env": {
"BABEL_ENV": "testOldEnv",
"VERDACCIO_DEBUG": "true",
"VERDACCIO_DEBUG_INJECT": "true",
"NODE_DEBUG": "TO_DEBUG_REQUEST_REMOVE_THIS_request"
},
"preLaunchTask": "pre-test",
"console": "integratedTerminal",
"runtimeExecutable": null,
"runtimeArgs": ["--nolazy"]
},
{
"type": "node",
"request": "launch",
"name": "Verdaccio Compiled",
"preLaunchTask": "npm: code:build",
"program": "${workspaceRoot}/bin/verdaccio",
"args": ["-l", "0.0.0.0:4873"],
"console": "integratedTerminal"
}
]
"version": "0.2.0",
"configurations": [
{
"name": "Attach by Process ID",
"processId": "${command:PickProcess}",
"request": "attach",
"skipFiles": [
"<node_internals>/**"
],
"type": "node"
}
]
}

17
.vscode/settings.json vendored
View File

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

21
.vscode/tasks.json vendored
View File

@@ -1,21 +0,0 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"type": "npm",
"script": "build:webui",
"problemMatcher": []
},
{
"type": "npm",
"script": "code:build",
"problemMatcher": []
},
{
"label": "pre-test",
"dependsOn": ["npm: code:build", "npm: test:clean"]
}
]
}

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,424 +1,13 @@
# Contributing
# Contributing to Verdaccio
> Any change matters, whatever the size, just do it.
Full text for contributing can be read [here](https://verdaccio.org/community/contributing).
We're happy that you're considering contributing! To help, we've prepared these
guidelines for you:
## Especifics for the branch 6.x
**Table of Contents**
The 6.x uses `yarn berry` with Plug and Play enabled, thus some advices are required for helping contributing:
- [Contributing](#contributing)
- [How Do I Contribute?](#how-do-i-contribute)
- [Development Setup](#development-setup)
- [Building the project](#building-the-project)
- [Running test](#running-test)
- [Running and debugging](#running-and-debugging)
- [Debugging compiled code](#debugging-compiled-code)
- [Reporting Bugs](#reporting-bugs)
- [Read the documentation](#read-the-documentation)
- [What's is not considered a bug?](#whats-is-not-considered-a-bug)
- [Issue Search](#issue-search)
- [Chat](#chat)
- [Translations](#translations)
- [Request Features](#request-features)
- [Contributing Guidelines](#contributing-guidelines)
- [Submitting a Pull Request](#submitting-a-pull-request)
- [Make Changes and Commit](#make-changes-and-commit)
- [Caveats](#caveats)
- [Before Commit](#before-commit)
- [Commit Guidelines](#commit-guidelines)
- [Adding a changeset](#adding-a-changeset)
- [Update Tests](#update-tests)
- [Develop Plugins](#develop-plugins)
## How Do I Contribute?
There are many ways to contribute:
- Report a bug
- Request a feature you think would be great for Verdaccio
- Fix bugs
- Test and triage bugs reported by others
- Work on requested/approved features
- Improve the codebase (linting, naming, comments, test descriptions, etc...)
The Verdaccio project is split into several areas:
- **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, translation which are
> not hosted on this repo but check the last section of this notes for further
> information.
## Development Setup
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.
To begin your development setup, please install the latest version of pnpm globally:
```
npm i -g pnpm
```
With pnpm installed, the first step is installing all dependencies:
```
pnpm install
```
### Building the project
To build the project run
```
pnpm build
```
### Running test
```
pnpm test
```
Verdaccio is a mono repository. To run the tests for for a specific package:
```
cd packages/store
pnpm test
```
or an specific test in that package:
```
pnpm test test/merge.dist.tags.spec.ts
```
or a single test unit:
```
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:
```
pnpm test test/merge.dist.tags.spec.ts -- -t 'simple' --coverage=false
```
You can enable increased [`debug`](https://www.npmjs.com/package/debug) output:
```
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.
#### Useful Scripts
To run the application from the source code, ensure the project has been built with `pnpm build`, once this is done, there are few commands that helps to run server:
- `pnpm start`: Run the server and the UI with `concurrently`, the
server runs in the port `8000` and the UI on the port `4873`. This command
is useful if you want to contribute mostly on the UI.
- `pnpm debug`: Run the server in debug mode `--inspect`, the UI is included but does not have hot reload. For automatic break use `pnpm debug:break`.
- `pnpm debug:fastify`: To contribute on the [fastify migration](https://github.com/verdaccio/verdaccio/discussions/2155) this is a temporary command for such purpose.
- `pnpm website`: Build the website, for more commands to run the _website_, run `cd website` and then `pnpm serve`, website will run on port `3000`.
- `pnpm docker`: Build the docker image. Requires `docker` command available in your system.
#### Debugging compiled code
Currently you can only run pre-compiled packages in debug mode. To enable debug
while running add the `verdaccio` namespace using the `DEBUG` environment
variable, like this:
```
DEBUG=verdaccio:* node packages/verdaccio/debug/bootstrap.js
```
You can filter this output to just the packages you're interested in using
namespaces:
```
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.
## 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).
> **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 beed 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).
### Issue Search
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.
### Chat
Questions can be asked via [Discord](https://discord.gg/7qWJxBf)
**Please use the `#help` channel.**
## Translations
All translations are provided by the `crowdin` platform:
[https://translate.verdaccio.org/](https://translate.verdaccio.org/)
If you want to contribute by adding translations, create an account (GitHub could be used as fast alternative), in the platform you can contribute to two areas, the website or improve User Interface translations.
If a language is not listed, ask for it in the [Discord](https://discord.gg/7qWJxBf) channel #contribute channel.
For adding a new **language** on the UI follow these steps:
1. Ensure the **language** has been enabled, must be visible in the `crowdin` platform.
2. Find in the explorer the file `en.US.json` in the path `packages/plugins/ui-theme/src/i18n/crowdin/ui.json` and complete the translations, **not need to find approval on this**.
3. Into the project, add a new field into `packages/plugins/ui-theme/src/i18n/crowdin/ui.json` file, in the section `lng`, the new language, eg: `{ lng: {korean:"Korean"}}`. (This file is English based, once the PR has been merged, this string will be available in crowdin for translate to the targeted language).
4. Add the language, [flag icon](https://www.npmjs.com/package/country-flag-icons), and the menu key fort he new language eg: `menuKey: 'lng.korean'` to the file `packages/plugins/ui-theme/src/i18n/enabledLanguages.ts`.
5. For local testing, read `packages/plugins/ui-theme/src/i18n/ABOUT_TRANSLATIONS.md`.
6. Add a `changeset` file, see more info below.
## Request Features
New feature requests are welcome. Analyse whether the idea fits within scope of
the project. Adding in context and the use-case will really help!
**Please provide:**
- 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 berry_
](https://github.com/yarnpkg/berry).
- A potential implementation or design
- Whatever else is on your mind! 🤓
## Contributing Guidelines
It's very exciting to become a Verdaccio contributor 🙌🏼. 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_.
### Submitting a 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 Commit
Before committing, **you must ensure there are no linting errors and
all tests pass.** To do this, run these commands before create 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
For example:
- `feat: A new feature`
- `fix: A bug fix`
A commit of the type feat introduces a new feature to the codebase (this
correlates with MINOR in semantic versioning).
e.g.:
```
feat: xxxxxxxxxx
```
A commit of the type fix patches a bug in your codebase (this correlates with
PATCH in semantic versioning).
e.g.:
```
fix: xxxxxxxxxxx
```
Commits types such as as `docs:`,`style:`,`refactor:`,`perf:`,`test:` and
`chore:` are valid but have no effect on versioning: **please use them!**
All commits message are going to be validated when they are created using
_husky_ hooks.
> Please try to provide one single commit to help a clean and easy merge process
### Adding a 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 is a change that does not affect library
functionality, eg: typo, docs, readme, add additional test or linting code). To
create a changeset please run:
```
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.**
## 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

View File

@@ -1,4 +1,5 @@
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
<!-- prettier-ignore-start -->
<!-- markdownlint-disable -->
<table>
<tr>
@@ -36,4 +37,5 @@
</table>
<!-- markdownlint-enable -->
<!-- prettier-ignore-end -->
<!-- ALL-CONTRIBUTORS-LIST:END -->

View File

@@ -1,25 +1,37 @@
FROM --platform=${BUILDPLATFORM:-linux/amd64} node:14.18.1-alpine as builder
FROM --platform=${BUILDPLATFORM:-linux/amd64} node:22.13.1-alpine as builder
ENV NODE_ENV=development \
VERDACCIO_BUILD_REGISTRY=https://registry.verdaccio.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 && \
apk --no-cache add g++ gcc libgcc libstdc++ linux-headers make python && \
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.25-r0/glibc-2.25-r0.apk && \
apk add glibc-2.25-r0.apk
wget -q https://github.com/sgerrand/alpine-pkg-glibc/releases/download/2.35-r0/glibc-2.35-r0.apk && \
apk add --force-overwrite glibc-2.35-r0.apk
WORKDIR /opt/verdaccio-build
COPY . .
RUN npm -g i pnpm@6.10.3 && \
pnpm config set registry $VERDACCIO_BUILD_REGISTRY && \
pnpm recursive install --frozen-lockfile --ignore-scripts && \
pnpm run build
# FIXME: need to remove devDependencies from the build
# RUN pnpm install --prod --ignore-scripts
## 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:14.18.1-alpine
FROM node:22.13.1-alpine
LABEL maintainer="https://github.com/verdaccio/verdaccio"
ENV VERDACCIO_APPDIR=/opt/verdaccio \
@@ -30,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

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