Compare commits
18 Commits
@verdaccio
...
@verdaccio
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2bd9342cee | ||
|
|
16e38df8ae | ||
|
|
6ffb0091bd | ||
|
|
f555c0c8a3 | ||
|
|
dcb3f33049 | ||
|
|
9e8c9901eb | ||
|
|
a113ea011b | ||
|
|
4f67baec96 | ||
|
|
c383eb68ce | ||
|
|
7ef599cc4a | ||
|
|
f6a538f06d | ||
|
|
83ef80c668 | ||
|
|
b1d258b1da | ||
|
|
0ec3220caf | ||
|
|
d3ff751601 | ||
|
|
f0a5900af3 | ||
|
|
5fee278df4 | ||
|
|
d0b26c1300 |
8
.changeset/fresh-chicken-rush.md
Normal file
8
.changeset/fresh-chicken-rush.md
Normal file
@@ -0,0 +1,8 @@
|
||||
---
|
||||
'@verdaccio/types': patch
|
||||
'@verdaccio/middleware': patch
|
||||
'@verdaccio/server': patch
|
||||
'@verdaccio/ui-components': patch
|
||||
---
|
||||
|
||||
fix: missing version on footer
|
||||
7
.changeset/honest-maps-hear.md
Normal file
7
.changeset/honest-maps-hear.md
Normal file
@@ -0,0 +1,7 @@
|
||||
---
|
||||
'@verdaccio/test-cli-commons': patch
|
||||
'@verdaccio/e2e-ui': patch
|
||||
'verdaccio': patch
|
||||
---
|
||||
|
||||
fix: get-port missing dep
|
||||
@@ -91,6 +91,7 @@
|
||||
"fluffy-papayas-lay",
|
||||
"forty-students-refuse",
|
||||
"four-ways-try",
|
||||
"fresh-chicken-rush",
|
||||
"fuzzy-drinks-taste",
|
||||
"fuzzy-onions-draw",
|
||||
"gentle-parrots-lay",
|
||||
@@ -104,6 +105,7 @@
|
||||
"healthy-poets-compare",
|
||||
"heavy-ravens-lay",
|
||||
"hip-hounds-destroy",
|
||||
"honest-maps-hear",
|
||||
"kind-bears-nail",
|
||||
"kind-ladybugs-admire",
|
||||
"late-adults-love",
|
||||
@@ -130,6 +132,7 @@
|
||||
"plenty-spiders-melt",
|
||||
"plenty-tables-refuse",
|
||||
"poor-suns-film",
|
||||
"pretty-clouds-help",
|
||||
"pretty-hounds-tap",
|
||||
"proud-jeans-walk",
|
||||
"proud-jobs-hope",
|
||||
|
||||
9
.changeset/pretty-clouds-help.md
Normal file
9
.changeset/pretty-clouds-help.md
Normal file
@@ -0,0 +1,9 @@
|
||||
---
|
||||
'@verdaccio/config': minor
|
||||
'@verdaccio/core': minor
|
||||
'@verdaccio/types': minor
|
||||
'@verdaccio/server': minor
|
||||
'@verdaccio/store': minor
|
||||
---
|
||||
|
||||
feat: trustProxy property
|
||||
10
.github/workflows/ci-windows.yml
vendored
10
.github/workflows/ci-windows.yml
vendored
@@ -32,7 +32,7 @@ jobs:
|
||||
- name: Install
|
||||
run: pnpm recursive install --frozen-lockfile --registry http://localhost:4873
|
||||
- name: Cache .pnpm-store
|
||||
uses: actions/cache@69d9d449aced6a2ede0bc19182fadc3a0a42d2b0 # v3
|
||||
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3
|
||||
with:
|
||||
path: ~/.pnpm-store
|
||||
key: pnpm-${{ hashFiles('pnpm-lock.yaml') }}
|
||||
@@ -50,7 +50,7 @@ jobs:
|
||||
node-version-file: '.nvmrc'
|
||||
- name: Install pnpm
|
||||
run: npm i pnpm@6.32.15 -g
|
||||
- uses: actions/cache@69d9d449aced6a2ede0bc19182fadc3a0a42d2b0 # v3
|
||||
- uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3
|
||||
with:
|
||||
path: ~/.pnpm-store
|
||||
key: pnpm-${{ hashFiles('pnpm-lock.yaml') }}
|
||||
@@ -70,7 +70,7 @@ jobs:
|
||||
node-version-file: '.nvmrc'
|
||||
- name: Install pnpm
|
||||
run: npm i pnpm@6.32.15 -g
|
||||
- uses: actions/cache@69d9d449aced6a2ede0bc19182fadc3a0a42d2b0 # v3
|
||||
- uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3
|
||||
with:
|
||||
path: ~/.pnpm-store
|
||||
key: pnpm-${{ hashFiles('pnpm-lock.yaml') }}
|
||||
@@ -95,7 +95,7 @@ jobs:
|
||||
node-version: ${{ matrix.node_version }}
|
||||
- name: Install pnpm
|
||||
run: npm i pnpm@6.32.15 -g
|
||||
- uses: actions/cache@69d9d449aced6a2ede0bc19182fadc3a0a42d2b0 # v3
|
||||
- uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3
|
||||
with:
|
||||
path: ~/.pnpm-store
|
||||
key: pnpm-${{ hashFiles('pnpm-lock.yaml') }}
|
||||
@@ -116,7 +116,7 @@ jobs:
|
||||
node-version-file: '.nvmrc'
|
||||
- name: Install pnpm
|
||||
run: npm i pnpm@6.32.15 -g
|
||||
- uses: actions/cache@69d9d449aced6a2ede0bc19182fadc3a0a42d2b0 # v3
|
||||
- uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3
|
||||
with:
|
||||
path: ~/.pnpm-store
|
||||
key: pnpm-${{ hashFiles('pnpm-lock.yaml') }}
|
||||
|
||||
10
.github/workflows/ci.yml
vendored
10
.github/workflows/ci.yml
vendored
@@ -43,7 +43,7 @@ jobs:
|
||||
- name: Install
|
||||
run: pnpm recursive install --frozen-lockfile --registry http://localhost:4873
|
||||
- name: Cache .pnpm-store
|
||||
uses: actions/cache@69d9d449aced6a2ede0bc19182fadc3a0a42d2b0 # v3
|
||||
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3
|
||||
with:
|
||||
path: ~/.pnpm-store
|
||||
key: pnpm-${{ hashFiles('pnpm-lock.yaml') }}
|
||||
@@ -63,7 +63,7 @@ jobs:
|
||||
run: |
|
||||
corepack enable
|
||||
corepack prepare --activate pnpm@6.32.15
|
||||
- uses: actions/cache@69d9d449aced6a2ede0bc19182fadc3a0a42d2b0 # v3
|
||||
- uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3
|
||||
with:
|
||||
path: ~/.pnpm-store
|
||||
key: pnpm-${{ hashFiles('pnpm-lock.yaml') }}
|
||||
@@ -85,7 +85,7 @@ jobs:
|
||||
run: |
|
||||
corepack enable
|
||||
corepack prepare --activate pnpm@6.32.15
|
||||
- uses: actions/cache@69d9d449aced6a2ede0bc19182fadc3a0a42d2b0 # v3
|
||||
- uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3
|
||||
with:
|
||||
path: ~/.pnpm-store
|
||||
key: pnpm-${{ hashFiles('pnpm-lock.yaml') }}
|
||||
@@ -112,7 +112,7 @@ jobs:
|
||||
run: |
|
||||
corepack enable
|
||||
corepack prepare --activate pnpm@6.32.15
|
||||
- uses: actions/cache@69d9d449aced6a2ede0bc19182fadc3a0a42d2b0 # v3
|
||||
- uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3
|
||||
with:
|
||||
path: ~/.pnpm-store
|
||||
key: pnpm-${{ hashFiles('pnpm-lock.yaml') }}
|
||||
@@ -136,7 +136,7 @@ jobs:
|
||||
run: |
|
||||
corepack enable
|
||||
corepack prepare --activate pnpm@6.32.15
|
||||
- uses: actions/cache@69d9d449aced6a2ede0bc19182fadc3a0a42d2b0 # v3
|
||||
- uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3
|
||||
with:
|
||||
path: ~/.pnpm-store
|
||||
key: pnpm-${{ hashFiles('pnpm-lock.yaml') }}
|
||||
|
||||
6
.github/workflows/codeql-analysis.yml
vendored
6
.github/workflows/codeql-analysis.yml
vendored
@@ -34,7 +34,7 @@ jobs:
|
||||
|
||||
# Initializes the CodeQL tools for scanning.
|
||||
- name: Initialize CodeQL
|
||||
uses: github/codeql-action/init@32dc499307d133bb5085bae78498c0ac2cf762d5 # tag=v2
|
||||
uses: github/codeql-action/init@16964e90ba004cdf0cd845b866b5df21038b7723 # tag=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@32dc499307d133bb5085bae78498c0ac2cf762d5 # tag=v2
|
||||
uses: github/codeql-action/autobuild@16964e90ba004cdf0cd845b866b5df21038b7723 # tag=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@32dc499307d133bb5085bae78498c0ac2cf762d5 # tag=v2
|
||||
uses: github/codeql-action/analyze@16964e90ba004cdf0cd845b866b5df21038b7723 # tag=v2
|
||||
|
||||
10
.github/workflows/e2e-ci.yml
vendored
10
.github/workflows/e2e-ci.yml
vendored
@@ -29,7 +29,7 @@ jobs:
|
||||
- name: Install
|
||||
run: pnpm recursive install --frozen-lockfile --reporter=silence --ignore-scripts --registry http://localhost:4873
|
||||
- name: Cache .pnpm-store
|
||||
uses: actions/cache@69d9d449aced6a2ede0bc19182fadc3a0a42d2b0 # v3
|
||||
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3
|
||||
with:
|
||||
path: ~/.pnpm-store
|
||||
key: pnpm-${{ hashFiles('pnpm-lock.yaml') }}-${{ github.run_id }}-${{ github.sha }}
|
||||
@@ -46,7 +46,7 @@ jobs:
|
||||
node-version-file: '.nvmrc'
|
||||
- name: Install pnpm
|
||||
run: npm i pnpm@6.32.15 -g
|
||||
- uses: actions/cache@69d9d449aced6a2ede0bc19182fadc3a0a42d2b0 # v3
|
||||
- uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3
|
||||
with:
|
||||
path: ~/.pnpm-store
|
||||
key: pnpm-${{ hashFiles('pnpm-lock.yaml') }}-${{ github.run_id }}-${{ github.sha }}
|
||||
@@ -55,7 +55,7 @@ jobs:
|
||||
- name: build
|
||||
run: pnpm build
|
||||
- name: Cache packages
|
||||
uses: actions/cache@69d9d449aced6a2ede0bc19182fadc3a0a42d2b0 # v3
|
||||
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3
|
||||
id: cache-packages
|
||||
with:
|
||||
path: ./packages/
|
||||
@@ -86,13 +86,13 @@ jobs:
|
||||
node-version: ${{ matrix.node }}
|
||||
- name: Install pnpm
|
||||
run: npm i pnpm@6.32.15 -g
|
||||
- uses: actions/cache@69d9d449aced6a2ede0bc19182fadc3a0a42d2b0 # v3
|
||||
- uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3
|
||||
with:
|
||||
path: ~/.pnpm-store
|
||||
key: pnpm-${{ hashFiles('pnpm-lock.yaml') }}-${{ github.run_id }}-${{ github.sha }}
|
||||
- name: Install
|
||||
run: pnpm recursive install --offline --frozen-lockfile --reporter=silence --ignore-scripts --registry http://localhost:4873
|
||||
- uses: actions/cache@69d9d449aced6a2ede0bc19182fadc3a0a42d2b0 # v3
|
||||
- uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3
|
||||
with:
|
||||
path: ./packages/
|
||||
key: pkg-${{ hashFiles('pnpm-lock.yaml') }}-${{ github.run_id }}-${{ github.sha }}
|
||||
|
||||
2
.github/workflows/ui-components.yml
vendored
2
.github/workflows/ui-components.yml
vendored
@@ -35,7 +35,7 @@ jobs:
|
||||
node-version-file: '.nvmrc'
|
||||
|
||||
- name: Cache pnpm modules
|
||||
uses: actions/cache@69d9d449aced6a2ede0bc19182fadc3a0a42d2b0 # v3
|
||||
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3
|
||||
env:
|
||||
cache-name: cache-pnpm-modules
|
||||
with:
|
||||
|
||||
6
.github/workflows/website.yml
vendored
6
.github/workflows/website.yml
vendored
@@ -31,7 +31,7 @@ jobs:
|
||||
node-version: 16
|
||||
|
||||
- name: Cache pnpm modules
|
||||
uses: actions/cache@69d9d449aced6a2ede0bc19182fadc3a0a42d2b0 # v3
|
||||
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3
|
||||
env:
|
||||
cache-name: cache-pnpm-modules
|
||||
with:
|
||||
@@ -51,7 +51,7 @@ jobs:
|
||||
- name: Build Translations percentage
|
||||
run: pnpm build --filter "@verdaccio/crowdin-translations"
|
||||
- name: Cache Docusaurus Build
|
||||
uses: actions/cache@69d9d449aced6a2ede0bc19182fadc3a0a42d2b0 # v3
|
||||
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3
|
||||
with:
|
||||
path: website/node_modules/.cache/webpack
|
||||
key: cache/webpack-${{github.ref}}-${{ hashFiles('**/pnpm-lock.yaml') }}
|
||||
@@ -100,7 +100,7 @@ jobs:
|
||||
- name: Audit preview URL with Lighthouse
|
||||
if: github.repository == 'verdaccio/verdaccio'
|
||||
id: lighthouse_audit
|
||||
uses: treosh/lighthouse-ci-action@e0fe113967eee84b631d526ed18ce001f35fe9e9 # tag=9.3.1
|
||||
uses: treosh/lighthouse-ci-action@2e159d989f91bb9e399801b3e1ad90bcd4749f75 # tag=9.6.8
|
||||
with:
|
||||
urls: |
|
||||
${{ steps.netlify_preview.outputs.preview-url }}
|
||||
|
||||
@@ -1,5 +1,11 @@
|
||||
# @verdaccio/test-cli-commons
|
||||
|
||||
## 1.1.0-6-next.7
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- c383eb68: fix: get-port missing dep
|
||||
|
||||
## 1.1.0-6-next.6
|
||||
|
||||
### Minor Changes
|
||||
|
||||
@@ -1,19 +1,20 @@
|
||||
{
|
||||
"private": true,
|
||||
"name": "@verdaccio/test-cli-commons",
|
||||
"version": "1.1.0-6-next.6",
|
||||
"version": "1.1.0-6-next.7",
|
||||
"main": "./build/index.js",
|
||||
"types": "./build/index.d.ts",
|
||||
"devDependencies": {
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.65",
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.65",
|
||||
"@verdaccio/types": "workspace:11.0.0-6-next.23",
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.67",
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.67",
|
||||
"@verdaccio/types": "workspace:11.0.0-6-next.25",
|
||||
"debug": "4.3.4",
|
||||
"fs-extra": "10.1.0",
|
||||
"got": "11.8.6",
|
||||
"js-yaml": "4.1.0",
|
||||
"get-port": "5.1.1",
|
||||
"lodash": "4.17.21",
|
||||
"verdaccio": "workspace:6.0.0-6-next.65"
|
||||
"verdaccio": "workspace:6.0.0-6-next.67"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "jest",
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
/* eslint-disable prefer-promise-reject-errors */
|
||||
import buildDebug from 'debug';
|
||||
import getPort from 'get-port';
|
||||
import { merge } from 'lodash';
|
||||
import { Registry } from 'verdaccio';
|
||||
|
||||
@@ -35,6 +36,7 @@ export async function initialSetup(customConfig?: ConfigYaml): Promise<Setup> {
|
||||
const { configPath, tempFolder } = await getConfigPath(config);
|
||||
debug(`configPath %o`, configPath);
|
||||
debug(`tempFolder %o`, tempFolder);
|
||||
const registry = new Registry(configPath, { createUser: true });
|
||||
const port = await getPort();
|
||||
const registry = new Registry(configPath, { createUser: true, port });
|
||||
return { registry, tempFolder };
|
||||
}
|
||||
|
||||
@@ -1,5 +1,12 @@
|
||||
# @verdaccio/e2e-cli-npm6
|
||||
|
||||
## 1.0.1-6-next.7
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [c383eb68]
|
||||
- @verdaccio/test-cli-commons@1.1.0-6-next.7
|
||||
|
||||
## 1.0.1-6-next.6
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
{
|
||||
"private": true,
|
||||
"name": "@verdaccio/e2e-cli-npm6",
|
||||
"version": "1.0.1-6-next.6",
|
||||
"version": "1.0.1-6-next.7",
|
||||
"dependencies": {
|
||||
"@verdaccio/test-cli-commons": "workspace:1.1.0-6-next.6",
|
||||
"@verdaccio/test-cli-commons": "workspace:1.1.0-6-next.7",
|
||||
"npm": "6.14.18"
|
||||
},
|
||||
"scripts": {
|
||||
|
||||
@@ -1,5 +1,12 @@
|
||||
# @verdaccio/e2e-cli-npm7
|
||||
|
||||
## 1.0.1-6-next.7
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [c383eb68]
|
||||
- @verdaccio/test-cli-commons@1.1.0-6-next.7
|
||||
|
||||
## 1.0.1-6-next.6
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
{
|
||||
"private": true,
|
||||
"name": "@verdaccio/e2e-cli-npm7",
|
||||
"version": "1.0.1-6-next.6",
|
||||
"version": "1.0.1-6-next.7",
|
||||
"dependencies": {
|
||||
"@verdaccio/test-cli-commons": "workspace:1.1.0-6-next.6",
|
||||
"@verdaccio/test-cli-commons": "workspace:1.1.0-6-next.7",
|
||||
"npm": "7.24.2"
|
||||
},
|
||||
"scripts": {
|
||||
|
||||
@@ -1,5 +1,12 @@
|
||||
# @verdaccio/e2e-cli-npm8
|
||||
|
||||
## 1.0.1-6-next.7
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [c383eb68]
|
||||
- @verdaccio/test-cli-commons@1.1.0-6-next.7
|
||||
|
||||
## 1.0.1-6-next.6
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
{
|
||||
"private": true,
|
||||
"name": "@verdaccio/e2e-cli-npm8",
|
||||
"version": "1.0.1-6-next.6",
|
||||
"version": "1.0.1-6-next.7",
|
||||
"dependencies": {
|
||||
"@verdaccio/test-cli-commons": "workspace:1.1.0-6-next.6",
|
||||
"@verdaccio/test-cli-commons": "workspace:1.1.0-6-next.7",
|
||||
"npm": "8.19.4"
|
||||
},
|
||||
"scripts": {
|
||||
|
||||
@@ -1,5 +1,12 @@
|
||||
# @verdaccio/e2e-cli-npm9
|
||||
|
||||
## 1.0.1-6-next.7
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [c383eb68]
|
||||
- @verdaccio/test-cli-commons@1.1.0-6-next.7
|
||||
|
||||
## 1.0.1-6-next.6
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
{
|
||||
"private": true,
|
||||
"name": "@verdaccio/e2e-cli-npm9",
|
||||
"version": "1.0.1-6-next.6",
|
||||
"version": "1.0.1-6-next.7",
|
||||
"dependencies": {
|
||||
"@verdaccio/test-cli-commons": "workspace:1.1.0-6-next.6",
|
||||
"@verdaccio/test-cli-commons": "workspace:1.1.0-6-next.7",
|
||||
"npm": "9.6.0"
|
||||
},
|
||||
"scripts": {
|
||||
|
||||
@@ -1,5 +1,12 @@
|
||||
# @verdaccio/e2e-cli-pnpm6
|
||||
|
||||
## 1.0.1-6-next.7
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [c383eb68]
|
||||
- @verdaccio/test-cli-commons@1.1.0-6-next.7
|
||||
|
||||
## 1.0.1-6-next.6
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
{
|
||||
"private": true,
|
||||
"name": "@verdaccio/e2e-cli-pnpm6",
|
||||
"version": "1.0.1-6-next.6",
|
||||
"version": "1.0.1-6-next.7",
|
||||
"dependencies": {
|
||||
"@verdaccio/test-cli-commons": "workspace:1.1.0-6-next.6",
|
||||
"@verdaccio/test-cli-commons": "workspace:1.1.0-6-next.7",
|
||||
"pnpm": "^6.35.1"
|
||||
},
|
||||
"scripts": {
|
||||
|
||||
@@ -1,5 +1,12 @@
|
||||
# @verdaccio/e2e-cli-pnpm7
|
||||
|
||||
## 1.0.1-6-next.7
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [c383eb68]
|
||||
- @verdaccio/test-cli-commons@1.1.0-6-next.7
|
||||
|
||||
## 1.0.1-6-next.6
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
{
|
||||
"private": true,
|
||||
"name": "@verdaccio/e2e-cli-pnpm7",
|
||||
"version": "1.0.1-6-next.6",
|
||||
"version": "1.0.1-6-next.7",
|
||||
"dependencies": {
|
||||
"@verdaccio/test-cli-commons": "workspace:1.1.0-6-next.6",
|
||||
"@verdaccio/test-cli-commons": "workspace:1.1.0-6-next.7",
|
||||
"pnpm": "^7.27.1"
|
||||
},
|
||||
"scripts": {
|
||||
|
||||
@@ -1,5 +1,12 @@
|
||||
# @verdaccio/e2e-cli-pnpm7
|
||||
|
||||
## 1.0.1-6-next.7
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [c383eb68]
|
||||
- @verdaccio/test-cli-commons@1.1.0-6-next.7
|
||||
|
||||
## 1.0.1-6-next.6
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
{
|
||||
"private": true,
|
||||
"name": "@verdaccio/e2e-cli-pnpm8",
|
||||
"version": "1.0.1-6-next.6",
|
||||
"version": "1.0.1-6-next.7",
|
||||
"dependencies": {
|
||||
"@verdaccio/test-cli-commons": "workspace:1.1.0-6-next.6",
|
||||
"@verdaccio/test-cli-commons": "workspace:1.1.0-6-next.7",
|
||||
"pnpm": "^8.0.0-alpha.0"
|
||||
},
|
||||
"scripts": {
|
||||
|
||||
@@ -1,5 +1,12 @@
|
||||
# @verdaccio/e2e-cli-yarn1
|
||||
|
||||
## 1.0.1-6-next.7
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [c383eb68]
|
||||
- @verdaccio/test-cli-commons@1.1.0-6-next.7
|
||||
|
||||
## 1.0.1-6-next.6
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
{
|
||||
"private": true,
|
||||
"name": "@verdaccio/e2e-cli-yarn1",
|
||||
"version": "1.0.1-6-next.6",
|
||||
"version": "1.0.1-6-next.7",
|
||||
"dependencies": {
|
||||
"@verdaccio/test-cli-commons": "workspace:1.1.0-6-next.6",
|
||||
"@verdaccio/test-cli-commons": "workspace:1.1.0-6-next.7",
|
||||
"yarn": "1.22.19"
|
||||
},
|
||||
"scripts": {
|
||||
|
||||
@@ -1,5 +1,12 @@
|
||||
# @verdaccio/e2e-cli-yarn2
|
||||
|
||||
## 1.0.1-6-next.7
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [c383eb68]
|
||||
- @verdaccio/test-cli-commons@1.1.0-6-next.7
|
||||
|
||||
## 1.0.1-6-next.6
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
{
|
||||
"private": true,
|
||||
"name": "@verdaccio/e2e-cli-yarn2",
|
||||
"version": "1.0.1-6-next.6",
|
||||
"version": "1.0.1-6-next.7",
|
||||
"dependencies": {
|
||||
"@verdaccio/test-cli-commons": "workspace:1.1.0-6-next.6",
|
||||
"@verdaccio/test-cli-commons": "workspace:1.1.0-6-next.7",
|
||||
"@yarnpkg/cli-dist": "2.4.2"
|
||||
},
|
||||
"scripts": {
|
||||
|
||||
@@ -1,5 +1,12 @@
|
||||
# @verdaccio/e2e-cli-yarn3
|
||||
|
||||
## 1.0.1-6-next.7
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [c383eb68]
|
||||
- @verdaccio/test-cli-commons@1.1.0-6-next.7
|
||||
|
||||
## 1.0.1-6-next.6
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
{
|
||||
"private": true,
|
||||
"name": "@verdaccio/e2e-cli-yarn3",
|
||||
"version": "1.0.1-6-next.6",
|
||||
"version": "1.0.1-6-next.7",
|
||||
"dependencies": {
|
||||
"@verdaccio/test-cli-commons": "workspace:1.1.0-6-next.6",
|
||||
"@verdaccio/test-cli-commons": "workspace:1.1.0-6-next.7",
|
||||
"@yarnpkg/cli-dist": "3.4.1"
|
||||
},
|
||||
"scripts": {
|
||||
|
||||
@@ -1,5 +1,12 @@
|
||||
# @verdaccio/e2e-cli-yarn4
|
||||
|
||||
## 1.0.1-6-next.7
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [c383eb68]
|
||||
- @verdaccio/test-cli-commons@1.1.0-6-next.7
|
||||
|
||||
## 1.0.1-6-next.6
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
{
|
||||
"private": true,
|
||||
"name": "@verdaccio/e2e-cli-yarn4",
|
||||
"version": "1.0.1-6-next.6",
|
||||
"version": "1.0.1-6-next.7",
|
||||
"dependencies": {
|
||||
"@yarnpkg/cli-dist": "4.0.0-rc.39",
|
||||
"@verdaccio/test-cli-commons": "workspace:1.1.0-6-next.6"
|
||||
"@verdaccio/test-cli-commons": "workspace:1.1.0-6-next.7"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "jest"
|
||||
|
||||
7
e2e/ui/CHANGELOG.md
Normal file
7
e2e/ui/CHANGELOG.md
Normal file
@@ -0,0 +1,7 @@
|
||||
# @verdaccio/e2e-ui
|
||||
|
||||
## 2.0.0-6-next.4
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- c383eb68: fix: get-port missing dep
|
||||
@@ -1,4 +1,5 @@
|
||||
import { defineConfig } from 'cypress';
|
||||
import getPort from 'get-port';
|
||||
import { join } from 'path';
|
||||
import { Registry, ServerQuery } from 'verdaccio';
|
||||
|
||||
@@ -17,9 +18,11 @@ export default defineConfig({
|
||||
...configProtected,
|
||||
storage: registry1storage,
|
||||
});
|
||||
const port = await getPort();
|
||||
registry1 = new Registry(protectedRegistry.configPath, {
|
||||
createUser: true,
|
||||
credentials: { user: 'test', password: 'test' },
|
||||
port,
|
||||
});
|
||||
await registry1.init();
|
||||
});
|
||||
|
||||
@@ -12,6 +12,11 @@ describe('home spec', () => {
|
||||
cy.title().should('eq', 'verdaccio-server-e2e');
|
||||
});
|
||||
|
||||
it('version should be displayed', () => {
|
||||
cy.visit(ctx.url);
|
||||
cy.getByTestId('version-footer').contains('Powered by');
|
||||
});
|
||||
|
||||
it('should match title with no packages published', () => {
|
||||
cy.visit(ctx.url);
|
||||
cy.getByTestId('help-card').contains('No Package Published Yet.');
|
||||
|
||||
@@ -1,14 +1,15 @@
|
||||
{
|
||||
"private": true,
|
||||
"name": "@verdaccio/e2e-ui",
|
||||
"version": "2.0.0-6-next.3",
|
||||
"version": "2.0.0-6-next.4",
|
||||
"devDependencies": {
|
||||
"verdaccio": "workspace:6.0.0-6-next.65",
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.65",
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.65",
|
||||
"verdaccio": "workspace:6.0.0-6-next.67",
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.67",
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.67",
|
||||
"@verdaccio/test-helper": "workspace:2.0.0-6-next.8",
|
||||
"debug": "4.3.4",
|
||||
"cypress": "11.2.0"
|
||||
"cypress": "11.2.0",
|
||||
"get-port": "5.1.1"
|
||||
},
|
||||
"scripts": {
|
||||
"cypress:open": "cypress open",
|
||||
|
||||
@@ -1,5 +1,31 @@
|
||||
# @verdaccio/api
|
||||
|
||||
## 6.0.0-6-next.50
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [16e38df8]
|
||||
- @verdaccio/config@6.0.0-6-next.67
|
||||
- @verdaccio/core@6.0.0-6-next.67
|
||||
- @verdaccio/store@6.0.0-6-next.47
|
||||
- @verdaccio/auth@6.0.0-6-next.46
|
||||
- @verdaccio/middleware@6.0.0-6-next.46
|
||||
- @verdaccio/utils@6.0.0-6-next.35
|
||||
- @verdaccio/logger@6.0.0-6-next.35
|
||||
|
||||
## 6.0.0-6-next.49
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [7ef599cc]
|
||||
- @verdaccio/middleware@6.0.0-6-next.45
|
||||
- @verdaccio/auth@6.0.0-6-next.45
|
||||
- @verdaccio/core@6.0.0-6-next.66
|
||||
- @verdaccio/logger@6.0.0-6-next.34
|
||||
- @verdaccio/store@6.0.0-6-next.46
|
||||
- @verdaccio/config@6.0.0-6-next.66
|
||||
- @verdaccio/utils@6.0.0-6-next.34
|
||||
|
||||
## 6.0.0-6-next.48
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@verdaccio/api",
|
||||
"version": "6.0.0-6-next.48",
|
||||
"version": "6.0.0-6-next.50",
|
||||
"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.44",
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.65",
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.65",
|
||||
"@verdaccio/logger": "workspace:6.0.0-6-next.33",
|
||||
"@verdaccio/middleware": "workspace:6.0.0-6-next.44",
|
||||
"@verdaccio/store": "workspace:6.0.0-6-next.45",
|
||||
"@verdaccio/utils": "workspace:6.0.0-6-next.33",
|
||||
"@verdaccio/auth": "workspace:6.0.0-6-next.46",
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.67",
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.67",
|
||||
"@verdaccio/logger": "workspace:6.0.0-6-next.35",
|
||||
"@verdaccio/middleware": "workspace:6.0.0-6-next.46",
|
||||
"@verdaccio/store": "workspace:6.0.0-6-next.47",
|
||||
"@verdaccio/utils": "workspace:6.0.0-6-next.35",
|
||||
"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.54",
|
||||
"@verdaccio/types": "workspace:11.0.0-6-next.23",
|
||||
"@verdaccio/server": "workspace:6.0.0-6-next.56",
|
||||
"@verdaccio/types": "workspace:11.0.0-6-next.25",
|
||||
"@verdaccio/test-helper": "workspace:2.0.0-6-next.8",
|
||||
"supertest": "6.3.3",
|
||||
"nock": "13.2.9",
|
||||
|
||||
@@ -1,5 +1,30 @@
|
||||
# @verdaccio/auth
|
||||
|
||||
## 6.0.0-6-next.46
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [16e38df8]
|
||||
- @verdaccio/config@6.0.0-6-next.67
|
||||
- @verdaccio/core@6.0.0-6-next.67
|
||||
- @verdaccio/loaders@6.0.0-6-next.36
|
||||
- verdaccio-htpasswd@11.0.0-6-next.37
|
||||
- @verdaccio/signature@6.0.0-6-next.2
|
||||
- @verdaccio/utils@6.0.0-6-next.35
|
||||
- @verdaccio/logger@6.0.0-6-next.35
|
||||
|
||||
## 6.0.0-6-next.45
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- @verdaccio/core@6.0.0-6-next.66
|
||||
- @verdaccio/loaders@6.0.0-6-next.35
|
||||
- @verdaccio/logger@6.0.0-6-next.34
|
||||
- verdaccio-htpasswd@11.0.0-6-next.36
|
||||
- @verdaccio/signature@6.0.0-6-next.2
|
||||
- @verdaccio/config@6.0.0-6-next.66
|
||||
- @verdaccio/utils@6.0.0-6-next.34
|
||||
|
||||
## 6.0.0-6-next.44
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@verdaccio/auth",
|
||||
"version": "6.0.0-6-next.44",
|
||||
"version": "6.0.0-6-next.46",
|
||||
"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.65",
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.65",
|
||||
"@verdaccio/loaders": "workspace:6.0.0-6-next.34",
|
||||
"@verdaccio/logger": "workspace:6.0.0-6-next.33",
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.67",
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.67",
|
||||
"@verdaccio/loaders": "workspace:6.0.0-6-next.36",
|
||||
"@verdaccio/logger": "workspace:6.0.0-6-next.35",
|
||||
"@verdaccio/signature": "workspace:6.0.0-6-next.2",
|
||||
"@verdaccio/utils": "workspace:6.0.0-6-next.33",
|
||||
"@verdaccio/utils": "workspace:6.0.0-6-next.35",
|
||||
"debug": "4.3.4",
|
||||
"express": "4.18.2",
|
||||
"lodash": "4.17.21",
|
||||
"verdaccio-htpasswd": "workspace:11.0.0-6-next.35"
|
||||
"verdaccio-htpasswd": "workspace:11.0.0-6-next.37"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@verdaccio/types": "workspace:11.0.0-6-next.23"
|
||||
"@verdaccio/types": "workspace:11.0.0-6-next.25"
|
||||
},
|
||||
"funding": {
|
||||
"type": "opencollective",
|
||||
|
||||
@@ -1,5 +1,24 @@
|
||||
# @verdaccio/cli
|
||||
|
||||
## 6.0.0-6-next.67
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [16e38df8]
|
||||
- @verdaccio/config@6.0.0-6-next.67
|
||||
- @verdaccio/core@6.0.0-6-next.67
|
||||
- @verdaccio/node-api@6.0.0-6-next.67
|
||||
- @verdaccio/logger@6.0.0-6-next.35
|
||||
|
||||
## 6.0.0-6-next.66
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- @verdaccio/core@6.0.0-6-next.66
|
||||
- @verdaccio/logger@6.0.0-6-next.34
|
||||
- @verdaccio/node-api@6.0.0-6-next.66
|
||||
- @verdaccio/config@6.0.0-6-next.66
|
||||
|
||||
## 6.0.0-6-next.65
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@verdaccio/cli",
|
||||
"version": "6.0.0-6-next.65",
|
||||
"version": "6.0.0-6-next.67",
|
||||
"author": {
|
||||
"name": "Juan Picado",
|
||||
"email": "juanpicado19@gmail.com"
|
||||
@@ -44,10 +44,10 @@
|
||||
"start": "ts-node src/index.ts"
|
||||
},
|
||||
"dependencies": {
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.65",
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.65",
|
||||
"@verdaccio/logger": "workspace:6.0.0-6-next.33",
|
||||
"@verdaccio/node-api": "workspace:6.0.0-6-next.65",
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.67",
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.67",
|
||||
"@verdaccio/logger": "workspace:6.0.0-6-next.35",
|
||||
"@verdaccio/node-api": "workspace:6.0.0-6-next.67",
|
||||
"clipanion": "3.2.0",
|
||||
"envinfo": "7.8.1",
|
||||
"kleur": "3.0.3",
|
||||
|
||||
@@ -1,5 +1,24 @@
|
||||
# @verdaccio/config
|
||||
|
||||
## 6.0.0-6-next.67
|
||||
|
||||
### Minor Changes
|
||||
|
||||
- 16e38df8: feat: trustProxy property
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [16e38df8]
|
||||
- @verdaccio/core@6.0.0-6-next.67
|
||||
- @verdaccio/utils@6.0.0-6-next.35
|
||||
|
||||
## 6.0.0-6-next.66
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- @verdaccio/core@6.0.0-6-next.66
|
||||
- @verdaccio/utils@6.0.0-6-next.34
|
||||
|
||||
## 6.0.0-6-next.65
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@verdaccio/config",
|
||||
"version": "6.0.0-6-next.65",
|
||||
"version": "6.0.0-6-next.67",
|
||||
"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.65",
|
||||
"@verdaccio/utils": "workspace:6.0.0-6-next.33",
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.67",
|
||||
"@verdaccio/utils": "workspace:6.0.0-6-next.35",
|
||||
"debug": "4.3.4",
|
||||
"js-yaml": "4.1.0",
|
||||
"lodash": "4.17.21",
|
||||
|
||||
@@ -106,6 +106,9 @@ server:
|
||||
# A regex for the password validation /.{3}$/ (3 characters min)
|
||||
# An example to limit to 10 characters minimum
|
||||
# passwordValidationRegex: /.{10}$/
|
||||
# Allow `req.ip` to resolve properly when Verdaccio is behind a proxy or load-balancer
|
||||
# See: https://expressjs.com/en/guide/behind-proxies.html
|
||||
# trustProxy: '127.0.0.1'
|
||||
|
||||
# https://verdaccio.org/docs/configuration#offline-publish
|
||||
# publish:
|
||||
|
||||
@@ -112,6 +112,9 @@ server:
|
||||
# A regex for the password validation /.{3}$/ (3 characters min)
|
||||
# An example to limit to 10 characters minimum
|
||||
# passwordValidationRegex: /.{10}$/
|
||||
# Allow `req.ip` to resolve properly when Verdaccio is behind a proxy or load-balancer
|
||||
# See: https://expressjs.com/en/guide/behind-proxies.html
|
||||
# trustProxy: '127.0.0.1'
|
||||
|
||||
# https://verdaccio.org/docs/configuration#offline-publish
|
||||
# publish:
|
||||
|
||||
@@ -1,5 +1,13 @@
|
||||
# @verdaccio/core
|
||||
|
||||
## 6.0.0-6-next.67
|
||||
|
||||
### Minor Changes
|
||||
|
||||
- 16e38df8: feat: trustProxy property
|
||||
|
||||
## 6.0.0-6-next.66
|
||||
|
||||
## 6.0.0-6-next.65
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@verdaccio/core",
|
||||
"version": "6.0.0-6-next.65",
|
||||
"version": "6.0.0-6-next.67",
|
||||
"description": "core utilities",
|
||||
"keywords": [
|
||||
"private",
|
||||
@@ -44,7 +44,7 @@
|
||||
"lodash": "4.17.21",
|
||||
"typedoc": "0.23.25",
|
||||
"typedoc-plugin-missing-exports": "latest",
|
||||
"@verdaccio/types": "workspace:11.0.0-6-next.23"
|
||||
"@verdaccio/types": "workspace:11.0.0-6-next.25"
|
||||
},
|
||||
"scripts": {
|
||||
"clean": "rimraf ./build",
|
||||
|
||||
@@ -170,5 +170,5 @@ export interface IBasicAuth {
|
||||
}
|
||||
|
||||
export interface ManifestFilter<T> extends Plugin<T> {
|
||||
filterMetadata(packageInfo: Manifest): Promise<Manifest>;
|
||||
filter_metadata(packageInfo: Manifest): Promise<Manifest>;
|
||||
}
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
"lockfile": "1.0.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@verdaccio/types": "workspace:11.0.0-6-next.23"
|
||||
"@verdaccio/types": "workspace:11.0.0-6-next.25"
|
||||
},
|
||||
"scripts": {
|
||||
"clean": "rimraf ./build",
|
||||
|
||||
@@ -1,5 +1,22 @@
|
||||
# Change Log
|
||||
|
||||
## 11.0.0-6-next.36
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [16e38df8]
|
||||
- @verdaccio/core@6.0.0-6-next.67
|
||||
- @verdaccio/url@11.0.0-6-next.33
|
||||
- @verdaccio/utils@6.0.0-6-next.35
|
||||
|
||||
## 11.0.0-6-next.35
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- @verdaccio/core@6.0.0-6-next.66
|
||||
- @verdaccio/url@11.0.0-6-next.32
|
||||
- @verdaccio/utils@6.0.0-6-next.34
|
||||
|
||||
## 11.0.0-6-next.34
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@verdaccio/tarball",
|
||||
"version": "11.0.0-6-next.34",
|
||||
"version": "11.0.0-6-next.36",
|
||||
"description": "tarball utilities resolver",
|
||||
"keywords": [
|
||||
"private",
|
||||
@@ -34,13 +34,13 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"debug": "4.3.4",
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.65",
|
||||
"@verdaccio/url": "workspace:11.0.0-6-next.31",
|
||||
"@verdaccio/utils": "workspace:6.0.0-6-next.33",
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.67",
|
||||
"@verdaccio/url": "workspace:11.0.0-6-next.33",
|
||||
"@verdaccio/utils": "workspace:6.0.0-6-next.35",
|
||||
"lodash": "4.17.21"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@verdaccio/types": "workspace:11.0.0-6-next.23",
|
||||
"@verdaccio/types": "workspace:11.0.0-6-next.25",
|
||||
"node-mocks-http": "1.12.1"
|
||||
},
|
||||
"scripts": {
|
||||
|
||||
@@ -1,5 +1,17 @@
|
||||
# Change Log
|
||||
|
||||
## 11.0.0-6-next.25
|
||||
|
||||
### Minor Changes
|
||||
|
||||
- 16e38df8: feat: trustProxy property
|
||||
|
||||
## 11.0.0-6-next.24
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 7ef599cc: fix: missing version on footer
|
||||
|
||||
## 11.0.0-6-next.23
|
||||
|
||||
### Minor Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@verdaccio/types",
|
||||
"version": "11.0.0-6-next.23",
|
||||
"version": "11.0.0-6-next.25",
|
||||
"description": "verdaccio types definitions",
|
||||
"keywords": [
|
||||
"private",
|
||||
@@ -30,14 +30,14 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"main": "build/types.d.ts",
|
||||
"types": "build/types.d.ts",
|
||||
"main": "src/types.ts",
|
||||
"types": "src/types.ts",
|
||||
"scripts": {
|
||||
"clean": "rimraf ./build",
|
||||
"test": "pnpm type-check",
|
||||
"build:docs": "typedoc --options ./typedoc.json --tsconfig tsconfig.build.json",
|
||||
"type-check": "tsc --noEmit -p tsconfig.build.json",
|
||||
"build": "tsc --emitDeclarationOnly -p tsconfig.build.json"
|
||||
"build": "echo 0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "16.18.10",
|
||||
|
||||
@@ -75,16 +75,6 @@ export type RateLimit = {
|
||||
max?: number;
|
||||
};
|
||||
|
||||
// export interface WebConf {
|
||||
// enable?: boolean;
|
||||
// title?: string;
|
||||
// logo?: string;
|
||||
// favicon?: string;
|
||||
// gravatar?: boolean;
|
||||
// sort_packages?: string;
|
||||
// rateLimit?: RateLimit;
|
||||
// }
|
||||
|
||||
export type FlagsConfig = {
|
||||
searchRemote?: boolean;
|
||||
changePassword?: boolean;
|
||||
@@ -105,6 +95,14 @@ export type CommonWebConf = {
|
||||
login?: boolean;
|
||||
scope?: string;
|
||||
pkgManagers?: PackageManagers[];
|
||||
showInfo?: boolean;
|
||||
showSettings?: boolean;
|
||||
showSearch?: boolean;
|
||||
showFooter?: boolean;
|
||||
showThemeSwitch?: boolean;
|
||||
showDownloadTarball?: boolean;
|
||||
primaryColor: string;
|
||||
showRaw?: boolean;
|
||||
};
|
||||
|
||||
/**
|
||||
@@ -112,21 +110,11 @@ export type CommonWebConf = {
|
||||
*/
|
||||
export type TemplateUIOptions = {
|
||||
uri?: string;
|
||||
darkMode?: boolean;
|
||||
protocol?: string;
|
||||
host?: string;
|
||||
// deprecated
|
||||
// @deprecated use base instead
|
||||
basename?: string;
|
||||
scope?: string;
|
||||
showInfo?: boolean;
|
||||
showSettings?: boolean;
|
||||
showSearch?: boolean;
|
||||
showFooter?: boolean;
|
||||
showThemeSwitch?: boolean;
|
||||
showDownloadTarball?: boolean;
|
||||
showRaw?: boolean;
|
||||
base: string;
|
||||
primaryColor: string;
|
||||
version?: string;
|
||||
flags: FlagsConfig;
|
||||
} & CommonWebConf;
|
||||
@@ -135,14 +123,18 @@ export type TemplateUIOptions = {
|
||||
* Options on config.yaml for web
|
||||
*/
|
||||
export type WebConf = {
|
||||
// FIXME: rename to primaryColor and move it to CommonWebConf
|
||||
// @deprecated use primaryColor
|
||||
primary_color?: string;
|
||||
primaryColor?: string;
|
||||
enable?: boolean;
|
||||
scriptsHead?: string[];
|
||||
scriptsBodyAfter?: string[];
|
||||
scriptsbodyBefore?: string[];
|
||||
metaScripts?: string[];
|
||||
bodyBefore?: string[];
|
||||
bodyAfter?: string[];
|
||||
rateLimit?: RateLimit;
|
||||
html_cache?: boolean;
|
||||
} & CommonWebConf;
|
||||
|
||||
export interface UpLinksConfList {
|
||||
@@ -234,6 +226,8 @@ export type ServerSettingsConf = {
|
||||
*/
|
||||
pluginPrefix?: string;
|
||||
passwordValidationRegex?: RegExp;
|
||||
// docs on `trustProxy` can be found at: https://expressjs.com/en/guide/behind-proxies.html
|
||||
trustProxy?: string;
|
||||
};
|
||||
|
||||
/**
|
||||
@@ -267,10 +261,13 @@ export interface ConfigYaml {
|
||||
url_prefix?: string;
|
||||
server?: ServerSettingsConf;
|
||||
flags?: FlagsConfig;
|
||||
// @deprecated use flags instead
|
||||
experiments?: FlagsConfig;
|
||||
userRateLimit?: RateLimit;
|
||||
// internal objects, added by internal yaml to JS config parser
|
||||
// save the configuration file path
|
||||
configPath?: string;
|
||||
i18n?: { web: string };
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -89,6 +89,12 @@ export interface Tags {
|
||||
[key: string]: Version;
|
||||
}
|
||||
|
||||
export interface PeerDependenciesMeta {
|
||||
[dependencyName: string]: {
|
||||
optional?: boolean;
|
||||
};
|
||||
}
|
||||
|
||||
export interface Version {
|
||||
name: string;
|
||||
version: string;
|
||||
@@ -116,6 +122,7 @@ export interface Version {
|
||||
peerDependencies?: Dependencies;
|
||||
devDependencies?: Dependencies;
|
||||
optionalDependencies?: Dependencies;
|
||||
peerDependenciesMeta?: PeerDependenciesMeta;
|
||||
bundleDependencies?: Dependencies;
|
||||
keywords?: string | string[];
|
||||
nodeVersion?: string;
|
||||
@@ -127,6 +134,8 @@ export interface Version {
|
||||
funding?: { type: string; url: string };
|
||||
engines?: Engines;
|
||||
hasInstallScript?: boolean;
|
||||
cpu?: string[];
|
||||
os?: string[];
|
||||
}
|
||||
|
||||
export interface Dependencies {
|
||||
|
||||
@@ -1,5 +1,18 @@
|
||||
# Change Log
|
||||
|
||||
## 11.0.0-6-next.33
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [16e38df8]
|
||||
- @verdaccio/core@6.0.0-6-next.67
|
||||
|
||||
## 11.0.0-6-next.32
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- @verdaccio/core@6.0.0-6-next.66
|
||||
|
||||
## 11.0.0-6-next.31
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@verdaccio/url",
|
||||
"version": "11.0.0-6-next.31",
|
||||
"version": "11.0.0-6-next.33",
|
||||
"description": "url utilities resolver",
|
||||
"keywords": [
|
||||
"private",
|
||||
@@ -33,13 +33,13 @@
|
||||
"access": "public"
|
||||
},
|
||||
"dependencies": {
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.65",
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.67",
|
||||
"debug": "4.3.4",
|
||||
"lodash": "4.17.21",
|
||||
"validator": "13.9.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@verdaccio/types": "workspace:11.0.0-6-next.23",
|
||||
"@verdaccio/types": "workspace:11.0.0-6-next.25",
|
||||
"node-mocks-http": "1.12.1"
|
||||
},
|
||||
"scripts": {
|
||||
|
||||
@@ -1,5 +1,20 @@
|
||||
# @verdaccio/hooks
|
||||
|
||||
## 6.0.0-6-next.37
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [16e38df8]
|
||||
- @verdaccio/core@6.0.0-6-next.67
|
||||
- @verdaccio/logger@6.0.0-6-next.35
|
||||
|
||||
## 6.0.0-6-next.36
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- @verdaccio/core@6.0.0-6-next.66
|
||||
- @verdaccio/logger@6.0.0-6-next.34
|
||||
|
||||
## 6.0.0-6-next.35
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@verdaccio/hooks",
|
||||
"version": "6.0.0-6-next.35",
|
||||
"version": "6.0.0-6-next.37",
|
||||
"description": "loaders logic",
|
||||
"main": "./build/index.js",
|
||||
"types": "build/index.d.ts",
|
||||
@@ -29,8 +29,8 @@
|
||||
"node": ">=16"
|
||||
},
|
||||
"dependencies": {
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.65",
|
||||
"@verdaccio/logger": "workspace:6.0.0-6-next.33",
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.67",
|
||||
"@verdaccio/logger": "workspace:6.0.0-6-next.35",
|
||||
"core-js": "3.28.0",
|
||||
"debug": "4.3.4",
|
||||
"handlebars": "4.7.7",
|
||||
@@ -38,9 +38,9 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "16.18.10",
|
||||
"@verdaccio/auth": "workspace:6.0.0-6-next.44",
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.65",
|
||||
"@verdaccio/types": "workspace:11.0.0-6-next.23"
|
||||
"@verdaccio/auth": "workspace:6.0.0-6-next.46",
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.67",
|
||||
"@verdaccio/types": "workspace:11.0.0-6-next.25"
|
||||
},
|
||||
"scripts": {
|
||||
"clean": "rimraf ./build",
|
||||
|
||||
@@ -1,5 +1,17 @@
|
||||
# @verdaccio/loaders
|
||||
|
||||
## 6.0.0-6-next.36
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- @verdaccio/logger@6.0.0-6-next.35
|
||||
|
||||
## 6.0.0-6-next.35
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- @verdaccio/logger@6.0.0-6-next.34
|
||||
|
||||
## 6.0.0-6-next.34
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@verdaccio/loaders",
|
||||
"version": "6.0.0-6-next.34",
|
||||
"version": "6.0.0-6-next.36",
|
||||
"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.33",
|
||||
"@verdaccio/logger": "workspace:6.0.0-6-next.35",
|
||||
"debug": "4.3.4",
|
||||
"lodash": "4.17.21"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.65",
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.65",
|
||||
"@verdaccio/types": "workspace:11.0.0-6-next.23",
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.67",
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.67",
|
||||
"@verdaccio/types": "workspace:11.0.0-6-next.25",
|
||||
"@verdaccio-scope/verdaccio-auth-foo": "0.0.2",
|
||||
"verdaccio-auth-memory": "workspace:*",
|
||||
"customprefix-auth": "1.0.0-6-next.0"
|
||||
|
||||
@@ -1,5 +1,17 @@
|
||||
# @verdaccio/logger-7
|
||||
|
||||
## 6.0.0-6-next.12
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- @verdaccio/logger-commons@6.0.0-6-next.35
|
||||
|
||||
## 6.0.0-6-next.11
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- @verdaccio/logger-commons@6.0.0-6-next.34
|
||||
|
||||
## 6.0.0-6-next.10
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@verdaccio/logger-7",
|
||||
"version": "6.0.0-6-next.10",
|
||||
"version": "6.0.0-6-next.12",
|
||||
"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.33",
|
||||
"@verdaccio/logger-commons": "workspace:6.0.0-6-next.35",
|
||||
"pino": "7.11.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@verdaccio/types": "workspace:11.0.0-6-next.23"
|
||||
"@verdaccio/types": "workspace:11.0.0-6-next.25"
|
||||
},
|
||||
"funding": {
|
||||
"type": "opencollective",
|
||||
|
||||
@@ -1,5 +1,18 @@
|
||||
# @verdaccio/logger-commons
|
||||
|
||||
## 6.0.0-6-next.35
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [16e38df8]
|
||||
- @verdaccio/core@6.0.0-6-next.67
|
||||
|
||||
## 6.0.0-6-next.34
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- @verdaccio/core@6.0.0-6-next.66
|
||||
|
||||
## 6.0.0-6-next.33
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@verdaccio/logger-commons",
|
||||
"version": "6.0.0-6-next.33",
|
||||
"version": "6.0.0-6-next.35",
|
||||
"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.65",
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.67",
|
||||
"@verdaccio/logger-prettify": "workspace:6.0.0-6-next.9",
|
||||
"debug": "4.3.4",
|
||||
"colorette": "2.0.19"
|
||||
},
|
||||
"devDependencies": {
|
||||
"pino": "8.10.0",
|
||||
"@verdaccio/types": "workspace:11.0.0-6-next.23"
|
||||
"@verdaccio/types": "workspace:11.0.0-6-next.25"
|
||||
},
|
||||
"funding": {
|
||||
"type": "opencollective",
|
||||
|
||||
@@ -1,5 +1,17 @@
|
||||
# @verdaccio/logger
|
||||
|
||||
## 6.0.0-6-next.35
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- @verdaccio/logger-commons@6.0.0-6-next.35
|
||||
|
||||
## 6.0.0-6-next.34
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- @verdaccio/logger-commons@6.0.0-6-next.34
|
||||
|
||||
## 6.0.0-6-next.33
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@verdaccio/logger",
|
||||
"version": "6.0.0-6-next.33",
|
||||
"version": "6.0.0-6-next.35",
|
||||
"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.33",
|
||||
"@verdaccio/logger-commons": "workspace:6.0.0-6-next.35",
|
||||
"pino": "8.10.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@verdaccio/types": "workspace:11.0.0-6-next.23"
|
||||
"@verdaccio/types": "workspace:11.0.0-6-next.25"
|
||||
},
|
||||
"funding": {
|
||||
"type": "opencollective",
|
||||
|
||||
@@ -1,5 +1,25 @@
|
||||
# @verdaccio/middleware
|
||||
|
||||
## 6.0.0-6-next.46
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [16e38df8]
|
||||
- @verdaccio/config@6.0.0-6-next.67
|
||||
- @verdaccio/core@6.0.0-6-next.67
|
||||
- @verdaccio/url@11.0.0-6-next.33
|
||||
- @verdaccio/utils@6.0.0-6-next.35
|
||||
|
||||
## 6.0.0-6-next.45
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 7ef599cc: fix: missing version on footer
|
||||
- @verdaccio/core@6.0.0-6-next.66
|
||||
- @verdaccio/url@11.0.0-6-next.32
|
||||
- @verdaccio/config@6.0.0-6-next.66
|
||||
- @verdaccio/utils@6.0.0-6-next.34
|
||||
|
||||
## 6.0.0-6-next.44
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@verdaccio/middleware",
|
||||
"version": "6.0.0-6-next.44",
|
||||
"version": "6.0.0-6-next.46",
|
||||
"description": "express middleware utils",
|
||||
"main": "./build/index.js",
|
||||
"types": "build/index.d.ts",
|
||||
@@ -38,10 +38,10 @@
|
||||
"build": "pnpm run build:js && pnpm run build:types"
|
||||
},
|
||||
"dependencies": {
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.65",
|
||||
"@verdaccio/utils": "workspace:6.0.0-6-next.33",
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.65",
|
||||
"@verdaccio/url": "workspace:11.0.0-6-next.31",
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.67",
|
||||
"@verdaccio/utils": "workspace:6.0.0-6-next.35",
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.67",
|
||||
"@verdaccio/url": "workspace:11.0.0-6-next.33",
|
||||
"debug": "4.3.4",
|
||||
"lru-cache": "7.16.1",
|
||||
"express": "4.18.2",
|
||||
@@ -54,7 +54,7 @@
|
||||
"url": "https://opencollective.com/verdaccio"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@verdaccio/logger": "workspace:6.0.0-6-next.33",
|
||||
"@verdaccio/logger": "workspace:6.0.0-6-next.35",
|
||||
"body-parser": "1.20.1",
|
||||
"supertest": "6.3.3"
|
||||
}
|
||||
|
||||
@@ -5,7 +5,7 @@ import { URL } from 'url';
|
||||
|
||||
import { WEB_TITLE } from '@verdaccio/config';
|
||||
import { HEADERS } from '@verdaccio/core';
|
||||
import { TemplateUIOptions } from '@verdaccio/types';
|
||||
import { ConfigYaml, TemplateUIOptions } from '@verdaccio/types';
|
||||
import { isURLhasValidProtocol } from '@verdaccio/url';
|
||||
import { getPublicUrl } from '@verdaccio/url';
|
||||
|
||||
@@ -22,7 +22,10 @@ const defaultManifestFiles = {
|
||||
ico: 'favicon.ico',
|
||||
};
|
||||
|
||||
export function resolveLogo(config, req) {
|
||||
export function resolveLogo(config: ConfigYaml, req) {
|
||||
if (typeof config?.web?.logo !== 'string') {
|
||||
return '';
|
||||
}
|
||||
const isLocalFile = config?.web?.logo && !isURLhasValidProtocol(config?.web?.logo);
|
||||
|
||||
if (isLocalFile) {
|
||||
@@ -34,27 +37,29 @@ export function resolveLogo(config, req) {
|
||||
}
|
||||
}
|
||||
|
||||
export default function renderHTML(config, manifest, manifestFiles, req, res) {
|
||||
export default function renderHTML(config: ConfigYaml, manifest, manifestFiles, req, res) {
|
||||
const { url_prefix } = config;
|
||||
const base = getPublicUrl(config?.url_prefix, req);
|
||||
const basename = new URL(base).pathname;
|
||||
const language = config?.i18n?.web ?? DEFAULT_LANGUAGE;
|
||||
// @ts-ignore
|
||||
const needHtmlCache = [undefined, null].includes(config?.web?.html_cache)
|
||||
? true
|
||||
: config.web.html_cache;
|
||||
: config?.web?.html_cache;
|
||||
const darkMode = config?.web?.darkMode ?? false;
|
||||
const title = config?.web?.title ?? WEB_TITLE;
|
||||
const login = hasLogin(config);
|
||||
const scope = config?.web?.scope ?? '';
|
||||
const logo = resolveLogo(config, req);
|
||||
const pkgManagers = config?.web?.pkgManagers ?? ['yarn', 'pnpm', 'npm'];
|
||||
const version = config?.web?.version;
|
||||
const version = res.locals.app_version ?? '';
|
||||
const flags = {
|
||||
...config.flags,
|
||||
// legacy from 5.x
|
||||
...config.experiments,
|
||||
};
|
||||
const primaryColor = validatePrimaryColor(config?.web?.primary_color) ?? '#4b5e40';
|
||||
const primaryColor =
|
||||
validatePrimaryColor(config?.web?.primary_color ?? config?.web?.primaryColor) ?? '#4b5e40';
|
||||
const {
|
||||
scriptsBodyAfter,
|
||||
metaScripts,
|
||||
@@ -111,6 +116,7 @@ export default function renderHTML(config, manifest, manifestFiles, req, res) {
|
||||
},
|
||||
manifest
|
||||
);
|
||||
|
||||
if (needHtmlCache) {
|
||||
cache.set('template', webPage);
|
||||
debug('set template cache');
|
||||
|
||||
@@ -1,5 +1,27 @@
|
||||
# @verdaccio/node-api
|
||||
|
||||
## 6.0.0-6-next.67
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [16e38df8]
|
||||
- @verdaccio/config@6.0.0-6-next.67
|
||||
- @verdaccio/core@6.0.0-6-next.67
|
||||
- @verdaccio/server@6.0.0-6-next.56
|
||||
- @verdaccio/server-fastify@6.0.0-6-next.48
|
||||
- @verdaccio/logger@6.0.0-6-next.35
|
||||
|
||||
## 6.0.0-6-next.66
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [7ef599cc]
|
||||
- @verdaccio/server@6.0.0-6-next.55
|
||||
- @verdaccio/core@6.0.0-6-next.66
|
||||
- @verdaccio/logger@6.0.0-6-next.34
|
||||
- @verdaccio/server-fastify@6.0.0-6-next.47
|
||||
- @verdaccio/config@6.0.0-6-next.66
|
||||
|
||||
## 6.0.0-6-next.65
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@verdaccio/node-api",
|
||||
"version": "6.0.0-6-next.65",
|
||||
"version": "6.0.0-6-next.67",
|
||||
"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.65",
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.65",
|
||||
"@verdaccio/logger": "workspace:6.0.0-6-next.33",
|
||||
"@verdaccio/server": "workspace:6.0.0-6-next.54",
|
||||
"@verdaccio/server-fastify": "workspace:6.0.0-6-next.46",
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.67",
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.67",
|
||||
"@verdaccio/logger": "workspace:6.0.0-6-next.35",
|
||||
"@verdaccio/server": "workspace:6.0.0-6-next.56",
|
||||
"@verdaccio/server-fastify": "workspace:6.0.0-6-next.48",
|
||||
"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.23",
|
||||
"@verdaccio/types": "workspace:11.0.0-6-next.25",
|
||||
"jest-mock-process": "1.5.1",
|
||||
"selfsigned": "1.10.14",
|
||||
"supertest": "6.3.3"
|
||||
|
||||
@@ -1,5 +1,20 @@
|
||||
# Change Log
|
||||
|
||||
## 11.0.0-6-next.30
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [16e38df8]
|
||||
- @verdaccio/config@6.0.0-6-next.67
|
||||
- @verdaccio/core@6.0.0-6-next.67
|
||||
|
||||
## 11.0.0-6-next.29
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- @verdaccio/core@6.0.0-6-next.66
|
||||
- @verdaccio/config@6.0.0-6-next.66
|
||||
|
||||
## 11.0.0-6-next.28
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "verdaccio-audit",
|
||||
"version": "11.0.0-6-next.28",
|
||||
"version": "11.0.0-6-next.30",
|
||||
"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.65",
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.65",
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.67",
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.67",
|
||||
"express": "4.18.2",
|
||||
"https-proxy-agent": "5.0.1",
|
||||
"node-fetch": "cjs"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@verdaccio/types": "workspace:11.0.0-6-next.23",
|
||||
"@verdaccio/auth": "workspace:6.0.0-6-next.44",
|
||||
"@verdaccio/logger": "workspace:6.0.0-6-next.33",
|
||||
"@verdaccio/types": "workspace:11.0.0-6-next.25",
|
||||
"@verdaccio/auth": "workspace:6.0.0-6-next.46",
|
||||
"@verdaccio/logger": "workspace:6.0.0-6-next.35",
|
||||
"nock": "13.2.9",
|
||||
"supertest": "6.3.3"
|
||||
},
|
||||
|
||||
@@ -1,5 +1,18 @@
|
||||
# Change Log
|
||||
|
||||
## 11.0.0-6-next.32
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [16e38df8]
|
||||
- @verdaccio/core@6.0.0-6-next.67
|
||||
|
||||
## 11.0.0-6-next.31
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- @verdaccio/core@6.0.0-6-next.66
|
||||
|
||||
## 11.0.0-6-next.30
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "verdaccio-auth-memory",
|
||||
"version": "11.0.0-6-next.30",
|
||||
"version": "11.0.0-6-next.32",
|
||||
"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.65"
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.67"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.65",
|
||||
"@verdaccio/types": "workspace:11.0.0-6-next.23"
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.67",
|
||||
"@verdaccio/types": "workspace:11.0.0-6-next.25"
|
||||
},
|
||||
"scripts": {
|
||||
"clean": "rimraf ./build",
|
||||
|
||||
@@ -1,5 +1,20 @@
|
||||
# Change Log
|
||||
|
||||
## 11.0.0-6-next.37
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [16e38df8]
|
||||
- @verdaccio/core@6.0.0-6-next.67
|
||||
- @verdaccio/file-locking@11.0.0-6-next.7
|
||||
|
||||
## 11.0.0-6-next.36
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- @verdaccio/core@6.0.0-6-next.66
|
||||
- @verdaccio/file-locking@11.0.0-6-next.7
|
||||
|
||||
## 11.0.0-6-next.35
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "verdaccio-htpasswd",
|
||||
"version": "11.0.0-6-next.35",
|
||||
"version": "11.0.0-6-next.37",
|
||||
"description": "htpasswd auth plugin for Verdaccio",
|
||||
"keywords": [
|
||||
"private",
|
||||
@@ -34,7 +34,7 @@
|
||||
"npm": ">=6"
|
||||
},
|
||||
"dependencies": {
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.65",
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.67",
|
||||
"@verdaccio/file-locking": "workspace:11.0.0-6-next.7",
|
||||
"apache-md5": "1.1.8",
|
||||
"bcryptjs": "2.4.3",
|
||||
@@ -45,9 +45,9 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/bcryptjs": "2.4.2",
|
||||
"@verdaccio/types": "workspace:11.0.0-6-next.23",
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.65",
|
||||
"@verdaccio/logger": "workspace:6.0.0-6-next.33",
|
||||
"@verdaccio/types": "workspace:11.0.0-6-next.25",
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.67",
|
||||
"@verdaccio/logger": "workspace:6.0.0-6-next.35",
|
||||
"mockdate": "3.0.5"
|
||||
},
|
||||
"scripts": {
|
||||
|
||||
@@ -1,5 +1,22 @@
|
||||
# Change Log
|
||||
|
||||
## 11.0.0-6-next.37
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [16e38df8]
|
||||
- @verdaccio/core@6.0.0-6-next.67
|
||||
- @verdaccio/utils@6.0.0-6-next.35
|
||||
- @verdaccio/file-locking@11.0.0-6-next.7
|
||||
|
||||
## 11.0.0-6-next.36
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- @verdaccio/core@6.0.0-6-next.66
|
||||
- @verdaccio/file-locking@11.0.0-6-next.7
|
||||
- @verdaccio/utils@6.0.0-6-next.34
|
||||
|
||||
## 11.0.0-6-next.35
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@verdaccio/local-storage",
|
||||
"version": "11.0.0-6-next.35",
|
||||
"version": "11.0.0-6-next.37",
|
||||
"description": "Local storage implementation",
|
||||
"keywords": [
|
||||
"private",
|
||||
@@ -37,9 +37,9 @@
|
||||
"npm": ">=7"
|
||||
},
|
||||
"dependencies": {
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.65",
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.67",
|
||||
"@verdaccio/file-locking": "workspace:11.0.0-6-next.7",
|
||||
"@verdaccio/utils": "workspace:6.0.0-6-next.33",
|
||||
"@verdaccio/utils": "workspace:6.0.0-6-next.35",
|
||||
"core-js": "3.28.0",
|
||||
"debug": "4.3.4",
|
||||
"globby": "11.1.0",
|
||||
@@ -51,9 +51,9 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/minimatch": "3.0.5",
|
||||
"@verdaccio/types": "workspace:11.0.0-6-next.23",
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.65",
|
||||
"@verdaccio/logger": "workspace:6.0.0-6-next.33",
|
||||
"@verdaccio/types": "workspace:11.0.0-6-next.25",
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.67",
|
||||
"@verdaccio/logger": "workspace:6.0.0-6-next.35",
|
||||
"@verdaccio/test-helper": "workspace:2.0.0-6-next.8",
|
||||
"minimatch": "3.1.2"
|
||||
},
|
||||
|
||||
@@ -1,5 +1,18 @@
|
||||
# Change Log
|
||||
|
||||
## 11.0.0-6-next.34
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [16e38df8]
|
||||
- @verdaccio/core@6.0.0-6-next.67
|
||||
|
||||
## 11.0.0-6-next.33
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- @verdaccio/core@6.0.0-6-next.66
|
||||
|
||||
## 11.0.0-6-next.32
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "verdaccio-memory",
|
||||
"version": "11.0.0-6-next.32",
|
||||
"version": "11.0.0-6-next.34",
|
||||
"description": "Storage implementation in memory",
|
||||
"keywords": [
|
||||
"private",
|
||||
@@ -31,15 +31,15 @@
|
||||
"npm": ">=6"
|
||||
},
|
||||
"dependencies": {
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.65",
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.67",
|
||||
"memory-fs": "0.5.0",
|
||||
"debug": "4.3.4",
|
||||
"memfs": "3.4.12"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@verdaccio/types": "workspace:11.0.0-6-next.23",
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.65",
|
||||
"@verdaccio/logger": "workspace:6.0.0-6-next.33"
|
||||
"@verdaccio/types": "workspace:11.0.0-6-next.25",
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.67",
|
||||
"@verdaccio/logger": "workspace:6.0.0-6-next.35"
|
||||
},
|
||||
"scripts": {
|
||||
"clean": "rimraf ./build",
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
# @verdaccio/ui-theme
|
||||
|
||||
## 6.0.0-6-next.67
|
||||
|
||||
## 6.0.0-6-next.66
|
||||
|
||||
## 6.0.0-6-next.65
|
||||
|
||||
## 6.0.0-6-next.64
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@verdaccio/ui-theme",
|
||||
"version": "6.0.0-6-next.65",
|
||||
"version": "6.0.0-6-next.67",
|
||||
"description": "Verdaccio User Interface",
|
||||
"author": {
|
||||
"name": "Verdaccio Contributors",
|
||||
@@ -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.65",
|
||||
"@verdaccio/ui-components": "workspace:2.0.0-6-next.6",
|
||||
"@verdaccio/node-api": "workspace:6.0.0-6-next.67",
|
||||
"@verdaccio/ui-components": "workspace:2.0.0-6-next.8",
|
||||
"@verdaccio/types": "workspace:*",
|
||||
"normalize.css": "8.0.1",
|
||||
"babel-loader": "8.3.0",
|
||||
|
||||
@@ -271,6 +271,10 @@
|
||||
"username": "wiggisser",
|
||||
"id": 3647678
|
||||
},
|
||||
{
|
||||
"username": "osher",
|
||||
"id": 803101
|
||||
},
|
||||
{
|
||||
"username": "frimuchkov",
|
||||
"id": 19934346
|
||||
@@ -419,10 +423,6 @@
|
||||
"username": "amitgilad3",
|
||||
"id": 7702311
|
||||
},
|
||||
{
|
||||
"username": "osher",
|
||||
"id": 803101
|
||||
},
|
||||
{
|
||||
"username": "polemius",
|
||||
"id": 48512663
|
||||
@@ -627,6 +627,10 @@
|
||||
"username": "btucker",
|
||||
"id": 6181
|
||||
},
|
||||
{
|
||||
"username": "bwalding",
|
||||
"id": 47446
|
||||
},
|
||||
{
|
||||
"username": "bochen2014",
|
||||
"id": 8207081
|
||||
@@ -1543,6 +1547,10 @@
|
||||
"username": "andre161292",
|
||||
"id": 1634927
|
||||
},
|
||||
{
|
||||
"username": "maslow",
|
||||
"id": 7122237
|
||||
},
|
||||
{
|
||||
"username": "ymrsmns",
|
||||
"id": 25608325
|
||||
|
||||
@@ -1,5 +1,26 @@
|
||||
# @verdaccio/proxy
|
||||
|
||||
## 6.0.0-6-next.45
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [16e38df8]
|
||||
- @verdaccio/config@6.0.0-6-next.67
|
||||
- @verdaccio/core@6.0.0-6-next.67
|
||||
- @verdaccio/local-storage@11.0.0-6-next.37
|
||||
- @verdaccio/utils@6.0.0-6-next.35
|
||||
- @verdaccio/logger@6.0.0-6-next.35
|
||||
|
||||
## 6.0.0-6-next.44
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- @verdaccio/core@6.0.0-6-next.66
|
||||
- @verdaccio/logger@6.0.0-6-next.34
|
||||
- @verdaccio/local-storage@11.0.0-6-next.36
|
||||
- @verdaccio/config@6.0.0-6-next.66
|
||||
- @verdaccio/utils@6.0.0-6-next.34
|
||||
|
||||
## 6.0.0-6-next.43
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@verdaccio/proxy",
|
||||
"version": "6.0.0-6-next.43",
|
||||
"version": "6.0.0-6-next.45",
|
||||
"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.65",
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.65",
|
||||
"@verdaccio/local-storage": "workspace:11.0.0-6-next.35",
|
||||
"@verdaccio/logger": "workspace:6.0.0-6-next.33",
|
||||
"@verdaccio/utils": "workspace:6.0.0-6-next.33",
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.67",
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.67",
|
||||
"@verdaccio/local-storage": "workspace:11.0.0-6-next.37",
|
||||
"@verdaccio/logger": "workspace:6.0.0-6-next.35",
|
||||
"@verdaccio/utils": "workspace:6.0.0-6-next.35",
|
||||
"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.23",
|
||||
"@verdaccio/types": "workspace:11.0.0-6-next.25",
|
||||
"get-stream": "^6.0.1",
|
||||
"nock": "13.2.9",
|
||||
"node-mocks-http": "1.12.1",
|
||||
|
||||
@@ -1,5 +1,44 @@
|
||||
# @verdaccio/server
|
||||
|
||||
## 6.0.0-6-next.56
|
||||
|
||||
### Minor Changes
|
||||
|
||||
- 16e38df8: feat: trustProxy property
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [16e38df8]
|
||||
- @verdaccio/config@6.0.0-6-next.67
|
||||
- @verdaccio/core@6.0.0-6-next.67
|
||||
- @verdaccio/store@6.0.0-6-next.47
|
||||
- @verdaccio/api@6.0.0-6-next.50
|
||||
- @verdaccio/auth@6.0.0-6-next.46
|
||||
- @verdaccio/loaders@6.0.0-6-next.36
|
||||
- @verdaccio/middleware@6.0.0-6-next.46
|
||||
- verdaccio-audit@11.0.0-6-next.30
|
||||
- @verdaccio/web@6.0.0-6-next.54
|
||||
- @verdaccio/utils@6.0.0-6-next.35
|
||||
- @verdaccio/logger@6.0.0-6-next.35
|
||||
|
||||
## 6.0.0-6-next.55
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 7ef599cc: fix: missing version on footer
|
||||
- Updated dependencies [7ef599cc]
|
||||
- @verdaccio/middleware@6.0.0-6-next.45
|
||||
- @verdaccio/api@6.0.0-6-next.49
|
||||
- @verdaccio/auth@6.0.0-6-next.45
|
||||
- @verdaccio/core@6.0.0-6-next.66
|
||||
- @verdaccio/loaders@6.0.0-6-next.35
|
||||
- @verdaccio/logger@6.0.0-6-next.34
|
||||
- verdaccio-audit@11.0.0-6-next.29
|
||||
- @verdaccio/store@6.0.0-6-next.46
|
||||
- @verdaccio/web@6.0.0-6-next.53
|
||||
- @verdaccio/config@6.0.0-6-next.66
|
||||
- @verdaccio/utils@6.0.0-6-next.34
|
||||
|
||||
## 6.0.0-6-next.54
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@verdaccio/server",
|
||||
"version": "6.0.0-6-next.54",
|
||||
"version": "6.0.0-6-next.56",
|
||||
"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.48",
|
||||
"@verdaccio/auth": "workspace:6.0.0-6-next.44",
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.65",
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.65",
|
||||
"@verdaccio/loaders": "workspace:6.0.0-6-next.34",
|
||||
"@verdaccio/logger": "workspace:6.0.0-6-next.33",
|
||||
"@verdaccio/middleware": "workspace:6.0.0-6-next.44",
|
||||
"@verdaccio/store": "workspace:6.0.0-6-next.45",
|
||||
"@verdaccio/utils": "workspace:6.0.0-6-next.33",
|
||||
"@verdaccio/web": "workspace:6.0.0-6-next.52",
|
||||
"verdaccio-audit": "workspace:11.0.0-6-next.28",
|
||||
"@verdaccio/api": "workspace:6.0.0-6-next.50",
|
||||
"@verdaccio/auth": "workspace:6.0.0-6-next.46",
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.67",
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.67",
|
||||
"@verdaccio/loaders": "workspace:6.0.0-6-next.36",
|
||||
"@verdaccio/logger": "workspace:6.0.0-6-next.35",
|
||||
"@verdaccio/middleware": "workspace:6.0.0-6-next.46",
|
||||
"@verdaccio/store": "workspace:6.0.0-6-next.47",
|
||||
"@verdaccio/utils": "workspace:6.0.0-6-next.35",
|
||||
"@verdaccio/web": "workspace:6.0.0-6-next.54",
|
||||
"verdaccio-audit": "workspace:11.0.0-6-next.30",
|
||||
"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.43",
|
||||
"@verdaccio/proxy": "workspace:6.0.0-6-next.45",
|
||||
"@verdaccio/test-helper": "workspace:2.0.0-6-next.8",
|
||||
"http-errors": "1.8.1"
|
||||
},
|
||||
|
||||
@@ -22,6 +22,7 @@ import { $NextFunctionVer, $RequestExtend, $ResponseExtend } from '../types/cust
|
||||
import hookDebug from './debug';
|
||||
|
||||
const debug = buildDebug('verdaccio:server');
|
||||
const { version } = require('../package.json');
|
||||
|
||||
const defineAPI = async function (config: IConfig, storage: Storage): Promise<any> {
|
||||
const auth: Auth = new Auth(config);
|
||||
@@ -30,6 +31,9 @@ const defineAPI = async function (config: IConfig, storage: Storage): Promise<an
|
||||
// run in production mode by default, just in case
|
||||
// it shouldn't make any difference anyway
|
||||
app.set('env', process.env.NODE_ENV || 'production');
|
||||
if (config.server?.trustProxy) {
|
||||
app.set('trust proxy', config.server.trustProxy);
|
||||
}
|
||||
app.use(cors());
|
||||
app.use(rateLimit(config.serverSettings.rateLimit));
|
||||
|
||||
@@ -81,6 +85,10 @@ const defineAPI = async function (config: IConfig, storage: Storage): Promise<an
|
||||
|
||||
// For WebUI & WebUI API
|
||||
if (_.get(config, 'web.enable', true)) {
|
||||
app.use((_req, res, next) => {
|
||||
res.locals.app_version = version ?? '';
|
||||
next();
|
||||
});
|
||||
app.use(await webMiddleware(config, auth, storage));
|
||||
} else {
|
||||
app.get('/', function (req: $RequestExtend, res: $ResponseExtend, next: $NextFunctionVer) {
|
||||
|
||||
@@ -1,5 +1,30 @@
|
||||
# @verdaccio/server-fastify
|
||||
|
||||
## 6.0.0-6-next.48
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [16e38df8]
|
||||
- @verdaccio/config@6.0.0-6-next.67
|
||||
- @verdaccio/core@6.0.0-6-next.67
|
||||
- @verdaccio/store@6.0.0-6-next.47
|
||||
- @verdaccio/auth@6.0.0-6-next.46
|
||||
- @verdaccio/tarball@11.0.0-6-next.36
|
||||
- @verdaccio/utils@6.0.0-6-next.35
|
||||
- @verdaccio/logger@6.0.0-6-next.35
|
||||
|
||||
## 6.0.0-6-next.47
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- @verdaccio/auth@6.0.0-6-next.45
|
||||
- @verdaccio/core@6.0.0-6-next.66
|
||||
- @verdaccio/tarball@11.0.0-6-next.35
|
||||
- @verdaccio/logger@6.0.0-6-next.34
|
||||
- @verdaccio/store@6.0.0-6-next.46
|
||||
- @verdaccio/config@6.0.0-6-next.66
|
||||
- @verdaccio/utils@6.0.0-6-next.34
|
||||
|
||||
## 6.0.0-6-next.46
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@verdaccio/server-fastify",
|
||||
"version": "6.0.0-6-next.46",
|
||||
"version": "6.0.0-6-next.48",
|
||||
"description": "fastify server api implementation",
|
||||
"keywords": [
|
||||
"private",
|
||||
@@ -34,13 +34,13 @@
|
||||
"access": "public"
|
||||
},
|
||||
"dependencies": {
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.65",
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.65",
|
||||
"@verdaccio/auth": "workspace:6.0.0-6-next.44",
|
||||
"@verdaccio/logger": "workspace:6.0.0-6-next.33",
|
||||
"@verdaccio/store": "workspace:6.0.0-6-next.45",
|
||||
"@verdaccio/tarball": "workspace:11.0.0-6-next.34",
|
||||
"@verdaccio/utils": "workspace:6.0.0-6-next.33",
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.67",
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.67",
|
||||
"@verdaccio/auth": "workspace:6.0.0-6-next.46",
|
||||
"@verdaccio/logger": "workspace:6.0.0-6-next.35",
|
||||
"@verdaccio/store": "workspace:6.0.0-6-next.47",
|
||||
"@verdaccio/tarball": "workspace:11.0.0-6-next.36",
|
||||
"@verdaccio/utils": "workspace:6.0.0-6-next.35",
|
||||
"core-js": "3.28.0",
|
||||
"debug": "4.3.4",
|
||||
"fastify": "4.13.0",
|
||||
@@ -49,7 +49,7 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "16.18.10",
|
||||
"@verdaccio/types": "workspace:11.0.0-6-next.23",
|
||||
"@verdaccio/types": "workspace:11.0.0-6-next.25",
|
||||
"ts-node": "10.9.1"
|
||||
},
|
||||
"scripts": {
|
||||
|
||||
@@ -43,8 +43,8 @@
|
||||
"lodash": "4.17.21"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.65",
|
||||
"@verdaccio/types": "workspace:11.0.0-6-next.23"
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.67",
|
||||
"@verdaccio/types": "workspace:11.0.0-6-next.25"
|
||||
},
|
||||
"funding": {
|
||||
"type": "opencollective",
|
||||
|
||||
@@ -32,8 +32,8 @@
|
||||
"homepage": "https://verdaccio.org",
|
||||
"license": "MIT",
|
||||
"devDependencies": {
|
||||
"@verdaccio/cli": "workspace:6.0.0-6-next.65",
|
||||
"@verdaccio/ui-theme": "workspace:6.0.0-6-next.65",
|
||||
"@verdaccio/cli": "workspace:6.0.0-6-next.67",
|
||||
"@verdaccio/ui-theme": "workspace:6.0.0-6-next.67",
|
||||
"fs-extra": "10.1.0",
|
||||
"webpack": "5.75.0",
|
||||
"webpack-bundle-analyzer": "4.7.0",
|
||||
|
||||
@@ -1,5 +1,40 @@
|
||||
# @verdaccio/store
|
||||
|
||||
## 6.0.0-6-next.47
|
||||
|
||||
### Minor Changes
|
||||
|
||||
- 16e38df8: feat: trustProxy property
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [16e38df8]
|
||||
- @verdaccio/config@6.0.0-6-next.67
|
||||
- @verdaccio/core@6.0.0-6-next.67
|
||||
- @verdaccio/hooks@6.0.0-6-next.37
|
||||
- @verdaccio/loaders@6.0.0-6-next.36
|
||||
- @verdaccio/local-storage@11.0.0-6-next.37
|
||||
- @verdaccio/proxy@6.0.0-6-next.45
|
||||
- @verdaccio/tarball@11.0.0-6-next.36
|
||||
- @verdaccio/url@11.0.0-6-next.33
|
||||
- @verdaccio/utils@6.0.0-6-next.35
|
||||
- @verdaccio/logger@6.0.0-6-next.35
|
||||
|
||||
## 6.0.0-6-next.46
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- @verdaccio/core@6.0.0-6-next.66
|
||||
- @verdaccio/tarball@11.0.0-6-next.35
|
||||
- @verdaccio/url@11.0.0-6-next.32
|
||||
- @verdaccio/hooks@6.0.0-6-next.36
|
||||
- @verdaccio/loaders@6.0.0-6-next.35
|
||||
- @verdaccio/logger@6.0.0-6-next.34
|
||||
- @verdaccio/local-storage@11.0.0-6-next.36
|
||||
- @verdaccio/proxy@6.0.0-6-next.44
|
||||
- @verdaccio/config@6.0.0-6-next.66
|
||||
- @verdaccio/utils@6.0.0-6-next.34
|
||||
|
||||
## 6.0.0-6-next.45
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@verdaccio/store",
|
||||
"version": "6.0.0-6-next.45",
|
||||
"version": "6.0.0-6-next.47",
|
||||
"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.65",
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.65",
|
||||
"@verdaccio/hooks": "workspace:6.0.0-6-next.35",
|
||||
"@verdaccio/loaders": "workspace:6.0.0-6-next.34",
|
||||
"@verdaccio/local-storage": "workspace:11.0.0-6-next.35",
|
||||
"@verdaccio/logger": "workspace:6.0.0-6-next.33",
|
||||
"@verdaccio/proxy": "workspace:6.0.0-6-next.43",
|
||||
"@verdaccio/url": "workspace:11.0.0-6-next.31",
|
||||
"@verdaccio/utils": "workspace:6.0.0-6-next.33",
|
||||
"@verdaccio/tarball": "workspace:11.0.0-6-next.34",
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.67",
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.67",
|
||||
"@verdaccio/hooks": "workspace:6.0.0-6-next.37",
|
||||
"@verdaccio/loaders": "workspace:6.0.0-6-next.36",
|
||||
"@verdaccio/local-storage": "workspace:11.0.0-6-next.37",
|
||||
"@verdaccio/logger": "workspace:6.0.0-6-next.35",
|
||||
"@verdaccio/proxy": "workspace:6.0.0-6-next.45",
|
||||
"@verdaccio/url": "workspace:11.0.0-6-next.33",
|
||||
"@verdaccio/utils": "workspace:6.0.0-6-next.35",
|
||||
"@verdaccio/tarball": "workspace:11.0.0-6-next.36",
|
||||
"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.23",
|
||||
"@verdaccio/types": "workspace:11.0.0-6-next.25",
|
||||
"@verdaccio/test-helper": "workspace:2.0.0-6-next.8",
|
||||
"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