Compare commits
38 Commits
@verdaccio
...
@verdaccio
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c9bd22dcaa | ||
|
|
378e907d53 | ||
|
|
1641dc3325 | ||
|
|
30a967a62b | ||
|
|
e0fb074464 | ||
|
|
83f2d654e0 | ||
|
|
59af78d439 | ||
|
|
d92cffadad | ||
|
|
7fe57531ea | ||
|
|
80b93b9d99 | ||
|
|
4ee90e4124 | ||
|
|
e7b9c78508 | ||
|
|
989d64a6f0 | ||
|
|
a52594f54b | ||
|
|
4fc21146ab | ||
|
|
3dc0fd41f4 | ||
|
|
038756fd9c | ||
|
|
762692341a | ||
|
|
871646da4e | ||
|
|
59be6bc170 | ||
|
|
44f8674061 | ||
|
|
a1c8652eb1 | ||
|
|
9e3abf9830 | ||
|
|
08ff0aef3c | ||
|
|
35408cfc42 | ||
|
|
76c4aa1d43 | ||
|
|
4d4d63c2b1 | ||
|
|
be8367ef38 | ||
|
|
0ad69d58c9 | ||
|
|
8d4f4fffef | ||
|
|
1096aa9fc6 | ||
|
|
83e4669aba | ||
|
|
c827e6b57a | ||
|
|
8c444df1b9 | ||
|
|
b152256692 | ||
|
|
781ac9ac25 | ||
|
|
4f711109df | ||
|
|
35fa14eb66 |
8
.changeset/old-apples-fail.md
Normal file
8
.changeset/old-apples-fail.md
Normal file
@@ -0,0 +1,8 @@
|
||||
---
|
||||
'@verdaccio/types': patch
|
||||
'@verdaccio/middleware': patch
|
||||
'@verdaccio/ui-theme': patch
|
||||
'@verdaccio/web': patch
|
||||
---
|
||||
|
||||
fix: missing logo on header
|
||||
5
.changeset/poor-suns-film.md
Normal file
5
.changeset/poor-suns-film.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@verdaccio/core': patch
|
||||
---
|
||||
|
||||
fix(core): fix `isObject` function.`isObject(true)` should return false.
|
||||
@@ -114,6 +114,7 @@
|
||||
"moody-clocks-roll",
|
||||
"neat-toes-report",
|
||||
"neat-toys-float",
|
||||
"old-apples-fail",
|
||||
"olive-candles-speak",
|
||||
"orange-cows-pull",
|
||||
"orange-flowers-cover",
|
||||
@@ -123,6 +124,7 @@
|
||||
"plenty-news-remember",
|
||||
"plenty-spiders-melt",
|
||||
"plenty-tables-refuse",
|
||||
"poor-suns-film",
|
||||
"pretty-hounds-tap",
|
||||
"proud-jeans-walk",
|
||||
"proud-jobs-hope",
|
||||
@@ -145,6 +147,7 @@
|
||||
"spicy-radios-remain",
|
||||
"spicy-snakes-sip",
|
||||
"strange-ladybugs-nail",
|
||||
"strong-socks-type",
|
||||
"swift-pumpkins-knock",
|
||||
"ten-parents-breathe",
|
||||
"tender-bags-call",
|
||||
|
||||
7
.changeset/strong-socks-type.md
Normal file
7
.changeset/strong-socks-type.md
Normal file
@@ -0,0 +1,7 @@
|
||||
---
|
||||
'@verdaccio/ui-theme': major
|
||||
'@verdaccio/ui-components': major
|
||||
'@verdaccio/web': major
|
||||
---
|
||||
|
||||
fix package configuration issues
|
||||
39
.github/disabled/docker-plugins-e2e.yml
vendored
Normal file
39
.github/disabled/docker-plugins-e2e.yml
vendored
Normal file
@@ -0,0 +1,39 @@
|
||||
name: E2E Docker Proxy Plugins Test
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches:
|
||||
- 'master'
|
||||
schedule:
|
||||
# run every sunday
|
||||
- cron: '0 0 * * 0'
|
||||
jobs:
|
||||
docker:
|
||||
timeout-minutes: 10
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3
|
||||
|
||||
- name: Start containers
|
||||
run: docker-compose -f "./e2e/docker/docker-build-install-plugin/docker-compose.yaml" up -d --build
|
||||
|
||||
- name: Install node
|
||||
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3
|
||||
with:
|
||||
node-version: 18
|
||||
|
||||
- name: verdaccio cli
|
||||
run: npm install -g verdaccio --registry=http://localhost:4873
|
||||
- name: gastby cli
|
||||
run: npm install -g gatsby-cli --registry http://localhost:4873
|
||||
- name: netlify cli
|
||||
run: npm install -g netlify-cli --registry http://localhost:4873
|
||||
- name: angular cli
|
||||
run: npm install -g @angular/cli --registry http://localhost:4873
|
||||
|
||||
- name: Stop containers
|
||||
if: always()
|
||||
run: docker-compose -f "./e2e/docker/docker-build-install-plugin/docker-compose.yaml" down
|
||||
38
.github/workflows/docker-proxy-apache-e2e.yml
vendored
Normal file
38
.github/workflows/docker-proxy-apache-e2e.yml
vendored
Normal file
@@ -0,0 +1,38 @@
|
||||
name: E2E Docker Proxy Apache Test
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches:
|
||||
- 'master'
|
||||
schedule:
|
||||
# run every sunday
|
||||
- cron: '0 0 * * 0'
|
||||
jobs:
|
||||
docker:
|
||||
timeout-minutes: 10
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3
|
||||
|
||||
- name: Start containers
|
||||
run: docker-compose -f "./e2e/docker/apache-verdaccio/docker-compose.yaml" up -d --build
|
||||
|
||||
- name: Install node
|
||||
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3
|
||||
with:
|
||||
node-version: 18
|
||||
- name: verdaccio cli
|
||||
run: npm install -g verdaccio --registry http://localhost
|
||||
- name: gastby cli
|
||||
run: npm install -g gatsby-cli --registry http://localhost
|
||||
- name: netlify cli
|
||||
run: npm install -g netlify-cli --registry http://localhost
|
||||
- name: angular cli
|
||||
run: npm install -g @angular/cli --registry http://localhost
|
||||
|
||||
- name: Stop containers
|
||||
if: always()
|
||||
run: docker-compose -f "./e2e/docker/apache-verdaccio/docker-compose.yaml" down
|
||||
41
.github/workflows/docker-proxy-nginx-e2e.yml
vendored
Normal file
41
.github/workflows/docker-proxy-nginx-e2e.yml
vendored
Normal file
@@ -0,0 +1,41 @@
|
||||
name: E2E Docker Proxy Nginx Test
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches:
|
||||
- 'master'
|
||||
jobs:
|
||||
docker:
|
||||
timeout-minutes: 10
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3
|
||||
|
||||
- name: Start containers
|
||||
run: docker-compose -f "./e2e/docker/proxy-nginx/docker-compose.yaml" up -d --build
|
||||
|
||||
- name: Install node
|
||||
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3
|
||||
with:
|
||||
node-version: 18
|
||||
- name: npm setup
|
||||
run: |
|
||||
npm config set fetch-retries="5"
|
||||
npm config set fetch-retry-factor="50"
|
||||
npm config set fetch-retry-mintimeout="20000"
|
||||
npm config set fetch-retry-maxtimeout="80000"
|
||||
- name: verdaccio cli
|
||||
run: npm install -g verdaccio --registry http://localhost
|
||||
- name: gastby cli
|
||||
run: npm install -g gatsby-cli --registry http://localhost
|
||||
- name: netlify cli
|
||||
run: npm install -g netlify-cli --registry http://localhost
|
||||
- name: angular cli
|
||||
run: npm install -g @angular/cli --registry http://localhost
|
||||
|
||||
- name: Stop containers
|
||||
if: always()
|
||||
run: docker-compose -f "./e2e/docker/proxy-nginx/docker-compose.yaml" down
|
||||
2
.github/workflows/docker-publish.yml
vendored
2
.github/workflows/docker-publish.yml
vendored
@@ -49,7 +49,7 @@ jobs:
|
||||
with:
|
||||
context: .
|
||||
file: ./Dockerfile
|
||||
platforms: linux/amd64
|
||||
platforms: linux/amd64,linux/arm64
|
||||
push: ${{ github.event_name != 'pull_request' }}
|
||||
tags: ${{ steps.docker_meta.outputs.tags }}
|
||||
labels: ${{ steps.docker_meta.outputs.labels }}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
FROM --platform=${BUILDPLATFORM:-linux/amd64} node:16-alpine as builder
|
||||
FROM --platform=${BUILDPLATFORM:-linux/amd64} node:18-alpine as builder
|
||||
|
||||
ENV NODE_ENV=development \
|
||||
VERDACCIO_BUILD_REGISTRY=https://registry.verdaccio.org
|
||||
@@ -20,7 +20,7 @@ RUN npm -g i pnpm@6.32.15 && \
|
||||
# FIXME: need to remove devDependencies from the build
|
||||
# RUN pnpm install --prod --ignore-scripts
|
||||
|
||||
FROM node:16-alpine
|
||||
FROM node:18-alpine
|
||||
LABEL maintainer="https://github.com/verdaccio/verdaccio"
|
||||
|
||||
ENV VERDACCIO_APPDIR=/opt/verdaccio \
|
||||
|
||||
@@ -5,15 +5,15 @@
|
||||
"main": "./build/index.js",
|
||||
"types": "./build/index.d.ts",
|
||||
"devDependencies": {
|
||||
"verdaccio": "workspace:6.0.0-6-next.61",
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.61",
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.61",
|
||||
"@verdaccio/types": "workspace:11.0.0-6-next.20",
|
||||
"js-yaml": "4.1.0",
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.62",
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.62",
|
||||
"@verdaccio/types": "workspace:11.0.0-6-next.21",
|
||||
"debug": "4.3.4",
|
||||
"fs-extra": "10.1.0",
|
||||
"got": "11.8.6",
|
||||
"lodash": "4.17.21"
|
||||
"got": "11.8.5",
|
||||
"js-yaml": "4.1.0",
|
||||
"lodash": "4.17.21",
|
||||
"verdaccio": "workspace:6.0.0-6-next.62"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "jest",
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
"version": "1.0.1-6-next.6",
|
||||
"dependencies": {
|
||||
"@verdaccio/test-cli-commons": "workspace:1.1.0-6-next.6",
|
||||
"npm": "8.19.3"
|
||||
"npm": "8.19.4"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "jest"
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
"version": "1.0.1-6-next.6",
|
||||
"dependencies": {
|
||||
"@verdaccio/test-cli-commons": "workspace:1.1.0-6-next.6",
|
||||
"npm": "9.2.0"
|
||||
"npm": "9.5.0"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "jest"
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
"version": "1.0.1-6-next.6",
|
||||
"dependencies": {
|
||||
"@verdaccio/test-cli-commons": "workspace:1.1.0-6-next.6",
|
||||
"pnpm": "latest-6"
|
||||
"pnpm": "^6.35.1"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "jest"
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
"version": "1.0.1-6-next.6",
|
||||
"dependencies": {
|
||||
"@verdaccio/test-cli-commons": "workspace:1.1.0-6-next.6",
|
||||
"pnpm": "next-7"
|
||||
"pnpm": "^7.27.1"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "jest"
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
"version": "1.0.1-6-next.6",
|
||||
"dependencies": {
|
||||
"@verdaccio/test-cli-commons": "workspace:1.1.0-6-next.6",
|
||||
"@yarnpkg/cli-dist": "3.3.1"
|
||||
"@yarnpkg/cli-dist": "3.4.1"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "jest"
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -3,6 +3,7 @@
|
||||
"name": "@verdaccio/e2e-cli-yarn4",
|
||||
"version": "1.0.1-6-next.6",
|
||||
"dependencies": {
|
||||
"@yarnpkg/cli-dist": "4.0.0-rc.39",
|
||||
"@verdaccio/test-cli-commons": "workspace:1.1.0-6-next.6"
|
||||
},
|
||||
"scripts": {
|
||||
|
||||
@@ -7,10 +7,7 @@ export function getCommand(projectFolder) {
|
||||
}
|
||||
|
||||
export function getYarnCommand() {
|
||||
// FUTURE: yarn 4 rc still not available via registry
|
||||
// tags: https://repo.yarnpkg.com/tags
|
||||
// download binary: https://repo.yarnpkg.com/4.0.0-rc.14/packages/yarnpkg-cli/bin/yarn.js
|
||||
return join(__dirname, './bin/yarn-4.0.0-rc.14.cjs');
|
||||
return join(__dirname, './node_modules/@yarnpkg/cli-dist/bin/yarn.js');
|
||||
}
|
||||
|
||||
export function yarn(projectFolder, ...args: string[]) {
|
||||
|
||||
6
e2e/docker/apache-verdaccio/apache_proxy/Dockerfile
Normal file
6
e2e/docker/apache-verdaccio/apache_proxy/Dockerfile
Normal file
@@ -0,0 +1,6 @@
|
||||
FROM eboraas/apache
|
||||
LABEL Juan Picado <jotadeveloper@gmail.com>
|
||||
# http://pierrecaserta.com/apache-proxy-one-docker-server-many-domains/
|
||||
RUN a2enmod proxy
|
||||
COPY ./conf/000-default.conf /etc/apache2/sites-enabled/000-default.conf
|
||||
COPY ./conf/env.load /etc/apache2/mods-enabled/env.load
|
||||
@@ -0,0 +1,17 @@
|
||||
ServerName localhost:80
|
||||
ServerAdmin admin@localhost
|
||||
|
||||
<VirtualHost *:80>
|
||||
ServerName localhost
|
||||
<Proxy *>
|
||||
Allow from localhost
|
||||
</Proxy>
|
||||
SSLProxyEngine On
|
||||
ProxyRequests Off
|
||||
ProxyPreserveHost On
|
||||
AllowEncodedSlashes NoDecode
|
||||
ProxyPass / http://verdaccio:4873/ nocanon
|
||||
ProxyPassReverse / http://verdaccio:4873/
|
||||
CustomLog /var/log/apache2/verdaccio-access.log combined
|
||||
ErrorLog /var/log/apache2/verdaccio-error.log
|
||||
</VirtualHost>
|
||||
4
e2e/docker/apache-verdaccio/apache_proxy/conf/env.load
Normal file
4
e2e/docker/apache-verdaccio/apache_proxy/conf/env.load
Normal file
@@ -0,0 +1,4 @@
|
||||
LoadModule env_module /usr/lib/apache2/modules/mod_env.so
|
||||
LoadModule proxy_module /usr/lib/apache2/modules/mod_proxy.so
|
||||
LoadModule proxy_http_module /usr/lib/apache2/modules/mod_proxy_http.so
|
||||
LoadModule socache_shmcb_module /usr/lib/apache2/modules/mod_socache_shmcb.so
|
||||
23
e2e/docker/apache-verdaccio/docker-compose.yaml
Normal file
23
e2e/docker/apache-verdaccio/docker-compose.yaml
Normal file
@@ -0,0 +1,23 @@
|
||||
version: '2'
|
||||
|
||||
services:
|
||||
verdaccio:
|
||||
image: verdaccio/verdaccio:nightly-master
|
||||
container_name: verdaccio
|
||||
ports:
|
||||
- '4873:4873'
|
||||
volumes:
|
||||
- verdaccio:/verdaccio
|
||||
|
||||
apacheproxy:
|
||||
build: apache_proxy/
|
||||
links:
|
||||
- verdaccio
|
||||
ports:
|
||||
- '80:80'
|
||||
volumes_from:
|
||||
- verdaccio
|
||||
|
||||
volumes:
|
||||
verdaccio:
|
||||
driver: local
|
||||
9
e2e/docker/docker-build-install-plugin/Dockerfile
Normal file
9
e2e/docker/docker-build-install-plugin/Dockerfile
Normal file
@@ -0,0 +1,9 @@
|
||||
FROM verdaccio/verdaccio:nightly-master
|
||||
LABEL Juan Picado <jotadeveloper@gmail.com>
|
||||
ADD docker.yaml /verdaccio/conf/config.yaml
|
||||
USER root
|
||||
RUN npm install --global verdaccio-static-token \
|
||||
# && npm install --global verdaccio-memory@6-next \
|
||||
&& npm install --global verdaccio-auth-memory@6-next
|
||||
USER $VERDACCIO_USER_UID
|
||||
|
||||
12
e2e/docker/docker-build-install-plugin/docker-compose.yaml
Normal file
12
e2e/docker/docker-build-install-plugin/docker-compose.yaml
Normal file
@@ -0,0 +1,12 @@
|
||||
version: '2'
|
||||
|
||||
services:
|
||||
verdaccio:
|
||||
build: .
|
||||
ports:
|
||||
- '4873:4873'
|
||||
volumes:
|
||||
- verdaccio:/verdaccio
|
||||
volumes:
|
||||
verdaccio:
|
||||
driver: local
|
||||
46
e2e/docker/docker-build-install-plugin/docker.yaml
Normal file
46
e2e/docker/docker-build-install-plugin/docker.yaml
Normal file
@@ -0,0 +1,46 @@
|
||||
# store:
|
||||
# memory:
|
||||
# limit: 1000
|
||||
|
||||
storage: ./storage
|
||||
|
||||
plugins: /verdaccio/plugins
|
||||
|
||||
web:
|
||||
title: Verdaccio Publish Config Test
|
||||
auth:
|
||||
auth-memory:
|
||||
users:
|
||||
foo:
|
||||
name: foo
|
||||
password: s3cret
|
||||
bar:
|
||||
name: bar
|
||||
password: s3cret
|
||||
uplinks:
|
||||
npmjs:
|
||||
url: https://registry.npmjs.org/
|
||||
packages:
|
||||
'@*/*':
|
||||
access: $all
|
||||
publish: $authenticated
|
||||
unpublish: $authenticated
|
||||
proxy: npmjs
|
||||
'**':
|
||||
access: $all
|
||||
publish: $authenticated
|
||||
unpublish: $authenticated
|
||||
proxy: npmjs
|
||||
server:
|
||||
keepAliveTimeout: 60
|
||||
middlewares:
|
||||
audit:
|
||||
enabled: true
|
||||
static-token:
|
||||
- token: mySecureToken
|
||||
user: systemUser
|
||||
password: systemPassword
|
||||
- token: ABCD1234
|
||||
user: uncle
|
||||
password: tom
|
||||
log: { type: stdout, format: pretty, level: http }
|
||||
3
e2e/docker/docker-e2e-ui/Dockerfile
Normal file
3
e2e/docker/docker-e2e-ui/Dockerfile
Normal file
@@ -0,0 +1,3 @@
|
||||
FROM verdaccio/verdaccio:nightly-master
|
||||
LABEL Juan Picado <jotadeveloper@gmail.com>
|
||||
ADD docker.yaml /verdaccio/conf/config.yaml
|
||||
12
e2e/docker/docker-e2e-ui/docker-compose.yaml
Normal file
12
e2e/docker/docker-e2e-ui/docker-compose.yaml
Normal file
@@ -0,0 +1,12 @@
|
||||
version: '2'
|
||||
|
||||
services:
|
||||
verdaccio:
|
||||
build: .
|
||||
ports:
|
||||
- '4873:4873'
|
||||
volumes:
|
||||
- verdaccio:/verdaccio
|
||||
volumes:
|
||||
verdaccio:
|
||||
driver: local
|
||||
37
e2e/docker/docker-e2e-ui/docker.yaml
Normal file
37
e2e/docker/docker-e2e-ui/docker.yaml
Normal file
@@ -0,0 +1,37 @@
|
||||
storage: /verdaccio/storage/data
|
||||
|
||||
plugins: /verdaccio/plugins
|
||||
|
||||
web:
|
||||
enable: true
|
||||
title: verdaccio-server-e2e
|
||||
login: true
|
||||
|
||||
auth:
|
||||
htpasswd:
|
||||
file: /verdaccio/storage/htpasswd
|
||||
|
||||
uplinks:
|
||||
npmjs:
|
||||
url: https://registry.npmjs.org/
|
||||
|
||||
packages:
|
||||
'@verdaccio/*':
|
||||
access: $all
|
||||
publish: $authenticated
|
||||
'@*/*':
|
||||
access: $all
|
||||
publish: $authenticated
|
||||
unpublish: $authenticated
|
||||
proxy: npmjs
|
||||
'**':
|
||||
access: $all
|
||||
publish: $authenticated
|
||||
unpublish: $authenticated
|
||||
proxy: npmjs
|
||||
|
||||
middlewares:
|
||||
audit:
|
||||
enabled: true
|
||||
|
||||
log: { type: stdout, format: json, level: info }
|
||||
3
e2e/docker/proxy-nginx/conf/nginx/Dockerfile
Executable file
3
e2e/docker/proxy-nginx/conf/nginx/Dockerfile
Executable file
@@ -0,0 +1,3 @@
|
||||
FROM tutum/nginx
|
||||
RUN rm /etc/nginx/sites-enabled/default
|
||||
ADD sites-enabled /etc/nginx/sites-enabled
|
||||
14
e2e/docker/proxy-nginx/conf/nginx/sites-enabled/verdaccio-conf
Executable file
14
e2e/docker/proxy-nginx/conf/nginx/sites-enabled/verdaccio-conf
Executable file
@@ -0,0 +1,14 @@
|
||||
server {
|
||||
listen 80 default_server;
|
||||
access_log /var/log/nginx/verdaccio.log;
|
||||
charset utf-8;
|
||||
location / {
|
||||
proxy_pass http://verdaccio:4873/;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-NginX-Proxy true;
|
||||
proxy_ssl_session_reuse off;
|
||||
proxy_set_header Host $http_host;
|
||||
proxy_redirect off;
|
||||
}
|
||||
}
|
||||
26
e2e/docker/proxy-nginx/docker-compose.yaml
Normal file
26
e2e/docker/proxy-nginx/docker-compose.yaml
Normal file
@@ -0,0 +1,26 @@
|
||||
version: '2'
|
||||
|
||||
services:
|
||||
verdaccio:
|
||||
image: verdaccio/verdaccio:nightly-master
|
||||
container_name: verdaccio_root_path
|
||||
ports:
|
||||
- '4873:4873'
|
||||
volumes:
|
||||
- verdaccio:/verdaccio
|
||||
|
||||
nginx:
|
||||
restart: always
|
||||
build: conf/nginx
|
||||
ports:
|
||||
- '80:80'
|
||||
volumes:
|
||||
- /www/public
|
||||
volumes_from:
|
||||
- verdaccio
|
||||
links:
|
||||
- verdaccio:verdaccio
|
||||
|
||||
volumes:
|
||||
verdaccio:
|
||||
driver: local
|
||||
@@ -3,9 +3,9 @@
|
||||
"name": "@verdaccio/e2e-ui",
|
||||
"version": "2.0.0-6-next.3",
|
||||
"devDependencies": {
|
||||
"verdaccio": "workspace:6.0.0-6-next.61",
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.61",
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.61",
|
||||
"verdaccio": "workspace:6.0.0-6-next.62",
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.62",
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.62",
|
||||
"@verdaccio/test-helper": "workspace:2.0.0-6-next.7",
|
||||
"debug": "4.3.4",
|
||||
"cypress": "11.2.0"
|
||||
|
||||
45
package.json
45
package.json
@@ -38,74 +38,73 @@
|
||||
"@babel/preset-typescript": "7.18.6",
|
||||
"@babel/register": "7.18.9",
|
||||
"@babel/runtime": "7.20.7",
|
||||
"@dianmora/contributors": "5.0.0",
|
||||
"@changesets/changelog-github": "0.4.8",
|
||||
"@changesets/cli": "2.24.4",
|
||||
"@changesets/get-dependents-graph": "1.3.5",
|
||||
"@crowdin/cli": "3.9.1",
|
||||
"@dianmora/contributors": "5.0.0",
|
||||
"@emotion/react": "11.10.5",
|
||||
"@emotion/styled": "11.10.5",
|
||||
"@testing-library/dom": "8.19.1",
|
||||
"@testing-library/jest-dom": "5.16.5",
|
||||
"@testing-library/react": "12.1.4",
|
||||
"react": "18.2.0",
|
||||
"react-dom": "18.2.0",
|
||||
"@trivago/prettier-plugin-sort-imports": "3.4.0",
|
||||
"@trivago/prettier-plugin-sort-imports": "^4.0.0",
|
||||
"@types/async": "3.2.16",
|
||||
"@types/express": "4.17.15",
|
||||
"@types/http-errors": "1.8.2",
|
||||
"@types/jest": "27.5.2",
|
||||
"@types/jsonwebtoken": "8.5.9",
|
||||
"@types/lodash": "4.14.191",
|
||||
"@types/mime": "2.0.3",
|
||||
"@types/minimatch": "3.0.5",
|
||||
"@types/redux": "3.6.0",
|
||||
"@types/node": "16.18.10",
|
||||
"@types/jsonwebtoken": "8.5.9",
|
||||
"@types/request": "2.48.8",
|
||||
"@types/semver": "7.3.13",
|
||||
"@types/node-fetch": "2.6.2",
|
||||
"@types/supertest": "2.0.12",
|
||||
"@types/testing-library__jest-dom": "5.14.5",
|
||||
"@types/validator": "13.7.10",
|
||||
"@types/webpack": "5.28.0",
|
||||
"@types/webpack-env": "1.18.0",
|
||||
"@types/react": "18.0.26",
|
||||
"@types/react-dom": "18.0.9",
|
||||
"@types/react-router-dom": "5.3.3",
|
||||
"@types/react-virtualized": "9.21.21",
|
||||
"@typescript-eslint/eslint-plugin": "5.49.0",
|
||||
"@typescript-eslint/parser": "5.49.0",
|
||||
"@types/redux": "3.6.0",
|
||||
"@types/request": "2.48.8",
|
||||
"@types/semver": "7.3.13",
|
||||
"@types/supertest": "2.0.12",
|
||||
"@types/testing-library__jest-dom": "5.14.5",
|
||||
"@types/validator": "13.7.12",
|
||||
"@types/webpack": "5.28.0",
|
||||
"@types/webpack-env": "1.18.0",
|
||||
"@typescript-eslint/eslint-plugin": "5.52.0",
|
||||
"@typescript-eslint/parser": "5.52.0",
|
||||
"@verdaccio/crowdin-translations": "workspace:*",
|
||||
"@verdaccio/eslint-config": "workspace:*",
|
||||
"@verdaccio/types": "workspace:*",
|
||||
"@verdaccio/ui-theme": "workspace:*",
|
||||
"babel-core": "7.0.0-bridge.0",
|
||||
"babel-eslint": "10.1.0",
|
||||
"babel-jest": "29.3.1",
|
||||
"babel-jest": "29.4.3",
|
||||
"babel-plugin-dynamic-import-node": "2.3.3",
|
||||
"babel-plugin-emotion": "10.2.2",
|
||||
"concurrently": "6.5.1",
|
||||
"core-js": "3.27.0",
|
||||
"cross-env": "7.0.3",
|
||||
"debug": "4.3.4",
|
||||
"detect-secrets": "1.0.6",
|
||||
"jest-diff": "29.3.1",
|
||||
"eslint": "8.33.0",
|
||||
"eslint": "8.34.0",
|
||||
"fs-extra": "10.1.0",
|
||||
"got": "11.8.5",
|
||||
"husky": "7.0.4",
|
||||
"in-publish": "2.0.1",
|
||||
"jest": "29.3.1",
|
||||
"jest-environment-jsdom": "29.3.1",
|
||||
"jest": "29.4.3",
|
||||
"jest-diff": "29.4.3",
|
||||
"jest-environment-jsdom": "29.4.3",
|
||||
"jest-environment-jsdom-global": "3.1.2",
|
||||
"jest-environment-node": "29.3.1",
|
||||
"jest-junit": "12.3.0",
|
||||
"kleur": "3.0.3",
|
||||
"lint-staged": "11.2.6",
|
||||
"got": "11.8.6",
|
||||
"nock": "13.2.9",
|
||||
"nodemon": "2.0.20",
|
||||
"npm-run-all": "4.1.5",
|
||||
"prettier": "2.8.3",
|
||||
"prettier": "2.8.4",
|
||||
"react": "18.2.0",
|
||||
"react-dom": "18.2.0",
|
||||
"rimraf": "3.0.2",
|
||||
"selfsigned": "1.10.14",
|
||||
"supertest": "6.3.3",
|
||||
|
||||
@@ -1,5 +1,19 @@
|
||||
# @verdaccio/api
|
||||
|
||||
## 6.0.0-6-next.45
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [4fc21146]
|
||||
- Updated dependencies [378e907d]
|
||||
- @verdaccio/middleware@6.0.0-6-next.41
|
||||
- @verdaccio/core@6.0.0-6-next.62
|
||||
- @verdaccio/auth@6.0.0-6-next.41
|
||||
- @verdaccio/logger@6.0.0-6-next.30
|
||||
- @verdaccio/store@6.0.0-6-next.42
|
||||
- @verdaccio/config@6.0.0-6-next.62
|
||||
- @verdaccio/utils@6.0.0-6-next.30
|
||||
|
||||
## 6.0.0-6-next.44
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@verdaccio/api",
|
||||
"version": "6.0.0-6-next.44",
|
||||
"version": "6.0.0-6-next.45",
|
||||
"description": "loaders logic",
|
||||
"main": "./build/index.js",
|
||||
"types": "build/index.d.ts",
|
||||
@@ -39,13 +39,13 @@
|
||||
},
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@verdaccio/auth": "workspace:6.0.0-6-next.40",
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.61",
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.61",
|
||||
"@verdaccio/logger": "workspace:6.0.0-6-next.29",
|
||||
"@verdaccio/middleware": "workspace:6.0.0-6-next.40",
|
||||
"@verdaccio/store": "workspace:6.0.0-6-next.41",
|
||||
"@verdaccio/utils": "workspace:6.0.0-6-next.29",
|
||||
"@verdaccio/auth": "workspace:6.0.0-6-next.41",
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.62",
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.62",
|
||||
"@verdaccio/logger": "workspace:6.0.0-6-next.30",
|
||||
"@verdaccio/middleware": "workspace:6.0.0-6-next.41",
|
||||
"@verdaccio/store": "workspace:6.0.0-6-next.42",
|
||||
"@verdaccio/utils": "workspace:6.0.0-6-next.30",
|
||||
"abortcontroller-polyfill": "1.7.5",
|
||||
"cookies": "0.8.0",
|
||||
"debug": "4.3.4",
|
||||
@@ -57,8 +57,8 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "16.18.10",
|
||||
"@verdaccio/server": "workspace:6.0.0-6-next.50",
|
||||
"@verdaccio/types": "workspace:11.0.0-6-next.20",
|
||||
"@verdaccio/server": "workspace:6.0.0-6-next.51",
|
||||
"@verdaccio/types": "workspace:11.0.0-6-next.21",
|
||||
"@verdaccio/test-helper": "workspace:2.0.0-6-next.7",
|
||||
"supertest": "6.3.3",
|
||||
"nock": "13.2.9",
|
||||
|
||||
@@ -1,5 +1,17 @@
|
||||
# @verdaccio/auth
|
||||
|
||||
## 6.0.0-6-next.41
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [378e907d]
|
||||
- @verdaccio/core@6.0.0-6-next.62
|
||||
- @verdaccio/loaders@6.0.0-6-next.31
|
||||
- @verdaccio/logger@6.0.0-6-next.30
|
||||
- verdaccio-htpasswd@11.0.0-6-next.32
|
||||
- @verdaccio/config@6.0.0-6-next.62
|
||||
- @verdaccio/utils@6.0.0-6-next.30
|
||||
|
||||
## 6.0.0-6-next.40
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@verdaccio/auth",
|
||||
"version": "6.0.0-6-next.40",
|
||||
"version": "6.0.0-6-next.41",
|
||||
"description": "logger",
|
||||
"main": "./build/index.js",
|
||||
"types": "./build/index.d.ts",
|
||||
@@ -39,19 +39,19 @@
|
||||
},
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.61",
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.61",
|
||||
"@verdaccio/loaders": "workspace:6.0.0-6-next.30",
|
||||
"@verdaccio/logger": "workspace:6.0.0-6-next.29",
|
||||
"@verdaccio/utils": "workspace:6.0.0-6-next.29",
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.62",
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.62",
|
||||
"@verdaccio/loaders": "workspace:6.0.0-6-next.31",
|
||||
"@verdaccio/logger": "workspace:6.0.0-6-next.30",
|
||||
"@verdaccio/utils": "workspace:6.0.0-6-next.30",
|
||||
"debug": "4.3.4",
|
||||
"express": "4.18.2",
|
||||
"jsonwebtoken": "9.0.0",
|
||||
"lodash": "4.17.21",
|
||||
"verdaccio-htpasswd": "workspace:11.0.0-6-next.31"
|
||||
"verdaccio-htpasswd": "workspace:11.0.0-6-next.32"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@verdaccio/types": "workspace:11.0.0-6-next.20"
|
||||
"@verdaccio/types": "workspace:11.0.0-6-next.21"
|
||||
},
|
||||
"funding": {
|
||||
"type": "opencollective",
|
||||
|
||||
@@ -1,5 +1,15 @@
|
||||
# @verdaccio/cli
|
||||
|
||||
## 6.0.0-6-next.62
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [378e907d]
|
||||
- @verdaccio/core@6.0.0-6-next.62
|
||||
- @verdaccio/logger@6.0.0-6-next.30
|
||||
- @verdaccio/node-api@6.0.0-6-next.62
|
||||
- @verdaccio/config@6.0.0-6-next.62
|
||||
|
||||
## 6.0.0-6-next.61
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@verdaccio/cli",
|
||||
"version": "6.0.0-6-next.61",
|
||||
"version": "6.0.0-6-next.62",
|
||||
"author": {
|
||||
"name": "Juan Picado",
|
||||
"email": "juanpicado19@gmail.com"
|
||||
@@ -44,11 +44,11 @@
|
||||
"start": "ts-node src/index.ts"
|
||||
},
|
||||
"dependencies": {
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.61",
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.61",
|
||||
"@verdaccio/logger": "workspace:6.0.0-6-next.29",
|
||||
"@verdaccio/node-api": "workspace:6.0.0-6-next.61",
|
||||
"clipanion": "3.1.0",
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.62",
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.62",
|
||||
"@verdaccio/logger": "workspace:6.0.0-6-next.30",
|
||||
"@verdaccio/node-api": "workspace:6.0.0-6-next.62",
|
||||
"clipanion": "3.2.0",
|
||||
"envinfo": "7.8.1",
|
||||
"kleur": "3.0.3",
|
||||
"semver": "7.3.8"
|
||||
|
||||
@@ -1,5 +1,13 @@
|
||||
# @verdaccio/config
|
||||
|
||||
## 6.0.0-6-next.62
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [378e907d]
|
||||
- @verdaccio/core@6.0.0-6-next.62
|
||||
- @verdaccio/utils@6.0.0-6-next.30
|
||||
|
||||
## 6.0.0-6-next.61
|
||||
|
||||
### Minor Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@verdaccio/config",
|
||||
"version": "6.0.0-6-next.61",
|
||||
"version": "6.0.0-6-next.62",
|
||||
"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:6.0.0-6-next.61",
|
||||
"@verdaccio/utils": "workspace:6.0.0-6-next.29",
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.62",
|
||||
"@verdaccio/utils": "workspace:6.0.0-6-next.30",
|
||||
"debug": "4.3.4",
|
||||
"js-yaml": "4.1.0",
|
||||
"lodash": "4.17.21",
|
||||
|
||||
@@ -1,5 +1,11 @@
|
||||
# @verdaccio/core
|
||||
|
||||
## 6.0.0-6-next.62
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 378e907d: fix(core): fix `isObject` function.`isObject(true)` should return false.
|
||||
|
||||
## 6.0.0-6-next.61
|
||||
|
||||
## 6.0.0-6-next.60
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@verdaccio/core",
|
||||
"version": "6.0.0-6-next.61",
|
||||
"version": "6.0.0-6-next.62",
|
||||
"description": "core utilities",
|
||||
"keywords": [
|
||||
"private",
|
||||
@@ -38,13 +38,13 @@
|
||||
"semver": "7.3.8",
|
||||
"ajv": "8.11.2",
|
||||
"process-warning": "1.0.0",
|
||||
"core-js": "3.27.0"
|
||||
"core-js": "3.28.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"lodash": "4.17.21",
|
||||
"typedoc": "0.23.23",
|
||||
"typedoc": "0.23.25",
|
||||
"typedoc-plugin-missing-exports": "latest",
|
||||
"@verdaccio/types": "workspace:11.0.0-6-next.20"
|
||||
"@verdaccio/types": "workspace:11.0.0-6-next.21"
|
||||
},
|
||||
"scripts": {
|
||||
"clean": "rimraf ./build",
|
||||
|
||||
@@ -95,14 +95,15 @@ export function normalizeMetadata(manifest: Manifest, name: string): Manifest {
|
||||
* @return {Boolean}
|
||||
*/
|
||||
export function isObject(obj: any): boolean {
|
||||
if (obj === null || typeof obj === 'undefined' || typeof obj === 'string') {
|
||||
return false;
|
||||
}
|
||||
// if (obj === null || typeof obj === 'undefined' || typeof obj === 'string') {
|
||||
// return false;
|
||||
// }
|
||||
|
||||
return (
|
||||
(typeof obj === 'object' || typeof obj.prototype === 'undefined') &&
|
||||
Array.isArray(obj) === false
|
||||
);
|
||||
// return (
|
||||
// (typeof obj === 'object' || typeof obj.prototype === 'undefined') &&
|
||||
// Array.isArray(obj) === false
|
||||
// );
|
||||
return Object.prototype.toString.call(obj) === '[object Object]';
|
||||
}
|
||||
|
||||
export function validatePassword(
|
||||
|
||||
@@ -31,6 +31,7 @@ describe('isObject', () => {
|
||||
expect(isObject(['foo'])).toBeFalsy();
|
||||
expect(isObject(null)).toBeFalsy();
|
||||
expect(isObject(undefined)).toBeFalsy();
|
||||
expect(isObject(true)).toBeFalsy();
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
"lockfile": "1.0.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@verdaccio/types": "workspace:11.0.0-6-next.20"
|
||||
"@verdaccio/types": "workspace:11.0.0-6-next.21"
|
||||
},
|
||||
"scripts": {
|
||||
"clean": "rimraf ./build",
|
||||
|
||||
@@ -1,5 +1,14 @@
|
||||
# Change Log
|
||||
|
||||
## 11.0.0-6-next.31
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [378e907d]
|
||||
- @verdaccio/core@6.0.0-6-next.62
|
||||
- @verdaccio/url@11.0.0-6-next.28
|
||||
- @verdaccio/utils@6.0.0-6-next.30
|
||||
|
||||
## 11.0.0-6-next.30
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@verdaccio/tarball",
|
||||
"version": "11.0.0-6-next.30",
|
||||
"version": "11.0.0-6-next.31",
|
||||
"description": "tarball utilities resolver",
|
||||
"keywords": [
|
||||
"private",
|
||||
@@ -34,13 +34,13 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"debug": "4.3.4",
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.61",
|
||||
"@verdaccio/url": "workspace:11.0.0-6-next.27",
|
||||
"@verdaccio/utils": "workspace:6.0.0-6-next.29",
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.62",
|
||||
"@verdaccio/url": "workspace:11.0.0-6-next.28",
|
||||
"@verdaccio/utils": "workspace:6.0.0-6-next.30",
|
||||
"lodash": "4.17.21"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@verdaccio/types": "workspace:11.0.0-6-next.20",
|
||||
"@verdaccio/types": "workspace:11.0.0-6-next.21",
|
||||
"node-mocks-http": "1.12.1"
|
||||
},
|
||||
"scripts": {
|
||||
|
||||
@@ -1,5 +1,11 @@
|
||||
# Change Log
|
||||
|
||||
## 11.0.0-6-next.21
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 4fc21146: fix: missing logo on header
|
||||
|
||||
## 11.0.0-6-next.20
|
||||
|
||||
### Minor Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@verdaccio/types",
|
||||
"version": "11.0.0-6-next.20",
|
||||
"version": "11.0.0-6-next.21",
|
||||
"description": "verdaccio types definitions",
|
||||
"keywords": [
|
||||
"private",
|
||||
@@ -41,7 +41,7 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "16.18.10",
|
||||
"typedoc": "0.23.23"
|
||||
"typedoc": "0.23.25"
|
||||
},
|
||||
"typedoc": {
|
||||
"entryPoint": "./src/types.ts",
|
||||
|
||||
@@ -128,7 +128,6 @@ export type TemplateUIOptions = {
|
||||
base: string;
|
||||
primaryColor: string;
|
||||
version?: string;
|
||||
logoURI?: string;
|
||||
flags: FlagsConfig;
|
||||
} & CommonWebConf;
|
||||
|
||||
|
||||
@@ -1,5 +1,12 @@
|
||||
# Change Log
|
||||
|
||||
## 11.0.0-6-next.28
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [378e907d]
|
||||
- @verdaccio/core@6.0.0-6-next.62
|
||||
|
||||
## 11.0.0-6-next.27
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@verdaccio/url",
|
||||
"version": "11.0.0-6-next.27",
|
||||
"version": "11.0.0-6-next.28",
|
||||
"description": "url utilities resolver",
|
||||
"keywords": [
|
||||
"private",
|
||||
@@ -33,13 +33,13 @@
|
||||
"access": "public"
|
||||
},
|
||||
"dependencies": {
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.61",
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.62",
|
||||
"debug": "4.3.4",
|
||||
"lodash": "4.17.21",
|
||||
"validator": "13.7.0"
|
||||
"validator": "13.9.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@verdaccio/types": "workspace:11.0.0-6-next.20",
|
||||
"@verdaccio/types": "workspace:11.0.0-6-next.21",
|
||||
"node-mocks-http": "1.12.1"
|
||||
},
|
||||
"scripts": {
|
||||
|
||||
@@ -1,5 +1,13 @@
|
||||
# @verdaccio/hooks
|
||||
|
||||
## 6.0.0-6-next.32
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [378e907d]
|
||||
- @verdaccio/core@6.0.0-6-next.62
|
||||
- @verdaccio/logger@6.0.0-6-next.30
|
||||
|
||||
## 6.0.0-6-next.31
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@verdaccio/hooks",
|
||||
"version": "6.0.0-6-next.31",
|
||||
"version": "6.0.0-6-next.32",
|
||||
"description": "loaders logic",
|
||||
"main": "./build/index.js",
|
||||
"types": "build/index.d.ts",
|
||||
@@ -29,18 +29,18 @@
|
||||
"node": ">=16"
|
||||
},
|
||||
"dependencies": {
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.61",
|
||||
"@verdaccio/logger": "workspace:6.0.0-6-next.29",
|
||||
"core-js": "3.27.0",
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.62",
|
||||
"@verdaccio/logger": "workspace:6.0.0-6-next.30",
|
||||
"core-js": "3.28.0",
|
||||
"debug": "4.3.4",
|
||||
"handlebars": "4.7.7",
|
||||
"undici": "4.16.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "16.18.10",
|
||||
"@verdaccio/auth": "workspace:6.0.0-6-next.40",
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.61",
|
||||
"@verdaccio/types": "workspace:11.0.0-6-next.20"
|
||||
"@verdaccio/auth": "workspace:6.0.0-6-next.41",
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.62",
|
||||
"@verdaccio/types": "workspace:11.0.0-6-next.21"
|
||||
},
|
||||
"scripts": {
|
||||
"clean": "rimraf ./build",
|
||||
|
||||
@@ -1,5 +1,11 @@
|
||||
# @verdaccio/loaders
|
||||
|
||||
## 6.0.0-6-next.31
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- @verdaccio/logger@6.0.0-6-next.30
|
||||
|
||||
## 6.0.0-6-next.30
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@verdaccio/loaders",
|
||||
"version": "6.0.0-6-next.30",
|
||||
"version": "6.0.0-6-next.31",
|
||||
"description": "loaders logic",
|
||||
"main": "./build/index.js",
|
||||
"types": "build/index.d.ts",
|
||||
@@ -13,14 +13,14 @@
|
||||
"url": "https://github.com/verdaccio/verdaccio"
|
||||
},
|
||||
"dependencies": {
|
||||
"@verdaccio/logger": "workspace:6.0.0-6-next.29",
|
||||
"@verdaccio/logger": "workspace:6.0.0-6-next.30",
|
||||
"debug": "4.3.4",
|
||||
"lodash": "4.17.21"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.61",
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.61",
|
||||
"@verdaccio/types": "workspace:11.0.0-6-next.20",
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.62",
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.62",
|
||||
"@verdaccio/types": "workspace:11.0.0-6-next.21",
|
||||
"@verdaccio-scope/verdaccio-auth-foo": "0.0.2",
|
||||
"verdaccio-auth-memory": "workspace:*",
|
||||
"customprefix-auth": "1.0.0-6-next.0"
|
||||
|
||||
@@ -1,5 +1,11 @@
|
||||
# @verdaccio/logger-7
|
||||
|
||||
## 6.0.0-6-next.7
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- @verdaccio/logger-commons@6.0.0-6-next.30
|
||||
|
||||
## 6.0.0-6-next.6
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@verdaccio/logger-7",
|
||||
"version": "6.0.0-6-next.6",
|
||||
"version": "6.0.0-6-next.7",
|
||||
"description": "logger for verdaccio 5.x version",
|
||||
"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:6.0.0-6-next.29",
|
||||
"@verdaccio/logger-commons": "workspace:6.0.0-6-next.30",
|
||||
"pino": "7.11.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@verdaccio/types": "workspace:11.0.0-6-next.20"
|
||||
"@verdaccio/types": "workspace:11.0.0-6-next.21"
|
||||
},
|
||||
"funding": {
|
||||
"type": "opencollective",
|
||||
|
||||
@@ -1,5 +1,12 @@
|
||||
# @verdaccio/logger-commons
|
||||
|
||||
## 6.0.0-6-next.30
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [378e907d]
|
||||
- @verdaccio/core@6.0.0-6-next.62
|
||||
|
||||
## 6.0.0-6-next.29
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@verdaccio/logger-commons",
|
||||
"version": "6.0.0-6-next.29",
|
||||
"version": "6.0.0-6-next.30",
|
||||
"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:6.0.0-6-next.61",
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.62",
|
||||
"@verdaccio/logger-prettify": "workspace:6.0.0-6-next.9",
|
||||
"debug": "4.3.4",
|
||||
"colorette": "2.0.19"
|
||||
},
|
||||
"devDependencies": {
|
||||
"pino": "8.8.0",
|
||||
"@verdaccio/types": "workspace:11.0.0-6-next.20"
|
||||
"pino": "8.10.0",
|
||||
"@verdaccio/types": "workspace:11.0.0-6-next.21"
|
||||
},
|
||||
"funding": {
|
||||
"type": "opencollective",
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
"sonic-boom": "3.2.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"pino": "8.8.0"
|
||||
"pino": "8.10.0"
|
||||
},
|
||||
"funding": {
|
||||
"type": "opencollective",
|
||||
|
||||
@@ -1,5 +1,11 @@
|
||||
# @verdaccio/logger
|
||||
|
||||
## 6.0.0-6-next.30
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- @verdaccio/logger-commons@6.0.0-6-next.30
|
||||
|
||||
## 6.0.0-6-next.29
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@verdaccio/logger",
|
||||
"version": "6.0.0-6-next.29",
|
||||
"version": "6.0.0-6-next.30",
|
||||
"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:6.0.0-6-next.29",
|
||||
"pino": "8.8.0"
|
||||
"@verdaccio/logger-commons": "workspace:6.0.0-6-next.30",
|
||||
"pino": "8.10.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@verdaccio/types": "workspace:11.0.0-6-next.20"
|
||||
"@verdaccio/types": "workspace:11.0.0-6-next.21"
|
||||
},
|
||||
"funding": {
|
||||
"type": "opencollective",
|
||||
|
||||
@@ -1,5 +1,16 @@
|
||||
# @verdaccio/middleware
|
||||
|
||||
## 6.0.0-6-next.41
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 4fc21146: fix: missing logo on header
|
||||
- Updated dependencies [378e907d]
|
||||
- @verdaccio/core@6.0.0-6-next.62
|
||||
- @verdaccio/url@11.0.0-6-next.28
|
||||
- @verdaccio/config@6.0.0-6-next.62
|
||||
- @verdaccio/utils@6.0.0-6-next.30
|
||||
|
||||
## 6.0.0-6-next.40
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@verdaccio/middleware",
|
||||
"version": "6.0.0-6-next.40",
|
||||
"version": "6.0.0-6-next.41",
|
||||
"description": "express middleware utils",
|
||||
"main": "./build/index.js",
|
||||
"types": "build/index.d.ts",
|
||||
@@ -38,12 +38,12 @@
|
||||
"build": "pnpm run build:js && pnpm run build:types"
|
||||
},
|
||||
"dependencies": {
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.61",
|
||||
"@verdaccio/utils": "workspace:6.0.0-6-next.29",
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.61",
|
||||
"@verdaccio/url": "workspace:11.0.0-6-next.27",
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.62",
|
||||
"@verdaccio/utils": "workspace:6.0.0-6-next.30",
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.62",
|
||||
"@verdaccio/url": "workspace:11.0.0-6-next.28",
|
||||
"debug": "4.3.4",
|
||||
"lru-cache": "7.14.1",
|
||||
"lru-cache": "7.16.1",
|
||||
"express": "4.18.2",
|
||||
"lodash": "4.17.21",
|
||||
"mime": "2.6.0",
|
||||
@@ -54,7 +54,7 @@
|
||||
"url": "https://opencollective.com/verdaccio"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@verdaccio/logger": "workspace:6.0.0-6-next.29",
|
||||
"@verdaccio/logger": "workspace:6.0.0-6-next.30",
|
||||
"body-parser": "1.20.1",
|
||||
"supertest": "6.3.3"
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@ import { HTTP_STATUS } from '@verdaccio/core';
|
||||
import { isURLhasValidProtocol } from '@verdaccio/url';
|
||||
|
||||
import { setSecurityWebHeaders } from './security';
|
||||
import renderHTML, { isHTTPProtocol } from './utils/renderHTML';
|
||||
import renderHTML from './utils/renderHTML';
|
||||
|
||||
const debug = buildDebug('verdaccio:web:render');
|
||||
|
||||
@@ -31,23 +31,10 @@ export function renderWebMiddleware(config, tokenMiddleware, pluginOptions) {
|
||||
if (typeof tokenMiddleware === 'function') {
|
||||
router.use(tokenMiddleware);
|
||||
}
|
||||
|
||||
router.use(setSecurityWebHeaders);
|
||||
|
||||
// Logo
|
||||
let logoURI = config?.web?.logo ?? '';
|
||||
if (logoURI && !isURLhasValidProtocol(logoURI)) {
|
||||
// URI related to a local file
|
||||
|
||||
// Note: `path.join` will break on Windows, because it transforms `/` to `\`
|
||||
// Use POSIX version `path.posix.join` instead.
|
||||
logoURI = path.posix.join('/-/static/', path.basename(logoURI));
|
||||
router.get(logoURI, function (req, res, next) {
|
||||
res.sendFile(path.resolve(config.web.logo), sendFileCallback(next));
|
||||
debug('render static');
|
||||
});
|
||||
}
|
||||
|
||||
// Static
|
||||
// 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}`;
|
||||
@@ -55,13 +42,13 @@ export function renderWebMiddleware(config, tokenMiddleware, pluginOptions) {
|
||||
res.sendFile(file, sendFileCallback(next));
|
||||
});
|
||||
|
||||
// logo
|
||||
if (config?.web?.logo && !isHTTPProtocol(config?.web?.logo)) {
|
||||
// check the origin of the logo
|
||||
if (config?.web?.logo && !isURLhasValidProtocol(config?.web?.logo)) {
|
||||
// URI related to a local file
|
||||
const absoluteLocalFile = path.posix.resolve(config.web.logo);
|
||||
debug('serve local logo %s', absoluteLocalFile);
|
||||
try {
|
||||
// TODO: remove existsSync by async alternative
|
||||
// TODO: replace existsSync by async alternative
|
||||
if (
|
||||
fs.existsSync(absoluteLocalFile) &&
|
||||
typeof fs.accessSync(absoluteLocalFile, fs.constants.R_OK) === 'undefined'
|
||||
|
||||
@@ -6,6 +6,7 @@ import { URL } from 'url';
|
||||
import { WEB_TITLE } from '@verdaccio/config';
|
||||
import { HEADERS } from '@verdaccio/core';
|
||||
import { TemplateUIOptions } from '@verdaccio/types';
|
||||
import { isURLhasValidProtocol } from '@verdaccio/url';
|
||||
import { getPublicUrl } from '@verdaccio/url';
|
||||
|
||||
import renderTemplate from './template';
|
||||
@@ -21,20 +22,12 @@ const defaultManifestFiles = {
|
||||
ico: 'favicon.ico',
|
||||
};
|
||||
|
||||
/**
|
||||
* Check if URI is starting with "http://", "https://" or "//"
|
||||
* @param {string} uri
|
||||
*/
|
||||
export function isHTTPProtocol(uri: string): boolean {
|
||||
return /^(https?:)?\/\//.test(uri);
|
||||
}
|
||||
|
||||
export function resolveLogo(config, req) {
|
||||
const isLocalFile = config?.web?.logo && !isHTTPProtocol(config?.web?.logo);
|
||||
const isLocalFile = config?.web?.logo && !isURLhasValidProtocol(config?.web?.logo);
|
||||
|
||||
if (isLocalFile) {
|
||||
return `${getPublicUrl(config?.url_prefix, req)}-/static/${path.basename(config?.web?.logo)}`;
|
||||
} else if (isHTTPProtocol(config?.web?.logo)) {
|
||||
} else if (isURLhasValidProtocol(config?.web?.logo)) {
|
||||
return config?.web?.logo;
|
||||
} else {
|
||||
return '';
|
||||
@@ -53,7 +46,7 @@ export default function renderHTML(config, manifest, manifestFiles, req, res) {
|
||||
const title = config?.web?.title ?? WEB_TITLE;
|
||||
const login = hasLogin(config);
|
||||
const scope = config?.web?.scope ?? '';
|
||||
const logoURI = resolveLogo(config, req);
|
||||
const logo = resolveLogo(config, req);
|
||||
const pkgManagers = config?.web?.pkgManagers ?? ['yarn', 'pnpm', 'npm'];
|
||||
const version = config?.web?.version;
|
||||
const flags = {
|
||||
@@ -94,7 +87,7 @@ export default function renderHTML(config, manifest, manifestFiles, req, res) {
|
||||
base,
|
||||
primaryColor,
|
||||
version,
|
||||
logoURI,
|
||||
logo,
|
||||
flags,
|
||||
login,
|
||||
pkgManagers,
|
||||
|
||||
BIN
packages/middleware/test/config/dark-logo.png
Normal file
BIN
packages/middleware/test/config/dark-logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.6 KiB |
24
packages/middleware/test/config/file-logo.yaml
Normal file
24
packages/middleware/test/config/file-logo.yaml
Normal file
@@ -0,0 +1,24 @@
|
||||
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: './test/config/dark-logo.png'
|
||||
html_cache: false
|
||||
|
||||
url_prefix: /prefix
|
||||
|
||||
log: { type: stdout, format: pretty, level: trace }
|
||||
|
||||
flags:
|
||||
changePassword: true
|
||||
@@ -8,6 +8,7 @@ auth:
|
||||
web:
|
||||
title: verdaccio
|
||||
login: false
|
||||
html_cache: false
|
||||
|
||||
publish:
|
||||
allow_offline: false
|
||||
|
||||
24
packages/middleware/test/config/no-logo.yaml
Normal file
24
packages/middleware/test/config/no-logo.yaml
Normal file
@@ -0,0 +1,24 @@
|
||||
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:
|
||||
html_cache: false
|
||||
|
||||
url_prefix: /prefix
|
||||
|
||||
log: { type: stdout, format: pretty, level: trace }
|
||||
|
||||
flags:
|
||||
changePassword: true
|
||||
@@ -13,7 +13,8 @@ web:
|
||||
showDownloadTarball: true
|
||||
showRaw: true
|
||||
primary_color: '#ffffff'
|
||||
logoURI: 'http://logo.org/logo.png'
|
||||
logo: 'http://logo.org/logo.png'
|
||||
html_cache: false
|
||||
|
||||
url_prefix: /prefix
|
||||
|
||||
|
||||
24
packages/middleware/test/config/wrong-logo.yaml
Normal file
24
packages/middleware/test/config/wrong-logo.yaml
Normal file
@@ -0,0 +1,24 @@
|
||||
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: './does_not_exist/config/dark-logo.png'
|
||||
html_cache: false
|
||||
|
||||
url_prefix: /prefix
|
||||
|
||||
log: { type: stdout, format: pretty, level: trace }
|
||||
|
||||
flags:
|
||||
changePassword: true
|
||||
@@ -37,6 +37,10 @@ describe('test web server', () => {
|
||||
return new JSDOM(response.text, { runScripts: 'dangerously' });
|
||||
};
|
||||
|
||||
const loadLogo = async (config = 'default-test.yaml', url) => {
|
||||
return supertest(initializeServer(config)).get(url).expect(HTTP_STATUS.OK);
|
||||
};
|
||||
|
||||
test('should match render set ui properties', async () => {
|
||||
const {
|
||||
window: { __VERDACCIO_BASENAME_UI_OPTIONS },
|
||||
@@ -56,7 +60,7 @@ describe('test web server', () => {
|
||||
// FIXME: mock these values, avoid random
|
||||
// base: 'http://127.0.0.1:60864/prefix/',
|
||||
// version: '6.0.0-6-next.28',
|
||||
logoURI: '',
|
||||
logo: 'http://logo.org/logo.png',
|
||||
flags: { changePassword: true },
|
||||
login: true,
|
||||
pkgManagers: ['pnpm', 'yarn'],
|
||||
@@ -67,6 +71,28 @@ describe('test web server', () => {
|
||||
);
|
||||
});
|
||||
|
||||
test('should render logo as file', async () => {
|
||||
const {
|
||||
window: { __VERDACCIO_BASENAME_UI_OPTIONS },
|
||||
} = await render('file-logo.yaml');
|
||||
expect(__VERDACCIO_BASENAME_UI_OPTIONS.logo).toMatch('/prefix/-/static/dark-logo.png');
|
||||
return loadLogo('file-logo.yaml', '/-/static/dark-logo.png');
|
||||
});
|
||||
|
||||
test('should not render logo as absolute file is wrong', async () => {
|
||||
const {
|
||||
window: { __VERDACCIO_BASENAME_UI_OPTIONS },
|
||||
} = await render('wrong-logo.yaml');
|
||||
expect(__VERDACCIO_BASENAME_UI_OPTIONS.logo).toEqual('');
|
||||
});
|
||||
|
||||
test('should render not render a logo', async () => {
|
||||
const {
|
||||
window: { __VERDACCIO_BASENAME_UI_OPTIONS },
|
||||
} = await render('no-logo.yaml');
|
||||
expect(__VERDACCIO_BASENAME_UI_OPTIONS.logo).toEqual('');
|
||||
});
|
||||
|
||||
test.todo('should default title');
|
||||
test.todo('should need html cache');
|
||||
});
|
||||
|
||||
@@ -1,5 +1,16 @@
|
||||
# @verdaccio/node-api
|
||||
|
||||
## 6.0.0-6-next.62
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [378e907d]
|
||||
- @verdaccio/core@6.0.0-6-next.62
|
||||
- @verdaccio/logger@6.0.0-6-next.30
|
||||
- @verdaccio/server-fastify@6.0.0-6-next.43
|
||||
- @verdaccio/server@6.0.0-6-next.51
|
||||
- @verdaccio/config@6.0.0-6-next.62
|
||||
|
||||
## 6.0.0-6-next.61
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@verdaccio/node-api",
|
||||
"version": "6.0.0-6-next.61",
|
||||
"version": "6.0.0-6-next.62",
|
||||
"description": "node API",
|
||||
"main": "build/index.js",
|
||||
"types": "build/index.d.ts",
|
||||
@@ -39,18 +39,18 @@
|
||||
},
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.61",
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.61",
|
||||
"@verdaccio/logger": "workspace:6.0.0-6-next.29",
|
||||
"@verdaccio/server": "workspace:6.0.0-6-next.50",
|
||||
"@verdaccio/server-fastify": "workspace:6.0.0-6-next.42",
|
||||
"core-js": "3.27.0",
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.62",
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.62",
|
||||
"@verdaccio/logger": "workspace:6.0.0-6-next.30",
|
||||
"@verdaccio/server": "workspace:6.0.0-6-next.51",
|
||||
"@verdaccio/server-fastify": "workspace:6.0.0-6-next.43",
|
||||
"core-js": "3.28.0",
|
||||
"debug": "4.3.4",
|
||||
"lodash": "4.17.21"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "16.18.10",
|
||||
"@verdaccio/types": "workspace:11.0.0-6-next.20",
|
||||
"@verdaccio/types": "workspace:11.0.0-6-next.21",
|
||||
"jest-mock-process": "1.5.1",
|
||||
"selfsigned": "1.10.14",
|
||||
"supertest": "6.3.3"
|
||||
|
||||
@@ -1,5 +1,13 @@
|
||||
# Change Log
|
||||
|
||||
## 11.0.0-6-next.25
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [378e907d]
|
||||
- @verdaccio/core@6.0.0-6-next.62
|
||||
- @verdaccio/config@6.0.0-6-next.62
|
||||
|
||||
## 11.0.0-6-next.24
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "verdaccio-audit",
|
||||
"version": "11.0.0-6-next.24",
|
||||
"version": "11.0.0-6-next.25",
|
||||
"description": "Verdaccio Middleware plugin to bypass npmjs audit",
|
||||
"keywords": [
|
||||
"private",
|
||||
@@ -30,16 +30,16 @@
|
||||
"node": ">=12"
|
||||
},
|
||||
"dependencies": {
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.61",
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.61",
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.62",
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.62",
|
||||
"express": "4.18.2",
|
||||
"https-proxy-agent": "5.0.1",
|
||||
"node-fetch": "cjs"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@verdaccio/types": "workspace:11.0.0-6-next.20",
|
||||
"@verdaccio/auth": "workspace:6.0.0-6-next.40",
|
||||
"@verdaccio/logger": "workspace:6.0.0-6-next.29",
|
||||
"@verdaccio/types": "workspace:11.0.0-6-next.21",
|
||||
"@verdaccio/auth": "workspace:6.0.0-6-next.41",
|
||||
"@verdaccio/logger": "workspace:6.0.0-6-next.30",
|
||||
"nock": "13.2.9",
|
||||
"supertest": "6.3.3"
|
||||
},
|
||||
|
||||
@@ -1,5 +1,12 @@
|
||||
# Change Log
|
||||
|
||||
## 11.0.0-6-next.27
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [378e907d]
|
||||
- @verdaccio/core@6.0.0-6-next.62
|
||||
|
||||
## 11.0.0-6-next.26
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "verdaccio-auth-memory",
|
||||
"version": "11.0.0-6-next.26",
|
||||
"version": "11.0.0-6-next.27",
|
||||
"description": "Auth plugin for Verdaccio that keeps users in memory",
|
||||
"keywords": [
|
||||
"private",
|
||||
@@ -32,11 +32,11 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"debug": "4.3.4",
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.61"
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.62"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.61",
|
||||
"@verdaccio/types": "workspace:11.0.0-6-next.20"
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.62",
|
||||
"@verdaccio/types": "workspace:11.0.0-6-next.21"
|
||||
},
|
||||
"scripts": {
|
||||
"clean": "rimraf ./build",
|
||||
|
||||
@@ -1,5 +1,13 @@
|
||||
# Change Log
|
||||
|
||||
## 11.0.0-6-next.32
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [378e907d]
|
||||
- @verdaccio/core@6.0.0-6-next.62
|
||||
- @verdaccio/file-locking@11.0.0-6-next.7
|
||||
|
||||
## 11.0.0-6-next.31
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "verdaccio-htpasswd",
|
||||
"version": "11.0.0-6-next.31",
|
||||
"version": "11.0.0-6-next.32",
|
||||
"description": "htpasswd auth plugin for Verdaccio",
|
||||
"keywords": [
|
||||
"private",
|
||||
@@ -34,20 +34,20 @@
|
||||
"npm": ">=6"
|
||||
},
|
||||
"dependencies": {
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.61",
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.62",
|
||||
"@verdaccio/file-locking": "workspace:11.0.0-6-next.7",
|
||||
"apache-md5": "1.1.8",
|
||||
"bcryptjs": "2.4.3",
|
||||
"core-js": "3.27.0",
|
||||
"core-js": "3.28.0",
|
||||
"http-errors": "1.8.1",
|
||||
"debug": "4.3.4",
|
||||
"unix-crypt-td-js": "1.1.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/bcryptjs": "2.4.2",
|
||||
"@verdaccio/types": "workspace:11.0.0-6-next.20",
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.61",
|
||||
"@verdaccio/logger": "workspace:6.0.0-6-next.29",
|
||||
"@verdaccio/types": "workspace:11.0.0-6-next.21",
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.62",
|
||||
"@verdaccio/logger": "workspace:6.0.0-6-next.30",
|
||||
"mockdate": "3.0.5"
|
||||
},
|
||||
"scripts": {
|
||||
|
||||
@@ -1,5 +1,14 @@
|
||||
# Change Log
|
||||
|
||||
## 11.0.0-6-next.32
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [378e907d]
|
||||
- @verdaccio/core@6.0.0-6-next.62
|
||||
- @verdaccio/file-locking@11.0.0-6-next.7
|
||||
- @verdaccio/utils@6.0.0-6-next.30
|
||||
|
||||
## 11.0.0-6-next.31
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@verdaccio/local-storage",
|
||||
"version": "11.0.0-6-next.31",
|
||||
"version": "11.0.0-6-next.32",
|
||||
"description": "Local storage implementation",
|
||||
"keywords": [
|
||||
"private",
|
||||
@@ -37,23 +37,23 @@
|
||||
"npm": ">=7"
|
||||
},
|
||||
"dependencies": {
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.61",
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.62",
|
||||
"@verdaccio/file-locking": "workspace:11.0.0-6-next.7",
|
||||
"@verdaccio/utils": "workspace:6.0.0-6-next.29",
|
||||
"core-js": "3.27.0",
|
||||
"@verdaccio/utils": "workspace:6.0.0-6-next.30",
|
||||
"core-js": "3.28.0",
|
||||
"debug": "4.3.4",
|
||||
"globby": "11.1.0",
|
||||
"lockfile": "1.0.4",
|
||||
"sanitize-filename": "1.6.3",
|
||||
"lodash": "4.17.21",
|
||||
"lowdb": "1.0.0",
|
||||
"lru-cache": "7.14.1"
|
||||
"lru-cache": "7.16.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/minimatch": "3.0.5",
|
||||
"@verdaccio/types": "workspace:11.0.0-6-next.20",
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.61",
|
||||
"@verdaccio/logger": "workspace:6.0.0-6-next.29",
|
||||
"@verdaccio/types": "workspace:11.0.0-6-next.21",
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.62",
|
||||
"@verdaccio/logger": "workspace:6.0.0-6-next.30",
|
||||
"@verdaccio/test-helper": "workspace:2.0.0-6-next.7",
|
||||
"minimatch": "3.1.2"
|
||||
},
|
||||
|
||||
@@ -1,5 +1,12 @@
|
||||
# Change Log
|
||||
|
||||
## 11.0.0-6-next.29
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [378e907d]
|
||||
- @verdaccio/core@6.0.0-6-next.62
|
||||
|
||||
## 11.0.0-6-next.28
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "verdaccio-memory",
|
||||
"version": "11.0.0-6-next.28",
|
||||
"version": "11.0.0-6-next.29",
|
||||
"description": "Storage implementation in memory",
|
||||
"keywords": [
|
||||
"private",
|
||||
@@ -31,15 +31,15 @@
|
||||
"npm": ">=6"
|
||||
},
|
||||
"dependencies": {
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.61",
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.62",
|
||||
"memory-fs": "0.5.0",
|
||||
"debug": "4.3.4",
|
||||
"memfs": "3.4.12"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@verdaccio/types": "workspace:11.0.0-6-next.20",
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.61",
|
||||
"@verdaccio/logger": "workspace:6.0.0-6-next.29"
|
||||
"@verdaccio/types": "workspace:11.0.0-6-next.21",
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.62",
|
||||
"@verdaccio/logger": "workspace:6.0.0-6-next.30"
|
||||
},
|
||||
"scripts": {
|
||||
"clean": "rimraf ./build",
|
||||
|
||||
@@ -1,5 +1,15 @@
|
||||
# @verdaccio/ui-theme
|
||||
|
||||
## 6.0.0-6-next.62
|
||||
|
||||
### Major Changes
|
||||
|
||||
- 781ac9ac: fix package configuration issues
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 4fc21146: fix: missing logo on header
|
||||
|
||||
## 6.0.0-6-next.61
|
||||
|
||||
## 6.0.0-6-next.60
|
||||
|
||||
@@ -2,8 +2,11 @@ const path = require('path');
|
||||
|
||||
module.exports = () => {
|
||||
return {
|
||||
// location of the static files, webpack output
|
||||
staticPath: path.join(__dirname, 'static'),
|
||||
// webpack manifest json file
|
||||
manifest: require('./static/manifest.json'),
|
||||
// main manifest files to be loaded
|
||||
manifestFiles: {
|
||||
js: ['runtime.js', 'vendors.js', 'main.js'],
|
||||
},
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@verdaccio/ui-theme",
|
||||
"version": "6.0.0-6-next.61",
|
||||
"version": "6.0.0-6-next.62",
|
||||
"description": "Verdaccio User Interface",
|
||||
"author": {
|
||||
"name": "Verdaccio Contributors",
|
||||
@@ -15,9 +15,9 @@
|
||||
"devDependencies": {
|
||||
"@emotion/react": "11.10.5",
|
||||
"@emotion/styled": "11.10.5",
|
||||
"@mui/icons-material": "5.11.0",
|
||||
"@mui/styles": "5.11.1",
|
||||
"@mui/material": "5.11.1",
|
||||
"@mui/icons-material": "5.11.9",
|
||||
"@mui/styles": "5.11.9",
|
||||
"@mui/material": "5.11.9",
|
||||
"@emotion/babel-plugin": "11.10.5",
|
||||
"@emotion/css": "11.10.5",
|
||||
"@emotion/jest": "11.10.5",
|
||||
@@ -27,8 +27,8 @@
|
||||
"@testing-library/dom": "8.19.1",
|
||||
"@testing-library/jest-dom": "5.16.5",
|
||||
"@testing-library/react": "13.4.0",
|
||||
"@verdaccio/node-api": "workspace:6.0.0-6-next.61",
|
||||
"@verdaccio/ui-components": "workspace:2.0.0-6-next.3",
|
||||
"@verdaccio/node-api": "workspace:6.0.0-6-next.62",
|
||||
"@verdaccio/ui-components": "workspace:2.0.0-6-next.4",
|
||||
"@verdaccio/types": "workspace:*",
|
||||
"normalize.css": "8.0.1",
|
||||
"babel-loader": "8.3.0",
|
||||
@@ -52,10 +52,10 @@
|
||||
"node-mocks-http": "1.12.1",
|
||||
"optimize-css-assets-webpack-plugin": "6.0.1",
|
||||
"ora": "5.4.1",
|
||||
"dompurify": "2.4.1",
|
||||
"dompurify": "2.4.4",
|
||||
"highlight.js": "11.7.0",
|
||||
"github-markdown-css": "4.0.0",
|
||||
"marked": "4.2.5",
|
||||
"marked": "4.2.12",
|
||||
"raw-loader": "4.0.2",
|
||||
"react": "18.2.0",
|
||||
"react-dom": "18.2.0",
|
||||
@@ -68,20 +68,20 @@
|
||||
"react-router": "5.3.4",
|
||||
"react-router-dom": "5.3.4",
|
||||
"react-virtualized": "9.22.3",
|
||||
"redux": "4.2.0",
|
||||
"redux": "4.2.1",
|
||||
"redux-persist": "6.0.0",
|
||||
"remark-gfm": "3.0.1",
|
||||
"rimraf": "3.0.2",
|
||||
"style-loader": "3.3.1",
|
||||
"stylelint": "14.16.1",
|
||||
"stylelint-config-recommended": "7.0.0",
|
||||
"stylelint": "15.1.0",
|
||||
"stylelint-config-recommended": "10.0.1",
|
||||
"stylelint-config-styled-components": "0.1.1",
|
||||
"stylelint-processor-styled-components": "1.10.0",
|
||||
"stylelint-webpack-plugin": "3.3.0",
|
||||
"stylelint-webpack-plugin": "4.1.0",
|
||||
"supertest": "6.3.3",
|
||||
"terser-webpack-plugin": "5.3.6",
|
||||
"url-loader": "4.1.1",
|
||||
"validator": "13.7.0",
|
||||
"validator": "13.9.0",
|
||||
"webpack": "5.75.0",
|
||||
"webpack-bundle-analyzer": "4.7.0",
|
||||
"webpack-bundle-size-analyzer": "3.1.0",
|
||||
@@ -109,9 +109,10 @@
|
||||
"test": "cross-env TZ=UTC jest --config ./jest/jest.config.js",
|
||||
"test:update-snapshot": "yarn run test -- -u",
|
||||
"lint": "pnpm lint:js && pnpm lint:css",
|
||||
"clean": "rimraf ./static",
|
||||
"lint:css": "yarn stylelint \"src/**/styles.ts\"",
|
||||
"verdaccio:server": "node tools/verdaccio.js",
|
||||
"build": "webpack --config tools/webpack.prod.config.babel.js",
|
||||
"build": "pnpm clean && webpack --config tools/webpack.prod.config.babel.js",
|
||||
"build:stats": "webpack --config tools/webpack.prod.config.babel.js --json > stats.json",
|
||||
"build:size": "webpack --config tools/webpack.prod.config.babel.js --json | webpack-bundle-size-analyzer"
|
||||
},
|
||||
|
||||
@@ -1,5 +1,16 @@
|
||||
# @verdaccio/proxy
|
||||
|
||||
## 6.0.0-6-next.40
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [378e907d]
|
||||
- @verdaccio/core@6.0.0-6-next.62
|
||||
- @verdaccio/logger@6.0.0-6-next.30
|
||||
- @verdaccio/local-storage@11.0.0-6-next.32
|
||||
- @verdaccio/config@6.0.0-6-next.62
|
||||
- @verdaccio/utils@6.0.0-6-next.30
|
||||
|
||||
## 6.0.0-6-next.39
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@verdaccio/proxy",
|
||||
"version": "6.0.0-6-next.39",
|
||||
"version": "6.0.0-6-next.40",
|
||||
"description": "verdaccio proxy fetcher",
|
||||
"main": "./build/index.js",
|
||||
"types": "build/index.d.ts",
|
||||
@@ -39,11 +39,11 @@
|
||||
"build": "pnpm run build:js && pnpm run build:types"
|
||||
},
|
||||
"dependencies": {
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.61",
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.61",
|
||||
"@verdaccio/local-storage": "workspace:11.0.0-6-next.31",
|
||||
"@verdaccio/logger": "workspace:6.0.0-6-next.29",
|
||||
"@verdaccio/utils": "workspace:6.0.0-6-next.29",
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.62",
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.62",
|
||||
"@verdaccio/local-storage": "workspace:11.0.0-6-next.32",
|
||||
"@verdaccio/logger": "workspace:6.0.0-6-next.30",
|
||||
"@verdaccio/utils": "workspace:6.0.0-6-next.30",
|
||||
"JSONStream": "1.3.5",
|
||||
"debug": "4.3.4",
|
||||
"lodash": "4.17.21",
|
||||
@@ -54,7 +54,7 @@
|
||||
"devDependencies": {
|
||||
"@types/node": "16.18.10",
|
||||
"p-cancelable": "2.1.1",
|
||||
"@verdaccio/types": "workspace:11.0.0-6-next.20",
|
||||
"@verdaccio/types": "workspace:11.0.0-6-next.21",
|
||||
"get-stream": "^6.0.1",
|
||||
"nock": "13.2.9",
|
||||
"node-mocks-http": "1.12.1",
|
||||
|
||||
@@ -187,7 +187,7 @@ describe('proxy', () => {
|
||||
prox1.getRemoteMetadata('jquery', {
|
||||
remoteAddress: '127.0.0.1',
|
||||
})
|
||||
).rejects.toThrowError(new Error('something awful happened'));
|
||||
).rejects.toThrow(new Error('something awful happened'));
|
||||
});
|
||||
|
||||
test('reply with 409 error', async () => {
|
||||
@@ -205,7 +205,7 @@ describe('proxy', () => {
|
||||
prox1.getRemoteMetadata('jquery', {
|
||||
remoteAddress: '127.0.0.1',
|
||||
})
|
||||
).rejects.toThrowError(
|
||||
).rejects.toThrow(
|
||||
new Error(
|
||||
'Unexpected token s in JSON at position 0 in "https://registry.npmjs.org/jquery"'
|
||||
)
|
||||
@@ -219,7 +219,7 @@ describe('proxy', () => {
|
||||
prox1.getRemoteMetadata('jquery', {
|
||||
remoteAddress: '127.0.0.1',
|
||||
})
|
||||
).rejects.toThrowError(
|
||||
).rejects.toThrow(
|
||||
errorUtils.getInternalError(`${errorUtils.API_ERROR.BAD_STATUS_CODE}: 409`)
|
||||
);
|
||||
});
|
||||
@@ -231,7 +231,7 @@ describe('proxy', () => {
|
||||
prox1.getRemoteMetadata('jquery', {
|
||||
remoteAddress: '127.0.0.1',
|
||||
})
|
||||
).rejects.toThrowError(errorUtils.getNotFound(API_ERROR.NOT_PACKAGE_UPLINK));
|
||||
).rejects.toThrow(errorUtils.getNotFound(API_ERROR.NOT_PACKAGE_UPLINK));
|
||||
expect(mockHttp).toHaveBeenCalledTimes(1);
|
||||
expect(mockHttp).toHaveBeenLastCalledWith(
|
||||
{
|
||||
@@ -278,13 +278,13 @@ describe('proxy', () => {
|
||||
remoteAddress: '127.0.0.1',
|
||||
retry: { limit: 2 },
|
||||
})
|
||||
).rejects.toThrowError();
|
||||
).rejects.toThrow();
|
||||
await expect(
|
||||
prox1.getRemoteMetadata('jquery', {
|
||||
remoteAddress: '127.0.0.1',
|
||||
retry: { limit: 2 },
|
||||
})
|
||||
).rejects.toThrowError(errorUtils.getInternalError(errorUtils.API_ERROR.UPLINK_OFFLINE));
|
||||
).rejects.toThrow(errorUtils.getInternalError(errorUtils.API_ERROR.UPLINK_OFFLINE));
|
||||
expect(mockWarn).toHaveBeenCalledTimes(1);
|
||||
expect(mockWarn).toHaveBeenLastCalledWith(
|
||||
{
|
||||
@@ -315,14 +315,14 @@ describe('proxy', () => {
|
||||
remoteAddress: '127.0.0.1',
|
||||
retry: { limit: 2 },
|
||||
})
|
||||
).rejects.toThrowError();
|
||||
).rejects.toThrow();
|
||||
// display offline error on exausted retry
|
||||
await expect(
|
||||
prox1.getRemoteMetadata('jquery', {
|
||||
remoteAddress: '127.0.0.1',
|
||||
retry: { limit: 2 },
|
||||
})
|
||||
).rejects.toThrowError(errorUtils.getInternalError(errorUtils.API_ERROR.UPLINK_OFFLINE));
|
||||
).rejects.toThrow(errorUtils.getInternalError(errorUtils.API_ERROR.UPLINK_OFFLINE));
|
||||
expect(mockWarn).toHaveBeenCalledTimes(2);
|
||||
expect(mockWarn).toHaveBeenLastCalledWith(
|
||||
{
|
||||
|
||||
@@ -1,5 +1,24 @@
|
||||
# @verdaccio/server
|
||||
|
||||
## 6.0.0-6-next.51
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [4fc21146]
|
||||
- Updated dependencies [378e907d]
|
||||
- Updated dependencies [781ac9ac]
|
||||
- @verdaccio/middleware@6.0.0-6-next.41
|
||||
- @verdaccio/web@6.0.0-6-next.49
|
||||
- @verdaccio/core@6.0.0-6-next.62
|
||||
- @verdaccio/api@6.0.0-6-next.45
|
||||
- @verdaccio/auth@6.0.0-6-next.41
|
||||
- @verdaccio/loaders@6.0.0-6-next.31
|
||||
- @verdaccio/logger@6.0.0-6-next.30
|
||||
- verdaccio-audit@11.0.0-6-next.25
|
||||
- @verdaccio/store@6.0.0-6-next.42
|
||||
- @verdaccio/config@6.0.0-6-next.62
|
||||
- @verdaccio/utils@6.0.0-6-next.30
|
||||
|
||||
## 6.0.0-6-next.50
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@verdaccio/server",
|
||||
"version": "6.0.0-6-next.50",
|
||||
"version": "6.0.0-6-next.51",
|
||||
"description": "server logic",
|
||||
"main": "./build/index.js",
|
||||
"types": "build/index.d.ts",
|
||||
@@ -30,17 +30,17 @@
|
||||
"npm": ">=6"
|
||||
},
|
||||
"dependencies": {
|
||||
"@verdaccio/api": "workspace:6.0.0-6-next.44",
|
||||
"@verdaccio/auth": "workspace:6.0.0-6-next.40",
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.61",
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.61",
|
||||
"@verdaccio/loaders": "workspace:6.0.0-6-next.30",
|
||||
"@verdaccio/logger": "workspace:6.0.0-6-next.29",
|
||||
"@verdaccio/middleware": "workspace:6.0.0-6-next.40",
|
||||
"@verdaccio/store": "workspace:6.0.0-6-next.41",
|
||||
"@verdaccio/utils": "workspace:6.0.0-6-next.29",
|
||||
"@verdaccio/web": "workspace:6.0.0-6-next.48",
|
||||
"verdaccio-audit": "workspace:11.0.0-6-next.24",
|
||||
"@verdaccio/api": "workspace:6.0.0-6-next.45",
|
||||
"@verdaccio/auth": "workspace:6.0.0-6-next.41",
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.62",
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.62",
|
||||
"@verdaccio/loaders": "workspace:6.0.0-6-next.31",
|
||||
"@verdaccio/logger": "workspace:6.0.0-6-next.30",
|
||||
"@verdaccio/middleware": "workspace:6.0.0-6-next.41",
|
||||
"@verdaccio/store": "workspace:6.0.0-6-next.42",
|
||||
"@verdaccio/utils": "workspace:6.0.0-6-next.30",
|
||||
"@verdaccio/web": "workspace:6.0.0-6-next.49",
|
||||
"verdaccio-audit": "workspace:11.0.0-6-next.25",
|
||||
"compression": "1.7.4",
|
||||
"cors": "2.8.5",
|
||||
"debug": "4.3.4",
|
||||
@@ -49,7 +49,7 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "16.18.10",
|
||||
"@verdaccio/proxy": "workspace:6.0.0-6-next.39",
|
||||
"@verdaccio/proxy": "workspace:6.0.0-6-next.40",
|
||||
"@verdaccio/test-helper": "workspace:2.0.0-6-next.7",
|
||||
"http-errors": "1.8.1"
|
||||
},
|
||||
|
||||
@@ -1,5 +1,18 @@
|
||||
# @verdaccio/server-fastify
|
||||
|
||||
## 6.0.0-6-next.43
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [378e907d]
|
||||
- @verdaccio/core@6.0.0-6-next.62
|
||||
- @verdaccio/auth@6.0.0-6-next.41
|
||||
- @verdaccio/tarball@11.0.0-6-next.31
|
||||
- @verdaccio/logger@6.0.0-6-next.30
|
||||
- @verdaccio/store@6.0.0-6-next.42
|
||||
- @verdaccio/config@6.0.0-6-next.62
|
||||
- @verdaccio/utils@6.0.0-6-next.30
|
||||
|
||||
## 6.0.0-6-next.42
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@verdaccio/server-fastify",
|
||||
"version": "6.0.0-6-next.42",
|
||||
"version": "6.0.0-6-next.43",
|
||||
"description": "fastify server api implementation",
|
||||
"keywords": [
|
||||
"private",
|
||||
@@ -34,22 +34,22 @@
|
||||
"access": "public"
|
||||
},
|
||||
"dependencies": {
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.61",
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.61",
|
||||
"@verdaccio/auth": "workspace:6.0.0-6-next.40",
|
||||
"@verdaccio/logger": "workspace:6.0.0-6-next.29",
|
||||
"@verdaccio/store": "workspace:6.0.0-6-next.41",
|
||||
"@verdaccio/tarball": "workspace:11.0.0-6-next.30",
|
||||
"@verdaccio/utils": "workspace:6.0.0-6-next.29",
|
||||
"core-js": "3.27.0",
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.62",
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.62",
|
||||
"@verdaccio/auth": "workspace:6.0.0-6-next.41",
|
||||
"@verdaccio/logger": "workspace:6.0.0-6-next.30",
|
||||
"@verdaccio/store": "workspace:6.0.0-6-next.42",
|
||||
"@verdaccio/tarball": "workspace:11.0.0-6-next.31",
|
||||
"@verdaccio/utils": "workspace:6.0.0-6-next.30",
|
||||
"core-js": "3.28.0",
|
||||
"debug": "4.3.4",
|
||||
"fastify": "4.10.2",
|
||||
"fastify": "4.13.0",
|
||||
"fastify-plugin": "4.4.0",
|
||||
"lodash": "4.17.21"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "16.18.10",
|
||||
"@verdaccio/types": "workspace:11.0.0-6-next.20",
|
||||
"@verdaccio/types": "workspace:11.0.0-6-next.21",
|
||||
"ts-node": "10.9.1"
|
||||
},
|
||||
"scripts": {
|
||||
|
||||
@@ -32,8 +32,8 @@
|
||||
"homepage": "https://verdaccio.org",
|
||||
"license": "MIT",
|
||||
"devDependencies": {
|
||||
"@verdaccio/cli": "workspace:6.0.0-6-next.61",
|
||||
"@verdaccio/ui-theme": "workspace:6.0.0-6-next.61",
|
||||
"@verdaccio/cli": "workspace:6.0.0-6-next.62",
|
||||
"@verdaccio/ui-theme": "workspace:6.0.0-6-next.62",
|
||||
"fs-extra": "10.1.0",
|
||||
"webpack": "5.75.0",
|
||||
"webpack-bundle-analyzer": "4.7.0",
|
||||
|
||||
@@ -1,5 +1,21 @@
|
||||
# @verdaccio/store
|
||||
|
||||
## 6.0.0-6-next.42
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [378e907d]
|
||||
- @verdaccio/core@6.0.0-6-next.62
|
||||
- @verdaccio/tarball@11.0.0-6-next.31
|
||||
- @verdaccio/url@11.0.0-6-next.28
|
||||
- @verdaccio/hooks@6.0.0-6-next.32
|
||||
- @verdaccio/loaders@6.0.0-6-next.31
|
||||
- @verdaccio/logger@6.0.0-6-next.30
|
||||
- @verdaccio/local-storage@11.0.0-6-next.32
|
||||
- @verdaccio/proxy@6.0.0-6-next.40
|
||||
- @verdaccio/config@6.0.0-6-next.62
|
||||
- @verdaccio/utils@6.0.0-6-next.30
|
||||
|
||||
## 6.0.0-6-next.41
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@verdaccio/store",
|
||||
"version": "6.0.0-6-next.41",
|
||||
"version": "6.0.0-6-next.42",
|
||||
"description": "loaders logic",
|
||||
"main": "./build/index.js",
|
||||
"types": "build/index.d.ts",
|
||||
@@ -39,16 +39,16 @@
|
||||
"build": "pnpm run build:js && pnpm run build:types"
|
||||
},
|
||||
"dependencies": {
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.61",
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.61",
|
||||
"@verdaccio/hooks": "workspace:6.0.0-6-next.31",
|
||||
"@verdaccio/loaders": "workspace:6.0.0-6-next.30",
|
||||
"@verdaccio/local-storage": "workspace:11.0.0-6-next.31",
|
||||
"@verdaccio/logger": "workspace:6.0.0-6-next.29",
|
||||
"@verdaccio/proxy": "workspace:6.0.0-6-next.39",
|
||||
"@verdaccio/url": "workspace:11.0.0-6-next.27",
|
||||
"@verdaccio/utils": "workspace:6.0.0-6-next.29",
|
||||
"@verdaccio/tarball": "workspace:11.0.0-6-next.30",
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.62",
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.62",
|
||||
"@verdaccio/hooks": "workspace:6.0.0-6-next.32",
|
||||
"@verdaccio/loaders": "workspace:6.0.0-6-next.31",
|
||||
"@verdaccio/local-storage": "workspace:11.0.0-6-next.32",
|
||||
"@verdaccio/logger": "workspace:6.0.0-6-next.30",
|
||||
"@verdaccio/proxy": "workspace:6.0.0-6-next.40",
|
||||
"@verdaccio/url": "workspace:11.0.0-6-next.28",
|
||||
"@verdaccio/utils": "workspace:6.0.0-6-next.30",
|
||||
"@verdaccio/tarball": "workspace:11.0.0-6-next.31",
|
||||
"JSONStream": "1.3.5",
|
||||
"debug": "4.3.4",
|
||||
"lodash": "4.17.21",
|
||||
@@ -57,7 +57,7 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "16.18.10",
|
||||
"@verdaccio/types": "workspace:11.0.0-6-next.20",
|
||||
"@verdaccio/types": "workspace:11.0.0-6-next.21",
|
||||
"@verdaccio/test-helper": "workspace:2.0.0-6-next.7",
|
||||
"undici": "4.16.0",
|
||||
"nock": "13.2.9",
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user