Compare commits

...

25 Commits

Author SHA1 Message Date
Juan Picado
2c9fe963ff chore: update versions (next-7) (#4525)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-03 19:22:16 +01:00
renovate[bot]
31844e2e77 fix(deps): update dependency semver to v7.6.0 (#4524)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-03 19:13:10 +01:00
dependabot[bot]
605cff9099 chore(deps): bump github/codeql-action from 3.24.0 to 3.24.5 (#4520)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.24.0 to 3.24.5.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](e8893c57a1...47b3d888fe)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-03 19:08:15 +01:00
Juan Picado
c9962fe1d5 feat: forbidden user interface (#4523)
* feat: forbidden user interface

* Delete App.stories.tsx

* Update package.json

* Delete package.svg

* fix
2024-03-03 19:06:39 +01:00
Juan Picado
4a81ed791a Delete .netlify directory 2024-03-03 14:09:03 +01:00
Juan Picado
8783e3a88a chore: update website deployment (#4320)
* test

* Update website.yml

* Update website.yml

* test2

* Update package.json

* Update package.json

* Update package.json

* clean up

* Update website.yml

* remove dependency
2024-03-03 13:49:00 +01:00
Gweesin Chan
7034c358d5 docs: fix typos in CONTRIBUTING (#4521) 2024-03-02 10:40:51 +01:00
verdacciobot
f09f30cada chore: updated static data 2024-02-29 00:12:05 +00:00
verdacciobot
03acf73a56 chore: updated static data 2024-02-26 00:12:56 +00:00
Juan Picado
dabf77d32d website: update banners url 2024-02-24 20:52:02 +01:00
verdacciobot
fbcc36fbb6 chore: updated static data 2024-02-22 00:12:51 +00:00
Juan Picado
66e4c89d3e chore: update versions (next-7) (#4515)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-02-20 22:01:58 +01:00
Juan Picado
521040847c fix: ui dialog break pages on open due remark error (#4514)
* fix: ui dialog break pages on open due remark error

* Update pnpm-lock.yaml
2024-02-20 21:41:04 +01:00
verdacciobot
c8b70a5be4 chore: updated static data 2024-02-19 00:13:12 +00:00
Juan Picado
a90b19302f chore: website update logos 2024-02-18 21:38:43 +01:00
Juan Picado
1bae2c431a chore: add ui tests (#4512)
* chore: ui test coverage

* ui test coverage

* add tests

* add dep
2024-02-18 21:08:17 +01:00
renovate[bot]
82ae08e3c8 fix(deps): update all package managers (master) (#4511)
* fix(deps): update all package managers

* fix tests

* test

* improve ci

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Juan Picado <juanpicado19@gmail.com>
2024-02-18 11:33:07 +01:00
verdacciobot
bf3ae08646 chore: updated static data 2024-02-15 00:12:33 +00:00
Marc Bernard
e4e1171af8 docs: fix typos in readme (#4506) 2024-02-14 07:16:34 +01:00
Marc Bernard
8ace3245ff docs: add example for integrating GitHub registry with uplinks (#4505) 2024-02-13 15:52:29 +01:00
dependabot[bot]
487e2f77fe chore(deps): bump actions/setup-node from 4.0.1 to 4.0.2 (#4501)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 4.0.1 to 4.0.2.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](b39b52d121...60edb5dd54)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-13 08:15:45 +01:00
Marc Bernard
1d96983c24 fix: remove version from website title (#4504) 2024-02-13 06:46:23 +01:00
Juan Picado
03173212df chore: update versions (next-7) (#4503)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-02-12 20:43:58 +01:00
Marc Bernard
c807f0c4fb fix: store readme when publishing locally (#4493)
* fix: store readme when publishing locally

* Update actions test

* Update spicy-birds-flow.md
2024-02-12 13:50:58 +01:00
verdacciobot
2446a11db5 chore: updated static data 2024-02-12 00:12:40 +00:00
167 changed files with 38156 additions and 2123 deletions

View File

@@ -0,0 +1,7 @@
---
'@verdaccio/ui-theme': minor
'@verdaccio/ui-components': minor
'@verdaccio/config': minor
---
feat: forbidden user interface

View File

@@ -66,11 +66,14 @@
"old-turkeys-heal",
"olive-bananas-wink",
"perfect-chairs-act",
"pink-apples-nail",
"real-socks-vanish",
"shiny-worms-retire",
"shy-carrots-compare",
"shy-garlics-cry",
"spicy-birds-flow",
"strange-points-repair",
"thirty-toes-swim",
"weak-fans-explain",
"wild-otters-talk",
"young-donuts-own"

View File

@@ -0,0 +1,6 @@
---
'@verdaccio/store': patch
'@verdaccio/test-helper': patch
---
fix: store readme when publishing locally

View File

@@ -0,0 +1,6 @@
---
'@verdaccio/ui-theme': patch
'@verdaccio/ui-components': patch
---
fix: ui dialog break pages on open due remark error

View File

@@ -25,7 +25,7 @@ jobs:
fetch-depth: 0
- name: setup node.js
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v3
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v3
with:
node-version-file: '.nvmrc'
env:

View File

@@ -20,7 +20,7 @@ jobs:
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
- name: Node
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v3
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v3
with:
node-version-file: '.nvmrc'
- name: Install pnpm
@@ -49,7 +49,7 @@ jobs:
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
- name: Node
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v3
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v3
with:
node-version-file: '.nvmrc'
- name: Install pnpm
@@ -73,7 +73,7 @@ jobs:
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
- name: Use Node
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v3
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v3
with:
node-version-file: '.nvmrc'
- name: Install pnpm
@@ -102,7 +102,7 @@ jobs:
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
- name: Use Node ${{ matrix.node_version }}
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v3
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v3
with:
node-version: ${{ matrix.node_version }}
- name: Install pnpm
@@ -127,7 +127,7 @@ jobs:
name: UI Test E2E
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
- uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v3
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v3
with:
node-version-file: '.nvmrc'
- name: Install pnpm

View File

@@ -29,7 +29,7 @@ jobs:
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
- name: Node
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v3
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v3
with:
node-version-file: '.nvmrc'
- name: Install pnpm
@@ -56,7 +56,7 @@ jobs:
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
- name: Node
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v3
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v3
with:
node-version-file: '.nvmrc'
- name: Install pnpm
@@ -81,7 +81,7 @@ jobs:
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
- name: Use Node
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v3
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v3
with:
node-version-file: '.nvmrc'
- name: Install pnpm
@@ -111,7 +111,7 @@ jobs:
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
- name: Use Node ${{ matrix.node_version }}
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v3
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v3
with:
node-version: ${{ matrix.node_version }}
- name: Install pnpm
@@ -138,7 +138,7 @@ jobs:
if: (github.event_name == 'push' && github.ref == 'refs/heads/master') || github.event_name == 'workflow_dispatch'
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
- uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v3
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v3
with:
node-version-file: '.nvmrc'
- name: Install pnpm

View File

@@ -34,7 +34,7 @@ jobs:
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@e8893c57a1f3a2b659b6b55564fdfdbbd2982911 # v2
uses: github/codeql-action/init@47b3d888fe66b639e431abf22ebca059152f1eea # 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@e8893c57a1f3a2b659b6b55564fdfdbbd2982911 # v2
uses: github/codeql-action/autobuild@47b3d888fe66b639e431abf22ebca059152f1eea # 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@e8893c57a1f3a2b659b6b55564fdfdbbd2982911 # v2
uses: github/codeql-action/analyze@47b3d888fe66b639e431abf22ebca059152f1eea # v2

View File

@@ -22,7 +22,7 @@ jobs:
run: docker-compose -f "./e2e/docker/apache-verdaccio/docker-compose.yaml" up -d --build
- name: Install node
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v3
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v3
with:
node-version-file: '.nvmrc'
- name: npm setup

View File

@@ -19,7 +19,7 @@ jobs:
run: docker-compose -f "./e2e/docker/proxy-nginx/docker-compose.yaml" up -d --build
- name: Install node
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v3
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v3
with:
node-version-file: '.nvmrc'
- name: npm setup

View File

@@ -3,6 +3,9 @@ name: E2E CLI
on: [pull_request]
permissions:
contents: read
concurrency:
group: e2e-ci-${{ github.ref }}
cancel-in-progress: true
jobs:
prepare:
runs-on: ubuntu-latest
@@ -17,7 +20,7 @@ jobs:
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
- name: Use Node
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v3
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v3
with:
node-version-file: '.nvmrc'
- name: Install pnpm
@@ -43,7 +46,7 @@ jobs:
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
- name: Use Node 16
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v3
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v3
with:
node-version-file: '.nvmrc'
- name: Install pnpm
@@ -80,7 +83,7 @@ jobs:
e2e-cli-npm:
needs: [prepare, build]
strategy:
fail-fast: false
fail-fast: false
matrix:
pkg:
[
@@ -95,7 +98,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
- uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v3
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v3
with:
node-version: ${{ matrix.node }}
- name: Install pnpm
@@ -140,7 +143,7 @@ jobs:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
# - uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v3
# - uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v3
# with:
# node-version: ${{ matrix.node }}
# - name: Install pnpm
@@ -185,7 +188,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
- uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v3
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v3
with:
node-version: ${{ matrix.node }}
- name: Install pnpm

View File

@@ -3,6 +3,9 @@ name: E2E UI
on: [pull_request]
permissions:
contents: read
concurrency:
group: e2e-ui-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: ubuntu-latest
@@ -17,7 +20,7 @@ jobs:
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
- name: Use Node
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v3
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v3
with:
node-version-file: '.nvmrc'
- name: Install pnpm

View File

@@ -23,7 +23,7 @@ jobs:
with:
persist-credentials: false
fetch-depth: 0
- uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v3
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v3
with:
node-version: 18.x
- name: install pnpm

View File

@@ -23,7 +23,7 @@ jobs:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
- name: Use Node
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v3
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v3
with:
node-version-file: '.nvmrc'

View File

@@ -2,13 +2,6 @@ name: Verdaccio Website CI
on:
workflow_dispatch:
pull_request:
branches-ignore:
- 'renovate/*'
- 'dependabot/*'
paths:
- 'website/**'
- './.github/workflows/website.yml'
schedule:
- cron: '0 0 * * *'
@@ -37,7 +30,7 @@ jobs:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
- name: Node
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v3
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v3
with:
node-version-file: '.nvmrc'
- name: Install pnpm
@@ -67,89 +60,16 @@ jobs:
path: website/node_modules/.cache/webpack
key: cache/webpack-${{github.ref}}-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: cache/webpack-${{github.ref}}
# Will deploy to production on:
# 1st: When a push occurs on master branch
# 2nd: When we force the worflow dispatch through the UI
- name: Build Production
if: (github.event_name == 'push' && github.ref == 'refs/heads/master') || github.event_name == 'workflow_dispatch'
if: (github.event_name == 'push' && github.ref == 'refs/heads/master') || github.event_name == 'workflow_dispatch'
env:
CROWDIN_VERDACCIO_API_KEY: ${{ secrets.CROWDIN_VERDACCIO_API_KEY }}
SENTRY_KEY: ${{ secrets.SENTRY_KEY }}
CONTEXT: production
run: pnpm --filter @verdaccio/website netlify:build:production
- name: 🔥 Deploy Production Netlify
if: (github.event_name == 'push' && github.ref == 'refs/heads/master') || github.event_name == 'workflow_dispatch'
uses: semoal/action-netlify-deploy@1a53f098745bf78555d11b436f5ee3af87e6b566
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
netlify-auth-token: ${{ secrets.NETLIFY_AUTH_TOKEN }}
netlify-site-id: ${{ secrets.NETLIFY_SITE_ID }}
build-dir: './website/build'
# Will deploy to Preview URL, only when a pull request is open with changes on the website
- name: Build Deployment Preview
run: pnpm --filter @verdaccio/website netlify:build
- name: Deploy to Netlify
env:
CONTEXT: deploy-preview
run: pnpm --filter ...@verdaccio/website netlify:build:deployPreview
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
run: pnpm --filter ...@verdaccio/website netlify:deploy
- name: 🤖 Deploy Preview Netlify
if: github.repository == 'verdaccio/verdaccio'
uses: semoal/action-netlify-deploy@1a53f098745bf78555d11b436f5ee3af87e6b566
id: netlify_preview
with:
draft: true
comment-on-pull-request: true
github-deployment-is-production: false
github-deployment-is-transient: true
github-token: ${{ secrets.GITHUB_TOKEN }}
netlify-auth-token: ${{ secrets.NETLIFY_AUTH_TOKEN }}
netlify-site-id: ${{ secrets.NETLIFY_SITE_ID }}
build-dir: './website/build'
- name: Audit preview URL with Lighthouse
if: github.repository == 'verdaccio/verdaccio'
id: lighthouse_audit
uses: treosh/lighthouse-ci-action@1b0e7c33270fbba31a18a0fbb1de7cc5256b6d39 # tag=11.4.0
with:
urls: |
${{ steps.netlify_preview.outputs.preview-url }}
uploadArtifacts: true
temporaryPublicStorage: true
- name: Format lighthouse score
id: format_lighthouse_score
uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
const result = ${{ steps.lighthouse_audit.outputs.manifest }}[0].summary
const links = ${{ steps.lighthouse_audit.outputs.links }}
const formatResult = (res) => Math.round((res * 100))
Object.keys(result).forEach(key => result[key] = formatResult(result[key]))
const score = res => res >= 90 ? '🟢' : res >= 50 ? '🟠' : '🔴'
const comment = [
`⚡️ [Lighthouse report](${Object.values(links)[0]}) for the changes in this PR:`,
'| Category | Score |',
'| --- | --- |',
`| ${score(result.performance)} Performance | ${result.performance} |`,
`| ${score(result.accessibility)} Accessibility | ${result.accessibility} |`,
`| ${score(result['best-practices'])} Best practices | ${result['best-practices']} |`,
`| ${score(result.seo)} SEO | ${result.seo} |`,
' ',
`*Lighthouse ran on [${Object.keys(links)[0]}](${Object.keys(links)[0]})*`
].join('\n')
core.setOutput("comment", comment);
- name: Add comment to PR
if: github.repository == 'verdaccio/verdaccio'
id: comment_to_pr
uses: marocchino/sticky-pull-request-comment@331f8f5b4215f0445d3c07b4967662a32a2d3e31 # v2
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
number: ${{ github.event.issue.number }}
delete: true
header: lighthouse
message: |
${{ steps.format_lighthouse_score.outputs.comment }}

View File

@@ -1,10 +0,0 @@
module.exports = {
onPreBuild: async ({ utils: { build, run } }) => {
try {
await run.command("npm install -g pnpm")
await run.command("pnpm install --ignore-scripts --frozen-lockfile")
} catch (error) {
return build.failBuild(error)
}
}
}

View File

@@ -1,2 +0,0 @@
name: netlify-plugin-pnpm
inputs: []

View File

@@ -78,14 +78,14 @@ pnpm build
pnpm test
```
Verdaccio is a mono repository. To run the tests for for a specific package:
Verdaccio is a mono repository. To run the tests for a specific package:
```shell
cd packages/store
pnpm test
```
or an specific test in that package:
or a specific test in that package:
```shell
pnpm test test/merge.dist.tags.spec.ts
@@ -129,7 +129,7 @@ The user interface is split in two packages, the `/packages/plugins/ui-theme` an
Go to `/packages/ui-component` and run `pnpm watch` to enable _babel_ in watch mode, every change on the components will be hot reloaded in combination with the `pnpm start` command.
Any change on the server packages, must be build independently (server do not has hot reload, `pnpm start` should be triggered again).
Any change on the server packages, must be build independently (server does not have hot reload, `pnpm start` should be triggered again).
Any interaction with the server should be done through the port `8000` eg: `npm login --registry http://localhost:8000` .
@@ -142,7 +142,7 @@ Any interaction with the server should be done through the port `8000` eg: `npm
#### Debugging compiled code {#debugging-compiled-code}
Currently you can only run pre-compiled packages in debug mode. To enable debug
Currently, you can only run pre-compiled packages in debug mode. To enable debug
while running add the `verdaccio` namespace using the `DEBUG` environment
variable, like this:
@@ -164,7 +164,7 @@ of the output is sent to the logger module.
#### Testing your changes in a local registry {#testing-local-registry}
Once you have perform your changes in the code base, the build and tests passes you can publish a local version:
Once you have performed your changes in the code base, the build and tests passes you can publish a local version:
- Ensure you have built all modules by running `pnpm build` (or the one you have modified)
- Run `pnpm local:publish:release` to launch a local registry and publish all packages into it. This command will be alive until server is killed (Control Key + C)
@@ -181,7 +181,7 @@ npm i -g verdaccio --registry=http://localhost:4873
verdaccio
```
If you perform more changes in the source code, repeat this process, there is not _hot reloading_ support.
If you perform more changes in the source code, repeat this process, there is no _hot reloading_ support.
## Feature Request {#feature-request}
@@ -208,7 +208,7 @@ a report in our [issue tracker](https://github.com/verdaccio/verdaccio/issues),
> **NOTE: Verdaccio still does not support all npm commands. Some were not
> considered important and others have not been requested yet.**
### What's is not considered a bug?
### What is not considered a bug?
- _Third party integrations_: proxies integrations, external plugins
- _Package managers_: If a package manager does not support a specific command
@@ -272,7 +272,7 @@ information on [rebasing](https://git-scm.com/book/en/v2/Git-Branching-Rebasing)
#### Caveats
Feel free to commit as much times you want in your branch, but keep on mind on
Feel free to commit as many times you want in your branch, but keep on mind on
this repository we `git squash` on merge by default, as we like to maintain a
clean git history.
@@ -359,7 +359,7 @@ The last step is to confirm your changeset or abort the operation:
🦋 info /Users/user/verdaccio.clone/.changeset/light-scissors-smell.md
```
Once the changeset is added (all will have an unique name) you can freely edit
Once the changeset is added (all will have a unique name) you can freely edit
using markdown, adding additional information, code snippets or whatever else
you consider to be relevant.
@@ -395,7 +395,7 @@ For adding a new **language** on the UI follow these steps:
1. Ensure the **language** has been enabled, must be visible in the `crowdin` platform.
2. Find in the explorer the file `en.US.json` in the path `packages/plugins/ui-theme/src/i18n/crowdin/ui.json` and complete the translations, **not need to find approval on this**.
3. Into the project, add a new field into `packages/plugins/ui-theme/src/i18n/crowdin/ui.json` file, in the section `lng`, the new language, eg: `{ lng: {korean:"Korean"}}`. (This file is English based, once the PR has been merged, this string will be available in crowdin for translate to the targeted language).
4. Add the language, [flag icon](https://www.npmjs.com/package/country-flag-icons), and the menu key fort he new language eg: `menuKey: 'lng.korean'` to the file `packages/plugins/ui-theme/src/i18n/enabledLanguages.ts`.
4. Add the language, [flag icon](https://www.npmjs.com/package/country-flag-icons), and the menu key for the new language eg: `menuKey: 'lng.korean'` to the file `packages/plugins/ui-theme/src/i18n/enabledLanguages.ts`.
5. For local testing, read `packages/plugins/ui-theme/src/i18n/ABOUT_TRANSLATIONS.md`.
6. Add a `changeset` file, see more info below.

View File

@@ -1,4 +1,4 @@
[![BannerUK](https://cdn.verdaccio.dev/readme/banner-uk.svg)](https://donate.redcrossredcrescent.org/ua/donate/~my-donation?_cv=1)
[![BannerHelp](https://cdn.verdaccio.dev/readme/banner-uk.svg)](https://u24.gov.ua)
> Verdaccio stands for **peace**, stop the war, we will be yellow / blue 🇺🇦 until that happens.
@@ -87,7 +87,7 @@ Learn more [here](https://verdaccio.org/docs/dev-plugins) how to develop plugins
## Donations
Verdaccio is run by **volunteers**; nobody is working full-time on it. If you find this project to be useful and would like to support its development, consider do a long support donation - **and your logo will be on this section of the readme.**
Verdaccio is run by **volunteers**; nobody is working full-time on it. If you find this project to be useful and would like to support its development, consider doing a long support donation - **and your logo will be on this section of the readme.**
**[Donate](https://github.com/sponsors/verdaccio)** 💵👍🏻 starting from _$1/month_ or just one single contribution.
@@ -113,7 +113,7 @@ If you want to use a modified version of some 3rd-party package (for example, yo
### E2E Testing
Verdaccio has proved to be a lightweight registry that can be
booted in a couple of seconds, fast enough for any CI. Many open source projects use verdaccio for end to end testing, to mention some examples, **create-react-app**, **mozilla neutrino**, **pnpm**, **storybook**, **babel.js**, **angular-cli** or **docusaurus**. You can read more in [here](https://verdaccio.org/docs/e2e).
booted in a couple of seconds, fast enough for any CI. Many open source projects use Verdaccio for end to end testing, to mention some examples, **create-react-app**, **mozilla neutrino**, **pnpm**, **storybook**, **babel.js**, **angular-cli** or **docusaurus**. You can read more in [here](https://verdaccio.org/docs/e2e).
Furthermore, here few examples how to start:
@@ -200,7 +200,7 @@ docker pull verdaccio/verdaccio:nightly-master
Available as [tags](https://hub.docker.com/r/verdaccio/verdaccio/tags/).
### Running verdaccio using Docker
### Running Verdaccio using Docker
To run the docker container:
@@ -212,35 +212,35 @@ Docker examples are available [in this repository](https://github.com/verdaccio/
## Compatibility
Verdaccio aims to support all features of a standard npm client that make sense to support in private repository. Unfortunately, it isn't always possible.
Verdaccio aims to support all features of a standard npm client that make sense to support in a private repository. Unfortunately, it isn't always possible.
### Basic features
- Installing packages (npm install, npm upgrade, etc.) - **supported**
- Publishing packages (npm publish) - **supported**
- Installing packages (`npm install`, `npm update`, etc.) - **supported**
- Publishing packages (`npm publish`) - **supported**
### Advanced package control
- Unpublishing packages (npm unpublish) - **supported**
- Tagging (npm tag) - **supported**
- Deprecation (npm deprecate) - **supported**
- Unpublishing packages (`npm unpublish`) - **supported**
- Tagging (`npm dist-tag`) - **supported**
- Deprecation (`npm deprecate`) - **supported**
### User management
- Registering new users (npm adduser {newuser}) - **supported**
- Change password (npm profile set password) - **supported**
- Transferring ownership (npm owner add {user} {pkg}) - not supported, _PR-welcome_
- Token (npm token) - **supported**
- Registering new users (`npm adduser {newuser}`) - **supported**
- Change password (`npm profile set password`) - **supported**
- Transferring ownership (`npm owner add {user} {pkg}`) - not supported, _PR-welcome_
- Token (`npm token`) - **supported**
### Miscellany
### Miscellaneous
- Searching (npm search) - **supported** (cli / browser)
- Ping (npm ping) - **supported**
- Starring (npm star, npm unstar, npm stars) - **supported**
- Searching (`npm search`) - **supported** (cli / browser)
- Ping (`npm ping`) - **supported**
- Starring (`npm star`, `npm unstar`, `npm stars`) - **supported**
### Security
- npm/yarn audit - **supported**
- Audit (`npm/yarn audit`) - **supported**
## Report a vulnerability
@@ -269,7 +269,7 @@ Thanks to the following companies to help us to achieve our goals providing free
| ![priscilawebdev](https://avatars2.githubusercontent.com/u/29228205?s=120&v=4) | ![DanielRuf](https://avatars3.githubusercontent.com/u/827205?s=120&v=4) |
| [@priscilawebdev](https://twitter.com/priscilawebdev) | [@DanielRufde](https://twitter.com/DanielRufde) |
You can find and chat with then over Discord, click [here](http://chat.verdaccio.org) or follow them at _Twitter_.
You can find and chat with them over Discord, click [here](http://chat.verdaccio.org) or follow them at _Twitter_.
## Who is using Verdaccio?
@@ -323,7 +323,7 @@ This project exists thanks to all the people who contribute. [[Contribute](CONTR
### FAQ / Contact / Troubleshoot
If you have any issue you can try the following options, do no desist to ask or check our issues database, perhaps someone has asked already what you are looking for.
If you have any issue you can try the following options. Do no hesitate to ask or check our issues database. Perhaps someone has asked already what you are looking for.
- [Blog](https://verdaccio.org/blog/)
- [Donations](https://github.com/sponsors/verdaccio)

View File

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

View File

@@ -4,7 +4,7 @@
"version": "1.0.1",
"dependencies": {
"@verdaccio/test-cli-commons": "workspace:1.1.0",
"npm": "10.3.0"
"npm": "10.4.0"
},
"scripts": {
"test": "jest"

View File

@@ -18,7 +18,7 @@ describe('audit a package yarn 2', () => {
{
packageName: '@scope/name',
version: '1.0.0',
dependencies: { jquery: '3.0.0' },
dependencies: { aaa: 'latest' },
devDependencies: {},
}
);
@@ -27,6 +27,9 @@ describe('audit a package yarn 2', () => {
test('should run yarn npm audit info json body', async () => {
await yarn(projectFolder, 'install');
// this might fails if the dependency used above has vulnerabilities
// always try to use ar real dependency that does not have such issues
// yarn berry uses exit 1 if has error https://github.com/yarnpkg/berry/pull/4358
const resp = await yarn(projectFolder, 'npm', 'audit', '--json');
const parsedBody = JSON.parse(resp.stdout as string);
expect(parsedBody.advisories).toBeDefined();

View File

@@ -12,13 +12,13 @@ describe('audit a package yarn 3', () => {
registry = setup.registry;
await registry.init();
const { tempFolder } = await yarnModernUtils.prepareYarnModernProject(
'yarn-2',
'yarn-3',
registry.getRegistryUrl(),
getYarnCommand(),
{
packageName: '@scope/name',
version: '1.0.0',
dependencies: { jquery: '3.0.0' },
dependencies: { aaa: 'latest' },
devDependencies: {},
}
);
@@ -27,6 +27,9 @@ describe('audit a package yarn 3', () => {
test('should run yarn npm audit info json body', async () => {
await yarn(projectFolder, 'install');
// this might fails if the dependency used above has vulnerabilities
// always try to use ar real dependency that does not have such issues
// yarn berry uses exit 1 if has error https://github.com/yarnpkg/berry/pull/4358
const resp = await yarn(projectFolder, 'npm', 'audit', '--json');
const parsedBody = JSON.parse(resp.stdout as string);
expect(parsedBody.advisories).toBeDefined();

View File

@@ -4,7 +4,7 @@
"version": "1.0.1",
"dependencies": {
"@verdaccio/test-cli-commons": "workspace:1.1.0",
"@yarnpkg/cli-dist": "3.4.1"
"@yarnpkg/cli-dist": "3.8.0"
},
"scripts": {
"test": "jest"

View File

@@ -3,7 +3,7 @@
"name": "@verdaccio/e2e-cli-yarn4",
"version": "1.0.1",
"dependencies": {
"@yarnpkg/cli-dist": "4.0.0-rc.39",
"@yarnpkg/cli-dist": "4.1.0",
"@verdaccio/test-cli-commons": "workspace:1.1.0"
},
"scripts": {

View File

@@ -8,6 +8,12 @@
- Check sidebar
- Check protected packages works
## Running test locally
- Ensure no other verdaccio server is running, cypress will spawn it's own registry instance
- To run all test: `pnpm test`
- To run single test: `pnpm test -- --spec 'cypress/e2e/home.cy.ts'`
## Contribute
More tests could be added to verify UI works as expected.

View File

@@ -13,6 +13,10 @@ export default defineConfig({
runMode: 5,
openMode: 0,
},
// Enable this to see debug screenshots on test failure
// screenshotOnRunFailure: true,
// Enable this to see debug video on test failure
// video: true,
e2e: {
setupNodeEvents(on) {
on('before:run', async () => {

View File

@@ -32,4 +32,49 @@ describe('home spec', () => {
cy.visit(`${ctx.url}/-/web/detail/@verdaccio/not-found`);
cy.getByTestId('404').contains(`Sorry, we couldn't find it.`);
});
it('should open dialog settings tabs are present', () => {
cy.visit(ctx.url);
cy.getByTestId('header--tooltip-settings').click();
cy.contains('Package Managers');
cy.contains('Translations');
});
it('should close dialog settings tabs are present', () => {
cy.visit(ctx.url);
cy.getByTestId('header--tooltip-settings').click();
cy.get('#registryInfo--dialog-close').click();
// check for content at the dialog should not be there
cy.get('#panel1a-header').should('not.exist');
});
it('should expand npm dialog registry details', () => {
cy.visit(ctx.url);
cy.getByTestId('header--tooltip-settings').click();
cy.get('#panel1a-header').click();
cy.contains(/npm set registry/);
cy.contains(/npm adduser --registry/);
cy.contains(/npm profile set password/);
});
it('should expand pnpm dialog registry details', () => {
cy.visit(ctx.url);
cy.getByTestId('header--tooltip-settings').click();
cy.get('#panel3a-header').click();
cy.contains(/pnpm set registry/);
cy.contains(/pnpm adduser --registry/);
cy.contains(/pnpm profile set password/);
});
it('should expand yarn dialog registry details', () => {
cy.visit(ctx.url);
cy.getByTestId('header--tooltip-settings').click();
cy.get('#panel2a-header').click();
// some initial explanation
cy.contains(/Yarn classic configuration differs from Yarn/);
// smoke test matches, (this is deelpy tested in the unit test)
cy.contains(/.yarnrc.yml/);
cy.contains(/npmRegistryServer:/);
});
});

View File

@@ -3,10 +3,10 @@
"name": "@verdaccio/e2e-ui",
"version": "2.0.0",
"devDependencies": {
"verdaccio": "workspace:7.0.0-next-7.8",
"@verdaccio/core": "workspace:7.0.0-next-7.8",
"@verdaccio/config": "workspace:7.0.0-next-7.8",
"@verdaccio/test-helper": "workspace:3.0.0-next.1",
"verdaccio": "workspace:7.0.0-next-7.11",
"@verdaccio/core": "workspace:7.0.0-next-7.11",
"@verdaccio/config": "workspace:7.0.0-next-7.11",
"@verdaccio/test-helper": "workspace:3.0.0-next-7.2",
"debug": "4.3.4",
"cypress": "^13.6.0",
"get-port": "5.1.1"

View File

@@ -1,23 +1,3 @@
[build]
command = "pnpm build"
publish = "build/"
[build.environment]
NPM_FLAGS="--prefix=/dev/null"
NODE_VERSION = "14"
[context.production]
command = "pnpm netlify:build:production"
[context.deploy-preview]
command = "pnpm netlify:build:deployPreview"
[context.branch-deploy]
command = "pnpm netlify:build:deployPreview"
[[plugins]]
package = "../.netlify/netlify-plugin-pnpm"
[[headers]]
for = "/*"
[headers.values]

View File

@@ -47,8 +47,10 @@
"@emotion/react": "11.10.6",
"@emotion/styled": "11.10.6",
"@testing-library/dom": "9.3.4",
"@testing-library/jest-dom": "6.3.0",
"@testing-library/react": "14.1.2",
"@testing-library/jest-dom": "6.4.2",
"@testing-library/user-event": "14.5.2",
"aria-query": "5.1.3",
"@testing-library/react": "14.2.1",
"@trivago/prettier-plugin-sort-imports": "4.3.0",
"@types/body-parser": "1.19.5",
"@types/connect": "3.4.38",
@@ -110,7 +112,7 @@
"lint-staged": "11.2.6",
"nock": "13.5.1",
"nodemon": "3.0.3",
"npm-run-all2": "5.0.0",
"npm-run-all2": "5.0.2",
"prettier": "3.2.2",
"react": "18.2.0",
"react-dom": "18.2.0",
@@ -135,7 +137,7 @@
"docker": "docker build -t verdaccio/verdaccio:local . --no-cache",
"format": "prettier --write \"**/*.{js,jsx,ts,tsx,json,yml,yaml,md}\"",
"format:check": "prettier --check \"**/*.{js,jsx,ts,tsx,json,yml,yaml,md}\"",
"lint": "eslint --max-warnings 100 \"**/*.{js,jsx,ts,tsx}\"",
"lint": "eslint --max-warnings 70 \"**/*.{js,jsx,ts,tsx}\"",
"test": "pnpm --filter \"./packages/**\" test",
"test:e2e:cli": "pnpm --filter ...@verdaccio/e2e-cli-* test -- --coverage=false",
"test:e2e:ui": "pnpm --filter ...@verdaccio/e2e-ui test",

View File

@@ -1,5 +1,43 @@
# @verdaccio/api
## 7.0.0-next-7.11
### Patch Changes
- Updated dependencies [c9962fe]
- @verdaccio/config@7.0.0-next-7.11
- @verdaccio/auth@7.0.0-next-7.11
- @verdaccio/middleware@7.0.0-next-7.11
- @verdaccio/store@7.0.0-next-7.11
- @verdaccio/core@7.0.0-next-7.11
- @verdaccio/utils@7.0.0-next-7.11
- @verdaccio/logger@7.0.0-next-7.11
## 7.0.0-next-7.10
### Patch Changes
- @verdaccio/core@7.0.0-next-7.10
- @verdaccio/config@7.0.0-next-7.10
- @verdaccio/auth@7.0.0-next-7.10
- @verdaccio/middleware@7.0.0-next-7.10
- @verdaccio/store@7.0.0-next-7.10
- @verdaccio/utils@7.0.0-next-7.10
- @verdaccio/logger@7.0.0-next-7.10
## 7.0.0-next-7.9
### Patch Changes
- Updated dependencies [c807f0c]
- @verdaccio/store@7.0.0-next-7.9
- @verdaccio/core@7.0.0-next-7.9
- @verdaccio/config@7.0.0-next-7.9
- @verdaccio/auth@7.0.0-next-7.9
- @verdaccio/middleware@7.0.0-next-7.9
- @verdaccio/utils@7.0.0-next-7.9
- @verdaccio/logger@7.0.0-next-7.9
## 7.0.0-next-7.8
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@verdaccio/api",
"version": "7.0.0-next-7.8",
"version": "7.0.0-next-7.11",
"description": "loaders logic",
"main": "./build/index.js",
"types": "build/index.d.ts",
@@ -38,13 +38,13 @@
},
"license": "MIT",
"dependencies": {
"@verdaccio/auth": "workspace:7.0.0-next-7.8",
"@verdaccio/config": "workspace:7.0.0-next-7.8",
"@verdaccio/core": "workspace:7.0.0-next-7.8",
"@verdaccio/logger": "workspace:7.0.0-next-7.8",
"@verdaccio/middleware": "workspace:7.0.0-next-7.8",
"@verdaccio/store": "workspace:7.0.0-next-7.8",
"@verdaccio/utils": "workspace:7.0.0-next-7.8",
"@verdaccio/auth": "workspace:7.0.0-next-7.11",
"@verdaccio/config": "workspace:7.0.0-next-7.11",
"@verdaccio/core": "workspace:7.0.0-next-7.11",
"@verdaccio/logger": "workspace:7.0.0-next-7.11",
"@verdaccio/middleware": "workspace:7.0.0-next-7.11",
"@verdaccio/store": "workspace:7.0.0-next-7.11",
"@verdaccio/utils": "workspace:7.0.0-next-7.11",
"abortcontroller-polyfill": "1.7.5",
"body-parser": "1.20.2",
"cookies": "0.9.0",
@@ -52,10 +52,10 @@
"express": "4.18.2",
"lodash": "4.17.21",
"mime": "2.6.0",
"semver": "7.5.4"
"semver": "7.6.0"
},
"devDependencies": {
"@verdaccio/test-helper": "workspace:3.0.0-next.1",
"@verdaccio/test-helper": "workspace:3.0.0-next-7.2",
"@verdaccio/types": "workspace:12.0.0-next.2",
"mockdate": "3.0.5",
"nock": "13.5.1",

View File

@@ -10,7 +10,7 @@ auth:
uplinks:
ver:
url: https://registry.verdaccio.org
url: https://registry.npmjs.org
security:
api:

View File

@@ -7,7 +7,7 @@ web:
uplinks:
ver:
url: https://registry.verdaccio.org
url: https://registry.npmjs.org
log: { type: stdout, format: pretty, level: trace }

View File

@@ -1,5 +1,42 @@
# @verdaccio/auth
## 7.0.0-next-7.11
### Patch Changes
- Updated dependencies [c9962fe]
- @verdaccio/config@7.0.0-next-7.11
- @verdaccio/loaders@7.0.0-next-7.11
- verdaccio-htpasswd@12.0.0-next-7.11
- @verdaccio/signature@7.0.0-next.3
- @verdaccio/core@7.0.0-next-7.11
- @verdaccio/utils@7.0.0-next-7.11
- @verdaccio/logger@7.0.0-next-7.11
## 7.0.0-next-7.10
### Patch Changes
- @verdaccio/core@7.0.0-next-7.10
- @verdaccio/config@7.0.0-next-7.10
- @verdaccio/loaders@7.0.0-next-7.10
- verdaccio-htpasswd@12.0.0-next-7.10
- @verdaccio/utils@7.0.0-next-7.10
- @verdaccio/signature@7.0.0-next.3
- @verdaccio/logger@7.0.0-next-7.10
## 7.0.0-next-7.9
### Patch Changes
- @verdaccio/core@7.0.0-next-7.9
- @verdaccio/config@7.0.0-next-7.9
- @verdaccio/loaders@7.0.0-next-7.9
- verdaccio-htpasswd@12.0.0-next-7.9
- @verdaccio/utils@7.0.0-next-7.9
- @verdaccio/signature@7.0.0-next.3
- @verdaccio/logger@7.0.0-next-7.9
## 7.0.0-next-7.8
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@verdaccio/auth",
"version": "7.0.0-next-7.8",
"version": "7.0.0-next-7.11",
"description": "logger",
"main": "./build/index.js",
"types": "./build/index.d.ts",
@@ -38,20 +38,20 @@
},
"license": "MIT",
"dependencies": {
"@verdaccio/core": "workspace:7.0.0-next-7.8",
"@verdaccio/config": "workspace:7.0.0-next-7.8",
"@verdaccio/loaders": "workspace:7.0.0-next-7.8",
"@verdaccio/logger": "workspace:7.0.0-next-7.8",
"@verdaccio/core": "workspace:7.0.0-next-7.11",
"@verdaccio/config": "workspace:7.0.0-next-7.11",
"@verdaccio/loaders": "workspace:7.0.0-next-7.11",
"@verdaccio/logger": "workspace:7.0.0-next-7.11",
"@verdaccio/signature": "workspace:7.0.0-next.3",
"@verdaccio/utils": "workspace:7.0.0-next-7.8",
"@verdaccio/utils": "workspace:7.0.0-next-7.11",
"debug": "4.3.4",
"lodash": "4.17.21",
"verdaccio-htpasswd": "workspace:12.0.0-next-7.8"
"verdaccio-htpasswd": "workspace:12.0.0-next-7.11"
},
"devDependencies": {
"express": "4.18.2",
"supertest": "6.3.4",
"@verdaccio/middleware": "workspace:7.0.0-next-7.8",
"@verdaccio/middleware": "workspace:7.0.0-next-7.11",
"@verdaccio/types": "workspace:12.0.0-next.2"
},
"funding": {

View File

@@ -1,5 +1,33 @@
# @verdaccio/cli
## 7.0.0-next-7.11
### Patch Changes
- Updated dependencies [c9962fe]
- @verdaccio/config@7.0.0-next-7.11
- @verdaccio/node-api@7.0.0-next-7.11
- @verdaccio/core@7.0.0-next-7.11
- @verdaccio/logger@7.0.0-next-7.11
## 7.0.0-next-7.10
### Patch Changes
- @verdaccio/core@7.0.0-next-7.10
- @verdaccio/config@7.0.0-next-7.10
- @verdaccio/node-api@7.0.0-next-7.10
- @verdaccio/logger@7.0.0-next-7.10
## 7.0.0-next-7.9
### Patch Changes
- @verdaccio/node-api@7.0.0-next-7.9
- @verdaccio/core@7.0.0-next-7.9
- @verdaccio/config@7.0.0-next-7.9
- @verdaccio/logger@7.0.0-next-7.9
## 7.0.0-next-7.8
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@verdaccio/cli",
"version": "7.0.0-next-7.8",
"version": "7.0.0-next-7.11",
"author": {
"name": "Juan Picado",
"email": "juanpicado19@gmail.com"
@@ -43,14 +43,14 @@
"start": "ts-node src/index.ts"
},
"dependencies": {
"@verdaccio/core": "workspace:7.0.0-next-7.8",
"@verdaccio/config": "workspace:7.0.0-next-7.8",
"@verdaccio/logger": "workspace:7.0.0-next-7.8",
"@verdaccio/node-api": "workspace:7.0.0-next-7.8",
"@verdaccio/core": "workspace:7.0.0-next-7.11",
"@verdaccio/config": "workspace:7.0.0-next-7.11",
"@verdaccio/logger": "workspace:7.0.0-next-7.11",
"@verdaccio/node-api": "workspace:7.0.0-next-7.11",
"clipanion": "3.2.1",
"envinfo": "7.11.0",
"kleur": "4.1.5",
"semver": "7.5.4"
"semver": "7.6.0"
},
"devDependencies": {
"ts-node": "10.9.2"

View File

@@ -1,5 +1,30 @@
# @verdaccio/config
## 7.0.0-next-7.11
### Minor Changes
- c9962fe: feat: forbidden user interface
### Patch Changes
- @verdaccio/core@7.0.0-next-7.11
- @verdaccio/utils@7.0.0-next-7.11
## 7.0.0-next-7.10
### Patch Changes
- @verdaccio/core@7.0.0-next-7.10
- @verdaccio/utils@7.0.0-next-7.10
## 7.0.0-next-7.9
### Patch Changes
- @verdaccio/core@7.0.0-next-7.9
- @verdaccio/utils@7.0.0-next-7.9
## 7.0.0-next-7.8
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@verdaccio/config",
"version": "7.0.0-next-7.8",
"version": "7.0.0-next-7.11",
"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:7.0.0-next-7.8",
"@verdaccio/utils": "workspace:7.0.0-next-7.8",
"@verdaccio/core": "workspace:7.0.0-next-7.11",
"@verdaccio/utils": "workspace:7.0.0-next-7.11",
"debug": "4.3.4",
"js-yaml": "4.1.0",
"lodash": "4.17.21",

View File

@@ -1,9 +1,12 @@
import assert from 'assert';
import buildDebug from 'debug';
import _ from 'lodash';
import { errorUtils } from '@verdaccio/core';
import { PackageAccess } from '@verdaccio/types';
const debug = buildDebug('verdaccio:config:utils');
export interface LegacyPackageList {
[key: string]: PackageAccess;
}
@@ -61,6 +64,7 @@ export function normalisePackageAccess(packages: LegacyPackageList): LegacyPacka
for (const pkg in packages) {
if (Object.prototype.hasOwnProperty.call(packages, pkg)) {
const packageAccess = packages[pkg];
debug('package access %s for %s ', packageAccess, pkg);
const isInvalid = _.isObject(packageAccess) && _.isArray(packageAccess) === false;
assert(isInvalid, `CONFIG: bad "'${pkg}'" package description (object expected)`);

View File

@@ -1,5 +1,11 @@
# @verdaccio/core
## 7.0.0-next-7.11
## 7.0.0-next-7.10
## 7.0.0-next-7.9
## 7.0.0-next-7.8
## 7.0.0-next-7.7

View File

@@ -1,6 +1,6 @@
{
"name": "@verdaccio/core",
"version": "7.0.0-next-7.8",
"version": "7.0.0-next-7.11",
"description": "core utilities",
"keywords": [
"private",
@@ -35,7 +35,7 @@
"dependencies": {
"http-errors": "2.0.0",
"http-status-codes": "2.3.0",
"semver": "7.5.4",
"semver": "7.6.0",
"ajv": "8.12.0",
"process-warning": "1.0.0",
"core-js": "3.35.0"

View File

@@ -1,5 +1,29 @@
# Change Log
## 12.0.0-next-7.11
### Patch Changes
- @verdaccio/core@7.0.0-next-7.11
- @verdaccio/url@12.0.0-next-7.11
- @verdaccio/utils@7.0.0-next-7.11
## 12.0.0-next-7.10
### Patch Changes
- @verdaccio/core@7.0.0-next-7.10
- @verdaccio/url@12.0.0-next-7.10
- @verdaccio/utils@7.0.0-next-7.10
## 12.0.0-next-7.9
### Patch Changes
- @verdaccio/core@7.0.0-next-7.9
- @verdaccio/url@12.0.0-next-7.9
- @verdaccio/utils@7.0.0-next-7.9
## 12.0.0-next-7.8
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@verdaccio/tarball",
"version": "12.0.0-next-7.8",
"version": "12.0.0-next-7.11",
"description": "tarball utilities resolver",
"keywords": [
"private",
@@ -34,9 +34,9 @@
},
"dependencies": {
"debug": "4.3.4",
"@verdaccio/core": "workspace:7.0.0-next-7.8",
"@verdaccio/url": "workspace:12.0.0-next-7.8",
"@verdaccio/utils": "workspace:7.0.0-next-7.8",
"@verdaccio/core": "workspace:7.0.0-next-7.11",
"@verdaccio/url": "workspace:12.0.0-next-7.11",
"@verdaccio/utils": "workspace:7.0.0-next-7.11",
"lodash": "4.17.21"
},
"devDependencies": {

View File

@@ -1,5 +1,23 @@
# Change Log
## 12.0.0-next-7.11
### Patch Changes
- @verdaccio/core@7.0.0-next-7.11
## 12.0.0-next-7.10
### Patch Changes
- @verdaccio/core@7.0.0-next-7.10
## 12.0.0-next-7.9
### Patch Changes
- @verdaccio/core@7.0.0-next-7.9
## 12.0.0-next-7.8
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@verdaccio/url",
"version": "12.0.0-next-7.8",
"version": "12.0.0-next-7.11",
"description": "url utilities resolver",
"keywords": [
"private",
@@ -33,7 +33,7 @@
"access": "public"
},
"dependencies": {
"@verdaccio/core": "workspace:7.0.0-next-7.8",
"@verdaccio/core": "workspace:7.0.0-next-7.11",
"debug": "4.3.4",
"lodash": "4.17.21",
"validator": "13.11.0"

View File

@@ -1,5 +1,26 @@
# @verdaccio/hooks
## 7.0.0-next-7.11
### Patch Changes
- @verdaccio/core@7.0.0-next-7.11
- @verdaccio/logger@7.0.0-next-7.11
## 7.0.0-next-7.10
### Patch Changes
- @verdaccio/core@7.0.0-next-7.10
- @verdaccio/logger@7.0.0-next-7.10
## 7.0.0-next-7.9
### Patch Changes
- @verdaccio/core@7.0.0-next-7.9
- @verdaccio/logger@7.0.0-next-7.9
## 7.0.0-next-7.8
### Patch Changes

View File

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

View File

@@ -1,5 +1,23 @@
# @verdaccio/loaders
## 7.0.0-next-7.11
### Patch Changes
- @verdaccio/logger@7.0.0-next-7.11
## 7.0.0-next-7.10
### Patch Changes
- @verdaccio/logger@7.0.0-next-7.10
## 7.0.0-next-7.9
### Patch Changes
- @verdaccio/logger@7.0.0-next-7.9
## 7.0.0-next-7.8
### Patch Changes

View File

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

View File

@@ -1,5 +1,23 @@
# @verdaccio/logger-7
## 7.0.0-next-7.11
### Patch Changes
- @verdaccio/logger-commons@7.0.0-next-7.11
## 7.0.0-next-7.10
### Patch Changes
- @verdaccio/logger-commons@7.0.0-next-7.10
## 7.0.0-next-7.9
### Patch Changes
- @verdaccio/logger-commons@7.0.0-next-7.9
## 7.0.0-next-7.8
### Patch Changes

View File

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

View File

@@ -1,5 +1,23 @@
# @verdaccio/logger-commons
## 7.0.0-next-7.11
### Patch Changes
- @verdaccio/core@7.0.0-next-7.11
## 7.0.0-next-7.10
### Patch Changes
- @verdaccio/core@7.0.0-next-7.10
## 7.0.0-next-7.9
### Patch Changes
- @verdaccio/core@7.0.0-next-7.9
## 7.0.0-next-7.8
### Patch Changes

View File

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

View File

@@ -1,5 +1,23 @@
# @verdaccio/logger
## 7.0.0-next-7.11
### Patch Changes
- @verdaccio/logger-commons@7.0.0-next-7.11
## 7.0.0-next-7.10
### Patch Changes
- @verdaccio/logger-commons@7.0.0-next-7.10
## 7.0.0-next-7.9
### Patch Changes
- @verdaccio/logger-commons@7.0.0-next-7.9
## 7.0.0-next-7.8
### Patch Changes

View File

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

View File

@@ -1,5 +1,33 @@
# @verdaccio/middleware
## 7.0.0-next-7.11
### Patch Changes
- Updated dependencies [c9962fe]
- @verdaccio/config@7.0.0-next-7.11
- @verdaccio/core@7.0.0-next-7.11
- @verdaccio/url@12.0.0-next-7.11
- @verdaccio/utils@7.0.0-next-7.11
## 7.0.0-next-7.10
### Patch Changes
- @verdaccio/core@7.0.0-next-7.10
- @verdaccio/config@7.0.0-next-7.10
- @verdaccio/url@12.0.0-next-7.10
- @verdaccio/utils@7.0.0-next-7.10
## 7.0.0-next-7.9
### Patch Changes
- @verdaccio/core@7.0.0-next-7.9
- @verdaccio/config@7.0.0-next-7.9
- @verdaccio/url@12.0.0-next-7.9
- @verdaccio/utils@7.0.0-next-7.9
## 7.0.0-next-7.8
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@verdaccio/middleware",
"version": "7.0.0-next-7.8",
"version": "7.0.0-next-7.11",
"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:7.0.0-next-7.8",
"@verdaccio/utils": "workspace:7.0.0-next-7.8",
"@verdaccio/config": "workspace:7.0.0-next-7.8",
"@verdaccio/url": "workspace:12.0.0-next-7.8",
"@verdaccio/core": "workspace:7.0.0-next-7.11",
"@verdaccio/utils": "workspace:7.0.0-next-7.11",
"@verdaccio/config": "workspace:7.0.0-next-7.11",
"@verdaccio/url": "workspace:12.0.0-next-7.11",
"debug": "4.3.4",
"lru-cache": "7.18.3",
"express": "4.18.2",
@@ -54,7 +54,7 @@
"url": "https://opencollective.com/verdaccio"
},
"devDependencies": {
"@verdaccio/logger": "workspace:7.0.0-next-7.8",
"@verdaccio/logger": "workspace:7.0.0-next-7.11",
"body-parser": "1.20.2",
"supertest": "6.3.4"
}

View File

@@ -1,5 +1,36 @@
# @verdaccio/node-api
## 7.0.0-next-7.11
### Patch Changes
- Updated dependencies [c9962fe]
- @verdaccio/config@7.0.0-next-7.11
- @verdaccio/server@7.0.0-next-7.11
- @verdaccio/server-fastify@7.0.0-next-7.11
- @verdaccio/core@7.0.0-next-7.11
- @verdaccio/logger@7.0.0-next-7.11
## 7.0.0-next-7.10
### Patch Changes
- @verdaccio/core@7.0.0-next-7.10
- @verdaccio/config@7.0.0-next-7.10
- @verdaccio/server@7.0.0-next-7.10
- @verdaccio/server-fastify@7.0.0-next-7.10
- @verdaccio/logger@7.0.0-next-7.10
## 7.0.0-next-7.9
### Patch Changes
- @verdaccio/server@7.0.0-next-7.9
- @verdaccio/server-fastify@7.0.0-next-7.9
- @verdaccio/core@7.0.0-next-7.9
- @verdaccio/config@7.0.0-next-7.9
- @verdaccio/logger@7.0.0-next-7.9
## 7.0.0-next-7.8
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@verdaccio/node-api",
"version": "7.0.0-next-7.8",
"version": "7.0.0-next-7.11",
"description": "node API",
"main": "build/index.js",
"types": "build/index.d.ts",
@@ -38,11 +38,11 @@
},
"license": "MIT",
"dependencies": {
"@verdaccio/config": "workspace:7.0.0-next-7.8",
"@verdaccio/core": "workspace:7.0.0-next-7.8",
"@verdaccio/logger": "workspace:7.0.0-next-7.8",
"@verdaccio/server": "workspace:7.0.0-next-7.8",
"@verdaccio/server-fastify": "workspace:7.0.0-next-7.8",
"@verdaccio/config": "workspace:7.0.0-next-7.11",
"@verdaccio/core": "workspace:7.0.0-next-7.11",
"@verdaccio/logger": "workspace:7.0.0-next-7.11",
"@verdaccio/server": "workspace:7.0.0-next-7.11",
"@verdaccio/server-fastify": "workspace:7.0.0-next-7.11",
"core-js": "3.35.0",
"debug": "4.3.4",
"lodash": "4.17.21"

View File

@@ -1,5 +1,27 @@
# Change Log
## 12.0.0-next-7.11
### Patch Changes
- Updated dependencies [c9962fe]
- @verdaccio/config@7.0.0-next-7.11
- @verdaccio/core@7.0.0-next-7.11
## 12.0.0-next-7.10
### Patch Changes
- @verdaccio/core@7.0.0-next-7.10
- @verdaccio/config@7.0.0-next-7.10
## 12.0.0-next-7.9
### Patch Changes
- @verdaccio/core@7.0.0-next-7.9
- @verdaccio/config@7.0.0-next-7.9
## 12.0.0-next-7.8
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "verdaccio-audit",
"version": "12.0.0-next-7.8",
"version": "12.0.0-next-7.11",
"description": "Verdaccio Middleware plugin to bypass npmjs audit",
"keywords": [
"private",
@@ -30,15 +30,15 @@
"node": ">=12"
},
"dependencies": {
"@verdaccio/config": "workspace:7.0.0-next-7.8",
"@verdaccio/core": "workspace:7.0.0-next-7.8",
"@verdaccio/config": "workspace:7.0.0-next-7.11",
"@verdaccio/core": "workspace:7.0.0-next-7.11",
"express": "4.18.2",
"https-proxy-agent": "5.0.1",
"node-fetch": "cjs"
},
"devDependencies": {
"@verdaccio/auth": "workspace:7.0.0-next-7.8",
"@verdaccio/logger": "workspace:7.0.0-next-7.8",
"@verdaccio/auth": "workspace:7.0.0-next-7.11",
"@verdaccio/logger": "workspace:7.0.0-next-7.11",
"@verdaccio/types": "workspace:12.0.0-next.2",
"nock": "13.5.1",
"supertest": "6.3.4"

View File

@@ -1,5 +1,23 @@
# Change Log
## 12.0.0-next-7.11
### Patch Changes
- @verdaccio/core@7.0.0-next-7.11
## 12.0.0-next-7.10
### Patch Changes
- @verdaccio/core@7.0.0-next-7.10
## 12.0.0-next-7.9
### Patch Changes
- @verdaccio/core@7.0.0-next-7.9
## 12.0.0-next-7.8
### Patch Changes

View File

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

View File

@@ -1,5 +1,23 @@
# Change Log
## 12.0.0-next-7.11
### Patch Changes
- @verdaccio/core@7.0.0-next-7.11
## 12.0.0-next-7.10
### Patch Changes
- @verdaccio/core@7.0.0-next-7.10
## 12.0.0-next-7.9
### Patch Changes
- @verdaccio/core@7.0.0-next-7.9
## 12.0.0-next-7.8
### Patch Changes

View File

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

View File

@@ -1,5 +1,26 @@
# Change Log
## 12.0.0-next-7.11
### Patch Changes
- @verdaccio/core@7.0.0-next-7.11
- @verdaccio/utils@7.0.0-next-7.11
## 12.0.0-next-7.10
### Patch Changes
- @verdaccio/core@7.0.0-next-7.10
- @verdaccio/utils@7.0.0-next-7.10
## 12.0.0-next-7.9
### Patch Changes
- @verdaccio/core@7.0.0-next-7.9
- @verdaccio/utils@7.0.0-next-7.9
## 12.0.0-next-7.8
### Patch Changes

View File

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

View File

@@ -1,5 +1,23 @@
# Change Log
## 12.0.0-next-7.11
### Patch Changes
- @verdaccio/core@7.0.0-next-7.11
## 12.0.0-next-7.10
### Patch Changes
- @verdaccio/core@7.0.0-next-7.10
## 12.0.0-next-7.9
### Patch Changes
- @verdaccio/core@7.0.0-next-7.9
## 12.0.0-next-7.8
### Patch Changes

View File

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

View File

@@ -1,5 +1,19 @@
# @verdaccio/ui-theme
## 7.0.0-next-7.11
### Minor Changes
- c9962fe: feat: forbidden user interface
## 7.0.0-next-7.10
### Patch Changes
- 5210408: fix: ui dialog break pages on open due remark error
## 7.0.0-next-7.9
## 7.0.0-next-7.8
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@verdaccio/ui-theme",
"version": "7.0.0-next-7.8",
"version": "7.0.0-next-7.11",
"description": "Verdaccio User Interface",
"author": {
"name": "Verdaccio Contributors",
@@ -27,9 +27,9 @@
"@testing-library/dom": "9.3.4",
"@testing-library/jest-dom": "6.3.0",
"@testing-library/react": "14.1.2",
"@verdaccio/node-api": "workspace:7.0.0-next-7.8",
"@verdaccio/node-api": "workspace:7.0.0-next-7.11",
"@verdaccio/types": "workspace:*",
"@verdaccio/ui-components": "workspace:3.0.0-next-7.3",
"@verdaccio/ui-components": "workspace:3.0.0-next-7.5",
"babel-loader": "8.3.0",
"babel-plugin-dynamic-import-node": "2.3.3",
"country-flag-icons": "1.5.9",
@@ -58,7 +58,7 @@
"raw-loader": "4.0.2",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-hook-form": "7.49.3",
"react-hook-form": "7.50.1",
"react-hot-loader": "4.13.1",
"react-i18next": "13.5.0",
"react-json-view": "1.21.3",
@@ -69,7 +69,6 @@
"react-virtualized": "9.22.5",
"redux": "4.2.1",
"redux-persist": "6.0.0",
"remark-gfm": "3.0.1",
"rimraf": "5.0.5",
"style-loader": "3.3.4",
"stylelint": "15.11.0",

View File

@@ -8,7 +8,6 @@ import React, { StrictMode, Suspense, useEffect } from 'react';
import { useTranslation } from 'react-i18next';
import ReactMarkdown from 'react-markdown';
import { Router } from 'react-router-dom';
import remarkGfm from 'remark-gfm';
import {
Footer,
@@ -59,12 +58,12 @@ function CustomInfoDialog({ onCloseDialog, title, isOpen }) {
{
element: (
<>
<ReactMarkdown remarkPlugins={[remarkGfm]}>{about}</ReactMarkdown>
<ReactMarkdown>{about}</ReactMarkdown>
<Contributors />
</>
),
},
{ element: <ReactMarkdown remarkPlugins={[remarkGfm]}>{license}</ReactMarkdown> },
{ element: <ReactMarkdown>{license}</ReactMarkdown> },
{ element: <Support /> },
]}
tabs={[

View File

@@ -39,6 +39,10 @@
"username": "anikethsaha",
"id": 26347874
},
{
"username": "mbtools",
"id": 59966492
},
{
"username": "kgrubb",
"id": 8471701
@@ -51,10 +55,6 @@
"username": "indiescripter",
"id": 154585070
},
{
"username": "mbtools",
"id": 59966492
},
{
"username": "jamesgeorge007",
"id": 25279263
@@ -523,6 +523,10 @@
"username": "paulbrimicombe",
"id": 10939697
},
{
"username": "barrywoolgar",
"id": 6248009
},
{
"username": "AvailCat",
"id": 19658647

View File

@@ -147,9 +147,11 @@
"error": {
"unspecific": "Something went wrong.",
"404": {
"page-not-found": "404 - Page not found",
"sorry-we-could-not-find-it": "Sorry, we couldn't find it..."
},
"401": {
"sorry-no-access": "Sorry, you need credentials access to see this page."
},
"app-context-not-correct-used": "The app context was not used correctly",
"theme-context-not-correct-used": "The theme context was not used correctly",
"package-meta-is-required-at-detail-context": "packageMeta is required at DetailContext"

View File

@@ -1,7 +1,7 @@
import React from 'react';
import { useSelector } from 'react-redux';
import { Loading, NotFound, RootState, VersionLayout } from '@verdaccio/ui-components';
import { Forbidden, Loading, NotFound, RootState, VersionLayout } from '@verdaccio/ui-components';
const Version: React.FC = () => {
const manifestStore = useSelector((state: RootState) => state.manifest);
@@ -11,10 +11,13 @@ const Version: React.FC = () => {
return <Loading />;
}
if (manifestStore.forbidden) {
return <Forbidden />;
}
if (manifestStore.hasNotBeenFound) {
return <NotFound />;
}
return <VersionLayout />;
};

View File

@@ -1,5 +1,30 @@
# @verdaccio/proxy
## 7.0.0-next-7.11
### Patch Changes
- Updated dependencies [c9962fe]
- @verdaccio/config@7.0.0-next-7.11
- @verdaccio/core@7.0.0-next-7.11
- @verdaccio/utils@7.0.0-next-7.11
## 7.0.0-next-7.10
### Patch Changes
- @verdaccio/core@7.0.0-next-7.10
- @verdaccio/config@7.0.0-next-7.10
- @verdaccio/utils@7.0.0-next-7.10
## 7.0.0-next-7.9
### Patch Changes
- @verdaccio/core@7.0.0-next-7.9
- @verdaccio/config@7.0.0-next-7.9
- @verdaccio/utils@7.0.0-next-7.9
## 7.0.0-next-7.8
### Patch Changes

View File

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

View File

@@ -1,5 +1,55 @@
# @verdaccio/server
## 7.0.0-next-7.11
### Patch Changes
- Updated dependencies [c9962fe]
- @verdaccio/config@7.0.0-next-7.11
- @verdaccio/api@7.0.0-next-7.11
- @verdaccio/auth@7.0.0-next-7.11
- @verdaccio/loaders@7.0.0-next-7.11
- @verdaccio/middleware@7.0.0-next-7.11
- verdaccio-audit@12.0.0-next-7.11
- @verdaccio/store@7.0.0-next-7.11
- @verdaccio/web@7.0.0-next-7.11
- @verdaccio/core@7.0.0-next-7.11
- @verdaccio/utils@7.0.0-next-7.11
- @verdaccio/logger@7.0.0-next-7.11
## 7.0.0-next-7.10
### Patch Changes
- @verdaccio/core@7.0.0-next-7.10
- @verdaccio/config@7.0.0-next-7.10
- @verdaccio/api@7.0.0-next-7.10
- @verdaccio/auth@7.0.0-next-7.10
- @verdaccio/loaders@7.0.0-next-7.10
- @verdaccio/middleware@7.0.0-next-7.10
- verdaccio-audit@12.0.0-next-7.10
- @verdaccio/store@7.0.0-next-7.10
- @verdaccio/utils@7.0.0-next-7.10
- @verdaccio/web@7.0.0-next-7.10
- @verdaccio/logger@7.0.0-next-7.10
## 7.0.0-next-7.9
### Patch Changes
- Updated dependencies [c807f0c]
- @verdaccio/store@7.0.0-next-7.9
- @verdaccio/api@7.0.0-next-7.9
- @verdaccio/web@7.0.0-next-7.9
- @verdaccio/core@7.0.0-next-7.9
- @verdaccio/config@7.0.0-next-7.9
- @verdaccio/auth@7.0.0-next-7.9
- @verdaccio/loaders@7.0.0-next-7.9
- @verdaccio/middleware@7.0.0-next-7.9
- verdaccio-audit@12.0.0-next-7.9
- @verdaccio/utils@7.0.0-next-7.9
- @verdaccio/logger@7.0.0-next-7.9
## 7.0.0-next-7.8
### Patch Changes

View File

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

View File

@@ -1,5 +1,43 @@
# @verdaccio/server-fastify
## 7.0.0-next-7.11
### Patch Changes
- Updated dependencies [c9962fe]
- @verdaccio/config@7.0.0-next-7.11
- @verdaccio/auth@7.0.0-next-7.11
- @verdaccio/store@7.0.0-next-7.11
- @verdaccio/core@7.0.0-next-7.11
- @verdaccio/tarball@12.0.0-next-7.11
- @verdaccio/utils@7.0.0-next-7.11
- @verdaccio/logger@7.0.0-next-7.11
## 7.0.0-next-7.10
### Patch Changes
- @verdaccio/core@7.0.0-next-7.10
- @verdaccio/config@7.0.0-next-7.10
- @verdaccio/auth@7.0.0-next-7.10
- @verdaccio/tarball@12.0.0-next-7.10
- @verdaccio/store@7.0.0-next-7.10
- @verdaccio/utils@7.0.0-next-7.10
- @verdaccio/logger@7.0.0-next-7.10
## 7.0.0-next-7.9
### Patch Changes
- Updated dependencies [c807f0c]
- @verdaccio/store@7.0.0-next-7.9
- @verdaccio/core@7.0.0-next-7.9
- @verdaccio/config@7.0.0-next-7.9
- @verdaccio/auth@7.0.0-next-7.9
- @verdaccio/tarball@12.0.0-next-7.9
- @verdaccio/utils@7.0.0-next-7.9
- @verdaccio/logger@7.0.0-next-7.9
## 7.0.0-next-7.8
### Patch Changes

View File

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

View File

@@ -42,7 +42,7 @@
"debug": "4.3.4"
},
"devDependencies": {
"@verdaccio/config": "workspace:7.0.0-next-7.8",
"@verdaccio/config": "workspace:7.0.0-next-7.11",
"@verdaccio/types": "workspace:12.0.0-next.2"
},
"funding": {

View File

@@ -32,8 +32,8 @@
"homepage": "https://verdaccio.org",
"license": "MIT",
"devDependencies": {
"@verdaccio/cli": "workspace:7.0.0-next-7.8",
"@verdaccio/ui-theme": "workspace:7.0.0-next-7.8",
"@verdaccio/cli": "workspace:7.0.0-next-7.11",
"@verdaccio/ui-theme": "workspace:7.0.0-next-7.11",
"fs-extra": "11.2.0",
"webpack": "5.90.0",
"webpack-bundle-analyzer": "4.10.1",

View File

@@ -1,5 +1,52 @@
# @verdaccio/store
## 7.0.0-next-7.11
### Patch Changes
- Updated dependencies [c9962fe]
- @verdaccio/config@7.0.0-next-7.11
- @verdaccio/hooks@7.0.0-next-7.11
- @verdaccio/loaders@7.0.0-next-7.11
- @verdaccio/local-storage@12.0.0-next-7.11
- @verdaccio/proxy@7.0.0-next-7.11
- @verdaccio/core@7.0.0-next-7.11
- @verdaccio/tarball@12.0.0-next-7.11
- @verdaccio/url@12.0.0-next-7.11
- @verdaccio/utils@7.0.0-next-7.11
- @verdaccio/logger@7.0.0-next-7.11
## 7.0.0-next-7.10
### Patch Changes
- @verdaccio/core@7.0.0-next-7.10
- @verdaccio/config@7.0.0-next-7.10
- @verdaccio/tarball@12.0.0-next-7.10
- @verdaccio/url@12.0.0-next-7.10
- @verdaccio/hooks@7.0.0-next-7.10
- @verdaccio/loaders@7.0.0-next-7.10
- @verdaccio/local-storage@12.0.0-next-7.10
- @verdaccio/proxy@7.0.0-next-7.10
- @verdaccio/utils@7.0.0-next-7.10
- @verdaccio/logger@7.0.0-next-7.10
## 7.0.0-next-7.9
### Patch Changes
- c807f0c: fix: store readme when publishing locally
- @verdaccio/local-storage@12.0.0-next-7.9
- @verdaccio/core@7.0.0-next-7.9
- @verdaccio/config@7.0.0-next-7.9
- @verdaccio/tarball@12.0.0-next-7.9
- @verdaccio/url@12.0.0-next-7.9
- @verdaccio/hooks@7.0.0-next-7.9
- @verdaccio/loaders@7.0.0-next-7.9
- @verdaccio/proxy@7.0.0-next-7.9
- @verdaccio/utils@7.0.0-next-7.9
- @verdaccio/logger@7.0.0-next-7.9
## 7.0.0-next-7.8
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@verdaccio/store",
"version": "7.0.0-next-7.8",
"version": "7.0.0-next-7.11",
"description": "loaders logic",
"main": "./build/index.js",
"types": "build/index.d.ts",
@@ -38,24 +38,24 @@
"build": "pnpm run build:js && pnpm run build:types"
},
"dependencies": {
"@verdaccio/config": "workspace:7.0.0-next-7.8",
"@verdaccio/core": "workspace:7.0.0-next-7.8",
"@verdaccio/hooks": "workspace:7.0.0-next-7.8",
"@verdaccio/loaders": "workspace:7.0.0-next-7.8",
"@verdaccio/local-storage": "workspace:12.0.0-next-7.8",
"@verdaccio/logger": "workspace:7.0.0-next-7.8",
"@verdaccio/proxy": "workspace:7.0.0-next-7.8",
"@verdaccio/tarball": "workspace:12.0.0-next-7.8",
"@verdaccio/url": "workspace:12.0.0-next-7.8",
"@verdaccio/utils": "workspace:7.0.0-next-7.8",
"@verdaccio/config": "workspace:7.0.0-next-7.11",
"@verdaccio/core": "workspace:7.0.0-next-7.11",
"@verdaccio/hooks": "workspace:7.0.0-next-7.11",
"@verdaccio/loaders": "workspace:7.0.0-next-7.11",
"@verdaccio/local-storage": "workspace:12.0.0-next-7.11",
"@verdaccio/logger": "workspace:7.0.0-next-7.11",
"@verdaccio/proxy": "workspace:7.0.0-next-7.11",
"@verdaccio/tarball": "workspace:12.0.0-next-7.11",
"@verdaccio/url": "workspace:12.0.0-next-7.11",
"@verdaccio/utils": "workspace:7.0.0-next-7.11",
"JSONStream": "1.3.5",
"debug": "4.3.4",
"lodash": "4.17.21",
"merge2": "1.4.1",
"semver": "7.5.4"
"semver": "7.6.0"
},
"devDependencies": {
"@verdaccio/test-helper": "workspace:3.0.0-next.1",
"@verdaccio/test-helper": "workspace:3.0.0-next-7.2",
"@verdaccio/types": "workspace:12.0.0-next.2",
"mockdate": "3.0.5",
"nock": "13.5.1",

View File

@@ -1098,17 +1098,17 @@ class Storage {
try {
// we check if package exist already locally
const manifest = await this.getPackagelocalByNameNext(name);
const localManifest = await this.getPackagelocalByNameNext(name);
// if continue, the version to be published does not exist
if (manifest?.versions[versionToPublish] != null) {
debug('%s version %s already exists', name, versionToPublish);
if (localManifest?.versions[versionToPublish] != null) {
debug('%s version %s already exists (locally)', name, versionToPublish);
throw errorUtils.getConflict();
}
const uplinksLook = this.config?.publish?.allow_offline === false;
// if execution get here, package does not exist locally, we search upstream
const remoteManifest = await this.checkPackageRemote(name, uplinksLook);
if (remoteManifest?.versions[versionToPublish] != null) {
debug('%s version %s already exists', name, versionToPublish);
debug('%s version %s already exists (upstream)', name, versionToPublish);
throw errorUtils.getConflict();
}
@@ -1127,9 +1127,12 @@ class Storage {
// 1. after tarball has been successfully uploaded, we update the version
try {
// TODO: review why do this
versions[versionToPublish].readme =
_.isNil(manifest.readme) === false ? String(manifest.readme) : '';
// Older package managers like npm6 do not send readme content as part of version but include it on root level
if (_.isEmpty(versions[versionToPublish].readme)) {
versions[versionToPublish].readme =
_.isNil(manifest.readme) === false ? String(manifest.readme) : '';
}
// addVersion will move the readme from the the published version to the root level
await this.addVersion(name, versionToPublish, versions[versionToPublish], null);
} catch (err: any) {
logger.error({ err: err.message }, 'updated version has failed: @{err}');
@@ -1145,7 +1148,7 @@ class Storage {
// 1. add version
// 2. merge versions
// 3. upload tarball
// 3.update once to the storage (easy peasy)
// 4. update once to the storage (easy peasy)
mergedManifest = await this.mergeTagsNext(name, manifest[DIST_TAGS]);
} catch (err: any) {
logger.error({ err: err.message }, 'merge version has failed: @{err}');

View File

@@ -141,6 +141,8 @@ describe('storage', () => {
modified: mockDate,
});
expect(manifest[DIST_TAGS]).toEqual({ latest: '1.0.0' });
// verdaccio keeps latest version of readme on manifest level but not by version
expect(manifest.versions['1.0.0'].readme).not.toBeDefined();
expect(manifest.readme).toEqual('# test');
expect(manifest._attachments).toEqual({});
expect(typeof manifest._rev).toBeTruthy();
@@ -309,6 +311,50 @@ describe('storage', () => {
})
).rejects.toThrow(API_ERROR.PACKAGE_EXIST);
});
test('create private package with readme only in manifest', async () => {
const mockDate = '2018-01-14T11:17:40.712Z';
MockDate.set(mockDate);
const pkgName = 'upstream';
const requestOptions = {
host: 'localhost',
protocol: 'http',
headers: {},
};
const config = new Config(
configExample(
{
...getDefaultConfig(),
storage: generateRandomStorage(),
},
'./fixtures/config/updateManifest-1.yaml',
__dirname
)
);
const storage = new Storage(config);
await storage.init(config);
const bodyNewManifest = generatePackageMetadata(pkgName, '1.0.0');
// Remove readme from version to simulate behaviour of older package managers like npm6
bodyNewManifest.versions['1.0.0'].readme = '';
await storage.updateManifest(bodyNewManifest, {
signal: new AbortController().signal,
name: pkgName,
uplinksLook: true,
revision: '1',
requestOptions,
});
const manifest = (await storage.getPackageByOptions({
name: pkgName,
uplinksLook: true,
requestOptions,
})) as Manifest;
// verdaccio keeps latest version of readme on manifest level but not by version
expect(manifest.versions['1.0.0'].readme).not.toBeDefined();
expect(manifest.readme).toEqual('# test');
});
});
describe('deprecate', () => {
test.each([['foo'], ['@scope/foo']])('deprecate package %s', async (pkgName) => {

View File

@@ -3,11 +3,11 @@
{
"id": 558752,
"login": "juanpicado",
"contributions": 5209,
"contributions": 5229,
"repositories": [
{
"name": "verdaccio",
"contributions": 2873
"contributions": 2885
},
{
"name": "verdaccio-cookbook",
@@ -59,7 +59,7 @@
},
{
"name": "monorepo",
"contributions": 209
"contributions": 212
},
{
"name": "authentication-plugin-sample",
@@ -127,11 +127,15 @@
},
{
"name": "cdn-assets",
"contributions": 33
"contributions": 35
},
{
"name": "e2e-tests",
"contributions": 67
},
{
"name": ".github",
"contributions": 3
}
]
},
@@ -386,6 +390,17 @@
}
]
},
{
"id": 59966492,
"login": "mbtools",
"contributions": 19,
"repositories": [
{
"name": "verdaccio",
"contributions": 19
}
]
},
{
"id": 8471701,
"login": "kgrubb",
@@ -419,17 +434,6 @@
}
]
},
{
"id": 59966492,
"login": "mbtools",
"contributions": 14,
"repositories": [
{
"name": "verdaccio",
"contributions": 14
}
]
},
{
"id": 25279263,
"login": "jamesgeorge007",
@@ -1933,6 +1937,17 @@
}
]
},
{
"id": 6248009,
"login": "barrywoolgar",
"contributions": 2,
"repositories": [
{
"name": "monorepo",
"contributions": 2
}
]
},
{
"id": 19658647,
"login": "AvailCat",
@@ -4941,7 +4956,7 @@
"full_name": "verdaccio/verdaccio",
"html_url": "https://github.com/verdaccio/verdaccio",
"description": "📦🔐 A lightweight Node.js private proxy registry",
"stargazers_count": 15671,
"stargazers_count": 15728,
"archived": false
},
{
@@ -4967,7 +4982,7 @@
"login": "verdaccio",
"full_name": "verdaccio/generator-verdaccio-plugin",
"html_url": "https://github.com/verdaccio/generator-verdaccio-plugin",
"description": " 🧩 yeoman verdaccio plugin generator",
"description": " 🧩 yeoman verdaccio plugin generator (low maintenance)",
"stargazers_count": 12,
"archived": false
},
@@ -5094,7 +5109,7 @@
"full_name": "verdaccio/website",
"html_url": "https://github.com/verdaccio/website",
"description": "📺Verdaccio documentation website",
"stargazers_count": 36,
"stargazers_count": 37,
"archived": true
},
{
@@ -5231,6 +5246,15 @@
"description": "e2e tests",
"stargazers_count": 1,
"archived": false
},
{
"name": ".github",
"login": "verdaccio",
"full_name": "verdaccio/.github",
"html_url": "https://github.com/verdaccio/.github",
"description": null,
"stargazers_count": 0,
"archived": false
}
]
}

View File

@@ -1,5 +1,11 @@
# Change Log
## 3.0.0-next-7.2
### Patch Changes
- c807f0c: fix: store readme when publishing locally
## 3.0.0-next.1
### Minor Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@verdaccio/test-helper",
"version": "3.0.0-next.1",
"version": "3.0.0-next-7.2",
"private": true,
"description": "test helpers",
"author": "Juan Picado <juanpicado19@gmail.com>",
@@ -9,13 +9,13 @@
"main": "build/index.js",
"types": "build/index.d.ts",
"devDependencies": {
"@verdaccio/auth": "workspace:7.0.0-next-7.8",
"@verdaccio/config": "workspace:7.0.0-next-7.8",
"@verdaccio/core": "workspace:7.0.0-next-7.8",
"@verdaccio/logger": "workspace:7.0.0-next-7.8",
"@verdaccio/middleware": "workspace:7.0.0-next-7.8",
"@verdaccio/auth": "workspace:7.0.0-next-7.11",
"@verdaccio/config": "workspace:7.0.0-next-7.11",
"@verdaccio/core": "workspace:7.0.0-next-7.11",
"@verdaccio/logger": "workspace:7.0.0-next-7.11",
"@verdaccio/middleware": "workspace:7.0.0-next-7.11",
"@verdaccio/types": "workspace:12.0.0-next.2",
"@verdaccio/utils": "workspace:7.0.0-next-7.8",
"@verdaccio/utils": "workspace:7.0.0-next-7.11",
"body-parser": "1.20.2",
"debug": "4.3.4",
"express": "4.18.2",

View File

@@ -10,7 +10,9 @@ const debug = buildDebug('verdaccio:tools:helpers:actions');
export function publishVersion(app, pkgName, version, metadata: Partial<Manifest> = {}): any {
debug('publishVersion %s : %s : %s', pkgName, version, JSON.stringify(metadata, null, 2));
const pkgMetadata = { ...generatePackageMetadata(pkgName, version), ...metadata };
let pkgMetadata = { ...generatePackageMetadata(pkgName, version), ...metadata };
// sync metadata readme to version of package
pkgMetadata.versions[version].readme = metadata.readme ? (metadata.readme as string) : '';
debug('metadata %s', JSON.stringify(pkgMetadata, null, 2));
return (
supertest(app)

View File

@@ -10,9 +10,9 @@
"types": "build/index.d.ts",
"devDependencies": {
"@verdaccio/types": "workspace:12.0.0-next.2",
"@verdaccio/core": "workspace:7.0.0-next-7.8",
"@verdaccio/config": "workspace:7.0.0-next-7.8",
"verdaccio": "7.0.0-next-7.8"
"@verdaccio/core": "workspace:7.0.0-next-7.11",
"@verdaccio/config": "workspace:7.0.0-next-7.11",
"verdaccio": "7.0.0-next-7.11"
},
"scripts": {
"start": "ts-node src/index.ts",

View File

@@ -5,15 +5,15 @@
},
"de": {
"translationProgress": 16,
"approvalProgress": 15
"approvalProgress": 16
},
"es-ES": {
"translationProgress": 20,
"approvalProgress": 20
"translationProgress": 21,
"approvalProgress": 21
},
"fr": {
"translationProgress": 27,
"approvalProgress": 20
"approvalProgress": 27
},
"gl": {
"translationProgress": 1,
@@ -21,7 +21,7 @@
},
"it": {
"translationProgress": 99,
"approvalProgress": 85
"approvalProgress": 99
},
"ja": {
"translationProgress": 1,
@@ -33,15 +33,15 @@
},
"ko": {
"translationProgress": 8,
"approvalProgress": 1
"approvalProgress": 8
},
"pl": {
"translationProgress": 17,
"approvalProgress": 16
"approvalProgress": 17
},
"pt-BR": {
"translationProgress": 29,
"approvalProgress": 27
"approvalProgress": 29
},
"ru": {
"translationProgress": 42,
@@ -53,11 +53,11 @@
},
"tr": {
"translationProgress": 4,
"approvalProgress": 2
"approvalProgress": 4
},
"uk": {
"translationProgress": 1,
"approvalProgress": 0
"approvalProgress": 1
},
"vi": {
"translationProgress": 6,
@@ -68,8 +68,8 @@
"approvalProgress": 14
},
"zh-CN": {
"translationProgress": 60,
"approvalProgress": 59
"translationProgress": 61,
"approvalProgress": 61
},
"zh-TW": {
"translationProgress": 15,

View File

@@ -1,5 +1,17 @@
# @verdaccio/ui-components
## 3.0.0-next-7.5
### Minor Changes
- c9962fe: feat: forbidden user interface
## 3.0.0-next-7.4
### Patch Changes
- 5210408: fix: ui dialog break pages on open due remark error
## 3.0.0-next-7.3
### Patch Changes

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -34,10 +34,10 @@ module.exports = Object.assign({}, config, {
coverageReporters: ['text', 'html'],
coverageThreshold: {
global: {
branches: 66,
functions: 65,
lines: 73,
statements: 73,
branches: 70,
functions: 76,
lines: 80,
statements: 81,
},
},
});

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