Compare commits
39 Commits
@verdaccio
...
migrate-do
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5b50143544 | ||
|
|
d9dfcaa404 | ||
|
|
4236e54e2a | ||
|
|
89b72d0761 | ||
|
|
30d2949471 | ||
|
|
e5a53628b6 | ||
|
|
8f8297ebd9 | ||
|
|
2dc16f3308 | ||
|
|
68b814e786 | ||
|
|
45e6d08647 | ||
|
|
2bd520ef07 | ||
|
|
6561485453 | ||
|
|
04c4e5b14f | ||
|
|
3a3bbe34ab | ||
|
|
219abed928 | ||
|
|
7d7cffb3a7 | ||
|
|
e5100e0844 | ||
|
|
46eeee5f70 | ||
|
|
9dfe5d5aaf | ||
|
|
50fef56371 | ||
|
|
c988566d70 | ||
|
|
76308ff456 | ||
|
|
481ea6ef3d | ||
|
|
fdf44a66c9 | ||
|
|
4115860d6e | ||
|
|
a9a77a5012 | ||
|
|
8ea4b04740 | ||
|
|
8c18c8963c | ||
|
|
6f410af147 | ||
|
|
5f036c0b57 | ||
|
|
ebc6171829 | ||
|
|
651f60a8af | ||
|
|
1f25d5f5e8 | ||
|
|
bf566cb6f5 | ||
|
|
0518506efe | ||
|
|
3d642d7325 | ||
|
|
c69ec207d2 | ||
|
|
588614d6a7 | ||
|
|
78614b79f6 |
5
.changeset/breezy-toys-judge.md
Normal file
5
.changeset/breezy-toys-judge.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@verdaccio/server': patch
|
||||
---
|
||||
|
||||
fix(server): web-enabled test
|
||||
5
.changeset/dirty-countries-play.md
Normal file
5
.changeset/dirty-countries-play.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@verdaccio/ui-components': patch
|
||||
---
|
||||
|
||||
chore(ui): avoid ts error for Alerts
|
||||
5
.changeset/great-candles-hang.md
Normal file
5
.changeset/great-candles-hang.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@verdaccio/ui-theme': patch
|
||||
---
|
||||
|
||||
chore(ui): minor app improvements
|
||||
5
.changeset/large-turkeys-change.md
Normal file
5
.changeset/large-turkeys-change.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@verdaccio/auth': patch
|
||||
---
|
||||
|
||||
feat: add legacyMergeConfigs as option
|
||||
5
.changeset/nine-onions-talk.md
Normal file
5
.changeset/nine-onions-talk.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@verdaccio/ui-components': patch
|
||||
---
|
||||
|
||||
fix(ui): search chips when showUplinks is false
|
||||
6
.changeset/pink-pants-try.md
Normal file
6
.changeset/pink-pants-try.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
'@verdaccio/server': patch
|
||||
'@verdaccio/loaders': patch
|
||||
---
|
||||
|
||||
fix(express): error loading middleware plugins
|
||||
@@ -99,6 +99,7 @@
|
||||
"hip-suns-jam",
|
||||
"hot-crews-live",
|
||||
"itchy-glasses-end",
|
||||
"large-turkeys-change",
|
||||
"long-eyes-drum",
|
||||
"long-singers-drive",
|
||||
"lucky-crabs-enjoy",
|
||||
|
||||
5
.changeset/silver-insects-train.md
Normal file
5
.changeset/silver-insects-train.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@verdaccio/ui-components': patch
|
||||
---
|
||||
|
||||
chore(ui): fix ts error due to excluded test folder
|
||||
5
.changeset/swift-zebras-cheer.md
Normal file
5
.changeset/swift-zebras-cheer.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@verdaccio/api': patch
|
||||
---
|
||||
|
||||
fix(api): cidr whitelist for tokens
|
||||
5
.changeset/thick-dolphins-rule.md
Normal file
5
.changeset/thick-dolphins-rule.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@verdaccio/middleware': patch
|
||||
---
|
||||
|
||||
fix(middleware): properly derive the html cache key
|
||||
39
.github/ISSUE_TEMPLATE/bug_report.md
vendored
39
.github/ISSUE_TEMPLATE/bug_report.md
vendored
@@ -17,24 +17,27 @@ assignees: ''
|
||||
- If you are willing to fix it, there is a checkbox at the bottom.
|
||||
-->
|
||||
|
||||
**Your Environment**
|
||||
<!-- bug below the version 5.x will be closed, see SECURITY.md for more details -->
|
||||
* **verdaccio version**: 5.x.x
|
||||
* **node version** [12.x.x, 14.x.x]:
|
||||
* **package manager**: [npm@7, pnpm@6, yarn@2]
|
||||
* **os**: [mac, windows@10, linux]
|
||||
* **platform**: [npm, docker, helm, other]
|
||||
**Your environment**
|
||||
|
||||
<!-- bugs below the version 6.x will be closed, see SECURITY.md and VERSIONS.md for more details -->
|
||||
<!-- Please paste the results of running `verdaccio --version` -->
|
||||
* **verdaccio version**: 6.x.x
|
||||
|
||||
<!-- Please paste the results of running `verdaccio --info` -->
|
||||
* **node version** [20.x.x, 22.x.x]:
|
||||
* **package manager**: [npm@10.x.x, pnpm@10.x.x, yarn@2.x.x]
|
||||
* **os**: [mac, windows@11, linux]
|
||||
* **platform**: [node, docker, helm, other]
|
||||
* **reverse proxy**: [yes, no]
|
||||
|
||||
**Describe the bug**
|
||||
|
||||
<!-- A clear and concise description of what the bug is. -->
|
||||
|
||||
**To Reproduce**
|
||||
**Steps to reproduce**
|
||||
|
||||
<!-- IMPORTANT:
|
||||
- How to reproduce the issue
|
||||
- Steps to reproduce the issue
|
||||
|
||||
Add step-by-step instructions on how to reproduce the bug.
|
||||
Be aware, the lack of reproducible steps the issue might cause your ticket to be closed.
|
||||
-->
|
||||
|
||||
@@ -42,17 +45,14 @@ Be aware, the lack of reproducible steps the issue might cause your ticket to be
|
||||
|
||||
<!-- A clear and concise description of what you expected to happen. -->
|
||||
|
||||
**Screenshots, server logs, package manager log**
|
||||
**Screenshots, Verdaccio server log, package manager log**
|
||||
|
||||
<!-- If applicable, add screenshots to help explain your problem. -->
|
||||
<!-- If applicable, add screenshots to help explain your problem. -->
|
||||
|
||||
**Configuration File (cat ~/.config/verdaccio/config.yaml)**
|
||||
**Configuration file**
|
||||
|
||||
<!-- Please be careful do not leak any sensitive information, remove tokens -->
|
||||
|
||||
**Environment information**
|
||||
|
||||
<!-- Please paste the results of running `verdaccio --info` -->
|
||||
<!-- cat ~/.config/verdaccio/config.yaml -->
|
||||
<!-- Please be careful do not leak any sensitive information, remove usernames and tokens -->
|
||||
|
||||
**Debugging output**
|
||||
|
||||
@@ -66,6 +66,5 @@ Be aware, the lack of reproducible steps the issue might cause your ticket to be
|
||||
- [ ] I'm willing to fix this bug 🥇
|
||||
|
||||
<!--
|
||||
|
||||
IMPORTANT: please do not attach external files, all content should be visible from any device.
|
||||
-->
|
||||
|
||||
2
.github/actions/cache-packages/action.yml
vendored
2
.github/actions/cache-packages/action.yml
vendored
@@ -6,7 +6,7 @@ runs:
|
||||
steps:
|
||||
- name: Cache Packages
|
||||
id: cache-packages
|
||||
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
|
||||
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
|
||||
with:
|
||||
path: ./packages/
|
||||
key: pkg-${{ hashFiles('pnpm-lock.yaml') }}-${{ github.run_id }}-${{ github.sha }}
|
||||
|
||||
2
.github/actions/cache-store/action.yml
vendored
2
.github/actions/cache-store/action.yml
vendored
@@ -6,7 +6,7 @@ runs:
|
||||
steps:
|
||||
- name: Cache .pnpm-store
|
||||
id: cache-npm
|
||||
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
|
||||
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
|
||||
with:
|
||||
path: ~/.pnpm-store
|
||||
key: pnpm-${{ hashFiles('**/pnpm-lock.yaml') }}-${{ github.event.pull_request.number }}-${{ runner.os }}
|
||||
|
||||
2
.github/actions/install-app-node/action.yml
vendored
2
.github/actions/install-app-node/action.yml
vendored
@@ -22,7 +22,7 @@ runs:
|
||||
using: composite
|
||||
steps:
|
||||
- name: Use Node
|
||||
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
|
||||
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
|
||||
with:
|
||||
node-version: ${{ inputs.node-version }}
|
||||
- name: Install pnpm
|
||||
|
||||
2
.github/actions/install-app/action.yml
vendored
2
.github/actions/install-app/action.yml
vendored
@@ -15,7 +15,7 @@ runs:
|
||||
using: composite
|
||||
steps:
|
||||
- name: Use Node
|
||||
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
|
||||
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
|
||||
with:
|
||||
node-version-file: '.nvmrc'
|
||||
- name: Install pnpm
|
||||
|
||||
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@@ -86,7 +86,7 @@ jobs:
|
||||
if: (github.event_name == 'push' && github.ref == 'refs/heads/master' && github.repository == 'verdaccio/verdaccio') || github.event_name == 'workflow_dispatch'
|
||||
steps:
|
||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
- uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
|
||||
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
|
||||
with:
|
||||
node-version-file: '.nvmrc'
|
||||
- name: Install pnpm
|
||||
@@ -94,7 +94,7 @@ jobs:
|
||||
npm install --global corepack@latest
|
||||
corepack enable
|
||||
corepack install
|
||||
- uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
|
||||
- uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
|
||||
with:
|
||||
path: ~/.pnpm-store
|
||||
key: pnpm-${{ hashFiles('pnpm-lock.yaml') }}
|
||||
|
||||
6
.github/workflows/codeql-analysis.yml
vendored
6
.github/workflows/codeql-analysis.yml
vendored
@@ -37,7 +37,7 @@ jobs:
|
||||
|
||||
# Initializes the CodeQL tools for scanning.
|
||||
- name: Initialize CodeQL
|
||||
uses: github/codeql-action/init@b56ba49b26e50535fa1e7f7db0f4f7b4bf65d80d # v3.28.10
|
||||
uses: github/codeql-action/init@28deaeda66b76a05916b6923827895f2b14ab387 # v3.28.16
|
||||
with:
|
||||
config: |
|
||||
paths-ignore:
|
||||
@@ -50,7 +50,7 @@ jobs:
|
||||
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
|
||||
# If this step fails, then you should remove it and run the build manually (see below)
|
||||
- name: Autobuild
|
||||
uses: github/codeql-action/autobuild@b56ba49b26e50535fa1e7f7db0f4f7b4bf65d80d # v3.28.10
|
||||
uses: github/codeql-action/autobuild@28deaeda66b76a05916b6923827895f2b14ab387 # v3.28.16
|
||||
|
||||
# ℹ️ Command-line programs to run using the OS shell.
|
||||
# 📚 https://git.io/JvXDl
|
||||
@@ -64,4 +64,4 @@ jobs:
|
||||
# make release
|
||||
|
||||
- name: Perform CodeQL Analysis
|
||||
uses: github/codeql-action/analyze@b56ba49b26e50535fa1e7f7db0f4f7b4bf65d80d # v3.28.10
|
||||
uses: github/codeql-action/analyze@28deaeda66b76a05916b6923827895f2b14ab387 # v3.28.16
|
||||
|
||||
@@ -26,7 +26,7 @@ jobs:
|
||||
run: docker compose -f "./e2e/docker/apache-verdaccio/docker-compose.yaml" up -d --build
|
||||
|
||||
- name: Install node
|
||||
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
|
||||
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
|
||||
with:
|
||||
node-version-file: '.nvmrc'
|
||||
- name: npm setup
|
||||
|
||||
2
.github/workflows/docker-proxy-nginx-e2e.yml
vendored
2
.github/workflows/docker-proxy-nginx-e2e.yml
vendored
@@ -24,7 +24,7 @@ jobs:
|
||||
run: docker compose -f "./e2e/docker/proxy-nginx/docker-compose.yaml" up -d --build
|
||||
|
||||
- name: Install node
|
||||
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
|
||||
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
|
||||
with:
|
||||
node-version-file: '.nvmrc'
|
||||
- name: npm setup
|
||||
|
||||
2
.github/workflows/e2e-ui.yml
vendored
2
.github/workflows/e2e-ui.yml
vendored
@@ -26,7 +26,7 @@ jobs:
|
||||
node-version: 20
|
||||
- name: Test UI
|
||||
run: pnpm test:e2e:ui
|
||||
- uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
|
||||
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
|
||||
with:
|
||||
name: videos
|
||||
path: /home/runner/work/verdaccio/verdaccio/e2e/ui/cypress/videos
|
||||
|
||||
2
.github/workflows/website.yml
vendored
2
.github/workflows/website.yml
vendored
@@ -39,7 +39,7 @@ jobs:
|
||||
- name: Build Translations percentage
|
||||
run: pnpm --filter @verdaccio/local-scripts build
|
||||
- name: Cache Docusaurus Build
|
||||
uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
|
||||
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
|
||||
with:
|
||||
path: website/node_modules/.cache/webpack
|
||||
key: cache/webpack-${{github.ref}}-${{ hashFiles('**/pnpm-lock.yaml') }}
|
||||
|
||||
@@ -10,7 +10,7 @@ jobs:
|
||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
|
||||
- name: 'Use Node.js'
|
||||
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
|
||||
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
|
||||
with:
|
||||
node-version-file: '.nvmrc'
|
||||
- name: 'install latest npm'
|
||||
@@ -47,7 +47,7 @@ jobs:
|
||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
|
||||
- name: 'Use Node.js'
|
||||
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
|
||||
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
|
||||
with:
|
||||
node-version-file: '.nvmrc'
|
||||
- name: 'install latest npm 9'
|
||||
@@ -83,7 +83,7 @@ jobs:
|
||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
|
||||
- name: 'Use Node.js'
|
||||
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
|
||||
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
|
||||
with:
|
||||
node-version-file: '.nvmrc'
|
||||
- name: 'install latest npm 10'
|
||||
|
||||
2
.github/workflows/x-e2e-audit-workflow.yml
vendored
2
.github/workflows/x-e2e-audit-workflow.yml
vendored
@@ -10,7 +10,7 @@ jobs:
|
||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
|
||||
- name: 'Use Node.js'
|
||||
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
|
||||
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
|
||||
with:
|
||||
node-version-file: '.nvmrc'
|
||||
- name: 'install latest npm 10'
|
||||
|
||||
@@ -10,7 +10,7 @@ jobs:
|
||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
|
||||
- name: 'Use Node.js'
|
||||
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
|
||||
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
|
||||
with:
|
||||
node-version-file: '.nvmrc'
|
||||
- name: 'install npm 9'
|
||||
@@ -45,7 +45,7 @@ jobs:
|
||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
|
||||
- name: 'Use Node.js'
|
||||
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
|
||||
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
|
||||
with:
|
||||
node-version-file: '.nvmrc'
|
||||
- name: 'install npm 10'
|
||||
|
||||
10
.github/workflows/x-e2e-jest-workflow.yml
vendored
10
.github/workflows/x-e2e-jest-workflow.yml
vendored
@@ -10,7 +10,7 @@ jobs:
|
||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
|
||||
- name: 'Use Node.js'
|
||||
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
|
||||
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
|
||||
with:
|
||||
node-version-file: '.nvmrc'
|
||||
- name: Install Dependencies
|
||||
@@ -41,7 +41,7 @@ jobs:
|
||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
|
||||
- name: 'Use Node.js'
|
||||
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
|
||||
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
|
||||
with:
|
||||
node-version-file: '.nvmrc'
|
||||
- name: Install Dependencies
|
||||
@@ -75,7 +75,7 @@ jobs:
|
||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
|
||||
- name: 'Use Node.js'
|
||||
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
|
||||
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
|
||||
with:
|
||||
node-version-file: '.nvmrc'
|
||||
- name: 'install latest npm'
|
||||
@@ -108,7 +108,7 @@ jobs:
|
||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
|
||||
- name: 'Use Node.js'
|
||||
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
|
||||
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
|
||||
with:
|
||||
node-version-file: '.nvmrc'
|
||||
- name: 'install latest npm 9'
|
||||
@@ -141,7 +141,7 @@ jobs:
|
||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
|
||||
- name: 'Use Node.js'
|
||||
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
|
||||
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
|
||||
with:
|
||||
node-version-file: '.nvmrc'
|
||||
- name: 'install latest npm 10'
|
||||
|
||||
2
.github/workflows/x-release-snapshot.yml
vendored
2
.github/workflows/x-release-snapshot.yml
vendored
@@ -8,7 +8,7 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
- name: Use Node (latest)
|
||||
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
|
||||
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
|
||||
with:
|
||||
node-version-file: '.nvmrc'
|
||||
- name: Install
|
||||
|
||||
2
.github/workflows/x-release.yml
vendored
2
.github/workflows/x-release.yml
vendored
@@ -8,7 +8,7 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
- name: Use Node (latest)
|
||||
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
|
||||
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
|
||||
with:
|
||||
node-version-file: '.nvmrc'
|
||||
- name: Install
|
||||
|
||||
2
.github/workflows/x-smok-test-docker.yml
vendored
2
.github/workflows/x-smok-test-docker.yml
vendored
@@ -16,7 +16,7 @@ jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
|
||||
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
|
||||
with:
|
||||
node-version-file: '.nvmrc'
|
||||
- name: Docker test
|
||||
|
||||
2
.github/workflows/x-smok-test-module.yml
vendored
2
.github/workflows/x-smok-test-module.yml
vendored
@@ -12,7 +12,7 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
- name: Use Node (latest)
|
||||
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
|
||||
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
|
||||
with:
|
||||
node-version-file: '.nvmrc'
|
||||
- name: Docker test
|
||||
|
||||
2
.github/workflows/yarn-ci-lint.yml
vendored
2
.github/workflows/yarn-ci-lint.yml
vendored
@@ -8,7 +8,7 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
- name: Use Node
|
||||
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
|
||||
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
|
||||
with:
|
||||
node-version-file: '.nvmrc'
|
||||
- name: Install
|
||||
|
||||
2
.github/workflows/yarn-ci.yml
vendored
2
.github/workflows/yarn-ci.yml
vendored
@@ -11,7 +11,7 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
- name: Use Node ${{ inputs.node_version }}
|
||||
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
|
||||
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
|
||||
with:
|
||||
node-version: ${{ inputs.node_version }}
|
||||
- name: Install
|
||||
|
||||
14
MIGRATE.md
Normal file
14
MIGRATE.md
Normal file
@@ -0,0 +1,14 @@
|
||||
# Migration Guidelines
|
||||
|
||||
## From 5.x to 6.x
|
||||
|
||||
### Breaking Changes
|
||||
|
||||
- Dropped support for Node.js 16: [#4835](https://github.com/verdaccio/verdaccio/pull/4835)
|
||||
|
||||
## From Below 5.x
|
||||
|
||||
Several blog articles are available to assist with migrating from older versions. However, please note that these versions are [deprecated](VERSIONS.md) and no longer receive any form of support.
|
||||
|
||||
- [Migrating Verdaccio (2019)](https://verdaccio.org/blog/2019/02/24/migrating-verdaccio/)
|
||||
- [Verdaccio 5 Migration Guide (2021)](https://verdaccio.org/blog/2021/04/14/verdaccio-5-migration-guide)
|
||||
@@ -12,9 +12,7 @@ The following table describes the versions of this project:
|
||||
|
||||
## Migration Guide
|
||||
|
||||
The migration from Verdaccio v5/v6 to v7 contains breaking changes. Refer to the priliminary [migration guide](https://github.com/verdaccio/verdaccio/blob/master/docs/migration-v5-to-v6.md) for more information.
|
||||
|
||||
For migrations from older versions to v5/6 refer to the [v5 migration guide](https://verdaccio.org/blog/2021/04/14/verdaccio-5-migration-guide/).
|
||||
Read [the migration guidelines](MIGRATE.md)
|
||||
|
||||
### Deprecated Versions
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Verdaccio 6 Examples
|
||||
|
||||
> We recommend to have installed [docker-compose >= 1.29.0](https://github.com/docker/compose/releases/tag/1.29.2)
|
||||
> We recommend to have installed the latest docker-compose
|
||||
|
||||
## Mapping Volumes
|
||||
|
||||
@@ -20,3 +20,5 @@ Using plugins without `docker-compose` mapping volumes, all withing the `Dockerf
|
||||
|
||||
- [Docker + Local Build Auth Plugin (local development)](plugins/docker-build-install-plugin/README.md)
|
||||
- [Docker + Auth Plugin (from a registry)](plugins/docker-local-plugin/README.md)
|
||||
- [Docker + Localstack S3 + Verdaccio](amazon-s3-docker-example/README.md)
|
||||
- [Docker + GitHub OAuth + verdaccio-github-oauth-ui + Verdaccio](verdaccio-github-oauth-ui/README.md)
|
||||
|
||||
17
docker-examples/v6/amazon-s3-docker-example/README.md
Normal file
17
docker-examples/v6/amazon-s3-docker-example/README.md
Normal file
@@ -0,0 +1,17 @@
|
||||
# Amazon S3 Bucket (Localstack) and Verdaccio 6.x
|
||||
|
||||
This setup runs Verdaccio alongside Localstack, providing a simple test/mocking environment for
|
||||
developing cloud applications. In this case, we are simulating AWS S3 functionality.
|
||||
|
||||
## Usage
|
||||
|
||||
> You might need to create bucket manually here
|
||||
> aws --endpoint-url=http://localhost:4566 s3 mb s3://localstack.s3.plugin.test
|
||||
|
||||
```
|
||||
docker-compose up --force-recreate --build --always-recreate-deps
|
||||
```
|
||||
|
||||
## Articles
|
||||
|
||||
- [Set up S3 bucket using Docker / Compose](https://discuss.localstack.cloud/t/set-up-s3-bucket-using-docker-compose/646.html)
|
||||
@@ -0,0 +1,29 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
localstack-s3:
|
||||
container_name: '${LOCALSTACK_DOCKER_NAME-localstack-main}'
|
||||
image: localstack/localstack:s3-latest
|
||||
ports:
|
||||
- '127.0.0.1:4566:4566'
|
||||
volumes:
|
||||
- './init-s3.py:/etc/localstack/init/ready.d/init-s3.py'
|
||||
verdaccio:
|
||||
container_name: verdaccio-s3-plugin
|
||||
build: s3Plugin/
|
||||
environment:
|
||||
- DEBUG=verdaccio:*
|
||||
- AWS_ACCESS_KEY_ID=foobar
|
||||
- AWS_SECRET_ACCESS_KEY=foobar
|
||||
- AWS_DEFAULT_REGION=eu-west-2
|
||||
- AWS_S3_ENDPOINT=http://localstack-s3:4566
|
||||
- AWS_S3_PATH_STYLE=true
|
||||
ports:
|
||||
- '4874:4873'
|
||||
depends_on:
|
||||
- localstack-s3
|
||||
networks:
|
||||
- default
|
||||
networks:
|
||||
default:
|
||||
name: verdaccio-network
|
||||
10
docker-examples/v6/amazon-s3-docker-example/init-s3.py
Normal file
10
docker-examples/v6/amazon-s3-docker-example/init-s3.py
Normal file
@@ -0,0 +1,10 @@
|
||||
import boto3
|
||||
|
||||
s3_client = boto3.client(
|
||||
"s3",
|
||||
endpoint_url=f"http://localhost:4566",
|
||||
aws_access_key_id="test",
|
||||
aws_secret_access_key="test"
|
||||
)
|
||||
|
||||
s3_client.create_bucket(Bucket="localstack.s3.plugin.test")
|
||||
@@ -0,0 +1,9 @@
|
||||
FROM verdaccio/verdaccio:6.x-next
|
||||
LABEL Juan Picado <jotadeveloper@gmail.com>
|
||||
# Copy the configuration file into the container
|
||||
ADD config.yaml /verdaccio/conf/config.yaml
|
||||
USER root
|
||||
# This is the best way to install a plugin in Verdaccio
|
||||
RUN npm install --global verdaccio-aws-s3-storage
|
||||
USER $VERDACCIO_USER_UID
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
storage: /verdaccio/storage
|
||||
|
||||
store:
|
||||
aws-s3-storage:
|
||||
bucket: localstack.s3.plugin.test
|
||||
keyPrefix: docker-test-prefix
|
||||
region: eu-west-2
|
||||
endpoint: http://localstack-s3:4566
|
||||
|
||||
uplinks:
|
||||
npmjs:
|
||||
url: https://registry.npmjs.org/
|
||||
|
||||
packages:
|
||||
'@*/*':
|
||||
access: $all
|
||||
publish: $all
|
||||
proxy: npmjs
|
||||
'**':
|
||||
access: $all
|
||||
publish: $all
|
||||
proxy: npmjs
|
||||
|
||||
log: { type: stdout, format: pretty, level: trace }
|
||||
|
||||
listen:
|
||||
- 0.0.0.0:4873
|
||||
17
docker-examples/v6/verdaccio-github-oauth-ui/README.md
Normal file
17
docker-examples/v6/verdaccio-github-oauth-ui/README.md
Normal file
@@ -0,0 +1,17 @@
|
||||
# GitHub OAuth Login with verdaccio-github-oauth-ui plugin and Verdaccio 6.x
|
||||
|
||||
This setup runs Verdaccio alongside verdaccio-github-oauth-ui plugin.
|
||||
|
||||
https://github.com/n4bb12/verdaccio-github-oauth-ui
|
||||
|
||||
## Configuration
|
||||
|
||||
Open `config.yaml` and modify the required properties follow the official documentation.
|
||||
|
||||
https://github.com/n4bb12/verdaccio-github-oauth-ui/blob/main/docs/configuration.md
|
||||
|
||||
## Usage
|
||||
|
||||
```bash
|
||||
docker-compose up --force-recreate --build --always-recreate-deps
|
||||
```
|
||||
@@ -0,0 +1,15 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
verdaccio:
|
||||
container_name: verdaccio-oauth-plugin
|
||||
build: plugin/
|
||||
environment:
|
||||
- DEBUG=verdaccio:*
|
||||
ports:
|
||||
- '4874:4873'
|
||||
networks:
|
||||
- default
|
||||
networks:
|
||||
default:
|
||||
name: verdaccio-network
|
||||
@@ -0,0 +1,9 @@
|
||||
FROM verdaccio/verdaccio:6.x-next
|
||||
LABEL Juan Picado <jotadeveloper@gmail.com>
|
||||
# Copy the configuration file into the container
|
||||
ADD config.yaml /verdaccio/conf/config.yaml
|
||||
USER root
|
||||
# This is the best way to install a plugin in Verdaccio
|
||||
RUN npm install --global verdaccio-github-oauth-ui
|
||||
USER $VERDACCIO_USER_UID
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
storage: /verdaccio/storage
|
||||
|
||||
middlewares:
|
||||
github-oauth-ui:
|
||||
enabled: true
|
||||
|
||||
auth:
|
||||
# READ HERE https://github.com/n4bb12/verdaccio-github-oauth-ui/blob/main/docs/configuration.md
|
||||
github-oauth-ui:
|
||||
client-id: take_this_from_github
|
||||
client-secret: take_this_from_github
|
||||
token: my_github_token
|
||||
|
||||
uplinks:
|
||||
npmjs:
|
||||
url: https://registry.npmjs.org/
|
||||
|
||||
packages:
|
||||
'@*/*':
|
||||
access: $all
|
||||
publish: $all
|
||||
proxy: npmjs
|
||||
jquery:
|
||||
# Limit access to users:
|
||||
access: github/user/GITHUB_USER
|
||||
'**':
|
||||
access: $all
|
||||
publish: $all
|
||||
proxy: npmjs
|
||||
|
||||
log: { type: stdout, format: pretty, level: trace }
|
||||
|
||||
listen:
|
||||
- 0.0.0.0:4873
|
||||
@@ -4,8 +4,8 @@
|
||||
"version": "2.0.0-next-8.0",
|
||||
"main": "src/index.ts",
|
||||
"devDependencies": {
|
||||
"@verdaccio/config": "workspace:8.0.0-next-8.14",
|
||||
"@verdaccio/core": "workspace:8.0.0-next-8.14",
|
||||
"@verdaccio/config": "workspace:8.0.0-next-8.15",
|
||||
"@verdaccio/core": "workspace:8.0.0-next-8.15",
|
||||
"@verdaccio/types": "workspace:13.0.0-next-8.5",
|
||||
"debug": "4.4.0",
|
||||
"fs-extra": "11.2.0",
|
||||
@@ -13,7 +13,7 @@
|
||||
"got": "11.8.6",
|
||||
"js-yaml": "4.1.0",
|
||||
"lodash": "4.17.21",
|
||||
"verdaccio": "workspace:8.0.0-next-8.14"
|
||||
"verdaccio": "workspace:8.0.0-next-8.15"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "echo no test",
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
"name": "@verdaccio/e2e-ui",
|
||||
"version": "2.0.0",
|
||||
"devDependencies": {
|
||||
"verdaccio": "workspace:8.0.0-next-8.14",
|
||||
"@verdaccio/core": "workspace:8.0.0-next-8.14",
|
||||
"@verdaccio/config": "workspace:8.0.0-next-8.14",
|
||||
"verdaccio": "workspace:8.0.0-next-8.15",
|
||||
"@verdaccio/core": "workspace:8.0.0-next-8.15",
|
||||
"@verdaccio/config": "workspace:8.0.0-next-8.15",
|
||||
"@verdaccio/test-helper": "workspace:4.0.0-next-8.4",
|
||||
"debug": "4.4.0",
|
||||
"cypress": "^13.6.0",
|
||||
|
||||
@@ -39,9 +39,9 @@
|
||||
"@babel/preset-typescript": "7.24.7",
|
||||
"@babel/register": "7.25.9",
|
||||
"@babel/runtime": "7.26.9",
|
||||
"@changesets/changelog-github": "0.5.0",
|
||||
"@changesets/changelog-github": "0.5.1",
|
||||
"@changesets/cli": "2.27.12",
|
||||
"@changesets/get-dependents-graph": "2.1.2",
|
||||
"@changesets/get-dependents-graph": "2.1.3",
|
||||
"@crowdin/cli": "4.4.1",
|
||||
"@dianmora/contributors": "5.0.0",
|
||||
"@emotion/react": "11.10.6",
|
||||
|
||||
@@ -1,5 +1,18 @@
|
||||
# @verdaccio/api
|
||||
|
||||
## 8.1.0-next-8.15
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [1f25d5f]
|
||||
- @verdaccio/auth@8.0.0-next-8.15
|
||||
- @verdaccio/core@8.0.0-next-8.15
|
||||
- @verdaccio/config@8.0.0-next-8.15
|
||||
- @verdaccio/middleware@8.0.0-next-8.15
|
||||
- @verdaccio/store@8.0.0-next-8.15
|
||||
- @verdaccio/utils@8.1.0-next-8.15
|
||||
- @verdaccio/logger@8.0.0-next-8.15
|
||||
|
||||
## 8.1.0-next-8.14
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@verdaccio/api",
|
||||
"version": "8.1.0-next-8.14",
|
||||
"version": "8.1.0-next-8.15",
|
||||
"description": "Verdaccio Registry API",
|
||||
"main": "./build/index.js",
|
||||
"types": "build/index.d.ts",
|
||||
@@ -42,13 +42,13 @@
|
||||
},
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@verdaccio/auth": "workspace:8.0.0-next-8.14",
|
||||
"@verdaccio/config": "workspace:8.0.0-next-8.14",
|
||||
"@verdaccio/core": "workspace:8.0.0-next-8.14",
|
||||
"@verdaccio/logger": "workspace:8.0.0-next-8.14",
|
||||
"@verdaccio/middleware": "workspace:8.0.0-next-8.14",
|
||||
"@verdaccio/store": "workspace:8.0.0-next-8.14",
|
||||
"@verdaccio/utils": "workspace:8.1.0-next-8.14",
|
||||
"@verdaccio/auth": "workspace:8.0.0-next-8.15",
|
||||
"@verdaccio/config": "workspace:8.0.0-next-8.15",
|
||||
"@verdaccio/core": "workspace:8.0.0-next-8.15",
|
||||
"@verdaccio/logger": "workspace:8.0.0-next-8.15",
|
||||
"@verdaccio/middleware": "workspace:8.0.0-next-8.15",
|
||||
"@verdaccio/store": "workspace:8.0.0-next-8.15",
|
||||
"@verdaccio/utils": "workspace:8.1.0-next-8.15",
|
||||
"abortcontroller-polyfill": "1.7.8",
|
||||
"body-parser": "1.20.3",
|
||||
"cookies": "0.9.1",
|
||||
|
||||
@@ -14,12 +14,15 @@ import { mask, stringToMD5 } from '@verdaccio/utils';
|
||||
import { $NextFunctionVer, $RequestExtend } from '../../types/custom';
|
||||
|
||||
export type NormalizeToken = Token & {
|
||||
cidr_whitelist: string[];
|
||||
created: string;
|
||||
};
|
||||
|
||||
// npm expects "cidr_whitelist" for token list
|
||||
function normalizeToken(token: Token): NormalizeToken {
|
||||
return {
|
||||
...token,
|
||||
cidr_whitelist: token.cidr || [],
|
||||
created: new Date(token.created).toISOString(),
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,5 +1,17 @@
|
||||
# @verdaccio/auth
|
||||
|
||||
## 8.0.0-next-8.15
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 1f25d5f: feat: add legacyMergeConfigs as option
|
||||
- @verdaccio/core@8.0.0-next-8.15
|
||||
- @verdaccio/config@8.0.0-next-8.15
|
||||
- @verdaccio/loaders@8.0.0-next-8.6
|
||||
- verdaccio-htpasswd@13.0.0-next-8.15
|
||||
- @verdaccio/utils@8.1.0-next-8.15
|
||||
- @verdaccio/signature@8.0.0-next-8.7
|
||||
|
||||
## 8.0.0-next-8.14
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@verdaccio/auth",
|
||||
"version": "8.0.0-next-8.14",
|
||||
"version": "8.0.0-next-8.15",
|
||||
"description": "Verdaccio Authentication",
|
||||
"main": "./build/index.js",
|
||||
"types": "./build/index.d.ts",
|
||||
@@ -42,19 +42,19 @@
|
||||
},
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@verdaccio/config": "workspace:8.0.0-next-8.14",
|
||||
"@verdaccio/core": "workspace:8.0.0-next-8.14",
|
||||
"@verdaccio/config": "workspace:8.0.0-next-8.15",
|
||||
"@verdaccio/core": "workspace:8.0.0-next-8.15",
|
||||
"@verdaccio/loaders": "workspace:8.0.0-next-8.6",
|
||||
"@verdaccio/signature": "workspace:8.0.0-next-8.6",
|
||||
"@verdaccio/utils": "workspace:8.1.0-next-8.14",
|
||||
"@verdaccio/signature": "workspace:8.0.0-next-8.7",
|
||||
"@verdaccio/utils": "workspace:8.1.0-next-8.15",
|
||||
"debug": "4.4.0",
|
||||
"lodash": "4.17.21",
|
||||
"verdaccio-htpasswd": "workspace:13.0.0-next-8.14"
|
||||
"verdaccio-htpasswd": "workspace:13.0.0-next-8.15"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@verdaccio/middleware": "workspace:8.0.0-next-8.14",
|
||||
"@verdaccio/middleware": "workspace:8.0.0-next-8.15",
|
||||
"@verdaccio/types": "workspace:13.0.0-next-8.5",
|
||||
"@verdaccio/logger": "workspace:8.0.0-next-8.14",
|
||||
"@verdaccio/logger": "workspace:8.0.0-next-8.15",
|
||||
"express": "4.21.2",
|
||||
"supertest": "7.0.0"
|
||||
},
|
||||
|
||||
@@ -59,12 +59,14 @@ class Auth implements IAuthMiddleware, TokenEncryption, pluginUtils.IBasicAuth {
|
||||
public secret: string;
|
||||
public logger: Logger;
|
||||
public plugins: pluginUtils.Auth<Config>[];
|
||||
public options: { legacyMergeConfigs: boolean };
|
||||
|
||||
public constructor(config: Config, logger: Logger) {
|
||||
public constructor(config: Config, logger: Logger, options = { legacyMergeConfigs: false }) {
|
||||
this.config = config;
|
||||
this.secret = config.secret;
|
||||
this.logger = logger;
|
||||
this.plugins = [];
|
||||
this.options = options;
|
||||
if (!this.secret) {
|
||||
throw new TypeError('secret it is required value on initialize the auth class');
|
||||
}
|
||||
@@ -123,7 +125,7 @@ class Auth implements IAuthMiddleware, TokenEncryption, pluginUtils.IBasicAuth {
|
||||
typeof allow_publish !== 'undefined'
|
||||
);
|
||||
},
|
||||
false,
|
||||
this.options.legacyMergeConfigs,
|
||||
this.config?.serverSettings?.pluginPrefix,
|
||||
PLUGIN_CATEGORY.AUTHENTICATION
|
||||
);
|
||||
|
||||
@@ -1,5 +1,14 @@
|
||||
# @verdaccio/cli
|
||||
|
||||
## 8.0.0-next-8.15
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- @verdaccio/node-api@8.0.0-next-8.15
|
||||
- @verdaccio/core@8.0.0-next-8.15
|
||||
- @verdaccio/config@8.0.0-next-8.15
|
||||
- @verdaccio/logger@8.0.0-next-8.15
|
||||
|
||||
## 8.0.0-next-8.14
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@verdaccio/cli",
|
||||
"version": "8.0.0-next-8.14",
|
||||
"version": "8.0.0-next-8.15",
|
||||
"author": {
|
||||
"name": "Juan Picado",
|
||||
"email": "juanpicado19@gmail.com"
|
||||
@@ -47,10 +47,10 @@
|
||||
"start": "ts-node src/index.ts"
|
||||
},
|
||||
"dependencies": {
|
||||
"@verdaccio/config": "workspace:8.0.0-next-8.14",
|
||||
"@verdaccio/core": "workspace:8.0.0-next-8.14",
|
||||
"@verdaccio/logger": "workspace:8.0.0-next-8.14",
|
||||
"@verdaccio/node-api": "workspace:8.0.0-next-8.14",
|
||||
"@verdaccio/config": "workspace:8.0.0-next-8.15",
|
||||
"@verdaccio/core": "workspace:8.0.0-next-8.15",
|
||||
"@verdaccio/logger": "workspace:8.0.0-next-8.15",
|
||||
"@verdaccio/node-api": "workspace:8.0.0-next-8.15",
|
||||
"clipanion": "4.0.0-rc.4",
|
||||
"envinfo": "7.14.0",
|
||||
"kleur": "4.1.5",
|
||||
|
||||
@@ -1,5 +1,12 @@
|
||||
# @verdaccio/config
|
||||
|
||||
## 8.0.0-next-8.15
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- @verdaccio/core@8.0.0-next-8.15
|
||||
- @verdaccio/utils@8.1.0-next-8.15
|
||||
|
||||
## 8.0.0-next-8.14
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@verdaccio/config",
|
||||
"version": "8.0.0-next-8.14",
|
||||
"version": "8.0.0-next-8.15",
|
||||
"description": "Verdaccio Configuration",
|
||||
"main": "./build/index.js",
|
||||
"types": "build/index.d.ts",
|
||||
@@ -42,8 +42,8 @@
|
||||
"build": "pnpm run build:js && pnpm run build:types"
|
||||
},
|
||||
"dependencies": {
|
||||
"@verdaccio/core": "workspace:8.0.0-next-8.14",
|
||||
"@verdaccio/utils": "workspace:8.1.0-next-8.14",
|
||||
"@verdaccio/core": "workspace:8.0.0-next-8.15",
|
||||
"@verdaccio/utils": "workspace:8.1.0-next-8.15",
|
||||
"debug": "4.4.0",
|
||||
"js-yaml": "4.1.0",
|
||||
"lodash": "4.17.21",
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# @verdaccio/core
|
||||
|
||||
## 8.0.0-next-8.15
|
||||
|
||||
## 8.0.0-next-8.14
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@verdaccio/core",
|
||||
"version": "8.0.0-next-8.14",
|
||||
"version": "8.0.0-next-8.15",
|
||||
"description": "Verdaccio Core Components",
|
||||
"keywords": [
|
||||
"private",
|
||||
|
||||
@@ -1,5 +1,13 @@
|
||||
# Change Log
|
||||
|
||||
## 13.0.0-next-8.15
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- @verdaccio/core@8.0.0-next-8.15
|
||||
- @verdaccio/url@13.0.0-next-8.15
|
||||
- @verdaccio/utils@8.1.0-next-8.15
|
||||
|
||||
## 13.0.0-next-8.14
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@verdaccio/tarball",
|
||||
"version": "13.0.0-next-8.14",
|
||||
"version": "13.0.0-next-8.15",
|
||||
"description": "Verdaccio Tarball Utilities",
|
||||
"keywords": [
|
||||
"private",
|
||||
@@ -33,9 +33,9 @@
|
||||
"access": "public"
|
||||
},
|
||||
"dependencies": {
|
||||
"@verdaccio/core": "workspace:8.0.0-next-8.14",
|
||||
"@verdaccio/url": "workspace:13.0.0-next-8.14",
|
||||
"@verdaccio/utils": "workspace:8.1.0-next-8.14",
|
||||
"@verdaccio/core": "workspace:8.0.0-next-8.15",
|
||||
"@verdaccio/url": "workspace:13.0.0-next-8.15",
|
||||
"@verdaccio/utils": "workspace:8.1.0-next-8.15",
|
||||
"debug": "4.4.0",
|
||||
"gunzip-maybe": "^1.4.2",
|
||||
"lodash": "4.17.21",
|
||||
|
||||
@@ -1,5 +1,11 @@
|
||||
# Change Log
|
||||
|
||||
## 13.0.0-next-8.15
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- @verdaccio/core@8.0.0-next-8.15
|
||||
|
||||
## 13.0.0-next-8.14
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@verdaccio/url",
|
||||
"version": "13.0.0-next-8.14",
|
||||
"version": "13.0.0-next-8.15",
|
||||
"description": "Verdaccio URL Utilities",
|
||||
"keywords": [
|
||||
"private",
|
||||
@@ -33,7 +33,7 @@
|
||||
"access": "public"
|
||||
},
|
||||
"dependencies": {
|
||||
"@verdaccio/core": "workspace:8.0.0-next-8.14",
|
||||
"@verdaccio/core": "workspace:8.0.0-next-8.15",
|
||||
"debug": "4.4.0",
|
||||
"lodash": "4.17.21",
|
||||
"validator": "13.12.0"
|
||||
|
||||
@@ -1,5 +1,12 @@
|
||||
# @verdaccio/hooks
|
||||
|
||||
## 8.0.0-next-8.15
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- @verdaccio/core@8.0.0-next-8.15
|
||||
- @verdaccio/logger@8.0.0-next-8.15
|
||||
|
||||
## 8.0.0-next-8.14
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@verdaccio/hooks",
|
||||
"version": "8.0.0-next-8.14",
|
||||
"version": "8.0.0-next-8.15",
|
||||
"description": "Verdaccio Hooks",
|
||||
"main": "./build/index.js",
|
||||
"types": "build/index.d.ts",
|
||||
@@ -33,16 +33,16 @@
|
||||
"node": ">=18"
|
||||
},
|
||||
"dependencies": {
|
||||
"@verdaccio/core": "workspace:8.0.0-next-8.14",
|
||||
"@verdaccio/logger": "workspace:8.0.0-next-8.14",
|
||||
"@verdaccio/core": "workspace:8.0.0-next-8.15",
|
||||
"@verdaccio/logger": "workspace:8.0.0-next-8.15",
|
||||
"core-js": "3.40.0",
|
||||
"debug": "4.4.0",
|
||||
"got-cjs": "12.5.4",
|
||||
"handlebars": "4.7.8"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@verdaccio/auth": "workspace:8.0.0-next-8.14",
|
||||
"@verdaccio/config": "workspace:8.0.0-next-8.14",
|
||||
"@verdaccio/auth": "workspace:8.0.0-next-8.15",
|
||||
"@verdaccio/config": "workspace:8.0.0-next-8.15",
|
||||
"@verdaccio/types": "workspace:13.0.0-next-8.5"
|
||||
},
|
||||
"scripts": {
|
||||
|
||||
@@ -21,9 +21,9 @@
|
||||
"lodash": "4.17.21"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@verdaccio/logger": "workspace:8.0.0-next-8.14",
|
||||
"@verdaccio/core": "workspace:8.0.0-next-8.14",
|
||||
"@verdaccio/config": "workspace:8.0.0-next-8.14",
|
||||
"@verdaccio/logger": "workspace:8.0.0-next-8.15",
|
||||
"@verdaccio/core": "workspace:8.0.0-next-8.15",
|
||||
"@verdaccio/config": "workspace:8.0.0-next-8.15",
|
||||
"@verdaccio/types": "workspace:13.0.0-next-8.5",
|
||||
"@verdaccio-scope/verdaccio-auth-foo": "0.0.2",
|
||||
"verdaccio-auth-memory": "workspace:*",
|
||||
|
||||
@@ -11,6 +11,8 @@ const debug = buildDebug('verdaccio:plugin:loader:async');
|
||||
|
||||
const { lstat } = fs.promises ? fs.promises : require('fs/promises');
|
||||
|
||||
const PLUGIN_PREFIX = 'verdaccio';
|
||||
|
||||
async function isDirectory(pathFolder: string) {
|
||||
const stat = await lstat(pathFolder);
|
||||
return stat.isDirectory();
|
||||
@@ -53,7 +55,7 @@ export async function asyncLoadPlugin<T extends pluginUtils.Plugin<T>>(
|
||||
pluginOptions: pluginUtils.PluginOptions,
|
||||
sanityCheck: (plugin: PluginType<T>) => boolean,
|
||||
legacyMergeConfigs: boolean = false,
|
||||
prefix: string = 'verdaccio',
|
||||
prefix: string = PLUGIN_PREFIX,
|
||||
pluginCategory: string = ''
|
||||
): Promise<PluginType<T>[]> {
|
||||
const logger = pluginOptions?.logger;
|
||||
|
||||
@@ -1,5 +1,11 @@
|
||||
# @verdaccio/logger-commons
|
||||
|
||||
## 8.0.0-next-8.15
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- @verdaccio/core@8.0.0-next-8.15
|
||||
|
||||
## 8.0.0-next-8.14
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@verdaccio/logger-commons",
|
||||
"version": "8.0.0-next-8.14",
|
||||
"version": "8.0.0-next-8.15",
|
||||
"description": "Verdaccio Logger Commons",
|
||||
"main": "./build/index.js",
|
||||
"types": "./build/index.d.ts",
|
||||
@@ -42,7 +42,7 @@
|
||||
"build": "pnpm run build:js && pnpm run build:types"
|
||||
},
|
||||
"dependencies": {
|
||||
"@verdaccio/core": "workspace:8.0.0-next-8.14",
|
||||
"@verdaccio/core": "workspace:8.0.0-next-8.15",
|
||||
"@verdaccio/logger-prettify": "workspace:8.0.0-next-8.2",
|
||||
"debug": "4.4.0",
|
||||
"colorette": "2.0.20"
|
||||
|
||||
@@ -1,5 +1,11 @@
|
||||
# @verdaccio/logger
|
||||
|
||||
## 8.0.0-next-8.15
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- @verdaccio/logger-commons@8.0.0-next-8.15
|
||||
|
||||
## 8.0.0-next-8.14
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@verdaccio/logger",
|
||||
"version": "8.0.0-next-8.14",
|
||||
"version": "8.0.0-next-8.15",
|
||||
"description": "Verdaccio Logger",
|
||||
"main": "./build/index.js",
|
||||
"types": "./build/index.d.ts",
|
||||
@@ -42,7 +42,7 @@
|
||||
"build": "pnpm run build:js && pnpm run build:types"
|
||||
},
|
||||
"dependencies": {
|
||||
"@verdaccio/logger-commons": "workspace:8.0.0-next-8.14",
|
||||
"@verdaccio/logger-commons": "workspace:8.0.0-next-8.15",
|
||||
"pino": "9.6.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@@ -1,5 +1,14 @@
|
||||
# @verdaccio/middleware
|
||||
|
||||
## 8.0.0-next-8.15
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- @verdaccio/core@8.0.0-next-8.15
|
||||
- @verdaccio/config@8.0.0-next-8.15
|
||||
- @verdaccio/url@13.0.0-next-8.15
|
||||
- @verdaccio/utils@8.1.0-next-8.15
|
||||
|
||||
## 8.0.0-next-8.14
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@verdaccio/middleware",
|
||||
"version": "8.0.0-next-8.14",
|
||||
"version": "8.0.0-next-8.15",
|
||||
"description": "Verdaccio Express Middleware",
|
||||
"main": "./build/index.js",
|
||||
"types": "build/index.d.ts",
|
||||
@@ -42,10 +42,10 @@
|
||||
"build": "pnpm run build:js && pnpm run build:types"
|
||||
},
|
||||
"dependencies": {
|
||||
"@verdaccio/config": "workspace:8.0.0-next-8.14",
|
||||
"@verdaccio/core": "workspace:8.0.0-next-8.14",
|
||||
"@verdaccio/url": "workspace:13.0.0-next-8.14",
|
||||
"@verdaccio/utils": "workspace:8.1.0-next-8.14",
|
||||
"@verdaccio/config": "workspace:8.0.0-next-8.15",
|
||||
"@verdaccio/core": "workspace:8.0.0-next-8.15",
|
||||
"@verdaccio/url": "workspace:13.0.0-next-8.15",
|
||||
"@verdaccio/utils": "workspace:8.1.0-next-8.15",
|
||||
"debug": "4.4.0",
|
||||
"express": "4.21.2",
|
||||
"express-rate-limit": "5.5.1",
|
||||
@@ -58,7 +58,7 @@
|
||||
"url": "https://opencollective.com/verdaccio"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@verdaccio/logger": "workspace:8.0.0-next-8.14",
|
||||
"@verdaccio/logger": "workspace:8.0.0-next-8.15",
|
||||
"body-parser": "1.20.3",
|
||||
"supertest": "7.0.0",
|
||||
"jsdom": "25.0.1"
|
||||
|
||||
@@ -132,8 +132,10 @@ export default function renderHTML(
|
||||
|
||||
let webPage;
|
||||
|
||||
let cacheKey = `template:${JSON.stringify(options)}`;
|
||||
|
||||
try {
|
||||
webPage = cache.get('template');
|
||||
webPage = cache.get(cacheKey);
|
||||
if (!webPage) {
|
||||
webPage = renderTemplate(
|
||||
{
|
||||
@@ -147,7 +149,7 @@ export default function renderHTML(
|
||||
);
|
||||
|
||||
if (needHtmlCache) {
|
||||
cache.set('template', webPage);
|
||||
cache.set(cacheKey, webPage);
|
||||
debug('set template cache');
|
||||
}
|
||||
} else {
|
||||
|
||||
@@ -1,5 +1,15 @@
|
||||
# @verdaccio/node-api
|
||||
|
||||
## 8.0.0-next-8.15
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- @verdaccio/server@8.0.0-next-8.15
|
||||
- @verdaccio/server-fastify@8.0.0-next-8.15
|
||||
- @verdaccio/core@8.0.0-next-8.15
|
||||
- @verdaccio/config@8.0.0-next-8.15
|
||||
- @verdaccio/logger@8.0.0-next-8.15
|
||||
|
||||
## 8.0.0-next-8.14
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@verdaccio/node-api",
|
||||
"version": "8.0.0-next-8.14",
|
||||
"version": "8.0.0-next-8.15",
|
||||
"description": "Verdaccio Node API",
|
||||
"main": "build/index.js",
|
||||
"types": "build/index.d.ts",
|
||||
@@ -42,11 +42,11 @@
|
||||
},
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@verdaccio/config": "workspace:8.0.0-next-8.14",
|
||||
"@verdaccio/core": "workspace:8.0.0-next-8.14",
|
||||
"@verdaccio/logger": "workspace:8.0.0-next-8.14",
|
||||
"@verdaccio/server": "workspace:8.0.0-next-8.14",
|
||||
"@verdaccio/server-fastify": "workspace:8.0.0-next-8.14",
|
||||
"@verdaccio/config": "workspace:8.0.0-next-8.15",
|
||||
"@verdaccio/core": "workspace:8.0.0-next-8.15",
|
||||
"@verdaccio/logger": "workspace:8.0.0-next-8.15",
|
||||
"@verdaccio/server": "workspace:8.0.0-next-8.15",
|
||||
"@verdaccio/server-fastify": "workspace:8.0.0-next-8.15",
|
||||
"core-js": "3.40.0",
|
||||
"debug": "4.4.0",
|
||||
"lodash": "4.17.21"
|
||||
|
||||
@@ -1,5 +1,12 @@
|
||||
# Change Log
|
||||
|
||||
## 13.0.0-next-8.15
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- @verdaccio/core@8.0.0-next-8.15
|
||||
- @verdaccio/config@8.0.0-next-8.15
|
||||
|
||||
## 13.0.0-next-8.14
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "verdaccio-audit",
|
||||
"version": "13.0.0-next-8.14",
|
||||
"version": "13.0.0-next-8.15",
|
||||
"description": "Verdaccio Middleware plugin to bypass npmjs audit",
|
||||
"keywords": [
|
||||
"private",
|
||||
@@ -30,15 +30,15 @@
|
||||
"node": ">=18"
|
||||
},
|
||||
"dependencies": {
|
||||
"@verdaccio/config": "workspace:8.0.0-next-8.14",
|
||||
"@verdaccio/core": "workspace:8.0.0-next-8.14",
|
||||
"@verdaccio/config": "workspace:8.0.0-next-8.15",
|
||||
"@verdaccio/core": "workspace:8.0.0-next-8.15",
|
||||
"express": "4.21.2",
|
||||
"https-proxy-agent": "5.0.1",
|
||||
"node-fetch": "cjs"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@verdaccio/auth": "workspace:8.0.0-next-8.14",
|
||||
"@verdaccio/logger": "workspace:8.0.0-next-8.14",
|
||||
"@verdaccio/auth": "workspace:8.0.0-next-8.15",
|
||||
"@verdaccio/logger": "workspace:8.0.0-next-8.15",
|
||||
"@verdaccio/types": "workspace:13.0.0-next-8.5",
|
||||
"supertest": "7.0.0"
|
||||
},
|
||||
|
||||
@@ -1,5 +1,11 @@
|
||||
# Change Log
|
||||
|
||||
## 13.0.0-next-8.15
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- @verdaccio/core@8.0.0-next-8.15
|
||||
|
||||
## 13.0.0-next-8.14
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "verdaccio-auth-memory",
|
||||
"version": "13.0.0-next-8.14",
|
||||
"version": "13.0.0-next-8.15",
|
||||
"description": "Auth plugin for Verdaccio that keeps users in memory",
|
||||
"keywords": [
|
||||
"private",
|
||||
@@ -30,12 +30,12 @@
|
||||
"node": ">=18"
|
||||
},
|
||||
"dependencies": {
|
||||
"@verdaccio/core": "workspace:8.0.0-next-8.14",
|
||||
"@verdaccio/core": "workspace:8.0.0-next-8.15",
|
||||
"debug": "4.4.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/debug": "^4.1.12",
|
||||
"@verdaccio/config": "workspace:8.0.0-next-8.14",
|
||||
"@verdaccio/config": "workspace:8.0.0-next-8.15",
|
||||
"@verdaccio/types": "workspace:13.0.0-next-8.5"
|
||||
},
|
||||
"scripts": {
|
||||
|
||||
@@ -1,5 +1,11 @@
|
||||
# Change Log
|
||||
|
||||
## 13.0.0-next-8.15
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- @verdaccio/core@8.0.0-next-8.15
|
||||
|
||||
## 13.0.0-next-8.14
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "verdaccio-htpasswd",
|
||||
"version": "13.0.0-next-8.14",
|
||||
"version": "13.0.0-next-8.15",
|
||||
"description": "Htpasswd Authentication Plugin for Verdaccio",
|
||||
"keywords": [
|
||||
"private",
|
||||
@@ -33,7 +33,7 @@
|
||||
"node": ">=18"
|
||||
},
|
||||
"dependencies": {
|
||||
"@verdaccio/core": "workspace:8.0.0-next-8.14",
|
||||
"@verdaccio/core": "workspace:8.0.0-next-8.15",
|
||||
"@verdaccio/file-locking": "workspace:13.0.0-next-8.3",
|
||||
"apache-md5": "1.1.8",
|
||||
"bcryptjs": "2.4.3",
|
||||
@@ -45,8 +45,8 @@
|
||||
"devDependencies": {
|
||||
"@types/bcryptjs": "2.4.6",
|
||||
"@verdaccio/types": "workspace:13.0.0-next-8.5",
|
||||
"@verdaccio/config": "workspace:8.0.0-next-8.14",
|
||||
"@verdaccio/logger": "workspace:8.0.0-next-8.14",
|
||||
"@verdaccio/config": "workspace:8.0.0-next-8.15",
|
||||
"@verdaccio/logger": "workspace:8.0.0-next-8.15",
|
||||
"mockdate": "3.0.5"
|
||||
},
|
||||
"scripts": {
|
||||
|
||||
@@ -1,5 +1,12 @@
|
||||
# Change Log
|
||||
|
||||
## 13.0.0-next-8.15
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- @verdaccio/core@8.0.0-next-8.15
|
||||
- @verdaccio/utils@8.1.0-next-8.15
|
||||
|
||||
## 13.0.0-next-8.14
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@verdaccio/local-storage",
|
||||
"version": "13.0.0-next-8.14",
|
||||
"version": "13.0.0-next-8.15",
|
||||
"description": "Verdaccio Local Storage Plugin",
|
||||
"keywords": [
|
||||
"private",
|
||||
@@ -36,9 +36,9 @@
|
||||
"node": ">=18"
|
||||
},
|
||||
"dependencies": {
|
||||
"@verdaccio/core": "workspace:8.0.0-next-8.14",
|
||||
"@verdaccio/core": "workspace:8.0.0-next-8.15",
|
||||
"@verdaccio/file-locking": "workspace:13.0.0-next-8.3",
|
||||
"@verdaccio/utils": "workspace:8.1.0-next-8.14",
|
||||
"@verdaccio/utils": "workspace:8.1.0-next-8.15",
|
||||
"core-js": "3.40.0",
|
||||
"debug": "4.4.0",
|
||||
"globby": "11.1.0",
|
||||
@@ -50,8 +50,8 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/minimatch": "5.1.2",
|
||||
"@verdaccio/config": "workspace:8.0.0-next-8.14",
|
||||
"@verdaccio/logger": "workspace:8.0.0-next-8.14",
|
||||
"@verdaccio/config": "workspace:8.0.0-next-8.15",
|
||||
"@verdaccio/logger": "workspace:8.0.0-next-8.15",
|
||||
"@verdaccio/test-helper": "workspace:4.0.0-next-8.4",
|
||||
"@verdaccio/types": "workspace:13.0.0-next-8.5",
|
||||
"minimatch": "9.0.5"
|
||||
|
||||
@@ -1,5 +1,11 @@
|
||||
# Change Log
|
||||
|
||||
## 13.0.0-next-8.15
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- @verdaccio/core@8.0.0-next-8.15
|
||||
|
||||
## 13.0.0-next-8.14
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "verdaccio-memory",
|
||||
"version": "13.0.0-next-8.14",
|
||||
"version": "13.0.0-next-8.15",
|
||||
"description": "Verdaccio Memory Storage Plugin",
|
||||
"keywords": [
|
||||
"private",
|
||||
@@ -30,15 +30,15 @@
|
||||
"node": ">=18"
|
||||
},
|
||||
"dependencies": {
|
||||
"@verdaccio/core": "workspace:8.0.0-next-8.14",
|
||||
"@verdaccio/core": "workspace:8.0.0-next-8.15",
|
||||
"memory-fs": "0.5.0",
|
||||
"debug": "4.4.0",
|
||||
"memfs": "3.5.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@verdaccio/types": "workspace:13.0.0-next-8.5",
|
||||
"@verdaccio/config": "workspace:8.0.0-next-8.14",
|
||||
"@verdaccio/logger": "workspace:8.0.0-next-8.14"
|
||||
"@verdaccio/config": "workspace:8.0.0-next-8.15",
|
||||
"@verdaccio/logger": "workspace:8.0.0-next-8.15"
|
||||
},
|
||||
"scripts": {
|
||||
"clean": "rimraf ./build",
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# @verdaccio/ui-theme
|
||||
|
||||
## 8.0.0-next-8.15
|
||||
|
||||
## 8.0.0-next-8.14
|
||||
|
||||
## 8.0.0-next-8.13
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@verdaccio/ui-theme",
|
||||
"version": "8.0.0-next-8.14",
|
||||
"version": "8.0.0-next-8.15",
|
||||
"description": "Verdaccio User Interface (Theme)",
|
||||
"author": {
|
||||
"name": "Verdaccio Contributors",
|
||||
@@ -31,7 +31,8 @@
|
||||
"@testing-library/dom": "10.4.0",
|
||||
"@testing-library/jest-dom": "6.6.3",
|
||||
"@testing-library/react": "16.1.0",
|
||||
"@verdaccio/node-api": "workspace:8.0.0-next-8.14",
|
||||
"@types/history": "^5.0.0",
|
||||
"@verdaccio/node-api": "workspace:8.0.0-next-8.15",
|
||||
"@verdaccio/types": "workspace:*",
|
||||
"@verdaccio/ui-components": "workspace:4.0.0-next-8.8",
|
||||
"@verdaccio/ui-i18n": "workspace:8.0.0-next-8.12",
|
||||
@@ -55,7 +56,7 @@
|
||||
"lodash": "4.17.21",
|
||||
"marked": "15.0.6",
|
||||
"mini-css-extract-plugin": "2.7.7",
|
||||
"msw": "2.7.0",
|
||||
"msw": "2.7.5",
|
||||
"mutationobserver-shim": "0.3.7",
|
||||
"node-mocks-http": "1.14.1",
|
||||
"normalize.css": "8.0.1",
|
||||
@@ -82,7 +83,7 @@
|
||||
"stylelint-processor-styled-components": "1.10.0",
|
||||
"stylelint-webpack-plugin": "4.1.1",
|
||||
"supertest": "7.0.0",
|
||||
"terser-webpack-plugin": "5.3.12",
|
||||
"terser-webpack-plugin": "5.3.14",
|
||||
"url-loader": "4.1.1",
|
||||
"validator": "13.12.0",
|
||||
"vite-plugin-markdown": "2.2.0",
|
||||
@@ -90,7 +91,7 @@
|
||||
"webpack-bundle-analyzer": "4.10.2",
|
||||
"webpack-bundle-size-analyzer": "3.1.0",
|
||||
"webpack-cli": "^4.10.0",
|
||||
"webpack-dev-server": "5.2.0",
|
||||
"webpack-dev-server": "5.2.1",
|
||||
"webpack-manifest-plugin": "4.1.1",
|
||||
"webpack-merge": "5.10.0",
|
||||
"whatwg-fetch": "3.6.20"
|
||||
|
||||
@@ -14,14 +14,14 @@ vi.spyOn(HTMLElement.prototype, 'offsetWidth', 'get').mockReturnValue(600);
|
||||
/* eslint-disable react/jsx-no-bind*/
|
||||
describe('<App />', () => {
|
||||
describe('footer', () => {
|
||||
test('should display the Header component', async () => {
|
||||
test('should display the Footer component', async () => {
|
||||
await act(() => {
|
||||
renderWithStore(<App />, store);
|
||||
});
|
||||
expect(screen.getByTestId('footer')).toBeInTheDocument();
|
||||
});
|
||||
|
||||
test('should not display the Header component', async () => {
|
||||
test('should not display the Footer component', async () => {
|
||||
// @ts-ignore
|
||||
window.__VERDACCIO_BASENAME_UI_OPTIONS = {
|
||||
showFooter: false,
|
||||
|
||||
@@ -30,13 +30,13 @@ import AppRoute, { history } from './AppRoute';
|
||||
|
||||
const StyledBox = styled(Box)<{ theme?: Theme }>(({ theme }) => {
|
||||
return {
|
||||
backgroundColor: theme?.palette.background.default,
|
||||
backgroundColor: theme.palette.background.default,
|
||||
};
|
||||
});
|
||||
|
||||
const StyledBoxContent = styled(Box)<{ theme?: Theme }>(({ theme }) => ({
|
||||
[`@media screen and (min-width: ${theme?.breakPoints.container}px)`]: {
|
||||
maxWidth: theme?.breakPoints.container,
|
||||
[`@media screen and (min-width: ${theme.breakPoints.container}px)`]: {
|
||||
maxWidth: theme.breakPoints.container,
|
||||
width: '100%',
|
||||
marginLeft: 'auto',
|
||||
marginRight: 'auto',
|
||||
@@ -91,7 +91,7 @@ const App: React.FC = () => {
|
||||
|
||||
return (
|
||||
<StrictMode>
|
||||
<TranslatorProvider i18n={i18n} listLanguages={listLanguages} onMount={loadDayJSLocale}>
|
||||
<TranslatorProvider i18n={i18n} listLanguages={listLanguages} onMount={() => loadDayJSLocale}>
|
||||
<Suspense fallback={<Loading />}>
|
||||
<StyledBox display="flex" flexDirection="column" height="100%">
|
||||
<Router history={history}>
|
||||
|
||||
@@ -399,14 +399,14 @@
|
||||
"username": "okv",
|
||||
"id": 465522
|
||||
},
|
||||
{
|
||||
"username": "awshanks",
|
||||
"id": 18176417
|
||||
},
|
||||
{
|
||||
"username": "s-h-a-d-o-w",
|
||||
"id": 16936908
|
||||
},
|
||||
{
|
||||
"username": "awshanks",
|
||||
"id": 18176417
|
||||
},
|
||||
{
|
||||
"username": "imsnif",
|
||||
"id": 795598
|
||||
@@ -427,26 +427,6 @@
|
||||
"username": "denisbabineau",
|
||||
"id": 12616025
|
||||
},
|
||||
{
|
||||
"username": "idangozlan",
|
||||
"id": 1991021
|
||||
},
|
||||
{
|
||||
"username": "guitarrapc",
|
||||
"id": 3856350
|
||||
},
|
||||
{
|
||||
"username": "monkeywithacupcake",
|
||||
"id": 7316730
|
||||
},
|
||||
{
|
||||
"username": "josephg",
|
||||
"id": 47413
|
||||
},
|
||||
{
|
||||
"username": "marnel",
|
||||
"id": 3189424
|
||||
},
|
||||
{
|
||||
"username": "kba",
|
||||
"id": 273367
|
||||
@@ -459,6 +439,26 @@
|
||||
"username": "aledbf",
|
||||
"id": 161571
|
||||
},
|
||||
{
|
||||
"username": "marnel",
|
||||
"id": 3189424
|
||||
},
|
||||
{
|
||||
"username": "josephg",
|
||||
"id": 47413
|
||||
},
|
||||
{
|
||||
"username": "guitarrapc",
|
||||
"id": 3856350
|
||||
},
|
||||
{
|
||||
"username": "idangozlan",
|
||||
"id": 1991021
|
||||
},
|
||||
{
|
||||
"username": "monkeywithacupcake",
|
||||
"id": 7316730
|
||||
},
|
||||
{
|
||||
"username": "Shreynik",
|
||||
"id": 25787910
|
||||
@@ -579,6 +579,10 @@
|
||||
"username": "pshanoop",
|
||||
"id": 1174257
|
||||
},
|
||||
{
|
||||
"username": "Skn0tt",
|
||||
"id": 14912729
|
||||
},
|
||||
{
|
||||
"username": "starizard",
|
||||
"id": 4953349
|
||||
@@ -599,14 +603,6 @@
|
||||
"username": "rostislav-simonik",
|
||||
"id": 25525736
|
||||
},
|
||||
{
|
||||
"username": "hedocode",
|
||||
"id": 22884999
|
||||
},
|
||||
{
|
||||
"username": "Skn0tt",
|
||||
"id": 14912729
|
||||
},
|
||||
{
|
||||
"username": "fhp",
|
||||
"id": 374671
|
||||
@@ -643,6 +639,14 @@
|
||||
"username": "datWeazel",
|
||||
"id": 3285115
|
||||
},
|
||||
{
|
||||
"username": "Tiny-Fendy",
|
||||
"id": 8954107
|
||||
},
|
||||
{
|
||||
"username": "hedocode",
|
||||
"id": 22884999
|
||||
},
|
||||
{
|
||||
"username": "morlay",
|
||||
"id": 1667873
|
||||
@@ -719,10 +723,6 @@
|
||||
"username": "RodrigoBalest",
|
||||
"id": 4810463
|
||||
},
|
||||
{
|
||||
"username": "divdavem",
|
||||
"id": 1152706
|
||||
},
|
||||
{
|
||||
"username": "iketiunn",
|
||||
"id": 10249208
|
||||
@@ -755,6 +755,10 @@
|
||||
"username": "okyanusoz",
|
||||
"id": 46757266
|
||||
},
|
||||
{
|
||||
"username": "omasakun",
|
||||
"id": 21339163
|
||||
},
|
||||
{
|
||||
"username": "profanis",
|
||||
"id": 7045092
|
||||
@@ -803,10 +807,6 @@
|
||||
"username": "melodyVoid",
|
||||
"id": 26846212
|
||||
},
|
||||
{
|
||||
"username": "Tiny-Fendy",
|
||||
"id": 8954107
|
||||
},
|
||||
{
|
||||
"username": "tomcoonen",
|
||||
"id": 988013
|
||||
@@ -895,6 +895,10 @@
|
||||
"username": "dasmikko",
|
||||
"id": 4254869
|
||||
},
|
||||
{
|
||||
"username": "divdavem",
|
||||
"id": 1152706
|
||||
},
|
||||
{
|
||||
"username": "bchenSyd",
|
||||
"id": 8207081
|
||||
@@ -1215,6 +1219,10 @@
|
||||
"username": "johannespfeiffer",
|
||||
"id": 6780316
|
||||
},
|
||||
{
|
||||
"username": "jchilton",
|
||||
"id": 181054
|
||||
},
|
||||
{
|
||||
"username": "notsag",
|
||||
"id": 674589
|
||||
|
||||
@@ -1,5 +1,13 @@
|
||||
# @verdaccio/proxy
|
||||
|
||||
## 8.0.0-next-8.15
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- @verdaccio/core@8.0.0-next-8.15
|
||||
- @verdaccio/config@8.0.0-next-8.15
|
||||
- @verdaccio/utils@8.1.0-next-8.15
|
||||
|
||||
## 8.0.0-next-8.14
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@verdaccio/proxy",
|
||||
"version": "8.0.0-next-8.14",
|
||||
"version": "8.0.0-next-8.15",
|
||||
"description": "Verdaccio Proxy Fetcher",
|
||||
"main": "./build/index.js",
|
||||
"types": "build/index.d.ts",
|
||||
@@ -42,9 +42,9 @@
|
||||
"build": "pnpm run build:js && pnpm run build:types"
|
||||
},
|
||||
"dependencies": {
|
||||
"@verdaccio/config": "workspace:8.0.0-next-8.14",
|
||||
"@verdaccio/core": "workspace:8.0.0-next-8.14",
|
||||
"@verdaccio/utils": "workspace:8.1.0-next-8.14",
|
||||
"@verdaccio/config": "workspace:8.0.0-next-8.15",
|
||||
"@verdaccio/core": "workspace:8.0.0-next-8.15",
|
||||
"@verdaccio/utils": "workspace:8.1.0-next-8.15",
|
||||
"JSONStream": "1.3.5",
|
||||
"debug": "4.4.0",
|
||||
"got-cjs": "12.5.4",
|
||||
@@ -52,7 +52,7 @@
|
||||
"lodash": "4.17.21"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@verdaccio/logger": "workspace:8.0.0-next-8.14",
|
||||
"@verdaccio/logger": "workspace:8.0.0-next-8.15",
|
||||
"@verdaccio/types": "workspace:13.0.0-next-8.5",
|
||||
"get-stream": "^6.0.1",
|
||||
"node-mocks-http": "1.14.1",
|
||||
|
||||
@@ -1,5 +1,14 @@
|
||||
# @verdaccio/search
|
||||
|
||||
## 8.0.0-next-8.15
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- @verdaccio/core@8.0.0-next-8.15
|
||||
- @verdaccio/config@8.0.0-next-8.15
|
||||
- @verdaccio/proxy@8.0.0-next-8.15
|
||||
- @verdaccio/logger@8.0.0-next-8.15
|
||||
|
||||
## 8.0.0-next-8.14
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@verdaccio/search",
|
||||
"version": "8.0.0-next-8.14",
|
||||
"version": "8.0.0-next-8.15",
|
||||
"description": "Verdaccio Search Proxy",
|
||||
"main": "./build/index.js",
|
||||
"types": "build/index.d.ts",
|
||||
@@ -44,10 +44,10 @@
|
||||
"dependencies": {
|
||||
"debug": "4.4.0",
|
||||
"lodash": "4.17.21",
|
||||
"@verdaccio/config": "workspace:8.0.0-next-8.14",
|
||||
"@verdaccio/core": "workspace:8.0.0-next-8.14",
|
||||
"@verdaccio/logger": "workspace:8.0.0-next-8.14",
|
||||
"@verdaccio/proxy": "workspace:8.0.0-next-8.14"
|
||||
"@verdaccio/config": "workspace:8.0.0-next-8.15",
|
||||
"@verdaccio/core": "workspace:8.0.0-next-8.15",
|
||||
"@verdaccio/logger": "workspace:8.0.0-next-8.15",
|
||||
"@verdaccio/proxy": "workspace:8.0.0-next-8.15"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@verdaccio/types": "workspace:13.0.0-next-8.5",
|
||||
|
||||
@@ -1,5 +1,22 @@
|
||||
# @verdaccio/server
|
||||
|
||||
## 8.0.0-next-8.15
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [1f25d5f]
|
||||
- @verdaccio/auth@8.0.0-next-8.15
|
||||
- @verdaccio/api@8.1.0-next-8.15
|
||||
- verdaccio-audit@13.0.0-next-8.15
|
||||
- @verdaccio/web@8.1.0-next-8.15
|
||||
- @verdaccio/core@8.0.0-next-8.15
|
||||
- @verdaccio/config@8.0.0-next-8.15
|
||||
- @verdaccio/loaders@8.0.0-next-8.6
|
||||
- @verdaccio/middleware@8.0.0-next-8.15
|
||||
- @verdaccio/store@8.0.0-next-8.15
|
||||
- @verdaccio/utils@8.1.0-next-8.15
|
||||
- @verdaccio/logger@8.0.0-next-8.15
|
||||
|
||||
## 8.0.0-next-8.14
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@verdaccio/server",
|
||||
"version": "8.0.0-next-8.14",
|
||||
"version": "8.0.0-next-8.15",
|
||||
"description": "Verdaccio Express Server",
|
||||
"main": "./build/index.js",
|
||||
"types": "build/index.d.ts",
|
||||
@@ -33,17 +33,17 @@
|
||||
"node": ">=18"
|
||||
},
|
||||
"dependencies": {
|
||||
"@verdaccio/api": "workspace:8.1.0-next-8.14",
|
||||
"@verdaccio/auth": "workspace:8.0.0-next-8.14",
|
||||
"@verdaccio/core": "workspace:8.0.0-next-8.14",
|
||||
"@verdaccio/config": "workspace:8.0.0-next-8.14",
|
||||
"@verdaccio/api": "workspace:8.1.0-next-8.15",
|
||||
"@verdaccio/auth": "workspace:8.0.0-next-8.15",
|
||||
"@verdaccio/core": "workspace:8.0.0-next-8.15",
|
||||
"@verdaccio/config": "workspace:8.0.0-next-8.15",
|
||||
"@verdaccio/loaders": "workspace:8.0.0-next-8.6",
|
||||
"@verdaccio/logger": "workspace:8.0.0-next-8.14",
|
||||
"@verdaccio/middleware": "workspace:8.0.0-next-8.14",
|
||||
"@verdaccio/store": "workspace:8.0.0-next-8.14",
|
||||
"@verdaccio/utils": "workspace:8.1.0-next-8.14",
|
||||
"@verdaccio/web": "workspace:8.1.0-next-8.14",
|
||||
"verdaccio-audit": "workspace:13.0.0-next-8.14",
|
||||
"@verdaccio/logger": "workspace:8.0.0-next-8.15",
|
||||
"@verdaccio/middleware": "workspace:8.0.0-next-8.15",
|
||||
"@verdaccio/store": "workspace:8.0.0-next-8.15",
|
||||
"@verdaccio/utils": "workspace:8.1.0-next-8.15",
|
||||
"@verdaccio/web": "workspace:8.1.0-next-8.15",
|
||||
"verdaccio-audit": "workspace:13.0.0-next-8.15",
|
||||
"compression": "1.8.0",
|
||||
"cors": "2.8.5",
|
||||
"debug": "4.4.0",
|
||||
@@ -51,7 +51,7 @@
|
||||
"lodash": "4.17.21"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@verdaccio/proxy": "workspace:8.0.0-next-8.14",
|
||||
"@verdaccio/proxy": "workspace:8.0.0-next-8.15",
|
||||
"@verdaccio/test-helper": "workspace:4.0.0-next-8.4",
|
||||
"http-errors": "2.0.0"
|
||||
},
|
||||
|
||||
@@ -22,7 +22,7 @@ import {
|
||||
import { Storage } from '@verdaccio/store';
|
||||
import { ConfigYaml } from '@verdaccio/types';
|
||||
import { Config as IConfig } from '@verdaccio/types';
|
||||
import webMiddleware, { PLUGIN_UI_PREFIX } from '@verdaccio/web';
|
||||
import webMiddleware from '@verdaccio/web';
|
||||
|
||||
import { $NextFunctionVer, $RequestExtend, $ResponseExtend } from '../types/custom';
|
||||
import hookDebug from './debug';
|
||||
@@ -74,7 +74,7 @@ const defineAPI = async function (config: IConfig, storage: Storage): Promise<Ex
|
||||
return typeof plugin.register_middlewares !== 'undefined';
|
||||
},
|
||||
false,
|
||||
config?.serverSettings?.pluginPrefix ?? PLUGIN_UI_PREFIX,
|
||||
config?.serverSettings?.pluginPrefix,
|
||||
PLUGIN_CATEGORY.MIDDLEWARE
|
||||
);
|
||||
|
||||
|
||||
@@ -7,6 +7,7 @@ auth:
|
||||
# Use enabled instead of enable which is deprecated
|
||||
web:
|
||||
enabled: true
|
||||
title: verdaccio
|
||||
|
||||
publish:
|
||||
allow_offline: false
|
||||
|
||||
@@ -1,5 +1,18 @@
|
||||
# @verdaccio/server-fastify
|
||||
|
||||
## 8.0.0-next-8.15
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [1f25d5f]
|
||||
- @verdaccio/auth@8.0.0-next-8.15
|
||||
- @verdaccio/core@8.0.0-next-8.15
|
||||
- @verdaccio/config@8.0.0-next-8.15
|
||||
- @verdaccio/tarball@13.0.0-next-8.15
|
||||
- @verdaccio/store@8.0.0-next-8.15
|
||||
- @verdaccio/utils@8.1.0-next-8.15
|
||||
- @verdaccio/logger@8.0.0-next-8.15
|
||||
|
||||
## 8.0.0-next-8.14
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@verdaccio/server-fastify",
|
||||
"version": "8.0.0-next-8.14",
|
||||
"version": "8.0.0-next-8.15",
|
||||
"description": "Verdaccio Fastify Server",
|
||||
"keywords": [
|
||||
"private",
|
||||
@@ -33,13 +33,13 @@
|
||||
"access": "public"
|
||||
},
|
||||
"dependencies": {
|
||||
"@verdaccio/core": "workspace:8.0.0-next-8.14",
|
||||
"@verdaccio/config": "workspace:8.0.0-next-8.14",
|
||||
"@verdaccio/auth": "workspace:8.0.0-next-8.14",
|
||||
"@verdaccio/logger": "workspace:8.0.0-next-8.14",
|
||||
"@verdaccio/store": "workspace:8.0.0-next-8.14",
|
||||
"@verdaccio/tarball": "workspace:13.0.0-next-8.14",
|
||||
"@verdaccio/utils": "workspace:8.1.0-next-8.14",
|
||||
"@verdaccio/core": "workspace:8.0.0-next-8.15",
|
||||
"@verdaccio/config": "workspace:8.0.0-next-8.15",
|
||||
"@verdaccio/auth": "workspace:8.0.0-next-8.15",
|
||||
"@verdaccio/logger": "workspace:8.0.0-next-8.15",
|
||||
"@verdaccio/store": "workspace:8.0.0-next-8.15",
|
||||
"@verdaccio/tarball": "workspace:13.0.0-next-8.15",
|
||||
"@verdaccio/utils": "workspace:8.1.0-next-8.15",
|
||||
"core-js": "3.40.0",
|
||||
"debug": "4.4.0",
|
||||
"fastify": "4.25.2",
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user