Compare commits

...

92 Commits

Author SHA1 Message Date
Juan Picado
11055f6eb3 chore: update versions (next-8) (#5095)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-02-16 22:30:04 +01:00
renovate[bot]
5ab899fa57 fix(deps): update dependency core-js to v3.40.0 (#5097) 2025-02-16 22:02:50 +01:00
renovate[bot]
87e410478e fix(deps): update dependency compression to v1.8.0 (#5096) 2025-02-16 22:02:32 +01:00
Juan Picado
96e0011655 chore: update versions (#5094) 2025-02-16 20:28:02 +01:00
renovate[bot]
22c3455918 fix(deps): update dependency country-flag-icons to v1.5.16 (#5092)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-15 16:40:38 +01:00
verdacciobot
27bda4c4b2 chore: updated static data 2025-02-13 00:14:18 +00:00
verdacciobot
e80fa2df04 chore: updated static data 2025-02-10 00:14:57 +00:00
Aditya Mathur
6a4f03b97b refactor(api): update user routes to use constants for endpoints (#5089) 2025-02-06 08:30:44 +01:00
verdacciobot
7ee74706b4 chore: updated static data 2025-02-06 00:14:05 +00:00
renovate[bot]
ef94596558 chore(deps): update dependency storybook to v8.5.3 (#5087)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-04 22:22:48 +01:00
renovate[bot]
ecddde1870 fix(deps): update dependency semver to v7.7.1 (#5088)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-04 22:06:28 +01:00
renovate[bot]
b744cfec2a chore(deps): update dependency @changesets/cli to v2.27.12 (#5085)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-04 21:11:22 +01:00
verdacciobot
5e394ce970 chore: updated static data 2025-02-04 07:06:17 +00:00
renovate[bot]
9d4aa6ae32 chore(deps): update dependency undici-types to v5.28.4 (master) (#5086)
* chore(deps): update dependency undici-types to v5.28.4

* Update action.yml

* update ci

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Juan Picado <juanpicado19@gmail.com>
2025-02-03 22:55:46 +01:00
Juan Picado
b091c256ea chore: update versions (next-8) (#5015) 2025-02-02 18:34:35 +01:00
Juan Picado
5ca87c34b4 chore: update local scripts (#5084)
* add local scripts

* add scripts

* add charts

* Update static-data.yml

* label
2025-02-02 16:14:43 +01:00
Marc Bernard
058860593a chore: keep_readmes docs (#5052)
* chore: `keep_readmes` docs

* clean-up type

* fix indent (tab to space)
2025-02-02 11:02:14 +01:00
dependabot[bot]
7fb6950996 chore(deps): bump github/codeql-action from 3.28.0 to 3.28.8 (#5083)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.28.0 to 3.28.8.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](48ab28a6f5...dd746615b3)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-02 11:00:13 +01:00
dependabot[bot]
16aba09ab2 chore(deps): bump docker/setup-qemu-action from 3.2.0 to 3.3.0 (#5082)
Bumps [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action) from 3.2.0 to 3.3.0.
- [Release notes](https://github.com/docker/setup-qemu-action/releases)
- [Commits](49b3bc8e6b...53851d1459)

---
updated-dependencies:
- dependency-name: docker/setup-qemu-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-02 10:52:25 +01:00
Juan Picado
4247cb1d3b chore: update versions 2025-02-02 10:50:54 +01:00
Juan Picado
ab427ffda5 chore: update versions 2025-02-02 10:43:53 +01:00
renovate[bot]
8ed867a7f9 chore(deps): update dependency update-ts-references to v3.6.0 (#5080)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-30 10:05:25 +01:00
verdacciobot
6714686111 chore: updated static data 2025-01-30 00:13:01 +00:00
renovate[bot]
1f90ef1ca3 fix(deps): update dependency envinfo to v7.14.0 (#5079)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-29 09:15:07 +01:00
renovate[bot]
9d91368b46 fix(deps): update dependency dompurify to v3.2.3 (master) (#5064)
* fix(deps): update dependency dompurify to v3.2.3

* fix dep

* Update utils.ts

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Juan Picado <juanpicado19@gmail.com>
2025-01-28 22:50:54 +01:00
renovate[bot]
71a0b06e31 fix(deps): update dependency abortcontroller-polyfill to v1.7.8 (#5076)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-28 10:20:19 +01:00
renovate[bot]
5bc3951fb8 fix(deps): update dependency country-flag-icons to v1.5.14 (#5077)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-28 10:19:20 +01:00
renovate[bot]
e1b0c9bb9a fix(deps): update dependency react-markdown to v9.0.3 (#5078)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-28 10:18:47 +01:00
Marc Bernard
69f2e66b92 fix(ui): sort versions (#5049)
* fix(ui): sort versions

* Add test
2025-01-27 23:48:30 +01:00
renovate[bot]
4b16136a05 chore(deps): update babel monorepo (#5073)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-27 23:47:28 +01:00
renovate[bot]
72afb98a62 fix(deps): update dependency marked to v15.0.6 (#5074)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-27 22:38:40 +01:00
renovate[bot]
d8eaf85a32 fix(deps): update dependency react-virtualized to v9.22.6 (#5075)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-27 22:38:24 +01:00
Marc Bernard
eb4a24b2fc chore(deps): upgrade storybook to v8 (#5056)
* chore(deps): upgrade storybook to v8

* Update
2025-01-27 15:28:22 +01:00
renovate[bot]
3935e2f0a9 chore(deps): update actions/setup-node action to v4.2.0 (#5071) 2025-01-27 07:01:01 +01:00
verdacciobot
05d3e78083 chore: updated static data 2025-01-27 00:14:03 +00:00
renovate[bot]
b11cd7d11a chore(deps): update all test dependencies (master) (major) (#5067)
* chore(deps): update all test dependencies

* fix tests and skip one

* restore nock

drops v18 and still being used

* Update pnpm-lock.yaml

* simplify nock deps

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Juan Picado <juanpicado19@gmail.com>
2025-01-26 22:44:12 +01:00
renovate[bot]
31c9ec48b0 fix(deps): update dependency marked-highlight to v2.2.1 (#5066)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-26 12:21:35 +01:00
renovate[bot]
b6fa1a9a8f fix(deps): update dependency highlight.js to v11.11.1 (#5065)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-26 12:20:37 +01:00
renovate[bot]
735a378917 chore(deps): update dependency sass to v1.83.4 (#5062)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-26 11:10:10 +01:00
renovate[bot]
f1477cc4f4 chore(deps): update dependency yaml to v2.7.0 (#5060)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-25 16:00:29 +01:00
verdacciobot
da6afe3098 chore: updated static data 2025-01-23 00:13:31 +00:00
Carmelo Scandaliato
fce79e9d40 docs: fix typo in plugin-middleware.md (#5058) 2025-01-23 00:06:25 +01:00
Juan Picado
a461a2e4cf chore: improve charts (#5057)
chore: improve charts
2025-01-20 20:56:43 +01:00
verdacciobot
36b8930f0e chore: updated static data 2025-01-20 00:13:48 +00:00
renovate[bot]
0ae636da09 chore(deps): update actions/upload-artifact action to v4.6.0 (#5048) 2025-01-16 21:48:55 +01:00
Marc Bernard
ca91b9af48 fix: config builder addLogger (#5053) 2025-01-16 21:33:38 +01:00
Marc Bernard
3ab6b670cb website: update env and migration docs (#5051) 2025-01-16 21:19:48 +01:00
verdacciobot
d6718a671b chore: updated static data 2025-01-16 00:13:28 +00:00
Marc Bernard
b3a1499223 chore: bump user agent (#5050) 2025-01-15 18:57:57 +01:00
Marc Bernard
8289cc67b8 fix: ui-component vitest api (#5054) 2025-01-14 20:04:51 +01:00
verdacciobot
49dde15fc8 chore: updated static data 2025-01-13 00:14:33 +00:00
verdacciobot
a34f761e44 chore: updated static data 2025-01-09 00:14:07 +00:00
verdacciobot
768b5b10ce chore: updated static data 2025-01-06 00:14:21 +00:00
Marc Bernard
8e9850bc93 website: fix color of selection in dark mode (#5042) 2025-01-05 21:25:07 +01:00
dependabot[bot]
3ff441b881 chore(deps): bump github/codeql-action from 3.27.5 to 3.28.0 (#5038)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.27.5 to 3.28.0.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](f09c1c0a94...48ab28a6f5)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-05 09:16:38 +01:00
renovate[bot]
73ae57996f chore(deps): update dependency ts-jest to v29.2.5 (#5040)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-05 09:16:28 +01:00
verdacciobot
f3c88bae03 chore: updated static data 2025-01-05 08:03:32 +00:00
Juan Picado
98d808bcd1 chore: fix local script 2025-01-05 09:00:53 +01:00
renovate[bot]
061e9a9dee chore(deps): update dependency @changesets/cli to v2.27.11 (#5039)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-05 00:12:20 +01:00
verdacciobot
0539b40182 chore: updated static data 2025-01-04 20:58:24 +00:00
Juan Picado
12e91aa3cd Update static-data.yml 2025-01-04 21:55:15 +01:00
Juan Picado
2ab3f41bb1 Update static-data.yml 2025-01-04 21:46:45 +01:00
Juan Picado
46b1238bc0 Update static-data.yml 2025-01-04 21:40:37 +01:00
Juan Picado
c5e174cdc5 chore: website metrics (#5041)
* metrics charts example

* metrics charts example

* metrics charts example

* Update npmjs_downloads.json
2025-01-04 21:38:52 +01:00
verdacciobot
4b16eb2c35 chore: updated static data 2025-01-02 00:15:44 +00:00
Jason N. White
d771aabf09 Update LICENSE, fix license year (#5037)
Signed-off-by: JasonnnW3000 <sufssl04@gmail.com>
2025-01-01 11:44:44 +01:00
renovate[bot]
4b787046d2 chore(deps): update node.js to v22 (#5035)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-30 21:06:49 +01:00
renovate[bot]
4340227775 chore(deps): update dependency ubuntu to v24 (#5034) 2024-12-30 19:51:00 +01:00
renovate[bot]
b46dd013b1 chore(deps): update dependency esbuild to v0.24.2 (#5032)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-30 11:21:38 +01:00
renovate[bot]
ba23a2d26d chore(deps): update dependency jsdom to v25 (#5031)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-30 10:41:15 +01:00
renovate[bot]
82ea8eb3e0 fix(deps): update dependency marked to v15 (#5029)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-30 10:20:43 +01:00
verdacciobot
1be1f20629 chore: updated static data 2024-12-30 00:16:17 +00:00
Juan Picado
f1ce900afa chore: renovate allow major PR upgrades 2024-12-29 22:08:09 +01:00
renovate[bot]
319b3847f3 chore(deps): update all actions (#5027)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-29 22:03:29 +01:00
renovate[bot]
2255a38ea2 chore(deps): update babel monorepo (#5028)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-29 21:37:01 +01:00
renovate[bot]
7c0577733b chore(deps): update all test dependencies (master) (#5023)
* chore(deps): update all test dependencies

* Update renovate.json

* fix test

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Juan Picado <juanpicado19@gmail.com>
2024-12-29 21:34:47 +01:00
renovate[bot]
738b656096 chore(deps): update all build dependencies (#5022) 2024-12-29 20:36:11 +01:00
renovate[bot]
e2f81fc0f6 fix(deps): update react monorepo to v18.3.1 (#5026) 2024-12-29 20:02:39 +01:00
renovate[bot]
c288c18535 chore(deps): update dependency yaml to v2.6.1 (#5025) 2024-12-29 20:02:25 +01:00
renovate[bot]
19918ae956 chore(deps): update dependency update-ts-references to v3.4.0 (#5024) 2024-12-29 20:02:05 +01:00
Juan Picado
d9e9bc048c Update plugin-generator-e2e.yaml 2024-12-29 18:55:34 +01:00
Juan Picado
4f1818471f chore: update website deployment 2024-12-29 17:31:13 +01:00
Juan Picado
fe8d16fde4 chore: website upgrade docusaurus v3 part 4
- remove esbuild
2024-12-29 17:26:01 +01:00
Juan Picado
f06881f4bb chore: website upgrade docusaurus v3 part 3
- ignore broken links (at least warning)
- clean up readme and old links
2024-12-29 17:13:17 +01:00
Juan Picado
dd3fcbd416 chore: website upgrade docusaurus v3 part 2
- fix broken mdx3 issues
2024-12-29 16:53:10 +01:00
Juan Picado
fde3e2440b chore: website upgrade docusaurus v3 part 1 (#5021)
* chore: migrate website docusaurus

* Update pnpm-lock.yaml

* Update website.yml

* remove plugin

* Update pnpm-lock.yaml

* reuse docs aws

* fix mdx3 issues

* Update website.yml
2024-12-29 16:21:12 +01:00
renovate[bot]
c7325acf3c fix(deps): update dependency pino to v9.6.0 (#5018) 2024-12-26 18:57:27 +01:00
Juan Picado
e9a3b95cff chore: fix test 2024-12-26 15:26:56 +01:00
verdacciobot
6cb3c52830 chore: updated static data 2024-12-26 00:15:20 +00:00
Xingwang Liao
970e0c9157 feat(ui-components): update hover background color of package list (#5016)
This color was fixed in #4687 and looks too dark.
Use the original hover color defined in [@mui/material](https://github.com/mui/material-ui/blob/v5.16.5/packages/mui-material/src/styles/createPalette.js#L36)
2024-12-23 09:38:04 +01:00
verdacciobot
b2c6d3a769 chore: updated static data 2024-12-23 00:16:05 +00:00
Marc Bernard
a7afdc73e8 feat: show version-specific readmes in web ui (#4977) 2024-12-21 10:03:46 +01:00
264 changed files with 20095 additions and 12760 deletions

View File

@@ -0,0 +1,5 @@
---
'@verdaccio/ui-components': patch
---
fix(ui): sort versions

View File

@@ -0,0 +1,7 @@
---
'@verdaccio/config': patch
'@verdaccio/types': patch
'@verdaccio/website': patch
---
chore: `keep_readmes` docs

View File

@@ -13,7 +13,10 @@
]
],
"ignoredPackages": [
"docusaurus-plugin-downloads",
"docusaurus-plugin-contributors",
"@verdaccio/test-cli-commons",
"@verdaccio/local-scripts",
"@verdaccio/e2e-cli-npm6",
"@verdaccio/e2e-cli-npm7",
"@verdaccio/e2e-cli-npm8",

View File

@@ -0,0 +1,5 @@
---
'verdaccio': patch
---
chore: bump user agent

View File

@@ -49,7 +49,7 @@
"generator-verdaccio-plugin": "5.0.0",
"@verdaccio/test-helper": "3.0.0",
"@verdaccio/local-publish": "0.0.2",
"@verdaccio/crowdin-translations": "1.0.0",
"@verdaccio/local-scripts": "1.0.0",
"customprefix-auth": "2.0.0",
"@verdaccio/ui-components": "3.0.0",
"@verdaccio/utils": "7.0.0",
@@ -58,13 +58,16 @@
"@verdaccio/website": "6.0.0",
"@verdaccio/e2e-cli-npm-common": "1.0.0",
"@verdaccio/e2e-cli-pnpm-common": "1.0.2-next-8.0",
"@verdaccio/e2e-cli-pnpm10": "1.0.0"
"@verdaccio/e2e-cli-pnpm10": "1.0.0",
"docusaurus-plugin-downloads": "2.0.0"
},
"changesets": [
"angry-doors-tan",
"beige-lions-type",
"blue-paws-cheer",
"breezy-geckos-search",
"bright-bobcats-ring",
"brown-planets-approve",
"chatty-apricots-report",
"clean-beds-wash",
"clever-bees-happen",
@@ -72,6 +75,7 @@
"curvy-rockets-camp",
"cyan-snakes-kiss",
"early-eyes-float",
"eleven-rocks-dream",
"fifty-falcons-design",
"gentle-stingrays-repeat",
"gold-squids-watch",
@@ -85,13 +89,19 @@
"lucky-crabs-enjoy",
"nine-countries-remember",
"quick-seas-deny",
"real-seahorses-change",
"rotten-melons-notice",
"rotton-readers-shave",
"rude-birds-design",
"rude-socks-walk",
"serious-apes-rule",
"short-mails-smoke",
"silent-bags-listen",
"silent-tips-admire",
"silver-houses-remain",
"slow-cars-guess",
"smooth-games-share",
"strange-pants-chew",
"stupid-camels-build",
"sweet-crabs-deliver",
"thirty-comics-trade",

View File

@@ -0,0 +1,5 @@
---
'@verdaccio/ui-components': minor
---
update hover background color of package list

View File

@@ -0,0 +1,6 @@
---
'@verdaccio/types': patch
'@verdaccio/config': patch
---
fix: config builder `addLogger`

View File

@@ -0,0 +1,5 @@
---
'@verdaccio/ui-components': patch
---
chore(deps): upgrade storybook to v8

View File

@@ -0,0 +1,6 @@
---
'@verdaccio/middleware': patch
'@verdaccio/web': patch
---
chore: export and constant on middleware

View File

@@ -0,0 +1,5 @@
---
'@verdaccio/ui-components': patch
---
fix: ui-component vitest api

View File

@@ -0,0 +1,5 @@
---
'@verdaccio/web': patch
---
feat: show version-specific readmes in web ui

View File

@@ -6,7 +6,7 @@ runs:
steps:
- name: Cache Packages
id: cache-packages
uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.0.2
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
with:
path: ./packages/
key: pkg-${{ hashFiles('pnpm-lock.yaml') }}-${{ github.run_id }}-${{ github.sha }}

View File

@@ -6,7 +6,7 @@ runs:
steps:
- name: Cache .pnpm-store
id: cache-npm
uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.0.2
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
with:
path: ~/.pnpm-store
key: pnpm-${{ hashFiles('**/pnpm-lock.yaml') }}-${{ github.event.pull_request.number }}-${{ runner.os }}

View File

@@ -22,11 +22,12 @@ runs:
using: composite
steps:
- name: Use Node
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
with:
node-version: ${{ inputs.node-version }}
- name: Install pnpm
run: |
npm install --global corepack@latest
corepack enable
corepack prepare
shell: bash

View File

@@ -15,11 +15,12 @@ runs:
using: composite
steps:
- name: Use Node
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
with:
node-version-file: '.nvmrc'
- name: Install pnpm
run: |
npm install --global corepack@latest
corepack enable
corepack prepare
shell: bash

View File

@@ -25,6 +25,7 @@ jobs:
node-version-file: '.nvmrc'
- name: Install pnpm
run: |
npm install --global corepack@latest
corepack enable
corepack install
- name: set store

View File

@@ -25,7 +25,7 @@ jobs:
fetch-depth: 0
- name: setup node.js
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
with:
node-version-file: '.nvmrc'
env:
@@ -33,6 +33,7 @@ jobs:
- name: Install pnpm
run: |
npm install --global corepack@latest
corepack enable
corepack install

View File

@@ -86,14 +86,15 @@ jobs:
if: (github.event_name == 'push' && github.ref == 'refs/heads/master' && github.repository == 'verdaccio/verdaccio') || github.event_name == 'workflow_dispatch'
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
- uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
with:
node-version-file: '.nvmrc'
- name: Install pnpm
run: |
npm install --global corepack@latest
corepack enable
corepack install
- uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.0.2
- uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
with:
path: ~/.pnpm-store
key: pnpm-${{ hashFiles('pnpm-lock.yaml') }}

View File

@@ -37,7 +37,7 @@ jobs:
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@f09c1c0a94de965c15400f5634aa42fac8fb8f88 # v3.27.5
uses: github/codeql-action/init@dd746615b3b9d728a6a37ca2045b68ca76d4841a # v3.28.8
with:
config: |
paths-ignore:
@@ -50,7 +50,7 @@ jobs:
# 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@f09c1c0a94de965c15400f5634aa42fac8fb8f88 # v3.27.5
uses: github/codeql-action/autobuild@dd746615b3b9d728a6a37ca2045b68ca76d4841a # v3.28.8
# Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
@@ -64,4 +64,4 @@ jobs:
# make release
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@f09c1c0a94de965c15400f5634aa42fac8fb8f88 # v3.27.5
uses: github/codeql-action/analyze@dd746615b3b9d728a6a37ca2045b68ca76d4841a # v3.28.8

View File

@@ -15,7 +15,7 @@ on:
jobs:
docker:
timeout-minutes: 10
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
env:
NODE_OPTIONS: --max_old_space_size=4096
steps:
@@ -26,7 +26,7 @@ jobs:
run: docker compose -f "./e2e/docker/apache-verdaccio/docker-compose.yaml" up -d --build
- name: Install node
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
with:
node-version-file: '.nvmrc'
- name: npm setup

View File

@@ -13,7 +13,7 @@ on:
jobs:
docker:
timeout-minutes: 10
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
env:
NODE_OPTIONS: --max_old_space_size=4096
steps:
@@ -24,7 +24,7 @@ jobs:
run: docker compose -f "./e2e/docker/proxy-nginx/docker-compose.yaml" up -d --build
- name: Install node
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
with:
node-version-file: '.nvmrc'
- name: npm setup

View File

@@ -25,7 +25,7 @@ jobs:
if: github.repository == 'verdaccio/verdaccio'
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf # v3.2.0
- uses: docker/setup-qemu-action@53851d14592bedcffcf25ea515637cff71ef929a # v3.3.0
- uses: docker/setup-buildx-action@v1
with:
driver-opts: network=host

View File

@@ -26,7 +26,7 @@ jobs:
node-version: 20
- name: Test UI
run: pnpm test:e2e:ui
- uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
- uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
with:
name: videos
path: /home/runner/work/verdaccio/verdaccio/e2e/ui/cypress/videos

View File

@@ -1,7 +1,7 @@
name: E2E Generator Verdaccio Plugin
on:
pull_request:
# pull_request:
workflow_dispatch:
# push:
# branches:

View File

@@ -24,7 +24,7 @@ jobs:
if: github.repository == 'verdaccio/verdaccio'
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf # v3.2.0
- uses: docker/setup-qemu-action@53851d14592bedcffcf25ea515637cff71ef929a # v3.3.0
- uses: docker/setup-buildx-action@v1
with:
driver-opts: network=host

View File

@@ -6,7 +6,7 @@ on:
# pull_request:
schedule:
# twice peer week
- cron: '0 0 * * 1,4'
- cron: "0 0 * * 1,4"
# for now, scheduled, we can enable on push master but not make much sense now
# push:
# branches:
@@ -29,8 +29,16 @@ jobs:
uses: ./.github/actions/install-app
with:
reporter: 'default'
- name: Build Translations percentage
run: pnpm --filter @verdaccio/crowdin-translations build
- name: Build package
run: pnpm --filter @verdaccio/local-scripts run build
- name: Get npmjs downloads
run: pnpm --filter @verdaccio/local-scripts run downloads:npmjs
- name: Get docker downloads
run: pnpm --filter @verdaccio/local-scripts run pull:docker
- name: Get npmjs monhtly downloads
run: pnpm --filter @verdaccio/local-scripts run downloads:mounthly
- name: Get npmjs year downloads
run: pnpm --filter @verdaccio/local-scripts run downloads:yearly
- name: update contributors
run: pnpm run contributors
env:

View File

@@ -31,8 +31,9 @@ jobs:
- name: Install pnpm
run: |
npm install --global corepack@latest
corepack enable
corepack prepare
corepack install
- name: Install
run: pnpm install
- name: Build storybook

View File

@@ -2,6 +2,8 @@ name: Verdaccio Website CI
on:
workflow_dispatch:
schedule:
- cron: '0 2 * * 0' # every Sunday at 2am UTC (10pm EST)
permissions:
contents: read # to fetch code (actions/checkout)
@@ -35,9 +37,9 @@ jobs:
with:
node-version: 20
- name: Build Translations percentage
run: pnpm --filter @verdaccio/crowdin-translations build
run: pnpm --filter @verdaccio/local-scripts build
- name: Cache Docusaurus Build
uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.0.2
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
with:
path: website/node_modules/.cache/webpack
key: cache/webpack-${{github.ref}}-${{ hashFiles('**/pnpm-lock.yaml') }}

View File

@@ -10,7 +10,7 @@ jobs:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: 'Use Node.js'
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
with:
node-version-file: '.nvmrc'
- name: 'install latest npm'
@@ -47,7 +47,7 @@ jobs:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: 'Use Node.js'
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
with:
node-version-file: '.nvmrc'
- name: 'install latest npm 9'
@@ -83,7 +83,7 @@ jobs:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: 'Use Node.js'
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
with:
node-version-file: '.nvmrc'
- name: 'install latest npm 10'

View File

@@ -10,7 +10,7 @@ jobs:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: 'Use Node.js'
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
with:
node-version-file: '.nvmrc'
- name: 'install latest npm 10'

View File

@@ -10,7 +10,7 @@ jobs:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: 'Use Node.js'
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
with:
node-version-file: '.nvmrc'
- name: 'install npm 9'
@@ -45,7 +45,7 @@ jobs:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: 'Use Node.js'
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
with:
node-version-file: '.nvmrc'
- name: 'install npm 10'

View File

@@ -10,7 +10,7 @@ jobs:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: 'Use Node.js'
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
with:
node-version-file: '.nvmrc'
- name: Install Dependencies
@@ -41,7 +41,7 @@ jobs:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: 'Use Node.js'
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
with:
node-version-file: '.nvmrc'
- name: Install Dependencies
@@ -75,7 +75,7 @@ jobs:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: 'Use Node.js'
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
with:
node-version-file: '.nvmrc'
- name: 'install latest npm'
@@ -108,7 +108,7 @@ jobs:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: 'Use Node.js'
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
with:
node-version-file: '.nvmrc'
- name: 'install latest npm 9'
@@ -141,7 +141,7 @@ jobs:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: 'Use Node.js'
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
with:
node-version-file: '.nvmrc'
- name: 'install latest npm 10'
@@ -174,7 +174,7 @@ jobs:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: 'Use Node.js'
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
with:
node-version-file: '.nvmrc'
- name: 'install latest pnpm'
@@ -207,7 +207,7 @@ jobs:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: 'Use Node.js'
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
with:
node-version-file: '.nvmrc'
- name: 'install latest pnpm'

View File

@@ -8,7 +8,7 @@ jobs:
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Use Node (latest)
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
with:
node-version-file: '.nvmrc'
- name: Install

View File

@@ -8,7 +8,7 @@ jobs:
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Use Node (latest)
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
with:
node-version-file: '.nvmrc'
- name: Install

View File

@@ -16,7 +16,7 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
- uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
with:
node-version-file: '.nvmrc'
- name: Docker test

View File

@@ -12,7 +12,7 @@ jobs:
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Use Node (latest)
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
with:
node-version-file: '.nvmrc'
- name: Docker test

View File

@@ -8,7 +8,7 @@ jobs:
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Use Node
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
with:
node-version-file: '.nvmrc'
- name: Install

View File

@@ -11,7 +11,7 @@ jobs:
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Use Node ${{ inputs.node_version }}
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
with:
node-version: ${{ inputs.node_version }}
- name: Install

2
.gitignore vendored
View File

@@ -37,6 +37,8 @@ packages/plugins/ui-theme/static
/packages/plugins/ui-theme/src/i18n/download_translations/
!/packages/plugins/ui-theme/src/i18n/crowdin/ui.json
## ui tests
!/packages/ui-components/vitest/api/*.tgz
# CI Pnpm cache
.pnpm-store/

2
.nvmrc
View File

@@ -1 +1 @@
20
22

View File

@@ -25,7 +25,7 @@ The Verdaccio project is split into several areas, the first three hosted in the
- **User Interface**: The [user Interface](https://github.com/verdaccio/ui) is based in **react** and **material-ui** and looking for front-end contributors.
- **Kubernetes and Helm**: Ts the official repository for the [**Helm chart**](https://github.com/verdaccio/charts).
> There are other areas to contribute, like [documentation](https://github.com/verdaccio/verdaccio/tree/master/website/docs) or [translations](#translations}).
> There are other areas to contribute, like [documentation](https://github.com/verdaccio/verdaccio/tree/master/website/docs) or translations.
## Prepare local setup {#local-setup}
@@ -379,7 +379,7 @@ If you need help with how testing works, please [refer to the following guide
**If you are introducing new features, you MUST include new tests. PRs for
features without tests will not be merged.**
## Translations {#translations}
## Translations
All translations are provided by the **[crowdin](http://crowdin.com)** platform,
[https://translate.verdaccio.org/](https://translate.verdaccio.org/)

View File

@@ -1,4 +1,4 @@
FROM --platform=${BUILDPLATFORM:-linux/amd64} node:21-alpine AS builder
FROM --platform=${BUILDPLATFORM:-linux/amd64} node:22-alpine AS builder
ENV NODE_ENV=development \
VERDACCIO_BUILD_REGISTRY=https://registry.npmjs.org
@@ -20,7 +20,7 @@ RUN npm -g i pnpm@8.9.0 && \
# NODE_ENV=production pnpm install --frozen-lockfile --ignore-scripts
# RUN pnpm install --prod --ignore-scripts
FROM node:21-alpine
FROM node:22-alpine
LABEL maintainer="https://github.com/verdaccio/verdaccio"
ENV VERDACCIO_APPDIR=/opt/verdaccio \

View File

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

View File

@@ -88,7 +88,7 @@ npm install -g generator-verdaccio-plugin
Learn more [here](https://verdaccio.org/docs/dev-plugins) how to develop plugins. Share your plugins with the community.
## Integration Tests
## End to End Testing
In our compatibility testing project, we're dedicated to ensuring that your favorite commands work seamlessly across different versions of npm, pnpm, and Yarn. From publishing packages to managing dependencies.
Our goal is to give you the confidence to use your preferred package manager without any issues. So dive in, check out our matrix, and see how your commands fare across the board!
@@ -299,12 +299,12 @@ Thanks to the following companies to help us to achieve our goals providing free
| [Juan Picado](https://github.com/juanpicado) | [Ayush Sharma](https://github.com/ayusharma) | [Sergio Hg](https://github.com/sergiohgz) |
| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------- |
| ![jotadeveloper](https://avatars3.githubusercontent.com/u/558752?s=120&v=4) | ![ayusharma](https://avatars2.githubusercontent.com/u/6918450?s=120&v=4) | ![sergiohgz](https://avatars2.githubusercontent.com/u/14012309?s=120&v=4) |
| [@jotadeveloper](https://twitter.com/jotadeveloper) | [@ayusharma\_](https://twitter.com/ayusharma_) | [@sergiohgz](https://twitter.com/sergiohgz) |
| | [@ayusharma\_](https://twitter.com/ayusharma_) | [@sergiohgz](https://twitter.com/sergiohgz) |
| [Priscila Oliveria](https://github.com/priscilawebdev) | [Daniel Ruf](https://github.com/DanielRuf) |
| ![priscilawebdev](https://avatars2.githubusercontent.com/u/29228205?s=120&v=4) | ![DanielRuf](https://avatars3.githubusercontent.com/u/827205?s=120&v=4) |
| [@priscilawebdev](https://twitter.com/priscilawebdev) | [@DanielRufde](https://twitter.com/DanielRufde) |
You can find and chat with them over Discord, click [here](http://chat.verdaccio.org) or follow them at _Twitter_.
You can find and chat with them over Discord, click [here](http://chat.verdaccio.org).
## Who is using Verdaccio?

View File

@@ -2,13 +2,26 @@
The following table describes the versions of this project:
| Version | Supported | Minimum Node.js | Branch | Npm Tag | Docker Images | Helm Charts |
| ---------------- | ------------------ | --------------- | ------ | ---------------- | ----------------------- | ----------- |
| 4.x | :x: (deprecated) | 10 | 4.x | latest-4 | 4, 4.x, 4.x.x, 4.x-next | 3.x |
| 5.x previous | :x: (deprecated) | 14 | 5.x | latest-5 | 5, 5.x, 5.x.x, 5.x-next | 4.0 - 4.18 |
| 6.x current | :white_check_mark: | 18 | 6.x | latest-6, latest | 6, 6.x, 6.x.x, 6.x-next | 4.19 - ... |
| 7.x next | :x: | 18 | 7.x | next-7 | 7.x-next | n/a |
| 8.x experimental | :x: | 18 | master | next-8 | nightly-master | n/a |
| Version | Supported | Minimum Node.js | Branch | Npm Tag | Docker Images | Helm Charts | E2E Tests |
| ---------------- | ------------------ | --------------- | ------ | ---------------- | ----------------------- | ----------- | ------------------------------------------------------------------ |
| 4.x | :x: (deprecated) | 10 | 4.x | latest-4 | 4, 4.x, 4.x.x, 4.x-next | 3.x | ❌ |
| 5.x previous | :x: (deprecated) | 14 | 5.x | latest-5 | 5, 5.x, 5.x.x, 5.x-next | 4.0 - 4.18 | ❌ |
| 6.x current | :white_check_mark: | 18 | 6.x | latest-6, latest | 6, 6.x, 6.x.x, 6.x-next | 4.19 - ... | [e2e-tests/main](https://github.com/verdaccio/e2e-tests/tree/main) |
| 7.x next | :x: | 18 | 7.x | next-7 | 7.x-next | n/a | [e2e-tests/6.x](https://github.com/verdaccio/e2e-tests/tree/6.x) |
| 8.x experimental | :x: | 18 | master | next-8 | nightly-master | n/a | master branch |
## Migration Guide
The migration from Verdaccio v5/v6 to v7 contains breaking changes. Refer to the priliminary [migration guide](https://github.com/verdaccio/verdaccio/blob/master/docs/migration-v5-to-v6.md) for more information.
For migrations from older versions to v5/6 refer to the [v5 migration guide](https://verdaccio.org/blog/2021/04/14/verdaccio-5-migration-guide/).
### Deprecated Versions
Deprecated versions arent supported anymore and shouldnt be used in production. They dont get updates—including security fixes—and we dont run E2E tests on them.
Once the deprecation period is over, the source code will be archived and wont be maintained anymore.
We try to keep things as backward-compatible as possible, but sometimes deprecating old versions is necessary to keep the project moving forward.
## Npm Registry
@@ -21,3 +34,9 @@ The official Verdaccio Docker Images are found at https://hub.docker.com/r/verda
## Helms Charts
The official Verdaccio Helm Charts are found at https://artifacthub.io/packages/helm/verdaccio/verdaccio.
## E2E Tests
The e2e test are set of basic test running on each release to ensure the basic functionality of Verdaccio. The tests are located at
different branches, depending on the version. For versions `6.x` and `7.x` the tests are located at the [e2e-test](https://github.com/verdaccio/e2e-tests) and everything else on this repository.
For more details what's being tested, please refer to the [readme file](https://github.com/verdaccio/verdaccio?tab=readme-ov-file#integration-tests) on this repository.

View File

@@ -1,55 +0,0 @@
# Environment variables
A full list of available environment variables that allow override
internal features.
#### VERDACCIO_LEGACY_ALGORITHM
Allows to define the specific algorithm for the token signature which by default is `aes-256-ctr`. The algorithm must be supported by `crypto.createCipheriv` and `crypto.createDecipheriv`.
Read more here: https://nodejs.org/api/crypto.html#crypto_crypto_createcipheriv_algorithm_key_iv_options
#### VERDACCIO_LEGACY_ENCRYPTION_KEY
By default, the token stores in the database, but using this variable allows to get it from memory, the length must be 32 characters otherwise will throw an error.
Read more here: https://nodejs.org/api/crypto.html#crypto_crypto_createcipheriv_algorithm_key_iv_options
#### VERDACCIO_PUBLIC_URL
Define a specific public url for your server, it overrules the `Host` and `X-Forwarded-Proto` header if a reverse proxy is being used, it takes in account the `url_prefix` if is defined.
This is handy in such situations where a dynamic url is required.
eg:
```
VERDACCIO_PUBLIC_URL='https://somedomain.org';
url_prefix: '/my_prefix'
// url -> https://somedomain.org/my_prefix/
VERDACCIO_PUBLIC_URL='https://somedomain.org';
url_prefix: '/'
// url -> https://somedomain.org/
VERDACCIO_PUBLIC_URL='https://somedomain.org/first_prefix';
url_prefix: '/second_prefix'
// url -> https://somedomain.org/second_prefix/'
```
#### VERDACCIO_FORWARDED_PROTO
The default header to identify the protocol is `X-Forwarded-Proto`, but there are some environments which [uses something different](https://github.com/verdaccio/verdaccio/issues/990), to change it use the variable `VERDACCIO_FORWARDED_PROTO`
```
$ VERDACCIO_FORWARDED_PROTO=CloudFront-Forwarded-Proto verdaccio --listen 5000
```
#### VERDACCIO_STORAGE_PATH
By default, the storage is taken from config file, but using this variable allows to set it from environment variable.
#### VERDACCIO_STORAGE_NAME
The database name for `@verdaccio/local-storage` is by default `.verdaccio-db.json`, but this can be update by using this variable.

View File

@@ -1,4 +1,4 @@
# Migration Guide from Verdaccio 5 to Verdaccio 6
# Migration Guide from Verdaccio v5 and v6 to Verdaccio v7
Notes regarding breaking changes for next major release.
@@ -79,8 +79,15 @@ for more details.
Introduce environment variables for legacy tokens.
- `VERDACCIO_LEGACY_ALGORITHM`: Allows to define the specific algorithm for the token signature which by default is `aes-256-ctr`
- `VERDACCIO_LEGACY_ENCRYPTION_KEY`: By default, the token stores in the database, but using this variable allows to get it from memory
- `VERDACCIO_LEGACY_ALGORITHM`:
Allows to define the specific algorithm for the token signature which by default is `aes-256-ctr`. The algorithm must be supported by `crypto.createCipheriv` and `crypto.createDecipheriv`.
- `VERDACCIO_LEGACY_ENCRYPTION_KEY`:
By default, the token are stored in the database, but using this variable allows to get tokens from memory. The length of the key must be 32 characters otherwise will throw an error.
Read more on [nodejs.org](https://nodejs.org/api/crypto.html#crypto_crypto_createcipheriv_algorithm_key_iv_options).
#### @verdaccio/commons-api migration

View File

@@ -1,3 +0,0 @@
## Developing plugins
TBA

View File

@@ -2,29 +2,44 @@
## VERWAR001
Verdaccio doesn't need superuser privileges. Don't run it under root.
`Verdaccio doesn't need superuser privileges. Don't run it under root.`
## VERWAR002
logger is not defined
`The configuration property "logs" has been deprecated, please rename to "log" for future compatibility`
## VERWAR003
'rotating-file type is not longer supported, consider use [logrotate] instead'
`rotating-file type is not longer supported, consider use [logrotate] instead`
## VERWAR004
invalid address - xxxxxx, we expect a port (e.g. "4873"),
`invalid address - %s, we expect a port (e.g. "4873"), host:port (e.g. "localhost:4873") or full url '(e.g. "http://localhost:4873/")`
Learn more at https://verdaccio.org/docs/en/configuration#listen-port
## VERWAR005
`n/a`
## VERWAR006
`the auth plugin method "add_user" in the auth plugin is deprecated and will be removed in next major release, rename to "adduser"`
## VERWAR007
`the secret length is too long, it must be 32 characters long, please consider generate a new one`
Learn more at https://verdaccio.org/docs/configuration/#.verdaccio-db
## VERDEP001
'config.logs is deprecated, rename configuration to "config.log" in singular'
> Changed to VERWAR002 (see above)
## VERDEP002
> After version `verdaccio@6.0.0-6-next.38` this is not longer a warning and
> will crash your application
> After version `verdaccio@6.0.0-6-next.38` this is not longer a warning and will crash your application
## VERDEP003
'multiple addresses will be deprecated in the next major, only use one'
`multiple addresses will be deprecated in the next major, only use one`

View File

@@ -4,16 +4,16 @@
"version": "2.0.0-next-8.0",
"main": "src/index.ts",
"devDependencies": {
"@verdaccio/config": "workspace:8.0.0-next-8.7",
"@verdaccio/core": "workspace:8.0.0-next-8.7",
"@verdaccio/types": "workspace:13.0.0-next-8.2",
"@verdaccio/config": "workspace:8.0.0-next-8.9",
"@verdaccio/core": "workspace:8.0.0-next-8.9",
"@verdaccio/types": "workspace:13.0.0-next-8.3",
"debug": "4.4.0",
"fs-extra": "11.2.0",
"get-port": "5.1.1",
"got": "11.8.6",
"js-yaml": "4.1.0",
"lodash": "4.17.21",
"verdaccio": "workspace:8.0.0-next-8.7"
"verdaccio": "workspace:8.0.0-next-8.9"
},
"scripts": {
"test": "echo no test",

View File

@@ -3,9 +3,9 @@
"name": "@verdaccio/e2e-ui",
"version": "2.0.0",
"devDependencies": {
"verdaccio": "workspace:8.0.0-next-8.7",
"@verdaccio/core": "workspace:8.0.0-next-8.7",
"@verdaccio/config": "workspace:8.0.0-next-8.7",
"verdaccio": "workspace:8.0.0-next-8.9",
"@verdaccio/core": "workspace:8.0.0-next-8.9",
"@verdaccio/config": "workspace:8.0.0-next-8.9",
"@verdaccio/test-helper": "workspace:4.0.0-next-8.3",
"debug": "4.4.0",
"cypress": "^13.6.0",

View File

@@ -15,40 +15,40 @@
"url": "https://opencollective.com/verdaccio"
},
"devDependencies": {
"@babel/cli": "7.24.8",
"@babel/core": "7.24.9",
"@babel/cli": "7.26.4",
"@babel/core": "7.26.7",
"@babel/eslint-parser": "7.25.9",
"@babel/node": "7.25.0",
"@babel/plugin-proposal-decorators": "7.24.7",
"@babel/plugin-proposal-function-sent": "7.24.7",
"@babel/plugin-proposal-throw-expressions": "7.24.7",
"@babel/node": "7.26.0",
"@babel/plugin-proposal-decorators": "7.25.9",
"@babel/plugin-proposal-function-sent": "7.25.9",
"@babel/plugin-proposal-throw-expressions": "7.25.9",
"@babel/plugin-syntax-dynamic-import": "7.8.3",
"@babel/plugin-syntax-import-meta": "7.10.4",
"@babel/plugin-transform-async-to-generator": "7.24.7",
"@babel/plugin-transform-class-properties": "7.24.7",
"@babel/plugin-transform-classes": "7.25.0",
"@babel/plugin-transform-export-namespace-from": "7.24.7",
"@babel/plugin-transform-json-strings": "7.24.7",
"@babel/plugin-transform-nullish-coalescing-operator": "7.24.7",
"@babel/plugin-transform-numeric-separator": "7.24.7",
"@babel/plugin-transform-object-rest-spread": "7.24.7",
"@babel/plugin-transform-optional-chaining": "7.24.8",
"@babel/plugin-transform-runtime": "7.24.7",
"@babel/preset-env": "7.25.0",
"@babel/preset-react": "7.24.7",
"@babel/plugin-transform-async-to-generator": "7.25.9",
"@babel/plugin-transform-class-properties": "7.25.9",
"@babel/plugin-transform-classes": "7.25.9",
"@babel/plugin-transform-export-namespace-from": "7.25.9",
"@babel/plugin-transform-json-strings": "7.25.9",
"@babel/plugin-transform-nullish-coalescing-operator": "7.26.6",
"@babel/plugin-transform-numeric-separator": "7.25.9",
"@babel/plugin-transform-object-rest-spread": "7.25.9",
"@babel/plugin-transform-optional-chaining": "7.25.9",
"@babel/plugin-transform-runtime": "7.25.9",
"@babel/preset-env": "7.26.7",
"@babel/preset-react": "7.26.3",
"@babel/preset-typescript": "7.24.7",
"@babel/register": "7.24.6",
"@babel/runtime": "7.25.0",
"@babel/register": "7.25.9",
"@babel/runtime": "7.26.7",
"@changesets/changelog-github": "0.5.0",
"@changesets/cli": "2.27.10",
"@changesets/cli": "2.27.12",
"@changesets/get-dependents-graph": "2.1.2",
"@crowdin/cli": "4.4.1",
"@dianmora/contributors": "5.0.0",
"@emotion/react": "11.10.6",
"@emotion/styled": "11.10.6",
"@testing-library/dom": "10.4.0",
"@testing-library/jest-dom": "6.4.8",
"@testing-library/react": "16.0.0",
"@testing-library/jest-dom": "6.6.3",
"@testing-library/react": "16.1.0",
"@testing-library/user-event": "14.5.2",
"@trivago/prettier-plugin-sort-imports": "4.3.0",
"@types/body-parser": "1.19.5",
@@ -84,11 +84,11 @@
"@types/yeoman-test": "4.0.6",
"@typescript-eslint/eslint-plugin": "6.21.0",
"@typescript-eslint/parser": "6.21.0",
"@verdaccio/crowdin-translations": "workspace:*",
"@verdaccio/local-scripts": "workspace:*",
"@verdaccio/eslint-config": "workspace:*",
"@verdaccio/types": "workspace:*",
"@verdaccio/ui-theme": "workspace:*",
"@vitest/coverage-v8": "2.0.5",
"@vitest/coverage-v8": "3.0.4",
"aria-query": "5.1.3",
"babel-core": "7.0.0-bridge.0",
"babel-plugin-dynamic-import-node": "2.3.3",
@@ -104,24 +104,25 @@
"in-publish": "2.0.1",
"kleur": "4.1.5",
"lint-staged": "11.2.6",
"nock": "13.5.1",
"nock": "13.5.6",
"nodemon": "3.0.3",
"npm-run-all2": "5.0.2",
"prettier": "3.4.2",
"react": "18.2.0",
"react-dom": "18.2.0",
"react": "18.3.1",
"react-dom": "18.3.1",
"rimraf": "5.0.10",
"selfsigned": "2.4.1",
"supertest": "7.0.0",
"ts-node": "10.9.2",
"typescript": "5.3.3",
"undici-types": "5.28.2",
"update-ts-references": "3.3.0",
"undici-types": "5.28.4",
"semver": "^7.6.3",
"update-ts-references": "3.6.0",
"verdaccio-audit": "workspace:*",
"verdaccio-auth-memory": "workspace:*",
"verdaccio-htpasswd": "workspace:*",
"verdaccio-memory": "workspace:*",
"vitest": "2.1.2"
"vitest": "3.0.4"
},
"scripts": {
"prepare": "husky install",

View File

@@ -1,5 +1,32 @@
# @verdaccio/api
## 8.1.0-next-8.9
### Patch Changes
- Updated dependencies [96e0011]
- @verdaccio/middleware@8.0.0-next-8.9
- @verdaccio/auth@8.0.0-next-8.9
- @verdaccio/core@8.0.0-next-8.9
- @verdaccio/config@8.0.0-next-8.9
- @verdaccio/store@8.0.0-next-8.9
- @verdaccio/utils@8.1.0-next-8.9
- @verdaccio/logger@8.0.0-next-8.9
## 8.1.0-next-8.8
### Patch Changes
- Updated dependencies [0588605]
- Updated dependencies [ca91b9a]
- @verdaccio/config@8.0.0-next-8.8
- @verdaccio/auth@8.0.0-next-8.8
- @verdaccio/middleware@8.0.0-next-8.8
- @verdaccio/store@8.0.0-next-8.8
- @verdaccio/core@8.0.0-next-8.8
- @verdaccio/logger@8.0.0-next-8.8
- @verdaccio/utils@8.1.0-next-8.8
## 8.1.0-next-8.7
### Patch Changes

View File

@@ -6,7 +6,6 @@
[![Crowdin](https://d322cqt584bo4o.cloudfront.net/verdaccio/localized.svg)](https://crowdin.com/project/verdaccio)
[![TODOs](https://badgen.net/https/api.tickgit.com/badgen/github.com/verdaccio/verdaccio)](https://www.tickgit.com/browse?repo=github.com/verdaccio/verdaccio)
[![Twitter followers](https://img.shields.io/twitter/follow/verdaccio_npm.svg?style=social&label=Follow)](https://twitter.com/verdaccio_npm)
[![Github](https://img.shields.io/github/stars/verdaccio/verdaccio.svg?style=social&label=Stars)](https://github.com/verdaccio/verdaccio/stargazers)
## Donations

View File

@@ -1,6 +1,6 @@
{
"name": "@verdaccio/api",
"version": "8.1.0-next-8.7",
"version": "8.1.0-next-8.9",
"description": "loaders logic",
"main": "./build/index.js",
"types": "build/index.d.ts",
@@ -38,27 +38,26 @@
},
"license": "MIT",
"dependencies": {
"@verdaccio/auth": "workspace:8.0.0-next-8.7",
"@verdaccio/config": "workspace:8.0.0-next-8.7",
"@verdaccio/core": "workspace:8.0.0-next-8.7",
"@verdaccio/logger": "workspace:8.0.0-next-8.7",
"@verdaccio/middleware": "workspace:8.0.0-next-8.7",
"@verdaccio/store": "workspace:8.0.0-next-8.7",
"@verdaccio/utils": "workspace:8.1.0-next-8.7",
"abortcontroller-polyfill": "1.7.6",
"@verdaccio/auth": "workspace:8.0.0-next-8.9",
"@verdaccio/config": "workspace:8.0.0-next-8.9",
"@verdaccio/core": "workspace:8.0.0-next-8.9",
"@verdaccio/logger": "workspace:8.0.0-next-8.9",
"@verdaccio/middleware": "workspace:8.0.0-next-8.9",
"@verdaccio/store": "workspace:8.0.0-next-8.9",
"@verdaccio/utils": "workspace:8.1.0-next-8.9",
"abortcontroller-polyfill": "1.7.8",
"body-parser": "1.20.3",
"cookies": "0.9.1",
"debug": "4.4.0",
"express": "4.21.2",
"lodash": "4.17.21",
"mime": "2.6.0",
"semver": "7.6.3"
"semver": "7.7.1"
},
"devDependencies": {
"@verdaccio/test-helper": "workspace:4.0.0-next-8.3",
"@verdaccio/types": "workspace:13.0.0-next-8.2",
"@verdaccio/types": "workspace:13.0.0-next-8.3",
"mockdate": "3.0.5",
"nock": "13.5.1",
"supertest": "7.0.0"
},
"funding": {

View File

@@ -12,7 +12,7 @@ import {
errorUtils,
validatioUtils,
} from '@verdaccio/core';
import { rateLimit } from '@verdaccio/middleware';
import { USER_API_ENDPOINTS, rateLimit } from '@verdaccio/middleware';
import { Logger } from '@verdaccio/types';
import { Config, RemoteUser } from '@verdaccio/types';
import { getAuthenticatedMessage, mask } from '@verdaccio/utils';
@@ -23,7 +23,7 @@ const debug = buildDebug('verdaccio:api:user');
export default function (route: Router, auth: Auth, config: Config, logger: Logger): void {
route.get(
'/-/user/:org_couchdb_user',
USER_API_ENDPOINTS.get_user,
rateLimit(config?.userRateLimit),
function (req: $RequestExtend, res: Response, next: $NextFunctionVer): void {
debug('verifying user');
@@ -70,7 +70,7 @@ export default function (route: Router, auth: Auth, config: Config, logger: Logg
* @param {Config} config
*/
route.put(
'/-/user/:org_couchdb_user/:_rev?/:revision?',
USER_API_ENDPOINTS.add_user,
rateLimit(config?.userRateLimit),
function (req: $RequestExtend, res: Response, next: $NextFunctionVer): void {
const { name, password } = req.body;
@@ -168,7 +168,7 @@ export default function (route: Router, auth: Auth, config: Config, logger: Logg
);
route.delete(
'/-/user/token/*',
USER_API_ENDPOINTS.user_token,
function (req: $RequestExtend, res: Response, next: $NextFunctionVer): void {
res.status(HTTP_STATUS.OK);
next({

View File

@@ -1,5 +1,29 @@
# @verdaccio/auth
## 8.0.0-next-8.9
### Patch Changes
- @verdaccio/core@8.0.0-next-8.9
- @verdaccio/config@8.0.0-next-8.9
- @verdaccio/loaders@8.0.0-next-8.4
- verdaccio-htpasswd@13.0.0-next-8.9
- @verdaccio/utils@8.1.0-next-8.9
- @verdaccio/signature@8.0.0-next-8.1
## 8.0.0-next-8.8
### Patch Changes
- Updated dependencies [0588605]
- Updated dependencies [ca91b9a]
- @verdaccio/config@8.0.0-next-8.8
- @verdaccio/loaders@8.0.0-next-8.4
- verdaccio-htpasswd@13.0.0-next-8.8
- @verdaccio/signature@8.0.0-next-8.1
- @verdaccio/core@8.0.0-next-8.8
- @verdaccio/utils@8.1.0-next-8.8
## 8.0.0-next-8.7
### Patch Changes

View File

@@ -6,7 +6,6 @@
[![Crowdin](https://d322cqt584bo4o.cloudfront.net/verdaccio/localized.svg)](https://crowdin.com/project/verdaccio)
[![TODOs](https://badgen.net/https/api.tickgit.com/badgen/github.com/verdaccio/verdaccio)](https://www.tickgit.com/browse?repo=github.com/verdaccio/verdaccio)
[![Twitter followers](https://img.shields.io/twitter/follow/verdaccio_npm.svg?style=social&label=Follow)](https://twitter.com/verdaccio_npm)
[![Github](https://img.shields.io/github/stars/verdaccio/verdaccio.svg?style=social&label=Stars)](https://github.com/verdaccio/verdaccio/stargazers)
## Donations

View File

@@ -1,6 +1,6 @@
{
"name": "@verdaccio/auth",
"version": "8.0.0-next-8.7",
"version": "8.0.0-next-8.9",
"description": "logger",
"main": "./build/index.js",
"types": "./build/index.d.ts",
@@ -38,19 +38,19 @@
},
"license": "MIT",
"dependencies": {
"@verdaccio/config": "workspace:8.0.0-next-8.7",
"@verdaccio/core": "workspace:8.0.0-next-8.7",
"@verdaccio/config": "workspace:8.0.0-next-8.9",
"@verdaccio/core": "workspace:8.0.0-next-8.9",
"@verdaccio/loaders": "workspace:8.0.0-next-8.4",
"@verdaccio/signature": "workspace:8.0.0-next-8.1",
"@verdaccio/utils": "workspace:8.1.0-next-8.7",
"@verdaccio/utils": "workspace:8.1.0-next-8.9",
"debug": "4.4.0",
"lodash": "4.17.21",
"verdaccio-htpasswd": "workspace:13.0.0-next-8.7"
"verdaccio-htpasswd": "workspace:13.0.0-next-8.9"
},
"devDependencies": {
"@verdaccio/middleware": "workspace:8.0.0-next-8.7",
"@verdaccio/types": "workspace:13.0.0-next-8.2",
"@verdaccio/logger": "workspace:8.0.0-next-8.7",
"@verdaccio/middleware": "workspace:8.0.0-next-8.9",
"@verdaccio/types": "workspace:13.0.0-next-8.3",
"@verdaccio/logger": "workspace:8.0.0-next-8.9",
"express": "4.21.2",
"supertest": "7.0.0"
},

View File

@@ -1,5 +1,25 @@
# @verdaccio/cli
## 8.0.0-next-8.9
### Patch Changes
- @verdaccio/node-api@8.0.0-next-8.9
- @verdaccio/core@8.0.0-next-8.9
- @verdaccio/config@8.0.0-next-8.9
- @verdaccio/logger@8.0.0-next-8.9
## 8.0.0-next-8.8
### Patch Changes
- Updated dependencies [0588605]
- Updated dependencies [ca91b9a]
- @verdaccio/config@8.0.0-next-8.8
- @verdaccio/node-api@8.0.0-next-8.8
- @verdaccio/core@8.0.0-next-8.8
- @verdaccio/logger@8.0.0-next-8.8
## 8.0.0-next-8.7
### Patch Changes

View File

@@ -6,7 +6,6 @@
[![Crowdin](https://d322cqt584bo4o.cloudfront.net/verdaccio/localized.svg)](https://crowdin.com/project/verdaccio)
[![TODOs](https://badgen.net/https/api.tickgit.com/badgen/github.com/verdaccio/verdaccio)](https://www.tickgit.com/browse?repo=github.com/verdaccio/verdaccio)
[![Twitter followers](https://img.shields.io/twitter/follow/verdaccio_npm.svg?style=social&label=Follow)](https://twitter.com/verdaccio_npm)
[![Github](https://img.shields.io/github/stars/verdaccio/verdaccio.svg?style=social&label=Stars)](https://github.com/verdaccio/verdaccio/stargazers)
## Donations

View File

@@ -1,6 +1,6 @@
{
"name": "@verdaccio/cli",
"version": "8.0.0-next-8.7",
"version": "8.0.0-next-8.9",
"author": {
"name": "Juan Picado",
"email": "juanpicado19@gmail.com"
@@ -43,14 +43,14 @@
"start": "ts-node src/index.ts"
},
"dependencies": {
"@verdaccio/config": "workspace:8.0.0-next-8.7",
"@verdaccio/core": "workspace:8.0.0-next-8.7",
"@verdaccio/logger": "workspace:8.0.0-next-8.7",
"@verdaccio/node-api": "workspace:8.0.0-next-8.7",
"@verdaccio/config": "workspace:8.0.0-next-8.9",
"@verdaccio/core": "workspace:8.0.0-next-8.9",
"@verdaccio/logger": "workspace:8.0.0-next-8.9",
"@verdaccio/node-api": "workspace:8.0.0-next-8.9",
"clipanion": "4.0.0-rc.4",
"envinfo": "7.13.0",
"envinfo": "7.14.0",
"kleur": "4.1.5",
"semver": "7.6.3"
"semver": "7.7.1"
},
"devDependencies": {
"ts-node": "10.9.2"

View File

@@ -1,5 +1,21 @@
# @verdaccio/config
## 8.0.0-next-8.9
### Patch Changes
- @verdaccio/core@8.0.0-next-8.9
- @verdaccio/utils@8.1.0-next-8.9
## 8.0.0-next-8.8
### Patch Changes
- 0588605: chore: `keep_readmes` docs
- ca91b9a: fix: config builder `addLogger`
- @verdaccio/core@8.0.0-next-8.8
- @verdaccio/utils@8.1.0-next-8.8
## 8.0.0-next-8.7
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@verdaccio/config",
"version": "8.0.0-next-8.7",
"version": "8.0.0-next-8.9",
"description": "logger",
"main": "./build/index.js",
"types": "build/index.d.ts",
@@ -38,8 +38,8 @@
"build": "pnpm run build:js && pnpm run build:types"
},
"dependencies": {
"@verdaccio/core": "workspace:8.0.0-next-8.7",
"@verdaccio/utils": "workspace:8.1.0-next-8.7",
"@verdaccio/core": "workspace:8.0.0-next-8.9",
"@verdaccio/utils": "workspace:8.1.0-next-8.9",
"debug": "4.4.0",
"js-yaml": "4.1.0",
"lodash": "4.17.21",

View File

@@ -3,7 +3,7 @@ import { merge } from 'lodash';
import {
AuthConf,
ConfigYaml,
LoggerConfItem,
LoggerConfigItem,
PackageAccessYaml,
Security,
UpLinkConf,
@@ -47,7 +47,7 @@ export default class ConfigBuilder {
return this;
}
public addLogger(log: LoggerConfItem) {
public addLogger(log: LoggerConfigItem) {
this.config.log = log;
return this;
}

View File

@@ -4,6 +4,5 @@ This directory host the default configuration file, but you can find more here:
- [https://verdaccio.org/docs/en/installation](https://verdaccio.org/docs/en/installation)
- [Chat with us](http://chat.verdaccio.org) <- You need a Discord account
- [Follow us on Twitter](https://twitter.com/verdaccio_npm)
Enjoy Verdaccio !

View File

@@ -121,6 +121,7 @@ server:
# publish:
# allow_offline: false
# check_owners: false
# keep_readmes: 'latest' | 'tagged' | 'all'
# https://verdaccio.org/docs/configuration#url-prefix
# url_prefix: /verdaccio/
@@ -143,11 +144,11 @@ server:
# expiresIn: 29d
# verify:
# someProp: [value]
# web:
# sign:
# expiresIn: 1h # 1 hour by default
# verify:
# someProp: [value]
# web:
# sign:
# expiresIn: 1h # 1 hour by default
# verify:
# someProp: [value]
# https://verdaccio.org/docs/configuration#user-rate-limit
# userRateLimit:

View File

@@ -127,6 +127,7 @@ server:
# publish:
# allow_offline: false
# check_owners: false
# keep_readmes: 'latest' | 'tagged' | 'all'
# https://verdaccio.org/docs/configuration#url-prefix
# url_prefix: /verdaccio/
@@ -149,11 +150,11 @@ server:
# expiresIn: 29d
# verify:
# someProp: [value]
# web:
# sign:
# expiresIn: 1h # 1 hour by default
# verify:
# someProp: [value]
# web:
# sign:
# expiresIn: 1h # 1 hour by default
# verify:
# someProp: [value]
# https://verdaccio.org/docs/configuration#user-rate-limit
# userRateLimit:

View File

@@ -6,7 +6,6 @@
[![Crowdin](https://d322cqt584bo4o.cloudfront.net/verdaccio/localized.svg)](https://crowdin.com/project/verdaccio)
[![TODOs](https://badgen.net/https/api.tickgit.com/badgen/github.com/verdaccio/verdaccio)](https://www.tickgit.com/browse?repo=github.com/verdaccio/verdaccio)
[![Twitter followers](https://img.shields.io/twitter/follow/verdaccio_npm.svg?style=social&label=Follow)](https://twitter.com/verdaccio_npm)
[![Github](https://img.shields.io/github/stars/verdaccio/verdaccio.svg?style=social&label=Stars)](https://github.com/verdaccio/verdaccio/stargazers)
## Donations

View File

@@ -1,5 +1,9 @@
# @verdaccio/core
## 8.0.0-next-8.9
## 8.0.0-next-8.8
## 8.0.0-next-8.7
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@verdaccio/core",
"version": "8.0.0-next-8.7",
"version": "8.0.0-next-8.9",
"description": "core utilities",
"keywords": [
"private",
@@ -34,14 +34,14 @@
},
"dependencies": {
"ajv": "8.17.1",
"core-js": "3.37.1",
"core-js": "3.40.0",
"http-errors": "2.0.0",
"http-status-codes": "2.3.0",
"process-warning": "1.0.0",
"semver": "7.6.3"
"semver": "7.7.1"
},
"devDependencies": {
"@verdaccio/types": "workspace:13.0.0-next-8.2",
"@verdaccio/types": "workspace:13.0.0-next-8.3",
"lodash": "4.17.21",
"typedoc": "0.23.25",
"typedoc-plugin-missing-exports": "latest"

View File

@@ -17,5 +17,4 @@ This an utility to lock and unlock files
![MIT](https://img.shields.io/github/license/mashape/apistatus.svg)
[![Crowdin](https://d322cqt584bo4o.cloudfront.net/verdaccio/localized.svg)](https://crowdin.com/project/verdaccio)
[![Twitter followers](https://img.shields.io/twitter/follow/verdaccio_npm.svg?style=social&label=Follow)](https://twitter.com/verdaccio_npm)
[![Github](https://img.shields.io/github/stars/verdaccio/verdaccio.svg?style=social&label=Stars)](https://github.com/verdaccio/verdaccio/stargazers)

View File

@@ -39,7 +39,7 @@
"lockfile": "1.0.4"
},
"devDependencies": {
"@verdaccio/types": "workspace:13.0.0-next-8.2"
"@verdaccio/types": "workspace:13.0.0-next-8.3"
},
"scripts": {
"clean": "rimraf ./build",

View File

@@ -1,5 +1,21 @@
# Change Log
## 13.0.0-next-8.9
### Patch Changes
- @verdaccio/core@8.0.0-next-8.9
- @verdaccio/url@13.0.0-next-8.9
- @verdaccio/utils@8.1.0-next-8.9
## 13.0.0-next-8.8
### Patch Changes
- @verdaccio/core@8.0.0-next-8.8
- @verdaccio/url@13.0.0-next-8.8
- @verdaccio/utils@8.1.0-next-8.8
## 13.0.0-next-8.7
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@verdaccio/tarball",
"version": "13.0.0-next-8.7",
"version": "13.0.0-next-8.9",
"description": "tarball utilities resolver",
"keywords": [
"private",
@@ -33,16 +33,16 @@
"access": "public"
},
"dependencies": {
"@verdaccio/core": "workspace:8.0.0-next-8.7",
"@verdaccio/url": "workspace:13.0.0-next-8.7",
"@verdaccio/utils": "workspace:8.1.0-next-8.7",
"@verdaccio/core": "workspace:8.0.0-next-8.9",
"@verdaccio/url": "workspace:13.0.0-next-8.9",
"@verdaccio/utils": "workspace:8.1.0-next-8.9",
"debug": "4.4.0",
"gunzip-maybe": "^1.4.2",
"lodash": "4.17.21",
"tar-stream": "^3.1.7"
},
"devDependencies": {
"@verdaccio/types": "workspace:13.0.0-next-8.2",
"@verdaccio/types": "workspace:13.0.0-next-8.3",
"node-mocks-http": "1.14.1"
},
"scripts": {

View File

@@ -1,5 +1,12 @@
# Change Log
## 13.0.0-next-8.3
### Patch Changes
- 0588605: chore: `keep_readmes` docs
- ca91b9a: fix: config builder `addLogger`
## 13.0.0-next-8.2
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@verdaccio/types",
"version": "13.0.0-next-8.2",
"version": "13.0.0-next-8.3",
"description": "verdaccio types definitions",
"keywords": [
"private",

View File

@@ -40,12 +40,6 @@ export interface PackageAccessYaml {
unpublish?: string;
}
export interface LoggerConfItem {
type: LoggerType;
format: LoggerFormat;
level: LoggerLevel;
}
export interface Headers {
[key: string]: string;
}
@@ -202,11 +196,11 @@ export interface Security {
api: APITokenOptions;
}
export type ReadmeOptions = 'latest' | 'tagged' | 'all' | undefined;
export type ReadmeOptions = 'latest' | 'tagged' | 'all';
export interface PublishOptions {
allow_offline: boolean;
keep_readmes: ReadmeOptions;
keep_readmes?: ReadmeOptions;
check_owners: boolean;
}
@@ -262,9 +256,9 @@ export interface ConfigYaml {
storage?: string | void;
packages: PackageList;
uplinks: UpLinksConfList;
log?: LoggerConfItem;
log?: LoggerConfigItem;
// @deprecated deprecation path from 5.x
logs?: LoggerConfItem;
logs?: LoggerConfigItem;
web?: WebConf;
auth?: AuthConf;
security: Security;

View File

@@ -1,5 +1,17 @@
# Change Log
## 13.0.0-next-8.9
### Patch Changes
- @verdaccio/core@8.0.0-next-8.9
## 13.0.0-next-8.8
### Patch Changes
- @verdaccio/core@8.0.0-next-8.8
## 13.0.0-next-8.7
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@verdaccio/url",
"version": "13.0.0-next-8.7",
"version": "13.0.0-next-8.9",
"description": "url utilities resolver",
"keywords": [
"private",
@@ -33,13 +33,13 @@
"access": "public"
},
"dependencies": {
"@verdaccio/core": "workspace:8.0.0-next-8.7",
"@verdaccio/core": "workspace:8.0.0-next-8.9",
"debug": "4.4.0",
"lodash": "4.17.21",
"validator": "13.12.0"
},
"devDependencies": {
"@verdaccio/types": "workspace:13.0.0-next-8.2",
"@verdaccio/types": "workspace:13.0.0-next-8.3",
"node-mocks-http": "1.14.1"
},
"scripts": {

View File

@@ -1,5 +1,19 @@
# @verdaccio/hooks
## 8.0.0-next-8.9
### Patch Changes
- @verdaccio/core@8.0.0-next-8.9
- @verdaccio/logger@8.0.0-next-8.9
## 8.0.0-next-8.8
### Patch Changes
- @verdaccio/core@8.0.0-next-8.8
- @verdaccio/logger@8.0.0-next-8.8
## 8.0.0-next-8.7
### Patch Changes

View File

@@ -6,7 +6,6 @@
[![Crowdin](https://d322cqt584bo4o.cloudfront.net/verdaccio/localized.svg)](https://crowdin.com/project/verdaccio)
[![TODOs](https://badgen.net/https/api.tickgit.com/badgen/github.com/verdaccio/verdaccio)](https://www.tickgit.com/browse?repo=github.com/verdaccio/verdaccio)
[![Twitter followers](https://img.shields.io/twitter/follow/verdaccio_npm.svg?style=social&label=Follow)](https://twitter.com/verdaccio_npm)
[![Github](https://img.shields.io/github/stars/verdaccio/verdaccio.svg?style=social&label=Stars)](https://github.com/verdaccio/verdaccio/stargazers)
## Donations

View File

@@ -1,6 +1,6 @@
{
"name": "@verdaccio/hooks",
"version": "8.0.0-next-8.7",
"version": "8.0.0-next-8.9",
"description": "loaders logic",
"main": "./build/index.js",
"types": "build/index.d.ts",
@@ -29,18 +29,17 @@
"node": ">=18"
},
"dependencies": {
"@verdaccio/core": "workspace:8.0.0-next-8.7",
"@verdaccio/logger": "workspace:8.0.0-next-8.7",
"core-js": "3.37.1",
"@verdaccio/core": "workspace:8.0.0-next-8.9",
"@verdaccio/logger": "workspace:8.0.0-next-8.9",
"core-js": "3.40.0",
"debug": "4.4.0",
"got-cjs": "12.5.4",
"handlebars": "4.7.8"
},
"devDependencies": {
"@verdaccio/auth": "workspace:8.0.0-next-8.7",
"@verdaccio/config": "workspace:8.0.0-next-8.7",
"@verdaccio/types": "workspace:13.0.0-next-8.2",
"nock": "13.5.1"
"@verdaccio/auth": "workspace:8.0.0-next-8.9",
"@verdaccio/config": "workspace:8.0.0-next-8.9",
"@verdaccio/types": "workspace:13.0.0-next-8.3"
},
"scripts": {
"clean": "rimraf ./build",

View File

@@ -6,7 +6,6 @@
[![Crowdin](https://d322cqt584bo4o.cloudfront.net/verdaccio/localized.svg)](https://crowdin.com/project/verdaccio)
[![TODOs](https://badgen.net/https/api.tickgit.com/badgen/github.com/verdaccio/verdaccio)](https://www.tickgit.com/browse?repo=github.com/verdaccio/verdaccio)
[![Twitter followers](https://img.shields.io/twitter/follow/verdaccio_npm.svg?style=social&label=Follow)](https://twitter.com/verdaccio_npm)
[![Github](https://img.shields.io/github/stars/verdaccio/verdaccio.svg?style=social&label=Stars)](https://github.com/verdaccio/verdaccio/stargazers)
## Donations

View File

@@ -17,10 +17,10 @@
"lodash": "4.17.21"
},
"devDependencies": {
"@verdaccio/logger": "workspace:8.0.0-next-8.7",
"@verdaccio/core": "workspace:8.0.0-next-8.7",
"@verdaccio/config": "workspace:8.0.0-next-8.7",
"@verdaccio/types": "workspace:13.0.0-next-8.2",
"@verdaccio/logger": "workspace:8.0.0-next-8.9",
"@verdaccio/core": "workspace:8.0.0-next-8.9",
"@verdaccio/config": "workspace:8.0.0-next-8.9",
"@verdaccio/types": "workspace:13.0.0-next-8.3",
"@verdaccio-scope/verdaccio-auth-foo": "0.0.2",
"verdaccio-auth-memory": "workspace:*",
"customprefix-auth": "2.0.0"

View File

@@ -1,5 +1,17 @@
# @verdaccio/logger-commons
## 8.0.0-next-8.9
### Patch Changes
- @verdaccio/core@8.0.0-next-8.9
## 8.0.0-next-8.8
### Patch Changes
- @verdaccio/core@8.0.0-next-8.8
## 8.0.0-next-8.7
### Patch Changes

View File

@@ -6,7 +6,6 @@
[![Crowdin](https://d322cqt584bo4o.cloudfront.net/verdaccio/localized.svg)](https://crowdin.com/project/verdaccio)
[![TODOs](https://badgen.net/https/api.tickgit.com/badgen/github.com/verdaccio/verdaccio)](https://www.tickgit.com/browse?repo=github.com/verdaccio/verdaccio)
[![Twitter followers](https://img.shields.io/twitter/follow/verdaccio_npm.svg?style=social&label=Follow)](https://twitter.com/verdaccio_npm)
[![Github](https://img.shields.io/github/stars/verdaccio/verdaccio.svg?style=social&label=Stars)](https://github.com/verdaccio/verdaccio/stargazers)
## Donations

View File

@@ -1,6 +1,6 @@
{
"name": "@verdaccio/logger-commons",
"version": "8.0.0-next-8.7",
"version": "8.0.0-next-8.9",
"description": "logger",
"main": "./build/index.js",
"types": "./build/index.d.ts",
@@ -38,14 +38,14 @@
"build": "pnpm run build:js && pnpm run build:types"
},
"dependencies": {
"@verdaccio/core": "workspace:8.0.0-next-8.7",
"@verdaccio/core": "workspace:8.0.0-next-8.9",
"@verdaccio/logger-prettify": "workspace:8.0.0-next-8.1",
"debug": "4.4.0",
"colorette": "2.0.20"
},
"devDependencies": {
"pino": "9.5.0",
"@verdaccio/types": "workspace:13.0.0-next-8.2"
"pino": "9.6.0",
"@verdaccio/types": "workspace:13.0.0-next-8.3"
},
"funding": {
"type": "opencollective",

View File

@@ -6,7 +6,6 @@
[![Crowdin](https://d322cqt584bo4o.cloudfront.net/verdaccio/localized.svg)](https://crowdin.com/project/verdaccio)
[![TODOs](https://badgen.net/https/api.tickgit.com/badgen/github.com/verdaccio/verdaccio)](https://www.tickgit.com/browse?repo=github.com/verdaccio/verdaccio)
[![Twitter followers](https://img.shields.io/twitter/follow/verdaccio_npm.svg?style=social&label=Follow)](https://twitter.com/verdaccio_npm)
[![Github](https://img.shields.io/github/stars/verdaccio/verdaccio.svg?style=social&label=Stars)](https://github.com/verdaccio/verdaccio/stargazers)
## Donations

View File

@@ -45,7 +45,7 @@
"sonic-boom": "3.8.1"
},
"devDependencies": {
"pino": "9.5.0"
"pino": "9.6.0"
},
"funding": {
"type": "opencollective",

View File

@@ -1,5 +1,17 @@
# @verdaccio/logger
## 8.0.0-next-8.9
### Patch Changes
- @verdaccio/logger-commons@8.0.0-next-8.9
## 8.0.0-next-8.8
### Patch Changes
- @verdaccio/logger-commons@8.0.0-next-8.8
## 8.0.0-next-8.7
### Patch Changes

View File

@@ -6,7 +6,6 @@
[![Crowdin](https://d322cqt584bo4o.cloudfront.net/verdaccio/localized.svg)](https://crowdin.com/project/verdaccio)
[![TODOs](https://badgen.net/https/api.tickgit.com/badgen/github.com/verdaccio/verdaccio)](https://www.tickgit.com/browse?repo=github.com/verdaccio/verdaccio)
[![Twitter followers](https://img.shields.io/twitter/follow/verdaccio_npm.svg?style=social&label=Follow)](https://twitter.com/verdaccio_npm)
[![Github](https://img.shields.io/github/stars/verdaccio/verdaccio.svg?style=social&label=Stars)](https://github.com/verdaccio/verdaccio/stargazers)
## Donations

View File

@@ -1,6 +1,6 @@
{
"name": "@verdaccio/logger",
"version": "8.0.0-next-8.7",
"version": "8.0.0-next-8.9",
"description": "logger",
"main": "./build/index.js",
"types": "./build/index.d.ts",
@@ -38,11 +38,11 @@
"build": "pnpm run build:js && pnpm run build:types"
},
"dependencies": {
"@verdaccio/logger-commons": "workspace:8.0.0-next-8.7",
"pino": "9.5.0"
"@verdaccio/logger-commons": "workspace:8.0.0-next-8.9",
"pino": "9.6.0"
},
"devDependencies": {
"@verdaccio/types": "workspace:13.0.0-next-8.2"
"@verdaccio/types": "workspace:13.0.0-next-8.3"
},
"funding": {
"type": "opencollective",

View File

@@ -1,5 +1,26 @@
# @verdaccio/middleware
## 8.0.0-next-8.9
### Patch Changes
- 96e0011: chore: export and constant on middleware
- @verdaccio/core@8.0.0-next-8.9
- @verdaccio/config@8.0.0-next-8.9
- @verdaccio/url@13.0.0-next-8.9
- @verdaccio/utils@8.1.0-next-8.9
## 8.0.0-next-8.8
### Patch Changes
- Updated dependencies [0588605]
- Updated dependencies [ca91b9a]
- @verdaccio/config@8.0.0-next-8.8
- @verdaccio/core@8.0.0-next-8.8
- @verdaccio/url@13.0.0-next-8.8
- @verdaccio/utils@8.1.0-next-8.8
## 8.0.0-next-8.7
### Patch Changes

View File

@@ -6,7 +6,6 @@
[![Crowdin](https://d322cqt584bo4o.cloudfront.net/verdaccio/localized.svg)](https://crowdin.com/project/verdaccio)
[![TODOs](https://badgen.net/https/api.tickgit.com/badgen/github.com/verdaccio/verdaccio)](https://www.tickgit.com/browse?repo=github.com/verdaccio/verdaccio)
[![Twitter followers](https://img.shields.io/twitter/follow/verdaccio_npm.svg?style=social&label=Follow)](https://twitter.com/verdaccio_npm)
[![Github](https://img.shields.io/github/stars/verdaccio/verdaccio.svg?style=social&label=Stars)](https://github.com/verdaccio/verdaccio/stargazers)
## Donations

View File

@@ -1,6 +1,6 @@
{
"name": "@verdaccio/middleware",
"version": "8.0.0-next-8.7",
"version": "8.0.0-next-8.9",
"description": "express middleware utils",
"main": "./build/index.js",
"types": "build/index.d.ts",
@@ -38,10 +38,10 @@
"build": "pnpm run build:js && pnpm run build:types"
},
"dependencies": {
"@verdaccio/config": "workspace:8.0.0-next-8.7",
"@verdaccio/core": "workspace:8.0.0-next-8.7",
"@verdaccio/url": "workspace:13.0.0-next-8.7",
"@verdaccio/utils": "workspace:8.1.0-next-8.7",
"@verdaccio/config": "workspace:8.0.0-next-8.9",
"@verdaccio/core": "workspace:8.0.0-next-8.9",
"@verdaccio/url": "workspace:13.0.0-next-8.9",
"@verdaccio/utils": "workspace:8.1.0-next-8.9",
"debug": "4.4.0",
"express": "4.21.2",
"express-rate-limit": "5.5.1",
@@ -54,7 +54,7 @@
"url": "https://opencollective.com/verdaccio"
},
"devDependencies": {
"@verdaccio/logger": "workspace:8.0.0-next-8.7",
"@verdaccio/logger": "workspace:8.0.0-next-8.9",
"body-parser": "1.20.3",
"supertest": "7.0.0",
"jsdom": "25.0.1"

View File

@@ -1,3 +1,6 @@
/**
* Enum for web urls, used on the web middleware
*/
export enum WebUrls {
sidebar_scopped_package = '/sidebar/:scope/:package',
sidebar_package = '/sidebar/:package',
@@ -8,3 +11,12 @@ export enum WebUrls {
search = '/search/:anything',
reset_password = '/reset_password',
}
/**
* Enum for web urls namespace, used on the web middleware
*/
export enum WebUrlsNamespace {
root = '/-/verdaccio/',
data = '/data/',
sec = '/sec/',
}

View File

@@ -1,5 +1,27 @@
# @verdaccio/node-api
## 8.0.0-next-8.9
### Patch Changes
- @verdaccio/server@8.0.0-next-8.9
- @verdaccio/core@8.0.0-next-8.9
- @verdaccio/config@8.0.0-next-8.9
- @verdaccio/server-fastify@8.0.0-next-8.9
- @verdaccio/logger@8.0.0-next-8.9
## 8.0.0-next-8.8
### Patch Changes
- Updated dependencies [0588605]
- Updated dependencies [ca91b9a]
- @verdaccio/config@8.0.0-next-8.8
- @verdaccio/server@8.0.0-next-8.8
- @verdaccio/server-fastify@8.0.0-next-8.8
- @verdaccio/core@8.0.0-next-8.8
- @verdaccio/logger@8.0.0-next-8.8
## 8.0.0-next-8.7
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@verdaccio/node-api",
"version": "8.0.0-next-8.7",
"version": "8.0.0-next-8.9",
"description": "node API",
"main": "build/index.js",
"types": "build/index.d.ts",
@@ -38,17 +38,17 @@
},
"license": "MIT",
"dependencies": {
"@verdaccio/config": "workspace:8.0.0-next-8.7",
"@verdaccio/core": "workspace:8.0.0-next-8.7",
"@verdaccio/logger": "workspace:8.0.0-next-8.7",
"@verdaccio/server": "workspace:8.0.0-next-8.7",
"@verdaccio/server-fastify": "workspace:8.0.0-next-8.7",
"core-js": "3.37.1",
"@verdaccio/config": "workspace:8.0.0-next-8.9",
"@verdaccio/core": "workspace:8.0.0-next-8.9",
"@verdaccio/logger": "workspace:8.0.0-next-8.9",
"@verdaccio/server": "workspace:8.0.0-next-8.9",
"@verdaccio/server-fastify": "workspace:8.0.0-next-8.9",
"core-js": "3.40.0",
"debug": "4.4.0",
"lodash": "4.17.21"
},
"devDependencies": {
"@verdaccio/types": "workspace:13.0.0-next-8.2",
"@verdaccio/types": "workspace:13.0.0-next-8.3",
"selfsigned": "2.4.1",
"supertest": "7.0.0"
},

View File

@@ -1,5 +1,21 @@
# Change Log
## 13.0.0-next-8.9
### Patch Changes
- @verdaccio/core@8.0.0-next-8.9
- @verdaccio/config@8.0.0-next-8.9
## 13.0.0-next-8.8
### Patch Changes
- Updated dependencies [0588605]
- Updated dependencies [ca91b9a]
- @verdaccio/config@8.0.0-next-8.8
- @verdaccio/core@8.0.0-next-8.8
## 13.0.0-next-8.7
### Patch Changes

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