Compare commits

...

46 Commits

Author SHA1 Message Date
Juan Picado
489631bda9 chore: update versions (next-7) (#4746)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-08-01 18:36:08 +02:00
dependabot[bot]
112f1d60b8 chore(deps): bump github/codeql-action from 3.25.11 to 3.25.15 (#4751) 2024-08-01 18:02:15 +02:00
verdacciobot
e87b29885b chore: updated static data 2024-08-01 00:15:46 +00:00
Marc Bernard
ccc7bd1df5 fix(middleware): link to favicon in template (#4744) 2024-07-30 23:20:18 +02:00
Marc Bernard
3c6e6b9af7 chore: revert changes (#4745)
* chore: revert "Fix sidebar test"

This reverts commit 096d634917.

Sorry, this push should have gone to my fork only.

* chore: revert "Merge branch 'apm' into pr/mbtools/2"

This reverts commit 87fa9270a5, reversing
changes made to dc2cd48a78.

Sorry, this push should have gone to my fork only.
2024-07-30 23:15:34 +02:00
Marc Bernard
096d634917 Fix sidebar test 2024-07-29 11:12:30 -04:00
Marc Bernard
87fa9270a5 Merge branch 'apm' into pr/mbtools/2 2024-07-29 09:51:18 -04:00
verdacciobot
dc2cd48a78 chore: updated static data 2024-07-29 00:14:47 +00:00
Juan Picado
4c54c0c67d feat: update dependencies (#4738)
* udapte deps step1

* udpate 2

* update 3
2024-07-28 14:06:47 +02:00
renovate[bot]
6bed536f80 chore(deps): update typescript dependencies (master) (#4733)
* chore(deps): update typescript dependencies

* restore dep

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Juan Picado <juanpicado19@gmail.com>
2024-07-28 08:41:50 +02:00
verdacciobot
1f4fa441ae chore: updated static data 2024-07-25 00:14:10 +00:00
Juan Picado
c5f5e75818 chore: remove node 22 from generator flow
npm sort of broken
2024-07-23 22:33:52 +02:00
verdacciobot
b3f52486f7 chore: updated static data 2024-07-22 00:14:48 +00:00
Juan Picado
bbfb4118bf chore: update versions (next-7) (#4711)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-07-21 18:06:35 +02:00
Marc Bernard
6c5f7a4fa0 fix(middleware): link to favicon in template (#4727) 2024-07-21 18:00:37 +02:00
Marc Bernard
2274e483ac apm: update action 2024-07-19 13:19:00 -04:00
Marc Bernard
d0dacd75c5 apm: update action 2024-07-19 13:18:02 -04:00
Marc Bernard
5bcfd7e2e2 apm: update docker 2024-07-19 13:02:49 -04:00
Marc Bernard
71fcd2de91 Merge branch 'verdaccio:master' into apm 2024-07-19 12:56:08 -04:00
Michael Ryan
39f7fd6057 docs: update logger level precedence stated in docs, moving http between info and debug (#4723)
Fixes #4654
2024-07-19 18:46:48 +02:00
Marc Bernard
96b28575a3 chore(ui): update babel dependencies (#4721) 2024-07-18 07:54:46 +02:00
verdacciobot
6249cbf562 chore: updated static data 2024-07-18 00:13:15 +00:00
Leo Wang(草鞋没号)
136e992bb9 feat: verdaccio-audit support timeout option (#4718)
* feat: verdaccio-audit support timeout option

* Create many-bees-tickle.md

* Update audit.ts

* update docs

* Update README.md

---------

Co-authored-by: Juan Picado <juanpicado19@gmail.com>
2024-07-17 21:59:36 +02:00
Marc Bernard
2ee690638d Merge branch 'verdaccio:master' into apm 2024-07-17 15:39:05 -04:00
Marc Bernard
c31aec8336 fix: typo in config docs regarding check_owners (#4720) 2024-07-17 15:14:44 -04:00
Marc Bernard
5a0c23f900 fix: Dockerfile error FromAsCasing (#4713) 2024-07-17 19:57:35 +02:00
Marc Bernard
19df355e3c chore(api): update comment about route parameters (#4719) 2024-07-17 19:57:03 +02:00
Marc Bernard
39f71f5d7d apm: remove chip from searchitem 2024-07-17 11:35:02 -04:00
Marc Bernard
a985ddc246 Docker, healthcheck, list hover 2024-07-16 19:19:00 -04:00
Marc Bernard
2a6ee33071 fix(middleware): custom favicon (#4716) 2024-07-16 13:28:45 -04:00
Marc Bernard
919795c804 Create docker-apm.yml 2024-07-16 10:12:05 -04:00
Marc Bernard
d60bf44c43 lockfile 2024-07-15 18:19:34 -04:00
Marc Bernard
6626e77766 config 2024-07-15 17:59:12 -04:00
Marc Bernard
03a903d924 fix favicon 2024-07-15 17:41:02 -04:00
verdacciobot
6ee0afb13a chore: updated static data 2024-07-15 00:14:05 +00:00
Marc Bernard
016812b12c Docker image for apm 2024-07-14 14:10:08 -04:00
Marc Bernard
3b3cf86b54 chore: sync dependency defs between ui-components and ui-theme (#4712) 2024-07-13 06:38:04 -04:00
Marc Bernard
5a77414eb6 chore: fix type for country flags and hover titles (#4709)
* chore: fix type for country flags

* add text for Canada, fix Australia flag

* add flag texts

* fix text keys

* update changeset

* Add lock file

* Add Austria
2024-07-12 09:20:22 +02:00
verdacciobot
da6d8e5f38 chore: updated static data 2024-07-11 00:14:23 +00:00
verdacciobot
c7ba6b95f6 chore: updated static data 2024-07-08 00:14:35 +00:00
dependabot[bot]
744a806411 chore(deps): bump docker/build-push-action from 4 to 6 (#4693)
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 4 to 6.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v4...v6)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-07 21:15:56 +02:00
dependabot[bot]
1deb734b3e chore(deps): bump github/codeql-action from 3.25.7 to 3.25.11 (#4695)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.25.7 to 3.25.11.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](f079b84933...b611370bb5)

---
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>
2024-07-07 20:17:29 +02:00
Juan Picado
9caca4b573 Update generator.yaml 2024-07-07 19:44:10 +02:00
Juan Picado
fec5a46b22 Update plugin-generator-e2e.yaml 2024-07-07 19:33:22 +02:00
Juan Picado
6aa850a8b4 chore: disable window ci 2024-07-07 19:32:18 +02:00
Juan Picado
85ef861cab Update plugin-generator-e2e.yaml 2024-07-07 19:22:55 +02:00
125 changed files with 6035 additions and 5623 deletions

View File

@@ -10,9 +10,5 @@
],
"@babel/typescript"
],
"ignore": ["**/*.d.ts"],
"plugins": [
"@babel/plugin-proposal-optional-chaining",
"@babel/plugin-proposal-nullish-coalescing-operator"
]
"ignore": ["**/*.d.ts"]
}

View File

@@ -0,0 +1,5 @@
---
'@verdaccio/middleware': patch
---
fix(middleware): custom favicon

View File

@@ -0,0 +1,6 @@
---
'@verdaccio/ui-components': patch
'@verdaccio/ui-theme': patch
---
chore: fix type for country flags

View File

@@ -0,0 +1,5 @@
---
'@verdaccio/middleware': patch
---
fix(middleware): link to favicon in template

View File

@@ -0,0 +1,5 @@
---
'@verdaccio/ui-components': patch
---
chore: sync dependency defs between ui-components and ui-theme

View File

@@ -0,0 +1,5 @@
---
'verdaccio-audit': minor
---
feat: verdaccio-audit support timeout option

View File

@@ -0,0 +1,6 @@
---
'@verdaccio/middleware': patch
'@verdaccio/url': patch
---
fix(middleware): link to favicon in template

View File

@@ -66,16 +66,22 @@
"breezy-mayflies-pull",
"chilled-carrots-guess",
"chilly-rivers-chew",
"cuddly-camels-relax",
"dirty-dolphins-try",
"dirty-islands-push",
"dry-shoes-report",
"eight-icons-heal",
"eight-squids-judge",
"eighty-lobsters-study",
"fluffy-onions-act",
"good-cups-train",
"good-lions-rush",
"grumpy-pots-watch",
"itchy-mangos-wink",
"long-jars-collect",
"long-moles-attend",
"many-bees-tickle",
"mighty-gorillas-fail",
"nervous-fireants-design",
"old-turkeys-heal",
"olive-bananas-wink",
@@ -95,6 +101,8 @@
"spicy-birds-flow",
"strange-points-repair",
"stupid-dancers-relate",
"ten-kids-tan",
"thin-snails-flow",
"thirty-toes-swim",
"twenty-queens-protect",
"unlucky-cycles-sparkle",
@@ -103,6 +111,7 @@
"wicked-kiwis-check",
"wicked-worms-wash",
"wild-otters-talk",
"witty-meals-nail",
"young-donuts-own"
]
}

View File

@@ -0,0 +1,5 @@
---
'@verdaccio/ui-components': patch
---
chore(ui): update babel dependencies

View File

@@ -0,0 +1,6 @@
---
'@verdaccio/config': patch
'@verdaccio/website': patch
---
fix: typo in config docs regarding check_owners

View File

@@ -0,0 +1,5 @@
---
'@verdaccio/api': patch
---
chore(api): update comment about route parameters

View File

@@ -24,13 +24,15 @@ jobs:
with:
node-version-file: '.nvmrc'
- name: Install pnpm
run: npm i pnpm@latest-8 -g
run: |
corepack enable
corepack install
- name: set store
run: |
mkdir ~/.pnpm-store
pnpm config set store-dir ~/.pnpm-store
- name: Install
run: pnpm install --registry http://localhost:4873
run: pnpm install --registry http://localhost:4873
- name: Cache .pnpm-store
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v3
with:

View File

@@ -34,7 +34,7 @@ jobs:
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@f079b8493333aace61c81488f8bd40919487bd9f # v2
uses: github/codeql-action/init@afb54ba388a7dca6ecae48f608c4ff05ff4cc77a # v2
# Override language selection by uncommenting this and choosing your languages
# with:
@@ -42,7 +42,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@f079b8493333aace61c81488f8bd40919487bd9f # v2
uses: github/codeql-action/autobuild@afb54ba388a7dca6ecae48f608c4ff05ff4cc77a # v2
# Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
@@ -56,4 +56,4 @@ jobs:
# make release
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@f079b8493333aace61c81488f8bd40919487bd9f # v2
uses: github/codeql-action/analyze@afb54ba388a7dca6ecae48f608c4ff05ff4cc77a # v2

View File

@@ -46,7 +46,7 @@ jobs:
{{major}}
{{major}}.{{minor}}
- name: Build & Push
uses: docker/build-push-action@v4
uses: docker/build-push-action@v6
with:
context: .
file: ./Dockerfile

View File

@@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18,20, 22]
node-version: [18,20, 21]
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v3
- name: Use Node.js ${{ matrix.node-version }}
@@ -41,7 +41,7 @@ jobs:
- name: publish
run: pnpm local:publish
- name: install yeoman
run: npm install -g yo@4
run: npm install -g yo@4 --loglevel=info
- name: install generator
run: npm install -g generator-verdaccio-plugin --registry http://localhost:4873
run: npm install -g generator-verdaccio-plugin --loglevel=info --registry http://localhost:4873
# Future: add a test to verify the plugin is working with prompt

View File

@@ -1,4 +1,4 @@
FROM --platform=${BUILDPLATFORM:-linux/amd64} node:21-alpine as builder
FROM --platform=${BUILDPLATFORM:-linux/amd64} node:21-alpine AS builder
ENV NODE_ENV=development \
VERDACCIO_BUILD_REGISTRY=https://registry.npmjs.org

View File

@@ -1,7 +1,7 @@
# Docs based on https://github.com/xlts-dev/verdaccio-prometheus-middleware#installation
# Docker multi-stage build - https://docs.docker.com/develop/develop-images/multistage-build/
# Use an alpine node image to install the plugin
FROM node:lts-alpine as builder
FROM node:lts-alpine AS builder
RUN mkdir -p /verdaccio/plugins

View File

@@ -2,7 +2,7 @@
# Docker multi-stage build - https://docs.docker.com/develop/develop-images/multistage-build/
# Use an alpine node image to install the plugin
FROM node:lts-alpine as builder
FROM node:lts-alpine AS builder
# Install the metrics middleware plugin
# npm docs

View File

@@ -1,7 +1,7 @@
# Docs based on https://github.com/xlts-dev/verdaccio-prometheus-middleware#installation
# Docker multi-stage build - https://docs.docker.com/develop/develop-images/multistage-build/
# Use an alpine node image to install the plugin
FROM node:lts-alpine as builder
FROM node:lts-alpine AS builder
RUN mkdir -p /verdaccio/plugins

View File

@@ -5,8 +5,8 @@
"main": "./build/index.js",
"types": "./build/index.d.ts",
"devDependencies": {
"@verdaccio/config": "workspace:7.0.0-next-7.18",
"@verdaccio/core": "workspace:7.0.0-next-7.18",
"@verdaccio/config": "workspace:7.0.0-next-7.20",
"@verdaccio/core": "workspace:7.0.0-next-7.20",
"@verdaccio/types": "workspace:12.0.0-next-7.5",
"debug": "4.3.4",
"fs-extra": "11.2.0",
@@ -14,7 +14,7 @@
"got": "11.8.6",
"js-yaml": "4.1.0",
"lodash": "4.17.21",
"verdaccio": "workspace:7.0.0-next-7.18"
"verdaccio": "workspace:7.0.0-next-7.20"
},
"scripts": {
"test": "jest",

View File

@@ -22,6 +22,10 @@ packages:
access: $all
publish: $all
unpublish: $all
'generator-verdaccio-plugin':
access: $all
publish: $all
unpublish: $all
'verdaccio':
access: $all
publish: $all

View File

@@ -3,9 +3,9 @@
"name": "@verdaccio/e2e-ui",
"version": "2.0.0",
"devDependencies": {
"verdaccio": "workspace:7.0.0-next-7.18",
"@verdaccio/core": "workspace:7.0.0-next-7.18",
"@verdaccio/config": "workspace:7.0.0-next-7.18",
"verdaccio": "workspace:7.0.0-next-7.20",
"@verdaccio/core": "workspace:7.0.0-next-7.20",
"@verdaccio/config": "workspace:7.0.0-next-7.20",
"@verdaccio/test-helper": "workspace:3.0.0-next-7.2",
"debug": "4.3.4",
"cypress": "^13.6.0",

View File

@@ -15,83 +15,81 @@
"url": "https://opencollective.com/verdaccio"
},
"devDependencies": {
"@babel/cli": "7.23.9",
"@babel/core": "7.23.9",
"@babel/eslint-parser": "7.23.3",
"@babel/node": "7.23.9",
"@babel/plugin-proposal-class-properties": "7.18.6",
"@babel/plugin-proposal-decorators": "7.23.9",
"@babel/plugin-proposal-export-namespace-from": "7.18.9",
"@babel/plugin-proposal-function-sent": "7.23.3",
"@babel/plugin-proposal-json-strings": "7.18.6",
"@babel/plugin-proposal-nullish-coalescing-operator": "7.18.6",
"@babel/plugin-proposal-numeric-separator": "7.18.6",
"@babel/plugin-proposal-object-rest-spread": "7.20.7",
"@babel/plugin-proposal-optional-chaining": "7.21.0",
"@babel/plugin-proposal-throw-expressions": "7.23.3",
"@babel/cli": "7.24.8",
"@babel/core": "7.24.9",
"@babel/eslint-parser": "7.25.0",
"@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/plugin-syntax-dynamic-import": "7.8.3",
"@babel/plugin-syntax-import-meta": "7.10.4",
"@babel/plugin-transform-async-to-generator": "7.23.3",
"@babel/plugin-transform-classes": "7.23.8",
"@babel/plugin-transform-runtime": "7.23.9",
"@babel/preset-env": "7.23.9",
"@babel/preset-react": "7.23.3",
"@babel/preset-typescript": "7.23.3",
"@babel/register": "7.23.7",
"@babel/runtime": "7.23.9",
"@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/preset-typescript": "7.24.7",
"@babel/register": "7.24.6",
"@babel/runtime": "7.25.0",
"@changesets/changelog-github": "0.5.0",
"@changesets/cli": "2.27.1",
"@changesets/get-dependents-graph": "1.3.6",
"@crowdin/cli": "3.16.1",
"@changesets/cli": "2.27.7",
"@changesets/get-dependents-graph": "2.1.1",
"@crowdin/cli": "4.1.1",
"@dianmora/contributors": "5.0.0",
"@emotion/react": "11.10.6",
"@emotion/styled": "11.10.6",
"@testing-library/dom": "9.3.4",
"@testing-library/jest-dom": "6.4.2",
"@testing-library/dom": "10.4.0",
"@testing-library/jest-dom": "6.4.8",
"@testing-library/react": "16.0.0",
"@testing-library/user-event": "14.5.2",
"aria-query": "5.1.3",
"@testing-library/react": "14.2.1",
"@trivago/prettier-plugin-sort-imports": "4.3.0",
"@types/body-parser": "1.19.5",
"@types/connect": "3.4.38",
"@types/cookiejar": "2.1.5",
"@types/debug": "4.1.12",
"@types/express": "4.17.21",
"@types/express-serve-static-core": "4.17.42",
"@types/express-serve-static-core": "4.19.5",
"@types/http-errors": "2.0.4",
"@types/jest": "29.5.11",
"@types/jsonwebtoken": "9.0.5",
"@types/jest": "29.5.12",
"@types/jsonwebtoken": "9.0.6",
"@types/lodash": "4.17.7",
"@types/mime": "3.0.4",
"@types/minimatch": "5.1.2",
"@types/node": "20.14.12",
"@types/node-fetch": "2.6.11",
"@types/qs": "6.9.15",
"@types/range-parser": "1.2.7",
"@types/react": "18.3.3",
"@types/react-dom": "18.3.0",
"@types/react-router-dom": "5.3.3",
"@types/react-virtualized": "9.21.30",
"@types/semver": "7.5.8",
"@types/send": "0.17.4",
"@types/serve-static": "1.15.7",
"@types/superagent": "4.1.24",
"@types/supertest": "2.0.16",
"@types/validator": "13.12.0",
"@types/webpack": "5.28.5",
"@types/webpack-env": "1.18.5",
"@types/yeoman-environment": "2.10.11",
"@types/yeoman-generator": "5.2.14",
"@types/yeoman-test": "4.0.6",
"@types/lodash": "4.14.202",
"@types/mime": "3.0.4",
"@types/minimatch": "5.1.2",
"@types/node": "20.11.7",
"@types/node-fetch": "2.6.11",
"@types/qs": "6.9.11",
"@types/range-parser": "1.2.7",
"@types/react": "18.2.48",
"@types/react-dom": "18.2.18",
"@types/react-router-dom": "5.3.3",
"@types/react-virtualized": "9.21.29",
"@types/redux": "3.6.0",
"@types/semver": "7.5.6",
"@types/send": "0.17.4",
"@types/serve-static": "1.15.5",
"@types/superagent": "4.1.24",
"@types/supertest": "2.0.16",
"@types/testing-library__jest-dom": "6.0.0",
"@types/validator": "13.11.8",
"@types/webpack": "5.28.5",
"@types/webpack-env": "1.18.4",
"@typescript-eslint/eslint-plugin": "6.19.1",
"@typescript-eslint/parser": "6.19.1",
"@typescript-eslint/eslint-plugin": "6.21.0",
"@typescript-eslint/parser": "6.21.0",
"@verdaccio/crowdin-translations": "workspace:*",
"@verdaccio/eslint-config": "workspace:*",
"@verdaccio/types": "workspace:*",
"@verdaccio/ui-theme": "workspace:*",
"@vitest/coverage-v8": "0.34.6",
"aria-query": "5.1.3",
"babel-core": "7.0.0-bridge.0",
"babel-jest": "29.7.0",
"babel-plugin-dynamic-import-node": "2.3.3",
@@ -121,11 +119,11 @@
"react-dom": "18.2.0",
"rimraf": "5.0.5",
"selfsigned": "2.4.1",
"supertest": "6.3.4",
"supertest": "7.0.0",
"ts-node": "10.9.2",
"typescript": "5.3.3",
"undici-types": "5.28.2",
"update-ts-references": "3.2.1",
"update-ts-references": "3.3.0",
"verdaccio-audit": "workspace:*",
"verdaccio-auth-memory": "workspace:*",
"verdaccio-htpasswd": "workspace:*",

View File

@@ -1,5 +1,34 @@
# @verdaccio/api
## 7.0.0-next-7.20
### Patch Changes
- Updated dependencies [ccc7bd1]
- @verdaccio/middleware@7.0.0-next-7.20
- @verdaccio/auth@7.0.0-next-7.20
- @verdaccio/store@7.0.0-next-7.20
- @verdaccio/core@7.0.0-next-7.20
- @verdaccio/config@7.0.0-next-7.20
- @verdaccio/utils@7.0.0-next-7.20
- @verdaccio/logger@7.0.0-next-7.20
## 7.0.0-next-7.19
### Patch Changes
- 19df355: chore(api): update comment about route parameters
- Updated dependencies [2a6ee33]
- Updated dependencies [6c5f7a4]
- Updated dependencies [c31aec8]
- @verdaccio/middleware@7.0.0-next-7.19
- @verdaccio/config@7.0.0-next-7.19
- @verdaccio/auth@7.0.0-next-7.19
- @verdaccio/store@7.0.0-next-7.19
- @verdaccio/core@7.0.0-next-7.19
- @verdaccio/utils@7.0.0-next-7.19
- @verdaccio/logger@7.0.0-next-7.19
## 7.0.0-next-7.18
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@verdaccio/api",
"version": "7.0.0-next-7.18",
"version": "7.0.0-next-7.20",
"description": "loaders logic",
"main": "./build/index.js",
"types": "build/index.d.ts",
@@ -38,13 +38,13 @@
},
"license": "MIT",
"dependencies": {
"@verdaccio/auth": "workspace:7.0.0-next-7.18",
"@verdaccio/config": "workspace:7.0.0-next-7.18",
"@verdaccio/core": "workspace:7.0.0-next-7.18",
"@verdaccio/logger": "workspace:7.0.0-next-7.18",
"@verdaccio/middleware": "workspace:7.0.0-next-7.18",
"@verdaccio/store": "workspace:7.0.0-next-7.18",
"@verdaccio/utils": "workspace:7.0.0-next-7.18",
"@verdaccio/auth": "workspace:7.0.0-next-7.20",
"@verdaccio/config": "workspace:7.0.0-next-7.20",
"@verdaccio/core": "workspace:7.0.0-next-7.20",
"@verdaccio/logger": "workspace:7.0.0-next-7.20",
"@verdaccio/middleware": "workspace:7.0.0-next-7.20",
"@verdaccio/store": "workspace:7.0.0-next-7.20",
"@verdaccio/utils": "workspace:7.0.0-next-7.20",
"abortcontroller-polyfill": "1.7.5",
"body-parser": "1.20.2",
"cookies": "0.9.0",
@@ -52,14 +52,14 @@
"express": "4.19.2",
"lodash": "4.17.21",
"mime": "2.6.0",
"semver": "7.6.2"
"semver": "7.6.3"
},
"devDependencies": {
"@verdaccio/test-helper": "workspace:3.0.0-next-7.2",
"@verdaccio/types": "workspace:12.0.0-next-7.5",
"mockdate": "3.0.5",
"nock": "13.5.1",
"supertest": "6.3.4"
"supertest": "7.0.0"
},
"funding": {
"type": "opencollective",

View File

@@ -37,10 +37,11 @@ export default function (config: Config, auth: Auth, storage: Storage): Router {
app.param('revision', validateName);
app.param('token', validateName);
// these can't be safely put into express url for some reason
// TODO: For some reason? what reason?
// Express route parameter names must be valid JavaScript identifiers, which means
// they cannot start with a hyphen (-) or contain special characters like dots (.)
app.param('_rev', match(/^-rev$/));
app.param('org_couchdb_user', match(/^org\.couchdb\.user:/));
app.use(auth.apiJWTmiddleware());
app.use(express.json({ strict: false, limit: config.max_body_size || '10mb' }));
app.use(antiLoop(config));

View File

@@ -1,5 +1,30 @@
# @verdaccio/auth
## 7.0.0-next-7.20
### Patch Changes
- @verdaccio/core@7.0.0-next-7.20
- @verdaccio/config@7.0.0-next-7.20
- @verdaccio/loaders@7.0.0-next-7.20
- verdaccio-htpasswd@12.0.0-next-7.20
- @verdaccio/utils@7.0.0-next-7.20
- @verdaccio/signature@7.0.0-next-7.5
- @verdaccio/logger@7.0.0-next-7.20
## 7.0.0-next-7.19
### Patch Changes
- Updated dependencies [c31aec8]
- @verdaccio/config@7.0.0-next-7.19
- @verdaccio/loaders@7.0.0-next-7.19
- verdaccio-htpasswd@12.0.0-next-7.19
- @verdaccio/signature@7.0.0-next-7.5
- @verdaccio/core@7.0.0-next-7.19
- @verdaccio/utils@7.0.0-next-7.19
- @verdaccio/logger@7.0.0-next-7.19
## 7.0.0-next-7.18
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@verdaccio/auth",
"version": "7.0.0-next-7.18",
"version": "7.0.0-next-7.20",
"description": "logger",
"main": "./build/index.js",
"types": "./build/index.d.ts",
@@ -38,21 +38,21 @@
},
"license": "MIT",
"dependencies": {
"@verdaccio/core": "workspace:7.0.0-next-7.18",
"@verdaccio/config": "workspace:7.0.0-next-7.18",
"@verdaccio/loaders": "workspace:7.0.0-next-7.18",
"@verdaccio/logger": "workspace:7.0.0-next-7.18",
"@verdaccio/config": "workspace:7.0.0-next-7.20",
"@verdaccio/core": "workspace:7.0.0-next-7.20",
"@verdaccio/loaders": "workspace:7.0.0-next-7.20",
"@verdaccio/logger": "workspace:7.0.0-next-7.20",
"@verdaccio/signature": "workspace:7.0.0-next-7.5",
"@verdaccio/utils": "workspace:7.0.0-next-7.18",
"@verdaccio/utils": "workspace:7.0.0-next-7.20",
"debug": "4.3.4",
"lodash": "4.17.21",
"verdaccio-htpasswd": "workspace:12.0.0-next-7.18"
"verdaccio-htpasswd": "workspace:12.0.0-next-7.20"
},
"devDependencies": {
"@verdaccio/middleware": "workspace:7.0.0-next-7.20",
"@verdaccio/types": "workspace:12.0.0-next-7.5",
"express": "4.19.2",
"supertest": "6.3.4",
"@verdaccio/middleware": "workspace:7.0.0-next-7.18",
"@verdaccio/types": "workspace:12.0.0-next-7.5"
"supertest": "7.0.0"
},
"funding": {
"type": "opencollective",

View File

@@ -1,5 +1,24 @@
# @verdaccio/cli
## 7.0.0-next-7.20
### Patch Changes
- @verdaccio/node-api@7.0.0-next-7.20
- @verdaccio/core@7.0.0-next-7.20
- @verdaccio/config@7.0.0-next-7.20
- @verdaccio/logger@7.0.0-next-7.20
## 7.0.0-next-7.19
### Patch Changes
- Updated dependencies [c31aec8]
- @verdaccio/config@7.0.0-next-7.19
- @verdaccio/node-api@7.0.0-next-7.19
- @verdaccio/core@7.0.0-next-7.19
- @verdaccio/logger@7.0.0-next-7.19
## 7.0.0-next-7.18
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@verdaccio/cli",
"version": "7.0.0-next-7.18",
"version": "7.0.0-next-7.20",
"author": {
"name": "Juan Picado",
"email": "juanpicado19@gmail.com"
@@ -43,14 +43,14 @@
"start": "ts-node src/index.ts"
},
"dependencies": {
"@verdaccio/core": "workspace:7.0.0-next-7.18",
"@verdaccio/config": "workspace:7.0.0-next-7.18",
"@verdaccio/logger": "workspace:7.0.0-next-7.18",
"@verdaccio/node-api": "workspace:7.0.0-next-7.18",
"clipanion": "3.2.1",
"envinfo": "7.11.0",
"@verdaccio/config": "workspace:7.0.0-next-7.20",
"@verdaccio/core": "workspace:7.0.0-next-7.20",
"@verdaccio/logger": "workspace:7.0.0-next-7.20",
"@verdaccio/node-api": "workspace:7.0.0-next-7.20",
"clipanion": "4.0.0-rc.3",
"envinfo": "7.13.0",
"kleur": "4.1.5",
"semver": "7.6.2"
"semver": "7.6.3"
},
"devDependencies": {
"ts-node": "10.9.2"

View File

@@ -1,5 +1,20 @@
# @verdaccio/config
## 7.0.0-next-7.20
### Patch Changes
- @verdaccio/core@7.0.0-next-7.20
- @verdaccio/utils@7.0.0-next-7.20
## 7.0.0-next-7.19
### Patch Changes
- c31aec8: fix: typo in config docs regarding check_owners
- @verdaccio/core@7.0.0-next-7.19
- @verdaccio/utils@7.0.0-next-7.19
## 7.0.0-next-7.18
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@verdaccio/config",
"version": "7.0.0-next-7.18",
"version": "7.0.0-next-7.20",
"description": "logger",
"main": "./build/index.js",
"types": "build/index.d.ts",
@@ -38,17 +38,15 @@
"build": "pnpm run build:js && pnpm run build:types"
},
"dependencies": {
"@verdaccio/core": "workspace:7.0.0-next-7.18",
"@verdaccio/utils": "workspace:7.0.0-next-7.18",
"@verdaccio/core": "workspace:7.0.0-next-7.20",
"@verdaccio/utils": "workspace:7.0.0-next-7.20",
"debug": "4.3.4",
"js-yaml": "4.1.0",
"lodash": "4.17.21",
"minimatch": "7.4.6",
"yup": "0.32.11"
"minimatch": "7.4.6"
},
"devDependencies": {
"@types/minimatch": "5.1.2",
"@types/yup": "0.32.0"
"@types/minimatch": "5.1.2"
},
"funding": {
"type": "opencollective",

View File

@@ -120,7 +120,7 @@ server:
# https://verdaccio.org/docs/configuration#offline-publish
# publish:
# allow_offline: false
# check_owner: false
# check_owners: false
# https://verdaccio.org/docs/configuration#url-prefix
# url_prefix: /verdaccio/
@@ -187,6 +187,7 @@ server:
middlewares:
audit:
enabled: true
# timeout: 10000
# https://verdaccio.org/docs/logger
# log settings

View File

@@ -126,7 +126,7 @@ server:
# https://verdaccio.org/docs/configuration#offline-publish
# publish:
# allow_offline: false
# check_owner: false
# check_owners: false
# https://verdaccio.org/docs/configuration#url-prefix
# url_prefix: /verdaccio/
@@ -193,6 +193,7 @@ server:
middlewares:
audit:
enabled: true
# timeout: 10000
# https://verdaccio.org/docs/logger
# log settings

View File

@@ -1,5 +1,9 @@
# @verdaccio/core
## 7.0.0-next-7.20
## 7.0.0-next-7.19
## 7.0.0-next-7.18
## 7.0.0-next-7.17

View File

@@ -1,6 +1,6 @@
{
"name": "@verdaccio/core",
"version": "7.0.0-next-7.18",
"version": "7.0.0-next-7.20",
"description": "core utilities",
"keywords": [
"private",
@@ -33,18 +33,18 @@
"access": "public"
},
"dependencies": {
"ajv": "8.12.0",
"core-js": "3.35.0",
"http-errors": "2.0.0",
"http-status-codes": "2.3.0",
"semver": "7.6.2",
"ajv": "8.12.0",
"process-warning": "1.0.0",
"core-js": "3.35.0"
"semver": "7.6.3"
},
"devDependencies": {
"@verdaccio/types": "workspace:12.0.0-next-7.5",
"lodash": "4.17.21",
"typedoc": "0.23.25",
"typedoc-plugin-missing-exports": "latest",
"@verdaccio/types": "workspace:12.0.0-next-7.5"
"typedoc-plugin-missing-exports": "latest"
},
"scripts": {
"clean": "rimraf ./build",

View File

@@ -1,5 +1,22 @@
# Change Log
## 12.0.0-next-7.20
### Patch Changes
- Updated dependencies [ccc7bd1]
- @verdaccio/url@12.0.0-next-7.20
- @verdaccio/core@7.0.0-next-7.20
- @verdaccio/utils@7.0.0-next-7.20
## 12.0.0-next-7.19
### Patch Changes
- @verdaccio/core@7.0.0-next-7.19
- @verdaccio/url@12.0.0-next-7.19
- @verdaccio/utils@7.0.0-next-7.19
## 12.0.0-next-7.18
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@verdaccio/tarball",
"version": "12.0.0-next-7.18",
"version": "12.0.0-next-7.20",
"description": "tarball utilities resolver",
"keywords": [
"private",
@@ -33,9 +33,9 @@
"access": "public"
},
"dependencies": {
"@verdaccio/core": "workspace:7.0.0-next-7.18",
"@verdaccio/url": "workspace:12.0.0-next-7.18",
"@verdaccio/utils": "workspace:7.0.0-next-7.18",
"@verdaccio/core": "workspace:7.0.0-next-7.20",
"@verdaccio/url": "workspace:12.0.0-next-7.20",
"@verdaccio/utils": "workspace:7.0.0-next-7.20",
"debug": "4.3.4",
"gunzip-maybe": "^1.4.2",
"lodash": "4.17.21",

View File

@@ -1,5 +1,18 @@
# Change Log
## 12.0.0-next-7.20
### Patch Changes
- ccc7bd1: fix(middleware): link to favicon in template
- @verdaccio/core@7.0.0-next-7.20
## 12.0.0-next-7.19
### Patch Changes
- @verdaccio/core@7.0.0-next-7.19
## 12.0.0-next-7.18
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@verdaccio/url",
"version": "12.0.0-next-7.18",
"version": "12.0.0-next-7.20",
"description": "url utilities resolver",
"keywords": [
"private",
@@ -33,10 +33,10 @@
"access": "public"
},
"dependencies": {
"@verdaccio/core": "workspace:7.0.0-next-7.18",
"@verdaccio/core": "workspace:7.0.0-next-7.20",
"debug": "4.3.4",
"lodash": "4.17.21",
"validator": "13.11.0"
"validator": "13.12.0"
},
"devDependencies": {
"@verdaccio/types": "workspace:12.0.0-next-7.5",

View File

@@ -102,7 +102,7 @@ describe('host', () => {
});
expect(
getPublicUrl(null, {
getPublicUrl(undefined, {
host: req.hostname,
headers: req.headers as any,
protocol: req.protocol,

View File

@@ -1,5 +1,19 @@
# @verdaccio/hooks
## 7.0.0-next-7.20
### Patch Changes
- @verdaccio/core@7.0.0-next-7.20
- @verdaccio/logger@7.0.0-next-7.20
## 7.0.0-next-7.19
### Patch Changes
- @verdaccio/core@7.0.0-next-7.19
- @verdaccio/logger@7.0.0-next-7.19
## 7.0.0-next-7.18
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@verdaccio/hooks",
"version": "7.0.0-next-7.18",
"version": "7.0.0-next-7.20",
"description": "loaders logic",
"main": "./build/index.js",
"types": "build/index.d.ts",
@@ -29,16 +29,16 @@
"node": ">=18"
},
"dependencies": {
"@verdaccio/core": "workspace:7.0.0-next-7.18",
"@verdaccio/logger": "workspace:7.0.0-next-7.18",
"@verdaccio/core": "workspace:7.0.0-next-7.20",
"@verdaccio/logger": "workspace:7.0.0-next-7.20",
"core-js": "3.35.0",
"debug": "4.3.4",
"got-cjs": "12.5.4",
"handlebars": "4.7.8"
},
"devDependencies": {
"@verdaccio/auth": "workspace:7.0.0-next-7.18",
"@verdaccio/config": "workspace:7.0.0-next-7.18",
"@verdaccio/auth": "workspace:7.0.0-next-7.20",
"@verdaccio/config": "workspace:7.0.0-next-7.20",
"@verdaccio/types": "workspace:12.0.0-next-7.5",
"nock": "13.5.1"
},

View File

@@ -1,5 +1,17 @@
# @verdaccio/loaders
## 7.0.0-next-7.20
### Patch Changes
- @verdaccio/logger@7.0.0-next-7.20
## 7.0.0-next-7.19
### Patch Changes
- @verdaccio/logger@7.0.0-next-7.19
## 7.0.0-next-7.18
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@verdaccio/loaders",
"version": "7.0.0-next-7.18",
"version": "7.0.0-next-7.20",
"description": "loaders logic",
"main": "./build/index.js",
"types": "build/index.d.ts",
@@ -13,13 +13,13 @@
"url": "https://github.com/verdaccio/verdaccio"
},
"dependencies": {
"@verdaccio/logger": "workspace:7.0.0-next-7.18",
"@verdaccio/logger": "workspace:7.0.0-next-7.20",
"debug": "4.3.4",
"lodash": "4.17.21"
},
"devDependencies": {
"@verdaccio/core": "workspace:7.0.0-next-7.18",
"@verdaccio/config": "workspace:7.0.0-next-7.18",
"@verdaccio/core": "workspace:7.0.0-next-7.20",
"@verdaccio/config": "workspace:7.0.0-next-7.20",
"@verdaccio/types": "workspace:12.0.0-next-7.5",
"@verdaccio-scope/verdaccio-auth-foo": "0.0.2",
"verdaccio-auth-memory": "workspace:*",

View File

@@ -1,5 +1,17 @@
# @verdaccio/logger-7
## 7.0.0-next-7.20
### Patch Changes
- @verdaccio/logger-commons@7.0.0-next-7.20
## 7.0.0-next-7.19
### Patch Changes
- @verdaccio/logger-commons@7.0.0-next-7.19
## 7.0.0-next-7.18
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@verdaccio/logger-7",
"version": "7.0.0-next-7.18",
"version": "7.0.0-next-7.20",
"description": "logger for verdaccio 5.x version",
"main": "./build/index.js",
"types": "./build/index.d.ts",
@@ -38,7 +38,7 @@
"build": "pnpm run build:js && pnpm run build:types"
},
"dependencies": {
"@verdaccio/logger-commons": "workspace:7.0.0-next-7.18",
"@verdaccio/logger-commons": "workspace:7.0.0-next-7.20",
"pino": "7.11.0"
},
"devDependencies": {

View File

@@ -1,5 +1,17 @@
# @verdaccio/logger-commons
## 7.0.0-next-7.20
### Patch Changes
- @verdaccio/core@7.0.0-next-7.20
## 7.0.0-next-7.19
### Patch Changes
- @verdaccio/core@7.0.0-next-7.19
## 7.0.0-next-7.18
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@verdaccio/logger-commons",
"version": "7.0.0-next-7.18",
"version": "7.0.0-next-7.20",
"description": "logger",
"main": "./build/index.js",
"types": "./build/index.d.ts",
@@ -38,7 +38,7 @@
"build": "pnpm run build:js && pnpm run build:types"
},
"dependencies": {
"@verdaccio/core": "workspace:7.0.0-next-7.18",
"@verdaccio/core": "workspace:7.0.0-next-7.20",
"@verdaccio/logger-prettify": "workspace:7.0.0-next-7.3",
"debug": "4.3.4",
"colorette": "2.0.20"

View File

@@ -1,5 +1,17 @@
# @verdaccio/logger
## 7.0.0-next-7.20
### Patch Changes
- @verdaccio/logger-commons@7.0.0-next-7.20
## 7.0.0-next-7.19
### Patch Changes
- @verdaccio/logger-commons@7.0.0-next-7.19
## 7.0.0-next-7.18
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@verdaccio/logger",
"version": "7.0.0-next-7.18",
"version": "7.0.0-next-7.20",
"description": "logger",
"main": "./build/index.js",
"types": "./build/index.d.ts",
@@ -38,7 +38,7 @@
"build": "pnpm run build:js && pnpm run build:types"
},
"dependencies": {
"@verdaccio/logger-commons": "workspace:7.0.0-next-7.18",
"@verdaccio/logger-commons": "workspace:7.0.0-next-7.20",
"pino": "8.17.2"
},
"devDependencies": {

View File

@@ -1,5 +1,28 @@
# @verdaccio/middleware
## 7.0.0-next-7.20
### Patch Changes
- ccc7bd1: fix(middleware): link to favicon in template
- Updated dependencies [ccc7bd1]
- @verdaccio/url@12.0.0-next-7.20
- @verdaccio/core@7.0.0-next-7.20
- @verdaccio/config@7.0.0-next-7.20
- @verdaccio/utils@7.0.0-next-7.20
## 7.0.0-next-7.19
### Patch Changes
- 2a6ee33: fix(middleware): custom favicon
- 6c5f7a4: fix(middleware): link to favicon in template
- Updated dependencies [c31aec8]
- @verdaccio/config@7.0.0-next-7.19
- @verdaccio/core@7.0.0-next-7.19
- @verdaccio/url@12.0.0-next-7.19
- @verdaccio/utils@7.0.0-next-7.19
## 7.0.0-next-7.18
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@verdaccio/middleware",
"version": "7.0.0-next-7.18",
"version": "7.0.0-next-7.20",
"description": "express middleware utils",
"main": "./build/index.js",
"types": "build/index.d.ts",
@@ -35,27 +35,28 @@
"build:js": "babel src/ --out-dir build/ --copy-files --extensions \".ts,.tsx\" --source-maps",
"watch": "pnpm build:js -- --watch",
"test": "jest",
"test:snap": "jest --updateSnapshot",
"build": "pnpm run build:js && pnpm run build:types"
},
"dependencies": {
"@verdaccio/core": "workspace:7.0.0-next-7.18",
"@verdaccio/utils": "workspace:7.0.0-next-7.18",
"@verdaccio/config": "workspace:7.0.0-next-7.18",
"@verdaccio/url": "workspace:12.0.0-next-7.18",
"@verdaccio/config": "workspace:7.0.0-next-7.20",
"@verdaccio/core": "workspace:7.0.0-next-7.20",
"@verdaccio/url": "workspace:12.0.0-next-7.20",
"@verdaccio/utils": "workspace:7.0.0-next-7.20",
"debug": "4.3.4",
"lru-cache": "7.18.3",
"express": "4.19.2",
"express-rate-limit": "5.5.1",
"lodash": "4.17.21",
"mime": "2.6.0",
"express-rate-limit": "5.5.1"
"lru-cache": "7.18.3",
"mime": "2.6.0"
},
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/verdaccio"
},
"devDependencies": {
"@verdaccio/logger": "workspace:7.0.0-next-7.18",
"@verdaccio/logger": "workspace:7.0.0-next-7.20",
"body-parser": "1.20.2",
"supertest": "6.3.4"
"supertest": "7.0.0"
}
}

View File

@@ -37,7 +37,15 @@ export function renderWebMiddleware(config, tokenMiddleware, pluginOptions) {
// any match within the static is routed to the file system
router.get('/-/static/*', function (req, res, next) {
const filename = req.params[0];
const file = `${staticPath}/${filename}`;
let file = `${staticPath}/${filename}`;
if (filename === 'favicon.ico' && config?.web?.favicon) {
file = config?.web?.favicon;
if (isURLhasValidProtocol(file)) {
debug('redirect to favicon %s', file);
req.url = file;
return next();
}
}
debug('render static file %o', file);
res.sendFile(file, sendFileCallback(next));
});

View File

@@ -16,8 +16,16 @@ export function getManifestValue(
): string[] {
return manifestItems?.map((item) => {
debug('resolve item %o', item);
const resolvedItem = `${basePath}${manifest[item]}`;
const resolvedItem = `${stripTrailingSlash(basePath)}/${stripLeadingSlash(manifest[item])}`;
debug('resolved item %o', resolvedItem);
return resolvedItem;
});
}
function stripTrailingSlash(path: string): string {
return path.replace(/\/$/, '');
}
function stripLeadingSlash(path: string): string {
return path.replace(/^\//, '');
}

View File

@@ -65,6 +65,7 @@ export default function renderHTML(
const title = config?.web?.title ?? WEB_TITLE;
const login = hasLogin(config);
const scope = config?.web?.scope ?? '';
const favicon = resolveLogo(config?.web?.favicon, config?.url_prefix, requestOptions);
const logo = resolveLogo(config?.web?.logo, config?.url_prefix, requestOptions);
const logoDark = resolveLogo(config?.web?.logoDark, config?.url_prefix, requestOptions);
const pkgManagers = config?.web?.pkgManagers ?? ['yarn', 'pnpm', 'npm'];
@@ -114,6 +115,7 @@ export default function renderHTML(
version,
logo,
logoDark,
favicon,
flags,
login,
pkgManagers,

View File

@@ -25,24 +25,24 @@ export default function renderTemplate(template: Template, manifest: WebpackMani
return `
<!DOCTYPE html>
<html lang="en-us">
<html lang="en-us">
<head>
<meta charset="utf-8">
<base href="${template?.options.base}">
<title>${template?.options?.title ?? ''}</title>
<title>${template?.options?.title ?? ''}</title>
<link rel="icon" href="${template?.options.base}-/static/favicon.ico"/>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<script>
window.__VERDACCIO_BASENAME_UI_OPTIONS=${JSON.stringify(template.options)}
</script>
${template?.metaScripts ? template.metaScripts.join('') : ''}
</head>
</head>
<body class="body">
${template?.scriptsbodyBefore ? template.scriptsbodyBefore.join('') : ''}
${template?.scriptsbodyBefore ? template.scriptsbodyBefore.join('') : ''}
<div id="root"></div>
${getManifestValue(template.manifest.js, manifest, template?.options.base)
.map((item) => `<script defer="defer" src="${item}"></script>`)
.join('')}
.join(`\n `)}
${template?.scriptsBodyAfter ? template.scriptsBodyAfter.join('') : ''}
</body>
</html>

View File

@@ -3,22 +3,23 @@
exports[`template custom body after 1`] = `
"
<!DOCTYPE html>
<html lang="en-us">
<html lang="en-us">
<head>
<meta charset="utf-8">
<base href="http://domain.com">
<title></title>
<link rel="icon" href="http://domain.com-/static/favicon.ico"/>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<base href="http://domain.com/">
<title></title>
<link rel="icon" href="http://domain.com/-/static/favicon.ico"/>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<script>
window.__VERDACCIO_BASENAME_UI_OPTIONS={"base":"http://domain.com"}
window.__VERDACCIO_BASENAME_UI_OPTIONS={"base":"http://domain.com/"}
</script>
</head>
</head>
<body class="body">
<div id="root"></div>
<script defer="defer" src="http://domain.com/-/static/runtime.6126058572f989c948b1.js"></script><script defer="defer" src="http://domain.com/-/static/main.6126058572f989c948b1.js"></script>
<script defer="defer" src="http://domain.com/-/static/runtime.6126058572f989c948b1.js"></script>
<script defer="defer" src="http://domain.com/-/static/main.6126058572f989c948b1.js"></script>
<script src="foo"/>
</body>
</html>
@@ -28,22 +29,23 @@ exports[`template custom body after 1`] = `
exports[`template custom body before 1`] = `
"
<!DOCTYPE html>
<html lang="en-us">
<html lang="en-us">
<head>
<meta charset="utf-8">
<base href="http://domain.com">
<title></title>
<link rel="icon" href="http://domain.com-/static/favicon.ico"/>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<base href="http://domain.com/">
<title></title>
<link rel="icon" href="http://domain.com/-/static/favicon.ico"/>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<script>
window.__VERDACCIO_BASENAME_UI_OPTIONS={"base":"http://domain.com"}
window.__VERDACCIO_BASENAME_UI_OPTIONS={"base":"http://domain.com/"}
</script>
</head>
</head>
<body class="body">
<script src="fooBefore"/><script src="barBefore"/>
<script src="fooBefore"/><script src="barBefore"/>
<div id="root"></div>
<script defer="defer" src="http://domain.com/-/static/runtime.6126058572f989c948b1.js"></script><script defer="defer" src="http://domain.com/-/static/main.6126058572f989c948b1.js"></script>
<script defer="defer" src="http://domain.com/-/static/runtime.6126058572f989c948b1.js"></script>
<script defer="defer" src="http://domain.com/-/static/main.6126058572f989c948b1.js"></script>
</body>
</html>
@@ -53,22 +55,23 @@ exports[`template custom body before 1`] = `
exports[`template custom render 1`] = `
"
<!DOCTYPE html>
<html lang="en-us">
<html lang="en-us">
<head>
<meta charset="utf-8">
<base href="http://domain.com">
<title></title>
<link rel="icon" href="http://domain.com-/static/favicon.ico"/>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<base href="http://domain.com/">
<title></title>
<link rel="icon" href="http://domain.com/-/static/favicon.ico"/>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<script>
window.__VERDACCIO_BASENAME_UI_OPTIONS={"base":"http://domain.com"}
window.__VERDACCIO_BASENAME_UI_OPTIONS={"base":"http://domain.com/"}
</script>
</head>
</head>
<body class="body">
<div id="root"></div>
<script defer="defer" src="http://domain.com/-/static/runtime.6126058572f989c948b1.js"></script><script defer="defer" src="http://domain.com/-/static/main.6126058572f989c948b1.js"></script>
<script defer="defer" src="http://domain.com/-/static/runtime.6126058572f989c948b1.js"></script>
<script defer="defer" src="http://domain.com/-/static/main.6126058572f989c948b1.js"></script>
</body>
</html>
@@ -78,47 +81,23 @@ exports[`template custom render 1`] = `
exports[`template custom title 1`] = `
"
<!DOCTYPE html>
<html lang="en-us">
<html lang="en-us">
<head>
<meta charset="utf-8">
<base href="http://domain.com">
<title>foo title</title>
<link rel="icon" href="http://domain.com-/static/favicon.ico"/>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<base href="http://domain.com/">
<title>foo title</title>
<link rel="icon" href="http://domain.com/-/static/favicon.ico"/>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<script>
window.__VERDACCIO_BASENAME_UI_OPTIONS={"base":"http://domain.com","title":"foo title"}
window.__VERDACCIO_BASENAME_UI_OPTIONS={"base":"http://domain.com/","title":"foo title"}
</script>
</head>
</head>
<body class="body">
<div id="root"></div>
<script defer="defer" src="http://domain.com/-/static/runtime.6126058572f989c948b1.js"></script><script defer="defer" src="http://domain.com/-/static/main.6126058572f989c948b1.js"></script>
</body>
</html>
"
`;
exports[`template custom title 2`] = `
"
<!DOCTYPE html>
<html lang="en-us">
<head>
<meta charset="utf-8">
<base href="http://domain.com">
<title>foo title</title>
<link rel="icon" href="http://domain.com-/static/favicon.ico"/>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<script>
window.__VERDACCIO_BASENAME_UI_OPTIONS={"base":"http://domain.com","title":"foo title"}
</script>
</head>
<body class="body">
<div id="root"></div>
<script defer="defer" src="http://domain.com/-/static/runtime.6126058572f989c948b1.js"></script><script defer="defer" src="http://domain.com/-/static/main.6126058572f989c948b1.js"></script>
<script defer="defer" src="http://domain.com/-/static/runtime.6126058572f989c948b1.js"></script>
<script defer="defer" src="http://domain.com/-/static/main.6126058572f989c948b1.js"></script>
</body>
</html>
@@ -128,22 +107,23 @@ exports[`template custom title 2`] = `
exports[`template meta scripts 1`] = `
"
<!DOCTYPE html>
<html lang="en-us">
<html lang="en-us">
<head>
<meta charset="utf-8">
<base href="http://domain.com">
<title></title>
<link rel="icon" href="http://domain.com-/static/favicon.ico"/>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<base href="http://domain.com/">
<title></title>
<link rel="icon" href="http://domain.com/-/static/favicon.ico"/>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<script>
window.__VERDACCIO_BASENAME_UI_OPTIONS={"base":"http://domain.com"}
window.__VERDACCIO_BASENAME_UI_OPTIONS={"base":"http://domain.com/"}
</script>
<style>.someclass{font-size:10px;}</style>
</head>
</head>
<body class="body">
<div id="root"></div>
<script defer="defer" src="http://domain.com/-/static/runtime.6126058572f989c948b1.js"></script><script defer="defer" src="http://domain.com/-/static/main.6126058572f989c948b1.js"></script>
<script defer="defer" src="http://domain.com/-/static/runtime.6126058572f989c948b1.js"></script>
<script defer="defer" src="http://domain.com/-/static/main.6126058572f989c948b1.js"></script>
</body>
</html>

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

View File

@@ -15,6 +15,7 @@ web:
primary_color: '#ffffff'
logo: './test/config/dark-logo.png'
logoDark: './test/config/dark-logo.png'
favicon: './test/config/favicon.ico'
html_cache: false
url_prefix: /prefix

View File

@@ -0,0 +1,26 @@
web:
title: verdaccio web
login: true
scope: '@scope'
pkgManagers:
- pnpm
- yarn
showInfo: true
showSettings: true
showSearch: true
showFooter: true
showThemeSwitch: true
showDownloadTarball: true
showRaw: true
primary_color: '#ffffff'
logo: https://raw.githubusercontent.com/verdaccio/verdaccio/master/assets/svg/logo-small.svg
logoDark: https://raw.githubusercontent.com/verdaccio/verdaccio/master/assets/svg/logo-blackwhite.svg
favicon: https://raw.githubusercontent.com/verdaccio/verdaccio/master/website/static/img/favicon/favicon.ico
html_cache: false
url_prefix: /prefix
log: { type: stdout, format: pretty, level: trace }
flags:
changePassword: true

View File

@@ -14,6 +14,7 @@ web:
showRaw: true
primary_color: '#ffffff'
logo:
favicon:
html_cache: false
url_prefix: /prefix

View File

@@ -8,4 +8,16 @@ describe('manifest', () => {
'/-/static/main.6126058572f989c948b1.js',
]);
});
test('getManifestValue with base', () => {
expect(getManifestValue(['favicon.ico'], manifest, 'http://domain.com')).toEqual([
'http://domain.com/-/static/favicon.ico',
]);
});
test('getManifestValue with base with trailing slash', () => {
expect(getManifestValue(['favicon.ico'], manifest, 'http://domain.com/')).toEqual([
'http://domain.com/-/static/favicon.ico',
]);
});
});

View File

@@ -86,6 +86,21 @@ describe('test web server', () => {
expect(__VERDACCIO_BASENAME_UI_OPTIONS.logoDark).toMatch('/prefix/-/static/dark-logo.png');
});
test('should render favicon as file', async () => {
const {
window: { __VERDACCIO_BASENAME_UI_OPTIONS },
} = await render('file-logo.yaml');
expect(__VERDACCIO_BASENAME_UI_OPTIONS.favicon).toMatch('/prefix/-/static/favicon.ico');
});
test('should render logo and favicon as URL', async () => {
const {
window: { __VERDACCIO_BASENAME_UI_OPTIONS },
} = await render('http-logo.yaml');
expect(__VERDACCIO_BASENAME_UI_OPTIONS.logo).toMatch(/https:.*logo-small.svg/i);
expect(__VERDACCIO_BASENAME_UI_OPTIONS.favicon).toMatch(/https:.*favicon.ico/i);
});
test('should not render logo as absolute file is wrong', async () => {
const {
window: { __VERDACCIO_BASENAME_UI_OPTIONS },
@@ -98,6 +113,7 @@ describe('test web server', () => {
window: { __VERDACCIO_BASENAME_UI_OPTIONS },
} = await render('no-logo.yaml');
expect(__VERDACCIO_BASENAME_UI_OPTIONS.logo).toEqual('');
expect(__VERDACCIO_BASENAME_UI_OPTIONS.favicon).toEqual('');
});
test.todo('should default title');

View File

@@ -2,32 +2,27 @@ import template from '../src/middlewares/web/utils/template';
const manifest = require('./partials/manifest/manifest.json');
// manifest expected to have leading slash
// see packages\middleware\test\partials\manifest\manifest.json
const exampleManifest = {
css: ['main.css'],
js: ['runtime.js', 'main.js'],
ico: '/static/foo.ico',
ico: 'favicon.ico',
};
// "base" is expected to be result of getPublicUrl
// i.e. it must be valid URL with trailing slash
describe('template', () => {
test('custom render', () => {
expect(
template({ options: { base: 'http://domain.com' }, manifest: exampleManifest }, manifest)
template({ options: { base: 'http://domain.com/' }, manifest: exampleManifest }, manifest)
).toMatchSnapshot();
});
test('custom title', () => {
expect(
template(
{ options: { base: 'http://domain.com', title: 'foo title' }, manifest: exampleManifest },
manifest
)
).toMatchSnapshot();
});
test('custom title', () => {
expect(
template(
{ options: { base: 'http://domain.com', title: 'foo title' }, manifest: exampleManifest },
{ options: { base: 'http://domain.com/', title: 'foo title' }, manifest: exampleManifest },
manifest
)
).toMatchSnapshot();
@@ -37,7 +32,7 @@ describe('template', () => {
expect(
template(
{
options: { base: 'http://domain.com' },
options: { base: 'http://domain.com/' },
metaScripts: [`<style>.someclass{font-size:10px;}</style>`],
manifest: exampleManifest,
},
@@ -50,7 +45,7 @@ describe('template', () => {
expect(
template(
{
options: { base: 'http://domain.com' },
options: { base: 'http://domain.com/' },
scriptsBodyAfter: [`<script src="foo"/>`],
manifest: exampleManifest,
},
@@ -63,7 +58,7 @@ describe('template', () => {
expect(
template(
{
options: { base: 'http://domain.com' },
options: { base: 'http://domain.com/' },
scriptsbodyBefore: [`<script src="fooBefore"/>`, `<script src="barBefore"/>`],
manifest: exampleManifest,
},

View File

@@ -1,5 +1,26 @@
# @verdaccio/node-api
## 7.0.0-next-7.20
### Patch Changes
- @verdaccio/server@7.0.0-next-7.20
- @verdaccio/server-fastify@7.0.0-next-7.20
- @verdaccio/core@7.0.0-next-7.20
- @verdaccio/config@7.0.0-next-7.20
- @verdaccio/logger@7.0.0-next-7.20
## 7.0.0-next-7.19
### Patch Changes
- Updated dependencies [c31aec8]
- @verdaccio/config@7.0.0-next-7.19
- @verdaccio/server@7.0.0-next-7.19
- @verdaccio/server-fastify@7.0.0-next-7.19
- @verdaccio/core@7.0.0-next-7.19
- @verdaccio/logger@7.0.0-next-7.19
## 7.0.0-next-7.18
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@verdaccio/node-api",
"version": "7.0.0-next-7.18",
"version": "7.0.0-next-7.20",
"description": "node API",
"main": "build/index.js",
"types": "build/index.d.ts",
@@ -38,11 +38,11 @@
},
"license": "MIT",
"dependencies": {
"@verdaccio/config": "workspace:7.0.0-next-7.18",
"@verdaccio/core": "workspace:7.0.0-next-7.18",
"@verdaccio/logger": "workspace:7.0.0-next-7.18",
"@verdaccio/server": "workspace:7.0.0-next-7.18",
"@verdaccio/server-fastify": "workspace:7.0.0-next-7.18",
"@verdaccio/config": "workspace:7.0.0-next-7.20",
"@verdaccio/core": "workspace:7.0.0-next-7.20",
"@verdaccio/logger": "workspace:7.0.0-next-7.20",
"@verdaccio/server": "workspace:7.0.0-next-7.20",
"@verdaccio/server-fastify": "workspace:7.0.0-next-7.20",
"core-js": "3.35.0",
"debug": "4.3.4",
"lodash": "4.17.21"
@@ -51,7 +51,7 @@
"@verdaccio/types": "workspace:12.0.0-next-7.5",
"jest": "29.7.0",
"selfsigned": "2.4.1",
"supertest": "6.3.4"
"supertest": "7.0.0"
},
"publishConfig": {
"access": "public"

View File

@@ -1,5 +1,24 @@
# Change Log
## 12.0.0-next-7.20
### Patch Changes
- @verdaccio/core@7.0.0-next-7.20
- @verdaccio/config@7.0.0-next-7.20
## 12.0.0-next-7.19
### Minor Changes
- 136e992: feat: verdaccio-audit support timeout option
### Patch Changes
- Updated dependencies [c31aec8]
- @verdaccio/config@7.0.0-next-7.19
- @verdaccio/core@7.0.0-next-7.19
## 12.0.0-next-7.18
### Patch Changes

View File

@@ -26,6 +26,7 @@ middlewares:
audit:
enabled: true
strict_ssl: true # optional, defaults to true
timeout: 1000
```
### Strict SSL

View File

@@ -1,6 +1,6 @@
{
"name": "verdaccio-audit",
"version": "12.0.0-next-7.18",
"version": "12.0.0-next-7.20",
"description": "Verdaccio Middleware plugin to bypass npmjs audit",
"keywords": [
"private",
@@ -30,18 +30,18 @@
"node": ">=12"
},
"dependencies": {
"@verdaccio/config": "workspace:7.0.0-next-7.18",
"@verdaccio/core": "workspace:7.0.0-next-7.18",
"@verdaccio/config": "workspace:7.0.0-next-7.20",
"@verdaccio/core": "workspace:7.0.0-next-7.20",
"express": "4.19.2",
"https-proxy-agent": "5.0.1",
"node-fetch": "cjs"
},
"devDependencies": {
"@verdaccio/auth": "workspace:7.0.0-next-7.18",
"@verdaccio/logger": "workspace:7.0.0-next-7.18",
"@verdaccio/auth": "workspace:7.0.0-next-7.20",
"@verdaccio/logger": "workspace:7.0.0-next-7.20",
"@verdaccio/types": "workspace:12.0.0-next-7.5",
"nock": "13.5.1",
"supertest": "6.3.4"
"supertest": "7.0.0"
},
"scripts": {
"clean": "rimraf ./build",

View File

@@ -19,11 +19,13 @@ export default class ProxyAudit
public enabled: boolean;
public logger: Logger;
public strict_ssl: boolean;
public timeout: number;
public constructor(config: ConfigAudit, options: pluginUtils.PluginOptions) {
super(config, options);
this.enabled = config.enabled || false;
this.strict_ssl = config.strict_ssl !== undefined ? config.strict_ssl : true;
this.timeout = config.timeout ?? 1000 * 60 * 1;
this.logger = options.logger;
}
@@ -57,7 +59,17 @@ export default class ProxyAudit
const auditEndpoint = `${REGISTRY_DOMAIN}${req.baseUrl}${req.route.path}`;
this.logger.debug('fetching audit from ' + auditEndpoint);
const response = await fetch(auditEndpoint, requestOptions);
const controller = new AbortController();
setTimeout(
() => controller.abort(`Fetch ${auditEndpoint} timeout ${this.timeout}ms`),
this.timeout
);
const response = await fetch(auditEndpoint, {
...requestOptions,
signal: controller.signal,
});
if (response.ok) {
res.status(response.status).send(await response.json());

View File

@@ -2,4 +2,5 @@ export interface ConfigAudit {
enabled: boolean;
max_body?: string;
strict_ssl?: boolean;
timeout?: number;
}

View File

@@ -1,5 +1,17 @@
# Change Log
## 12.0.0-next-7.20
### Patch Changes
- @verdaccio/core@7.0.0-next-7.20
## 12.0.0-next-7.19
### Patch Changes
- @verdaccio/core@7.0.0-next-7.19
## 12.0.0-next-7.18
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "verdaccio-auth-memory",
"version": "12.0.0-next-7.18",
"version": "12.0.0-next-7.20",
"description": "Auth plugin for Verdaccio that keeps users in memory",
"keywords": [
"private",
@@ -30,12 +30,12 @@
"node": ">=18"
},
"dependencies": {
"@verdaccio/core": "workspace:7.0.0-next-7.18",
"@verdaccio/core": "workspace:7.0.0-next-7.20",
"debug": "4.3.4"
},
"devDependencies": {
"@types/debug": "^4.1.12",
"@verdaccio/config": "workspace:7.0.0-next-7.18",
"@verdaccio/config": "workspace:7.0.0-next-7.20",
"@verdaccio/types": "workspace:12.0.0-next-7.5"
},
"scripts": {

View File

@@ -1,5 +1,17 @@
# Change Log
## 12.0.0-next-7.20
### Patch Changes
- @verdaccio/core@7.0.0-next-7.20
## 12.0.0-next-7.19
### Patch Changes
- @verdaccio/core@7.0.0-next-7.19
## 12.0.0-next-7.18
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "verdaccio-htpasswd",
"version": "12.0.0-next-7.18",
"version": "12.0.0-next-7.20",
"description": "htpasswd auth plugin for Verdaccio",
"keywords": [
"private",
@@ -33,7 +33,7 @@
"node": ">=12"
},
"dependencies": {
"@verdaccio/core": "workspace:7.0.0-next-7.18",
"@verdaccio/core": "workspace:7.0.0-next-7.20",
"@verdaccio/file-locking": "workspace:12.0.0-next.1",
"apache-md5": "1.1.8",
"bcryptjs": "2.4.3",
@@ -45,8 +45,8 @@
"devDependencies": {
"@types/bcryptjs": "2.4.6",
"@verdaccio/types": "workspace:12.0.0-next-7.5",
"@verdaccio/config": "workspace:7.0.0-next-7.18",
"@verdaccio/logger": "workspace:7.0.0-next-7.18",
"@verdaccio/config": "workspace:7.0.0-next-7.20",
"@verdaccio/logger": "workspace:7.0.0-next-7.20",
"mockdate": "3.0.5"
},
"scripts": {

View File

@@ -1,5 +1,19 @@
# Change Log
## 12.0.0-next-7.20
### Patch Changes
- @verdaccio/core@7.0.0-next-7.20
- @verdaccio/utils@7.0.0-next-7.20
## 12.0.0-next-7.19
### Patch Changes
- @verdaccio/core@7.0.0-next-7.19
- @verdaccio/utils@7.0.0-next-7.19
## 12.0.0-next-7.18
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@verdaccio/local-storage",
"version": "12.0.0-next-7.18",
"version": "12.0.0-next-7.20",
"description": "Local storage implementation",
"keywords": [
"private",
@@ -36,9 +36,9 @@
"node": ">=18"
},
"dependencies": {
"@verdaccio/core": "workspace:7.0.0-next-7.18",
"@verdaccio/core": "workspace:7.0.0-next-7.20",
"@verdaccio/file-locking": "workspace:12.0.0-next.1",
"@verdaccio/utils": "workspace:7.0.0-next-7.18",
"@verdaccio/utils": "workspace:7.0.0-next-7.20",
"core-js": "3.35.0",
"debug": "4.3.4",
"globby": "11.1.0",
@@ -50,8 +50,8 @@
},
"devDependencies": {
"@types/minimatch": "5.1.2",
"@verdaccio/config": "workspace:7.0.0-next-7.18",
"@verdaccio/logger": "workspace:7.0.0-next-7.18",
"@verdaccio/config": "workspace:7.0.0-next-7.20",
"@verdaccio/logger": "workspace:7.0.0-next-7.20",
"@verdaccio/test-helper": "workspace:3.0.0-next-7.2",
"@verdaccio/types": "workspace:12.0.0-next-7.5",
"minimatch": "9.0.4"

View File

@@ -1,5 +1,17 @@
# Change Log
## 12.0.0-next-7.20
### Patch Changes
- @verdaccio/core@7.0.0-next-7.20
## 12.0.0-next-7.19
### Patch Changes
- @verdaccio/core@7.0.0-next-7.19
## 12.0.0-next-7.18
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "verdaccio-memory",
"version": "12.0.0-next-7.18",
"version": "12.0.0-next-7.20",
"description": "Storage implementation in memory",
"keywords": [
"private",
@@ -30,15 +30,15 @@
"node": ">=18"
},
"dependencies": {
"@verdaccio/core": "workspace:7.0.0-next-7.18",
"@verdaccio/core": "workspace:7.0.0-next-7.20",
"memory-fs": "0.5.0",
"debug": "4.3.4",
"memfs": "3.5.3"
},
"devDependencies": {
"@verdaccio/types": "workspace:12.0.0-next-7.5",
"@verdaccio/config": "workspace:7.0.0-next-7.18",
"@verdaccio/logger": "workspace:7.0.0-next-7.18"
"@verdaccio/config": "workspace:7.0.0-next-7.20",
"@verdaccio/logger": "workspace:7.0.0-next-7.20"
},
"scripts": {
"clean": "rimraf ./build",

View File

@@ -1,5 +1,13 @@
# @verdaccio/ui-theme
## 7.0.0-next-7.20
## 7.0.0-next-7.19
### Patch Changes
- 5a77414: chore: fix type for country flags
## 7.0.0-next-7.18
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@verdaccio/ui-theme",
"version": "7.0.0-next-7.18",
"version": "7.0.0-next-7.20",
"description": "Verdaccio User Interface",
"author": {
"name": "Verdaccio Contributors",
@@ -18,27 +18,27 @@
"@emotion/jest": "11.11.0",
"@emotion/react": "11.10.6",
"@emotion/styled": "11.10.6",
"@mui/icons-material": "5.15.6",
"@mui/material": "5.15.6",
"@mui/styles": "5.15.6",
"@mui/icons-material": "5.16.5",
"@mui/material": "5.16.5",
"@mui/styles": "5.16.5",
"@rematch/core": "2.2.0",
"@rematch/loading": "2.1.2",
"@rematch/persist": "2.1.2",
"@testing-library/dom": "9.3.4",
"@testing-library/jest-dom": "6.3.0",
"@testing-library/react": "14.1.2",
"@verdaccio/node-api": "workspace:7.0.0-next-7.18",
"@testing-library/dom": "10.4.0",
"@testing-library/jest-dom": "6.4.8",
"@testing-library/react": "16.0.0",
"@verdaccio/node-api": "workspace:7.0.0-next-7.20",
"@verdaccio/types": "workspace:*",
"@verdaccio/ui-components": "workspace:3.0.0-next-7.8",
"@verdaccio/ui-components": "workspace:3.0.0-next-7.9",
"babel-loader": "8.3.0",
"babel-plugin-dynamic-import-node": "2.3.3",
"country-flag-icons": "1.5.9",
"country-flag-icons": "1.5.13",
"css-loader": "6.9.1",
"dayjs": "1.11.10",
"dompurify": "3.0.8",
"dompurify": "3.1.6",
"friendly-errors-webpack-plugin": "1.7.0",
"harmony-reflect": "1.6.2",
"highlight.js": "11.9.0",
"highlight.js": "11.10.0",
"history": "4.10.1",
"html-webpack-plugin": "5.6.0",
"i18next": "20.6.1",
@@ -79,9 +79,9 @@
"supertest": "6.3.4",
"terser-webpack-plugin": "5.3.10",
"url-loader": "4.1.1",
"validator": "13.11.0",
"webpack": "5.90.0",
"webpack-bundle-analyzer": "4.10.1",
"validator": "13.12.0",
"webpack": "5.93.0",
"webpack-bundle-analyzer": "4.10.2",
"webpack-bundle-size-analyzer": "3.1.0",
"webpack-cli": "^4.10.0",
"webpack-dev-server": "3.11.3",

View File

@@ -19,6 +19,10 @@
"username": "priscilawebdev",
"id": 29228205
},
{
"username": "mbtools",
"id": 59966492
},
{
"username": "griffithtp",
"id": 20119184
@@ -31,10 +35,6 @@
"username": "030",
"id": 7524528
},
{
"username": "mbtools",
"id": 59966492
},
{
"username": "dianmorales",
"id": 558740
@@ -363,6 +363,10 @@
"username": "plitex",
"id": 2946823
},
{
"username": "somethingSTRANGE",
"id": 6905832
},
{
"username": "varijkapil13",
"id": 8291077
@@ -1083,6 +1087,10 @@
"username": "LekoArts",
"id": 16143594
},
{
"username": "caoxiemeihao",
"id": 26263658
},
{
"username": "mavimo",
"id": 43941
@@ -1107,10 +1115,6 @@
"username": "0815fox",
"id": 8955528
},
{
"username": "somethingSTRANGE",
"id": 6905832
},
{
"username": "morlay",
"id": 1667873

View File

@@ -181,7 +181,9 @@
},
"flag": {
"austria": "Austria",
"australia": "Australia",
"brazil": "Brazil",
"canada": "Canada",
"spain": "Spain",
"nicaragua": "Nicaragua",
"india": "India",

View File

@@ -1,12 +1,11 @@
import Flags from 'country-flag-icons/react/3x2';
import React from 'react';
export const DEFAULT_LANGUAGE = 'en-US';
export type LanguageConfiguration = {
lng: string;
menuKey: string;
icon: React.ReactElement;
icon: Flags.FlagComponent;
};
export const listLanguages: LanguageConfiguration[] = [

View File

@@ -1,5 +1,22 @@
# @verdaccio/proxy
## 7.0.0-next-7.20
### Patch Changes
- @verdaccio/core@7.0.0-next-7.20
- @verdaccio/config@7.0.0-next-7.20
- @verdaccio/utils@7.0.0-next-7.20
## 7.0.0-next-7.19
### Patch Changes
- Updated dependencies [c31aec8]
- @verdaccio/config@7.0.0-next-7.19
- @verdaccio/core@7.0.0-next-7.19
- @verdaccio/utils@7.0.0-next-7.19
## 7.0.0-next-7.18
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@verdaccio/proxy",
"version": "7.0.0-next-7.18",
"version": "7.0.0-next-7.20",
"description": "verdaccio proxy fetcher",
"main": "./build/index.js",
"types": "build/index.d.ts",
@@ -38,9 +38,9 @@
"build": "pnpm run build:js && pnpm run build:types"
},
"dependencies": {
"@verdaccio/config": "workspace:7.0.0-next-7.18",
"@verdaccio/core": "workspace:7.0.0-next-7.18",
"@verdaccio/utils": "workspace:7.0.0-next-7.18",
"@verdaccio/config": "workspace:7.0.0-next-7.20",
"@verdaccio/core": "workspace:7.0.0-next-7.20",
"@verdaccio/utils": "workspace:7.0.0-next-7.20",
"JSONStream": "1.3.5",
"debug": "4.3.4",
"got-cjs": "12.5.4",
@@ -48,13 +48,13 @@
"lodash": "4.17.21"
},
"devDependencies": {
"@verdaccio/logger": "workspace:7.0.0-next-7.18",
"@verdaccio/logger": "workspace:7.0.0-next-7.20",
"@verdaccio/types": "workspace:12.0.0-next-7.5",
"get-stream": "^6.0.1",
"nock": "13.5.1",
"node-mocks-http": "1.14.1",
"p-cancelable": "2.1.1",
"semver": "7.6.2"
"semver": "7.6.3"
},
"funding": {
"type": "opencollective",

View File

@@ -1,5 +1,24 @@
# @verdaccio/search
## 7.0.0-next-7.9
### Patch Changes
- @verdaccio/core@7.0.0-next-7.20
- @verdaccio/config@7.0.0-next-7.20
- @verdaccio/proxy@7.0.0-next-7.20
- @verdaccio/logger@7.0.0-next-7.20
## 7.0.0-next-7.8
### Patch Changes
- Updated dependencies [c31aec8]
- @verdaccio/config@7.0.0-next-7.19
- @verdaccio/proxy@7.0.0-next-7.19
- @verdaccio/core@7.0.0-next-7.19
- @verdaccio/logger@7.0.0-next-7.19
## 7.0.0-next-7.7
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@verdaccio/search",
"version": "7.0.0-next-7.7",
"version": "7.0.0-next-7.9",
"description": "verdaccio search proxy",
"main": "./build/index.js",
"types": "build/index.d.ts",
@@ -40,10 +40,10 @@
"dependencies": {
"debug": "4.3.4",
"lodash": "4.17.21",
"@verdaccio/config": "workspace:7.0.0-next-7.18",
"@verdaccio/core": "workspace:7.0.0-next-7.18",
"@verdaccio/logger": "workspace:7.0.0-next-7.18",
"@verdaccio/proxy": "workspace:7.0.0-next-7.18"
"@verdaccio/config": "workspace:7.0.0-next-7.20",
"@verdaccio/core": "workspace:7.0.0-next-7.20",
"@verdaccio/logger": "workspace:7.0.0-next-7.20",
"@verdaccio/proxy": "workspace:7.0.0-next-7.20"
},
"devDependencies": {
"@verdaccio/types": "workspace:12.0.0-next-7.5",

View File

@@ -1,5 +1,43 @@
# @verdaccio/server
## 7.0.0-next-7.20
### Patch Changes
- Updated dependencies [ccc7bd1]
- @verdaccio/middleware@7.0.0-next-7.20
- @verdaccio/api@7.0.0-next-7.20
- @verdaccio/auth@7.0.0-next-7.20
- @verdaccio/web@7.0.0-next-7.20
- @verdaccio/store@7.0.0-next-7.20
- @verdaccio/core@7.0.0-next-7.20
- @verdaccio/config@7.0.0-next-7.20
- @verdaccio/loaders@7.0.0-next-7.20
- verdaccio-audit@12.0.0-next-7.20
- @verdaccio/utils@7.0.0-next-7.20
- @verdaccio/logger@7.0.0-next-7.20
## 7.0.0-next-7.19
### Patch Changes
- Updated dependencies [2a6ee33]
- Updated dependencies [6c5f7a4]
- Updated dependencies [136e992]
- Updated dependencies [c31aec8]
- Updated dependencies [19df355]
- @verdaccio/middleware@7.0.0-next-7.19
- verdaccio-audit@12.0.0-next-7.19
- @verdaccio/config@7.0.0-next-7.19
- @verdaccio/api@7.0.0-next-7.19
- @verdaccio/auth@7.0.0-next-7.19
- @verdaccio/web@7.0.0-next-7.19
- @verdaccio/loaders@7.0.0-next-7.19
- @verdaccio/store@7.0.0-next-7.19
- @verdaccio/core@7.0.0-next-7.19
- @verdaccio/utils@7.0.0-next-7.19
- @verdaccio/logger@7.0.0-next-7.19
## 7.0.0-next-7.18
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@verdaccio/server",
"version": "7.0.0-next-7.18",
"version": "7.0.0-next-7.20",
"description": "server logic",
"main": "./build/index.js",
"types": "build/index.d.ts",
@@ -29,17 +29,17 @@
"node": ">=18"
},
"dependencies": {
"@verdaccio/api": "workspace:7.0.0-next-7.18",
"@verdaccio/auth": "workspace:7.0.0-next-7.18",
"@verdaccio/core": "workspace:7.0.0-next-7.18",
"@verdaccio/config": "workspace:7.0.0-next-7.18",
"@verdaccio/loaders": "workspace:7.0.0-next-7.18",
"@verdaccio/logger": "workspace:7.0.0-next-7.18",
"@verdaccio/middleware": "workspace:7.0.0-next-7.18",
"@verdaccio/store": "workspace:7.0.0-next-7.18",
"@verdaccio/utils": "workspace:7.0.0-next-7.18",
"@verdaccio/web": "workspace:7.0.0-next-7.18",
"verdaccio-audit": "workspace:12.0.0-next-7.18",
"@verdaccio/api": "workspace:7.0.0-next-7.20",
"@verdaccio/auth": "workspace:7.0.0-next-7.20",
"@verdaccio/core": "workspace:7.0.0-next-7.20",
"@verdaccio/config": "workspace:7.0.0-next-7.20",
"@verdaccio/loaders": "workspace:7.0.0-next-7.20",
"@verdaccio/logger": "workspace:7.0.0-next-7.20",
"@verdaccio/middleware": "workspace:7.0.0-next-7.20",
"@verdaccio/store": "workspace:7.0.0-next-7.20",
"@verdaccio/utils": "workspace:7.0.0-next-7.20",
"@verdaccio/web": "workspace:7.0.0-next-7.20",
"verdaccio-audit": "workspace:12.0.0-next-7.20",
"compression": "1.7.4",
"cors": "2.8.5",
"debug": "4.3.4",
@@ -47,7 +47,7 @@
"lodash": "4.17.21"
},
"devDependencies": {
"@verdaccio/proxy": "workspace:7.0.0-next-7.18",
"@verdaccio/proxy": "workspace:7.0.0-next-7.20",
"@verdaccio/test-helper": "workspace:3.0.0-next-7.2",
"http-errors": "2.0.0"
},

View File

@@ -1,5 +1,30 @@
# @verdaccio/server-fastify
## 7.0.0-next-7.20
### Patch Changes
- @verdaccio/auth@7.0.0-next-7.20
- @verdaccio/tarball@12.0.0-next-7.20
- @verdaccio/store@7.0.0-next-7.20
- @verdaccio/core@7.0.0-next-7.20
- @verdaccio/config@7.0.0-next-7.20
- @verdaccio/utils@7.0.0-next-7.20
- @verdaccio/logger@7.0.0-next-7.20
## 7.0.0-next-7.19
### Patch Changes
- Updated dependencies [c31aec8]
- @verdaccio/config@7.0.0-next-7.19
- @verdaccio/auth@7.0.0-next-7.19
- @verdaccio/store@7.0.0-next-7.19
- @verdaccio/core@7.0.0-next-7.19
- @verdaccio/tarball@12.0.0-next-7.19
- @verdaccio/utils@7.0.0-next-7.19
- @verdaccio/logger@7.0.0-next-7.19
## 7.0.0-next-7.18
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@verdaccio/server-fastify",
"version": "7.0.0-next-7.18",
"version": "7.0.0-next-7.20",
"description": "fastify server api implementation",
"keywords": [
"private",
@@ -33,13 +33,13 @@
"access": "public"
},
"dependencies": {
"@verdaccio/core": "workspace:7.0.0-next-7.18",
"@verdaccio/config": "workspace:7.0.0-next-7.18",
"@verdaccio/auth": "workspace:7.0.0-next-7.18",
"@verdaccio/logger": "workspace:7.0.0-next-7.18",
"@verdaccio/store": "workspace:7.0.0-next-7.18",
"@verdaccio/tarball": "workspace:12.0.0-next-7.18",
"@verdaccio/utils": "workspace:7.0.0-next-7.18",
"@verdaccio/core": "workspace:7.0.0-next-7.20",
"@verdaccio/config": "workspace:7.0.0-next-7.20",
"@verdaccio/auth": "workspace:7.0.0-next-7.20",
"@verdaccio/logger": "workspace:7.0.0-next-7.20",
"@verdaccio/store": "workspace:7.0.0-next-7.20",
"@verdaccio/tarball": "workspace:12.0.0-next-7.20",
"@verdaccio/utils": "workspace:7.0.0-next-7.20",
"core-js": "3.35.0",
"debug": "4.3.4",
"fastify": "4.25.2",

View File

@@ -42,7 +42,7 @@
"debug": "4.3.4"
},
"devDependencies": {
"@verdaccio/config": "workspace:7.0.0-next-7.18",
"@verdaccio/config": "workspace:7.0.0-next-7.20",
"@verdaccio/types": "workspace:12.0.0-next-7.5"
},
"funding": {

View File

@@ -32,11 +32,11 @@
"homepage": "https://verdaccio.org",
"license": "MIT",
"devDependencies": {
"@verdaccio/cli": "workspace:7.0.0-next-7.18",
"@verdaccio/ui-theme": "workspace:7.0.0-next-7.18",
"@verdaccio/cli": "workspace:7.0.0-next-7.20",
"@verdaccio/ui-theme": "workspace:7.0.0-next-7.20",
"fs-extra": "11.2.0",
"webpack": "5.90.0",
"webpack-bundle-analyzer": "4.10.1",
"webpack": "5.93.0",
"webpack-bundle-analyzer": "4.10.2",
"webpack-bundle-size-analyzer": "3.1.0",
"webpack-cli": "4.10.0"
},

View File

@@ -1,5 +1,39 @@
# @verdaccio/store
## 7.0.0-next-7.20
### Patch Changes
- Updated dependencies [ccc7bd1]
- @verdaccio/url@12.0.0-next-7.20
- @verdaccio/tarball@12.0.0-next-7.20
- @verdaccio/core@7.0.0-next-7.20
- @verdaccio/config@7.0.0-next-7.20
- @verdaccio/hooks@7.0.0-next-7.20
- @verdaccio/loaders@7.0.0-next-7.20
- @verdaccio/local-storage@12.0.0-next-7.20
- @verdaccio/proxy@7.0.0-next-7.20
- @verdaccio/search@7.0.0-next-7.9
- @verdaccio/utils@7.0.0-next-7.20
- @verdaccio/logger@7.0.0-next-7.20
## 7.0.0-next-7.19
### Patch Changes
- Updated dependencies [c31aec8]
- @verdaccio/config@7.0.0-next-7.19
- @verdaccio/hooks@7.0.0-next-7.19
- @verdaccio/loaders@7.0.0-next-7.19
- @verdaccio/local-storage@12.0.0-next-7.19
- @verdaccio/proxy@7.0.0-next-7.19
- @verdaccio/search@7.0.0-next-7.8
- @verdaccio/core@7.0.0-next-7.19
- @verdaccio/tarball@12.0.0-next-7.19
- @verdaccio/url@12.0.0-next-7.19
- @verdaccio/utils@7.0.0-next-7.19
- @verdaccio/logger@7.0.0-next-7.19
## 7.0.0-next-7.18
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@verdaccio/store",
"version": "7.0.0-next-7.18",
"version": "7.0.0-next-7.20",
"description": "loaders logic",
"main": "./build/index.js",
"types": "build/index.d.ts",
@@ -38,22 +38,22 @@
"build": "pnpm run build:js && pnpm run build:types"
},
"dependencies": {
"@verdaccio/config": "workspace:7.0.0-next-7.18",
"@verdaccio/core": "workspace:7.0.0-next-7.18",
"@verdaccio/hooks": "workspace:7.0.0-next-7.18",
"@verdaccio/loaders": "workspace:7.0.0-next-7.18",
"@verdaccio/local-storage": "workspace:12.0.0-next-7.18",
"@verdaccio/logger": "workspace:7.0.0-next-7.18",
"@verdaccio/search": "workspace:7.0.0-next-7.7",
"@verdaccio/proxy": "workspace:7.0.0-next-7.18",
"@verdaccio/tarball": "workspace:12.0.0-next-7.18",
"@verdaccio/url": "workspace:12.0.0-next-7.18",
"@verdaccio/utils": "workspace:7.0.0-next-7.18",
"@verdaccio/config": "workspace:7.0.0-next-7.20",
"@verdaccio/core": "workspace:7.0.0-next-7.20",
"@verdaccio/hooks": "workspace:7.0.0-next-7.20",
"@verdaccio/loaders": "workspace:7.0.0-next-7.20",
"@verdaccio/local-storage": "workspace:12.0.0-next-7.20",
"@verdaccio/logger": "workspace:7.0.0-next-7.20",
"@verdaccio/proxy": "workspace:7.0.0-next-7.20",
"@verdaccio/search": "workspace:7.0.0-next-7.9",
"@verdaccio/tarball": "workspace:12.0.0-next-7.20",
"@verdaccio/url": "workspace:12.0.0-next-7.20",
"@verdaccio/utils": "workspace:7.0.0-next-7.20",
"JSONStream": "1.3.5",
"debug": "4.3.4",
"lodash": "4.17.21",
"merge2": "1.4.1",
"semver": "7.6.2"
"semver": "7.6.3"
},
"devDependencies": {
"@verdaccio/test-helper": "workspace:3.0.0-next-7.2",

View File

@@ -3,11 +3,11 @@
{
"id": 558752,
"login": "juanpicado",
"contributions": 5283,
"contributions": 5291,
"repositories": [
{
"name": "verdaccio",
"contributions": 2923
"contributions": 2931
},
{
"name": "verdaccio-cookbook",
@@ -299,6 +299,17 @@
}
]
},
{
"id": 59966492,
"login": "mbtools",
"contributions": 59,
"repositories": [
{
"name": "verdaccio",
"contributions": 59
}
]
},
{
"id": 20119184,
"login": "griffithtp",
@@ -352,17 +363,6 @@
}
]
},
{
"id": 59966492,
"login": "mbtools",
"contributions": 34,
"repositories": [
{
"name": "verdaccio",
"contributions": 34
}
]
},
{
"id": 558740,
"login": "dianmorales",
@@ -1453,6 +1453,17 @@
}
]
},
{
"id": 6905832,
"login": "somethingSTRANGE",
"contributions": 2,
"repositories": [
{
"name": "verdaccio",
"contributions": 2
}
]
},
{
"id": 8291077,
"login": "varijkapil13",
@@ -3485,6 +3496,17 @@
}
]
},
{
"id": 26263658,
"login": "caoxiemeihao",
"contributions": 1,
"repositories": [
{
"name": "verdaccio",
"contributions": 1
}
]
},
{
"id": 43941,
"login": "mavimo",
@@ -3551,17 +3573,6 @@
}
]
},
{
"id": 6905832,
"login": "somethingSTRANGE",
"contributions": 1,
"repositories": [
{
"name": "verdaccio",
"contributions": 1
}
]
},
{
"id": 1667873,
"login": "morlay",
@@ -5055,7 +5066,7 @@
"full_name": "verdaccio/verdaccio",
"html_url": "https://github.com/verdaccio/verdaccio",
"description": "📦🔐 A lightweight Node.js private proxy registry",
"stargazers_count": 16061,
"stargazers_count": 16149,
"archived": false
},
{
@@ -5172,7 +5183,7 @@
"full_name": "verdaccio/verdaccio-audit",
"html_url": "https://github.com/verdaccio/verdaccio-audit",
"description": "🛡🔬verdaccio plugin for npm audit support",
"stargazers_count": 12,
"stargazers_count": 13,
"archived": true
},
{
@@ -5316,7 +5327,7 @@
"full_name": "verdaccio/charts",
"html_url": "https://github.com/verdaccio/charts",
"description": "☸️🐳 Verdaccio Helm chart repository",
"stargazers_count": 59,
"stargazers_count": 58,
"archived": false
},
{

View File

@@ -1,5 +1,20 @@
# generator-verdaccio-plugin
## 5.0.0-next-7.3
### Patch Changes
- @verdaccio/core@7.0.0-next-7.20
- @verdaccio/config@7.0.0-next-7.20
## 5.0.0-next-7.2
### Patch Changes
- Updated dependencies [c31aec8]
- @verdaccio/config@7.0.0-next-7.19
- @verdaccio/core@7.0.0-next-7.19
## 5.0.0-next-7.1
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "generator-verdaccio-plugin",
"version": "5.0.0-next-7.1",
"version": "5.0.0-next-7.3",
"description": "plugin generator for verdaccio",
"homepage": "https://github.com/verdaccio",
"author": {
@@ -16,18 +16,18 @@
"yeoman-generator"
],
"dependencies": {
"@verdaccio/config": "workspace:7.0.0-next-7.20",
"@verdaccio/core": "workspace:7.0.0-next-7.20",
"chalk": "4.1.2",
"lodash": "4.17.21",
"yeoman-environment": "3.19.3",
"yeoman-generator": "5.9.0",
"yosay": "2.0.2",
"@verdaccio/core": "workspace:7.0.0-next-7.18",
"@verdaccio/config": "workspace:7.0.0-next-7.18"
"yosay": "2.0.2"
},
"devDependencies": {
"@verdaccio/test-helper": "workspace:3.0.0-next-7.2",
"@verdaccio/types": "workspace:12.0.0-next-7.5",
"ts-jest": "29.1.0",
"ts-jest": "29.2.3",
"yeoman-assert": "3.1.1",
"yeoman-test": "6.3.0"
},

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