Compare commits

...

21 Commits

Author SHA1 Message Date
Juan Picado
91667d391c chore: update versions (6-next) (#3577)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-01-28 12:32:50 +01:00
Juan Picado
9718e03307 fix: build targets for 5x modules (#3576) 2023-01-28 12:12:14 +01:00
verdacciobot
fad3924ba7 chore: updated static data 2023-01-26 00:15:04 +00:00
verdacciobot
a77cfa0d75 chore: updated static data 2023-01-23 00:14:14 +00:00
Juan Picado
928b66106c chore: update versions (6-next) (#3571)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-01-22 09:55:24 +01:00
Juan Picado
ef88da3b47 fix: improve support for fs promises older nodejs (#3570)
* fix: improve support for fs promises older nodejs

* second try with fallback for nodejs18
2023-01-22 09:48:04 +01:00
verdacciobot
1ca60b1b4d chore: updated static data 2023-01-19 00:14:04 +00:00
dependabot[bot]
6aa30f8bf9 chore(deps): bump actions/checkout from 3.2.0 to 3.3.0 (#3559)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.2.0 to 3.3.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](755da8c3cf...ac59398561)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-18 20:06:56 +01:00
dependabot[bot]
381f178e6e chore(deps): bump actions/setup-node from 3.5.1 to 3.6.0 (#3560)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3.5.1 to 3.6.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](8c91899e58...64ed1c7eab)

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

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-18 19:35:18 +01:00
dependabot[bot]
19afc0452d chore(deps): bump github/codeql-action from 2.1.37 to 2.1.38 (#3563)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.1.37 to 2.1.38.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](959cbb7472...515828d974)

---
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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-18 19:35:07 +01:00
dependabot[bot]
91d24c55ba chore(deps): bump actions/cache from 3.2.2 to 3.2.3 (#3558)
Bumps [actions/cache](https://github.com/actions/cache) from 3.2.2 to 3.2.3.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](4723a57e26...58c146cc91)

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

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-18 19:34:56 +01:00
verdacciobot
eb7163f107 chore: updated static data 2023-01-16 01:01:38 +00:00
dependabot[bot]
272b35e534 chore(deps): bump actions/upload-artifact from 3.1.1 to 3.1.2 (#3561)
* chore(deps): bump actions/upload-artifact from 3.1.1 to 3.1.2

Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3.1.1 to 3.1.2.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](83fd05a356...0b7f8abb15)

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

Signed-off-by: dependabot[bot] <support@github.com>

* fix test

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Juan Picado <juanpicado19@gmail.com>
2023-01-13 20:38:39 +01:00
verdacciobot
186e063724 chore: updated static data 2023-01-12 01:02:42 +00:00
verdacciobot
4241fd2675 chore: updated static data 2023-01-09 00:14:24 +00:00
Juan Picado
a1f78368c4 docs: add pages to ui components (#3557)
* rename method

* Update ui-components.md

* clean up jest

* docs: add pages to ui components

* Update ui-components.yml

* chore: add some example docs
2023-01-08 11:27:37 +01:00
Juan Picado
ce13b55693 Update ui-components.yml 2023-01-07 11:33:16 +01:00
verdacciobot
b9f4a7c35d chore: updated static data 2023-01-05 00:14:45 +00:00
Johannes Losch
c23726a5ac updated gitlab auth (#3554)
removed https://github.com/snics/docker-verdaccio-gitlab (not longer maintained)
added https://github.com/johanneslosch/verdaccio-auth-gitlab
2023-01-03 16:36:56 +01:00
Juan Picado
9045402d73 docs: add ui components docs (#3553)
* docs: add ui components docs

* Update ui-components.md

* Update package.json
2023-01-03 10:50:34 +01:00
Eric Mutta
beefebfcfa Fix typo in e2e.md (#3552) 2023-01-03 10:29:56 +01:00
137 changed files with 1751 additions and 1570 deletions

View File

@@ -0,0 +1,18 @@
---
'@verdaccio/api': minor
'@verdaccio/config': minor
'@verdaccio/core': minor
'@verdaccio/file-locking': minor
'@verdaccio/tarball': minor
'@verdaccio/types': minor
'@verdaccio/url': minor
'@verdaccio/hooks': minor
'@verdaccio/loaders': minor
'@verdaccio/logger': minor
'@verdaccio/logger-prettify': minor
'@verdaccio/local-storage': minor
'@verdaccio/utils': minor
'verdaccio': minor
---
feat: improve support for fs promises older nodejs

View File

@@ -0,0 +1,10 @@
---
'@verdaccio/config': patch
'@verdaccio/core': patch
'@verdaccio/tarball': patch
'@verdaccio/url': patch
'@verdaccio/store': patch
'@verdaccio/utils': patch
---
fix: build targets for 5x modules

View File

@@ -65,6 +65,7 @@
"brown-cycles-laugh",
"brown-pandas-wink",
"calm-pants-impress",
"chatty-pillows-perform",
"chilled-ways-fetch",
"chilly-glasses-occur",
"clever-pugs-warn",
@@ -79,6 +80,7 @@
"few-cooks-destroy",
"few-mangos-grow",
"fifty-jars-rest",
"fluffy-papayas-lay",
"four-ways-try",
"fuzzy-drinks-taste",
"fuzzy-onions-draw",

View File

@@ -20,12 +20,12 @@ jobs:
if: github.ref == 'refs/heads/master' && github.repository == 'verdaccio/verdaccio'
steps:
- name: checkout code repository
uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b # tag=v3
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # tag=v3
with:
fetch-depth: 0
- name: setup node.js
uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516 # tag=v3
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # tag=v3
with:
node-version: 14
registry-url: 'https://registry.npmjs.org'

View File

@@ -18,9 +18,9 @@ jobs:
env:
NODE_ENV: production
steps:
- uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b # tag=v3
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # tag=v3
- name: Node
uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516 # tag=v3
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # tag=v3
with:
node-version-file: '.nvmrc'
- name: Install pnpm
@@ -32,7 +32,7 @@ jobs:
- name: Install
run: pnpm recursive install --frozen-lockfile --registry http://localhost:4873
- name: Cache .pnpm-store
uses: actions/cache@4723a57e26efda3a62cbde1812113b730952852d # v3
uses: actions/cache@58c146cc91c5b9e778e71775dfe9bf1442ad9a12 # v3
with:
path: ~/.pnpm-store
key: pnpm-${{ hashFiles('pnpm-lock.yaml') }}
@@ -43,14 +43,14 @@ jobs:
name: Lint
needs: prepare
steps:
- uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b # tag=v3
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # tag=v3
- name: Node
uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516 # tag=v3
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # tag=v3
with:
node-version-file: '.nvmrc'
- name: Install pnpm
run: npm i pnpm@6.32.15 -g
- uses: actions/cache@4723a57e26efda3a62cbde1812113b730952852d # v3
- uses: actions/cache@58c146cc91c5b9e778e71775dfe9bf1442ad9a12 # v3
with:
path: ~/.pnpm-store
key: pnpm-${{ hashFiles('pnpm-lock.yaml') }}
@@ -63,14 +63,14 @@ jobs:
name: Format
needs: prepare
steps:
- uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b # tag=v3
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # tag=v3
- name: Use Node
uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516 # tag=v3
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # tag=v3
with:
node-version-file: '.nvmrc'
- name: Install pnpm
run: npm i pnpm@6.32.15 -g
- uses: actions/cache@4723a57e26efda3a62cbde1812113b730952852d # v3
- uses: actions/cache@58c146cc91c5b9e778e71775dfe9bf1442ad9a12 # v3
with:
path: ~/.pnpm-store
key: pnpm-${{ hashFiles('pnpm-lock.yaml') }}
@@ -88,14 +88,14 @@ jobs:
name: ${{ matrix.os }} / Node ${{ matrix.node_version }}
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b # tag=v3
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # tag=v3
- name: Use Node ${{ matrix.node_version }}
uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516 # tag=v3
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # tag=v3
with:
node-version: ${{ matrix.node_version }}
- name: Install pnpm
run: npm i pnpm@6.32.15 -g
- uses: actions/cache@4723a57e26efda3a62cbde1812113b730952852d # v3
- uses: actions/cache@58c146cc91c5b9e778e71775dfe9bf1442ad9a12 # v3
with:
path: ~/.pnpm-store
key: pnpm-${{ hashFiles('pnpm-lock.yaml') }}
@@ -110,13 +110,13 @@ jobs:
runs-on: windows-latest
name: UI Test E2E
steps:
- uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b # tag=v3
- uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516 # tag=v3
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # tag=v3
- uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # tag=v3
with:
node-version-file: '.nvmrc'
- name: Install pnpm
run: npm i pnpm@6.32.15 -g
- uses: actions/cache@4723a57e26efda3a62cbde1812113b730952852d # v3
- uses: actions/cache@58c146cc91c5b9e778e71775dfe9bf1442ad9a12 # v3
with:
path: ~/.pnpm-store
key: pnpm-${{ hashFiles('pnpm-lock.yaml') }}

View File

@@ -27,9 +27,9 @@ jobs:
env:
NODE_ENV: production
steps:
- uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b # tag=v3
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # tag=v3
- name: Node
uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516 # tag=v3
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # tag=v3
with:
node-version-file: '.nvmrc'
- name: Install pnpm
@@ -43,7 +43,7 @@ jobs:
- name: Install
run: pnpm recursive install --frozen-lockfile --registry http://localhost:4873
- name: Cache .pnpm-store
uses: actions/cache@4723a57e26efda3a62cbde1812113b730952852d # v3
uses: actions/cache@58c146cc91c5b9e778e71775dfe9bf1442ad9a12 # v3
with:
path: ~/.pnpm-store
key: pnpm-${{ hashFiles('pnpm-lock.yaml') }}
@@ -54,16 +54,16 @@ jobs:
name: Lint
needs: prepare
steps:
- uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b # tag=v3
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # tag=v3
- name: Node
uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516 # tag=v3
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # tag=v3
with:
node-version-file: '.nvmrc'
- name: Install pnpm
run: |
corepack enable
corepack prepare --activate pnpm@6.32.15
- uses: actions/cache@4723a57e26efda3a62cbde1812113b730952852d # v3
- uses: actions/cache@58c146cc91c5b9e778e71775dfe9bf1442ad9a12 # v3
with:
path: ~/.pnpm-store
key: pnpm-${{ hashFiles('pnpm-lock.yaml') }}
@@ -76,16 +76,16 @@ jobs:
name: Format
needs: prepare
steps:
- uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b # tag=v3
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # tag=v3
- name: Use Node
uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516 # tag=v3
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # tag=v3
with:
node-version-file: '.nvmrc'
- name: Install pnpm
run: |
corepack enable
corepack prepare --activate pnpm@6.32.15
- uses: actions/cache@4723a57e26efda3a62cbde1812113b730952852d # v3
- uses: actions/cache@58c146cc91c5b9e778e71775dfe9bf1442ad9a12 # v3
with:
path: ~/.pnpm-store
key: pnpm-${{ hashFiles('pnpm-lock.yaml') }}
@@ -103,16 +103,16 @@ jobs:
name: ${{ matrix.os }} / Node ${{ matrix.node_version }}
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b # tag=v3
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # tag=v3
- name: Use Node ${{ matrix.node_version }}
uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516 # tag=v3
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # tag=v3
with:
node-version: ${{ matrix.node_version }}
- name: Install pnpm
run: |
corepack enable
corepack prepare --activate pnpm@6.32.15
- uses: actions/cache@4723a57e26efda3a62cbde1812113b730952852d # v3
- uses: actions/cache@58c146cc91c5b9e778e71775dfe9bf1442ad9a12 # v3
with:
path: ~/.pnpm-store
key: pnpm-${{ hashFiles('pnpm-lock.yaml') }}
@@ -128,15 +128,15 @@ jobs:
name: synchronize translations
if: (github.event_name == 'push' && github.ref == 'refs/heads/master') || github.event_name == 'workflow_dispatch'
steps:
- uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b # tag=v3
- uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516 # tag=v3
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # tag=v3
- uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # tag=v3
with:
node-version-file: '.nvmrc'
- name: Install pnpm
run: |
corepack enable
corepack prepare --activate pnpm@6.32.15
- uses: actions/cache@4723a57e26efda3a62cbde1812113b730952852d # v3
- uses: actions/cache@58c146cc91c5b9e778e71775dfe9bf1442ad9a12 # v3
with:
path: ~/.pnpm-store
key: pnpm-${{ hashFiles('pnpm-lock.yaml') }}

View File

@@ -21,7 +21,7 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b # tag=v3
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # tag=v3
with:
# We must fetch at least the immediate parents so that if this is
# a pull request then we can checkout the head.
@@ -34,7 +34,7 @@ jobs:
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@959cbb7472c4d4ad70cdfe6f4976053fe48ab394 # tag=v2
uses: github/codeql-action/init@515828d97454b8354517688ddc5b48402b723750 # tag=v2
# Override language selection by uncommenting this and choosing your languages
# with:
@@ -42,7 +42,7 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@959cbb7472c4d4ad70cdfe6f4976053fe48ab394 # tag=v2
uses: github/codeql-action/autobuild@515828d97454b8354517688ddc5b48402b723750 # tag=v2
# Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
@@ -56,4 +56,4 @@ jobs:
# make release
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@959cbb7472c4d4ad70cdfe6f4976053fe48ab394 # tag=v2
uses: github/codeql-action/analyze@515828d97454b8354517688ddc5b48402b723750 # tag=v2

View File

@@ -23,7 +23,7 @@ jobs:
docker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b # tag=v3
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # tag=v3
- uses: docker/setup-qemu-action@e81a89b1732b9c48d79cd809d8d81d79c4647a18 # tag=v1
- uses: docker/setup-buildx-action@v1
with:

View File

@@ -15,9 +15,9 @@ jobs:
env:
NODE_ENV: production
steps:
- uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b # tag=v3
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # tag=v3
- name: Use Node
uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516 # tag=v3
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # tag=v3
with:
node-version-file: '.nvmrc'
- name: Install pnpm
@@ -29,7 +29,7 @@ jobs:
- name: Install
run: pnpm recursive install --frozen-lockfile --reporter=silence --ignore-scripts --registry http://localhost:4873
- name: Cache .pnpm-store
uses: actions/cache@4723a57e26efda3a62cbde1812113b730952852d # v3
uses: actions/cache@58c146cc91c5b9e778e71775dfe9bf1442ad9a12 # v3
with:
path: ~/.pnpm-store
key: pnpm-${{ hashFiles('pnpm-lock.yaml') }}-${{ github.run_id }}-${{ github.sha }}
@@ -39,14 +39,14 @@ jobs:
needs: [prepare]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b # tag=v3
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # tag=v3
- name: Use Node 16
uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516 # tag=v3
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # tag=v3
with:
node-version-file: '.nvmrc'
- name: Install pnpm
run: npm i pnpm@6.32.15 -g
- uses: actions/cache@4723a57e26efda3a62cbde1812113b730952852d # v3
- uses: actions/cache@58c146cc91c5b9e778e71775dfe9bf1442ad9a12 # v3
with:
path: ~/.pnpm-store
key: pnpm-${{ hashFiles('pnpm-lock.yaml') }}-${{ github.run_id }}-${{ github.sha }}
@@ -55,7 +55,7 @@ jobs:
- name: build
run: pnpm build
- name: Cache packages
uses: actions/cache@4723a57e26efda3a62cbde1812113b730952852d # v3
uses: actions/cache@58c146cc91c5b9e778e71775dfe9bf1442ad9a12 # v3
id: cache-packages
with:
path: ./packages/
@@ -79,19 +79,19 @@ jobs:
name: ${{ matrix.pkg }} / ${{ matrix.os }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b # tag=v3
- uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516 # tag=v3
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # tag=v3
- uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # tag=v3
with:
node-version-file: '.nvmrc'
- name: Install pnpm
run: npm i pnpm@6.32.15 -g
- uses: actions/cache@4723a57e26efda3a62cbde1812113b730952852d # v3
- uses: actions/cache@58c146cc91c5b9e778e71775dfe9bf1442ad9a12 # v3
with:
path: ~/.pnpm-store
key: pnpm-${{ hashFiles('pnpm-lock.yaml') }}-${{ github.run_id }}-${{ github.sha }}
- name: Install
run: pnpm recursive install --offline --frozen-lockfile --reporter=silence --ignore-scripts --registry http://localhost:4873
- uses: actions/cache@4723a57e26efda3a62cbde1812113b730952852d # v3
- uses: actions/cache@58c146cc91c5b9e778e71775dfe9bf1442ad9a12 # v3
with:
path: ./packages/
key: pkg-${{ hashFiles('pnpm-lock.yaml') }}-${{ github.run_id }}-${{ github.sha }}

View File

@@ -15,9 +15,9 @@ jobs:
env:
NODE_ENV: production
steps:
- uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b # tag=v3
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # tag=v3
- name: Use Node
uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516 # tag=v3
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # tag=v3
with:
node-version-file: '.nvmrc'
- name: Install pnpm
@@ -30,7 +30,7 @@ jobs:
run: pnpm build
- name: Test UI
run: pnpm test:e2e:ui
- uses: actions/upload-artifact@83fd05a356d7e2593de66fc9913b3002723633cb # v3
- uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3
with:
name: videos
path: /home/runner/work/verdaccio/verdaccio/e2e/ui/cypress/videos

View File

@@ -19,11 +19,11 @@ jobs:
name: Run script
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b # tag=v3
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # tag=v3
with:
persist-credentials: false
fetch-depth: 0
- uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516 # tag=v3
- uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # tag=v3
with:
node-version: 18.x
- name: install pnpm

View File

@@ -13,6 +13,9 @@ on:
permissions:
contents: read # to fetch code (actions/checkout)
env:
DEBUG: verdaccio*
jobs:
deploy:
permissions:
@@ -24,15 +27,15 @@ jobs:
env:
NODE_OPTIONS: --max_old_space_size=4096
steps:
- uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b # tag=v3
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # tag=v3
- name: Use Node
uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516 # tag=v3
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # tag=v3
with:
node-version-file: '.nvmrc'
- name: Cache pnpm modules
uses: actions/cache@4723a57e26efda3a62cbde1812113b730952852d # v3
uses: actions/cache@58c146cc91c5b9e778e71775dfe9bf1442ad9a12 # v3
env:
cache-name: cache-pnpm-modules
with:
@@ -54,7 +57,7 @@ jobs:
run: cp -R packages/ui-components/public/* packages/ui-components/storybook-static
- name: 🔥 Deploy Production UI Netlify
if: (github.event_name == 'push' && github.ref == 'refs/heads/master') || github.event_name == 'workflow_dispatch'
uses: verdaccio/action-netlify-deploy@1a53f098745bf78555d11b436f5ee3af87e6b566
uses: verdaccio/action-netlify-deploy@v2.0.0
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
netlify-auth-token: ${{ secrets.NETLIFY_AUTH_TOKEN }}
@@ -62,7 +65,7 @@ jobs:
build-dir: './packages/ui-components/storybook-static'
- name: 🤖 Deploy Preview UI Components Netlify
if: github.repository == 'verdaccio/verdaccio'
uses: verdaccio/action-netlify-deploy@1a53f098745bf78555d11b436f5ee3af87e6b566
uses: verdaccio/action-netlify-deploy@v2.0.0
id: netlify_preview_ui
with:
draft: true

View File

@@ -23,15 +23,15 @@ jobs:
env:
NODE_OPTIONS: --max_old_space_size=4096
steps:
- uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b # tag=v3
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # tag=v3
- name: Use Node 16
uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516 # tag=v3
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # tag=v3
with:
node-version: 16
- name: Cache pnpm modules
uses: actions/cache@4723a57e26efda3a62cbde1812113b730952852d # v3
uses: actions/cache@58c146cc91c5b9e778e71775dfe9bf1442ad9a12 # v3
env:
cache-name: cache-pnpm-modules
with:
@@ -51,7 +51,7 @@ jobs:
- name: Build Translations percentage
run: pnpm build --filter "@verdaccio/crowdin-translations"
- name: Cache Docusaurus Build
uses: actions/cache@4723a57e26efda3a62cbde1812113b730952852d # v3
uses: actions/cache@58c146cc91c5b9e778e71775dfe9bf1442ad9a12 # v3
with:
path: website/node_modules/.cache/webpack
key: cache/webpack-${{github.ref}}-${{ hashFiles('**/pnpm-lock.yaml') }}

View File

@@ -5,10 +5,10 @@
"main": "./build/index.js",
"types": "./build/index.d.ts",
"devDependencies": {
"verdaccio": "workspace:6.0.0-6-next.53",
"@verdaccio/core": "workspace:6.0.0-6-next.53",
"@verdaccio/config": "workspace:6.0.0-6-next.53",
"@verdaccio/types": "workspace:11.0.0-6-next.18",
"verdaccio": "workspace:6.0.0-6-next.55",
"@verdaccio/core": "workspace:6.0.0-6-next.55",
"@verdaccio/config": "workspace:6.0.0-6-next.55",
"@verdaccio/types": "workspace:11.0.0-6-next.19",
"yaml": "2.2.0",
"debug": "4.3.4",
"fs-extra": "10.1.0",

View File

@@ -30,10 +30,6 @@ describe('audit a package yarn 2', () => {
const resp = await yarn(projectFolder, 'npm', 'audit', '--json');
const parsedBody = JSON.parse(resp.stdout as string);
expect(parsedBody.advisories).toBeDefined();
expect(parsedBody.advisories['1069969']).toBeDefined();
expect(parsedBody.advisories['1069969'].recommendation).toEqual(
'Upgrade to version 3.4.0 or later'
);
});
afterAll(async () => {

View File

@@ -30,10 +30,6 @@ describe('audit a package yarn 3', () => {
const resp = await yarn(projectFolder, 'npm', 'audit', '--json');
const parsedBody = JSON.parse(resp.stdout as string);
expect(parsedBody.advisories).toBeDefined();
expect(parsedBody.advisories['1069969']).toBeDefined();
expect(parsedBody.advisories['1069969'].recommendation).toEqual(
'Upgrade to version 3.4.0 or later'
);
});
afterAll(async () => {

View File

@@ -3,9 +3,9 @@
"name": "@verdaccio/e2e-ui",
"version": "2.0.0-6-next.3",
"devDependencies": {
"verdaccio": "workspace:6.0.0-6-next.53",
"@verdaccio/core": "workspace:6.0.0-6-next.53",
"@verdaccio/config": "workspace:6.0.0-6-next.53",
"verdaccio": "workspace:6.0.0-6-next.55",
"@verdaccio/core": "workspace:6.0.0-6-next.55",
"@verdaccio/config": "workspace:6.0.0-6-next.55",
"@verdaccio/test-helper": "workspace:2.0.0-6-next.6",
"debug": "4.3.4",
"cypress": "11.2.0"

View File

@@ -1,5 +1,35 @@
# @verdaccio/api
## 6.0.0-6-next.38
### Patch Changes
- Updated dependencies [9718e033]
- @verdaccio/config@6.0.0-6-next.55
- @verdaccio/core@6.0.0-6-next.55
- @verdaccio/store@6.0.0-6-next.35
- @verdaccio/utils@6.0.0-6-next.23
- @verdaccio/auth@6.0.0-6-next.34
- @verdaccio/logger@6.0.0-6-next.23
- @verdaccio/middleware@6.0.0-6-next.34
## 6.0.0-6-next.37
### Minor Changes
- ef88da3b: feat: improve support for fs promises older nodejs
### Patch Changes
- Updated dependencies [ef88da3b]
- @verdaccio/config@6.0.0-6-next.54
- @verdaccio/core@6.0.0-6-next.54
- @verdaccio/logger@6.0.0-6-next.22
- @verdaccio/utils@6.0.0-6-next.22
- @verdaccio/auth@6.0.0-6-next.33
- @verdaccio/store@6.0.0-6-next.34
- @verdaccio/middleware@6.0.0-6-next.33
## 6.0.0-6-next.36
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@verdaccio/api",
"version": "6.0.0-6-next.36",
"version": "6.0.0-6-next.38",
"description": "loaders logic",
"main": "./build/index.js",
"types": "build/index.d.ts",
@@ -39,13 +39,13 @@
},
"license": "MIT",
"dependencies": {
"@verdaccio/auth": "workspace:6.0.0-6-next.32",
"@verdaccio/config": "workspace:6.0.0-6-next.53",
"@verdaccio/core": "workspace:6.0.0-6-next.53",
"@verdaccio/logger": "workspace:6.0.0-6-next.21",
"@verdaccio/middleware": "workspace:6.0.0-6-next.32",
"@verdaccio/store": "workspace:6.0.0-6-next.33",
"@verdaccio/utils": "workspace:6.0.0-6-next.21",
"@verdaccio/auth": "workspace:6.0.0-6-next.34",
"@verdaccio/config": "workspace:6.0.0-6-next.55",
"@verdaccio/core": "workspace:6.0.0-6-next.55",
"@verdaccio/logger": "workspace:6.0.0-6-next.23",
"@verdaccio/middleware": "workspace:6.0.0-6-next.34",
"@verdaccio/store": "workspace:6.0.0-6-next.35",
"@verdaccio/utils": "workspace:6.0.0-6-next.23",
"abortcontroller-polyfill": "1.7.5",
"cookies": "0.8.0",
"debug": "4.3.4",
@@ -57,8 +57,8 @@
},
"devDependencies": {
"@types/node": "16.18.10",
"@verdaccio/server": "workspace:6.0.0-6-next.42",
"@verdaccio/types": "workspace:11.0.0-6-next.18",
"@verdaccio/server": "workspace:6.0.0-6-next.44",
"@verdaccio/types": "workspace:11.0.0-6-next.19",
"@verdaccio/test-helper": "workspace:2.0.0-6-next.6",
"supertest": "6.3.3",
"nock": "13.2.9",

View File

@@ -16,7 +16,7 @@ import { buildToken, generateRandomHexString } from '@verdaccio/utils';
import apiMiddleware from '../../src';
setup();
setup({});
export const getConf = (conf) => {
const configPath = path.join(__dirname, 'config', conf);

View File

@@ -1,5 +1,29 @@
# @verdaccio/auth
## 6.0.0-6-next.34
### Patch Changes
- Updated dependencies [9718e033]
- @verdaccio/config@6.0.0-6-next.55
- @verdaccio/core@6.0.0-6-next.55
- @verdaccio/utils@6.0.0-6-next.23
- @verdaccio/loaders@6.0.0-6-next.24
- verdaccio-htpasswd@11.0.0-6-next.25
- @verdaccio/logger@6.0.0-6-next.23
## 6.0.0-6-next.33
### Patch Changes
- Updated dependencies [ef88da3b]
- @verdaccio/config@6.0.0-6-next.54
- @verdaccio/core@6.0.0-6-next.54
- @verdaccio/loaders@6.0.0-6-next.23
- @verdaccio/logger@6.0.0-6-next.22
- @verdaccio/utils@6.0.0-6-next.22
- verdaccio-htpasswd@11.0.0-6-next.24
## 6.0.0-6-next.32
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@verdaccio/auth",
"version": "6.0.0-6-next.32",
"version": "6.0.0-6-next.34",
"description": "logger",
"main": "./build/index.js",
"types": "./build/index.d.ts",
@@ -39,19 +39,19 @@
},
"license": "MIT",
"dependencies": {
"@verdaccio/core": "workspace:6.0.0-6-next.53",
"@verdaccio/config": "workspace:6.0.0-6-next.53",
"@verdaccio/loaders": "workspace:6.0.0-6-next.22",
"@verdaccio/logger": "workspace:6.0.0-6-next.21",
"@verdaccio/utils": "workspace:6.0.0-6-next.21",
"@verdaccio/core": "workspace:6.0.0-6-next.55",
"@verdaccio/config": "workspace:6.0.0-6-next.55",
"@verdaccio/loaders": "workspace:6.0.0-6-next.24",
"@verdaccio/logger": "workspace:6.0.0-6-next.23",
"@verdaccio/utils": "workspace:6.0.0-6-next.23",
"debug": "4.3.4",
"express": "4.18.2",
"jsonwebtoken": "9.0.0",
"lodash": "4.17.21",
"verdaccio-htpasswd": "workspace:11.0.0-6-next.23"
"verdaccio-htpasswd": "workspace:11.0.0-6-next.25"
},
"devDependencies": {
"@verdaccio/types": "workspace:11.0.0-6-next.18"
"@verdaccio/types": "workspace:11.0.0-6-next.19"
},
"funding": {
"type": "opencollective",

View File

@@ -1,5 +1,25 @@
# @verdaccio/cli
## 6.0.0-6-next.55
### Patch Changes
- Updated dependencies [9718e033]
- @verdaccio/config@6.0.0-6-next.55
- @verdaccio/core@6.0.0-6-next.55
- @verdaccio/node-api@6.0.0-6-next.55
- @verdaccio/logger@6.0.0-6-next.23
## 6.0.0-6-next.54
### Patch Changes
- Updated dependencies [ef88da3b]
- @verdaccio/config@6.0.0-6-next.54
- @verdaccio/core@6.0.0-6-next.54
- @verdaccio/logger@6.0.0-6-next.22
- @verdaccio/node-api@6.0.0-6-next.54
## 6.0.0-6-next.53
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@verdaccio/cli",
"version": "6.0.0-6-next.53",
"version": "6.0.0-6-next.55",
"author": {
"name": "Juan Picado",
"email": "juanpicado19@gmail.com"
@@ -44,10 +44,10 @@
"start": "ts-node src/index.ts"
},
"dependencies": {
"@verdaccio/core": "workspace:6.0.0-6-next.53",
"@verdaccio/config": "workspace:6.0.0-6-next.53",
"@verdaccio/logger": "workspace:6.0.0-6-next.21",
"@verdaccio/node-api": "workspace:6.0.0-6-next.53",
"@verdaccio/core": "workspace:6.0.0-6-next.55",
"@verdaccio/config": "workspace:6.0.0-6-next.55",
"@verdaccio/logger": "workspace:6.0.0-6-next.23",
"@verdaccio/node-api": "workspace:6.0.0-6-next.55",
"clipanion": "3.1.0",
"envinfo": "7.8.1",
"kleur": "3.0.3",

View File

@@ -1,3 +1,14 @@
{
"extends": "../../.babelrc"
"extends": "../../.babelrc",
"presets": [
[
"@babel/env",
{
"targets": {
"node": 12
}
}
],
"@babel/typescript"
]
}

View File

@@ -1,5 +1,26 @@
# @verdaccio/config
## 6.0.0-6-next.55
### Patch Changes
- 9718e033: fix: build targets for 5x modules
- Updated dependencies [9718e033]
- @verdaccio/core@6.0.0-6-next.55
- @verdaccio/utils@6.0.0-6-next.23
## 6.0.0-6-next.54
### Minor Changes
- ef88da3b: feat: improve support for fs promises older nodejs
### Patch Changes
- Updated dependencies [ef88da3b]
- @verdaccio/core@6.0.0-6-next.54
- @verdaccio/utils@6.0.0-6-next.22
## 6.0.0-6-next.53
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@verdaccio/config",
"version": "6.0.0-6-next.53",
"version": "6.0.0-6-next.55",
"description": "logger",
"main": "./build/index.js",
"types": "build/index.d.ts",
@@ -26,8 +26,7 @@
"verdaccio"
],
"engines": {
"node": ">=14",
"npm": ">=6"
"node": ">=12"
},
"scripts": {
"clean": "rimraf ./build",
@@ -39,8 +38,8 @@
"build": "pnpm run build:js && pnpm run build:types"
},
"dependencies": {
"@verdaccio/core": "workspace:6.0.0-6-next.53",
"@verdaccio/utils": "workspace:6.0.0-6-next.21",
"@verdaccio/core": "workspace:6.0.0-6-next.55",
"@verdaccio/utils": "workspace:6.0.0-6-next.23",
"debug": "4.3.4",
"yaml": "2.2.0",
"lodash": "4.17.21",

View File

@@ -1,4 +1,4 @@
import { writeFile } from 'fs/promises';
import fs from 'fs';
import path from 'path';
import { fileUtils } from '@verdaccio/core';
@@ -6,6 +6,8 @@ import { fileUtils } from '@verdaccio/core';
import { fromJStoYAML, parseConfigFile } from '../src';
import { parseConfigurationFile } from './utils';
const { writeFile } = fs.promises ? fs.promises : require('fs/promises');
describe('parse', () => {
describe('parseConfigFile', () => {
describe('JSON format', () => {

View File

@@ -1,3 +1,14 @@
{
"extends": "../../../.babelrc"
"extends": "../../../.babelrc",
"presets": [
[
"@babel/env",
{
"targets": {
"node": 12
}
}
],
"@babel/typescript"
]
}

View File

@@ -1,5 +1,17 @@
# @verdaccio/core
## 6.0.0-6-next.55
### Patch Changes
- 9718e033: fix: build targets for 5x modules
## 6.0.0-6-next.54
### Minor Changes
- ef88da3b: feat: improve support for fs promises older nodejs
## 6.0.0-6-next.53
## 6.0.0-6-next.52

View File

@@ -1,6 +1,6 @@
{
"name": "@verdaccio/core",
"version": "6.0.0-6-next.53",
"version": "6.0.0-6-next.55",
"description": "core utilities",
"keywords": [
"private",
@@ -19,8 +19,7 @@
"license": "MIT",
"homepage": "https://verdaccio.org",
"engines": {
"node": ">=14",
"npm": ">=6"
"node": ">=12"
},
"repository": {
"type": "https",
@@ -45,7 +44,7 @@
"lodash": "4.17.21",
"typedoc": "0.23.23",
"typedoc-plugin-missing-exports": "latest",
"@verdaccio/types": "workspace:11.0.0-6-next.18"
"@verdaccio/types": "workspace:11.0.0-6-next.19"
},
"scripts": {
"clean": "rimraf ./build",

View File

@@ -1,4 +1,4 @@
import { mkdir, mkdtemp } from 'fs/promises';
import fs from 'fs';
import os from 'os';
import path from 'path';
@@ -6,6 +6,8 @@ export const Files = {
DatabaseName: '.verdaccio-db.json',
};
const { mkdir, mkdtemp } = fs.promises ? fs.promises : require('fs/promises');
/**
* Create a temporary folder.
* @param prefix The prefix of the folder name.

View File

@@ -1,5 +1,11 @@
# Change Log
## 11.0.0-6-next.7
### Minor Changes
- ef88da3b: feat: improve support for fs promises older nodejs
## 11.0.0-6-next.6
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@verdaccio/file-locking",
"version": "11.0.0-6-next.6",
"version": "11.0.0-6-next.7",
"description": "library that handle file locking",
"keywords": [
"private",
@@ -17,8 +17,7 @@
"license": "MIT",
"homepage": "https://verdaccio.org",
"engines": {
"node": ">=14",
"npm": ">=6"
"node": ">=12"
},
"repository": {
"type": "https",
@@ -40,7 +39,7 @@
"lockfile": "1.0.4"
},
"devDependencies": {
"@verdaccio/types": "workspace:11.0.0-6-next.18"
"@verdaccio/types": "workspace:11.0.0-6-next.19"
},
"scripts": {
"clean": "rimraf ./build",

View File

@@ -1,10 +1,12 @@
import fs from 'fs/promises';
import fs from 'fs';
import locker from 'lockfile';
import path from 'path';
import { promisify } from 'util';
export const readFile = fs.readFile;
const statPromise = fs.stat;
const fsP = fs.promises ? fs.promises : require('fs/promises');
export const readFile = fsP.readFile;
const statPromise = fsP.stat;
// https://github.com/npm/lockfile/issues/33
const lfLock = promisify(locker.lock);
const lfUnlock = promisify(locker.unlock);

View File

@@ -1,3 +1,14 @@
{
"extends": "../../../.babelrc"
"extends": "../../../.babelrc",
"presets": [
[
"@babel/env",
{
"targets": {
"node": 12
}
}
],
"@babel/typescript"
]
}

View File

@@ -1,5 +1,28 @@
# Change Log
## 11.0.0-6-next.24
### Patch Changes
- 9718e033: fix: build targets for 5x modules
- Updated dependencies [9718e033]
- @verdaccio/core@6.0.0-6-next.55
- @verdaccio/url@11.0.0-6-next.21
- @verdaccio/utils@6.0.0-6-next.23
## 11.0.0-6-next.23
### Minor Changes
- ef88da3b: feat: improve support for fs promises older nodejs
### Patch Changes
- Updated dependencies [ef88da3b]
- @verdaccio/core@6.0.0-6-next.54
- @verdaccio/url@11.0.0-6-next.20
- @verdaccio/utils@6.0.0-6-next.22
## 11.0.0-6-next.22
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@verdaccio/tarball",
"version": "11.0.0-6-next.22",
"version": "11.0.0-6-next.24",
"description": "tarball utilities resolver",
"keywords": [
"private",
@@ -19,8 +19,7 @@
"license": "MIT",
"homepage": "https://verdaccio.org",
"engines": {
"node": ">=14",
"npm": ">=6"
"node": ">=12"
},
"repository": {
"type": "https",
@@ -35,13 +34,13 @@
},
"dependencies": {
"debug": "4.3.4",
"@verdaccio/core": "workspace:6.0.0-6-next.53",
"@verdaccio/url": "workspace:11.0.0-6-next.19",
"@verdaccio/utils": "workspace:6.0.0-6-next.21",
"@verdaccio/core": "workspace:6.0.0-6-next.55",
"@verdaccio/url": "workspace:11.0.0-6-next.21",
"@verdaccio/utils": "workspace:6.0.0-6-next.23",
"lodash": "4.17.21"
},
"devDependencies": {
"@verdaccio/types": "workspace:11.0.0-6-next.18",
"@verdaccio/types": "workspace:11.0.0-6-next.19",
"node-mocks-http": "1.12.1"
},
"scripts": {

View File

@@ -1,5 +1,11 @@
# Change Log
## 11.0.0-6-next.19
### Minor Changes
- ef88da3b: feat: improve support for fs promises older nodejs
## 11.0.0-6-next.18
### Major Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@verdaccio/types",
"version": "11.0.0-6-next.18",
"version": "11.0.0-6-next.19",
"description": "verdaccio types definitions",
"keywords": [
"private",
@@ -17,8 +17,7 @@
"license": "MIT",
"homepage": "https://verdaccio.org",
"engines": {
"node": ">=14",
"npm": ">=6"
"node": ">=12"
},
"repository": {
"type": "https",

View File

@@ -1,3 +1,14 @@
{
"extends": "../../../.babelrc"
"extends": "../../../.babelrc",
"presets": [
[
"@babel/env",
{
"targets": {
"node": 12
}
}
],
"@babel/typescript"
]
}

View File

@@ -1,5 +1,24 @@
# Change Log
## 11.0.0-6-next.21
### Patch Changes
- 9718e033: fix: build targets for 5x modules
- Updated dependencies [9718e033]
- @verdaccio/core@6.0.0-6-next.55
## 11.0.0-6-next.20
### Minor Changes
- ef88da3b: feat: improve support for fs promises older nodejs
### Patch Changes
- Updated dependencies [ef88da3b]
- @verdaccio/core@6.0.0-6-next.54
## 11.0.0-6-next.19
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@verdaccio/url",
"version": "11.0.0-6-next.19",
"version": "11.0.0-6-next.21",
"description": "url utilities resolver",
"keywords": [
"private",
@@ -19,8 +19,7 @@
"license": "MIT",
"homepage": "https://verdaccio.org",
"engines": {
"node": ">=14",
"npm": ">=6"
"node": ">=12"
},
"repository": {
"type": "https",
@@ -34,13 +33,13 @@
"access": "public"
},
"dependencies": {
"@verdaccio/core": "workspace:6.0.0-6-next.53",
"@verdaccio/core": "workspace:6.0.0-6-next.55",
"debug": "4.3.4",
"lodash": "4.17.21",
"validator": "13.7.0"
},
"devDependencies": {
"@verdaccio/types": "workspace:11.0.0-6-next.18",
"@verdaccio/types": "workspace:11.0.0-6-next.19",
"node-mocks-http": "1.12.1"
},
"scripts": {

View File

@@ -1,5 +1,25 @@
# @verdaccio/hooks
## 6.0.0-6-next.25
### Patch Changes
- Updated dependencies [9718e033]
- @verdaccio/core@6.0.0-6-next.55
- @verdaccio/logger@6.0.0-6-next.23
## 6.0.0-6-next.24
### Minor Changes
- ef88da3b: feat: improve support for fs promises older nodejs
### Patch Changes
- Updated dependencies [ef88da3b]
- @verdaccio/core@6.0.0-6-next.54
- @verdaccio/logger@6.0.0-6-next.22
## 6.0.0-6-next.23
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@verdaccio/hooks",
"version": "6.0.0-6-next.23",
"version": "6.0.0-6-next.25",
"description": "loaders logic",
"main": "./build/index.js",
"types": "build/index.d.ts",
@@ -26,12 +26,11 @@
"verdaccio"
],
"engines": {
"node": ">=14",
"npm": ">=6"
"node": ">=16"
},
"dependencies": {
"@verdaccio/core": "workspace:6.0.0-6-next.53",
"@verdaccio/logger": "workspace:6.0.0-6-next.21",
"@verdaccio/core": "workspace:6.0.0-6-next.55",
"@verdaccio/logger": "workspace:6.0.0-6-next.23",
"core-js": "3.27.0",
"debug": "4.3.4",
"handlebars": "4.7.7",
@@ -39,9 +38,9 @@
},
"devDependencies": {
"@types/node": "16.18.10",
"@verdaccio/auth": "workspace:6.0.0-6-next.32",
"@verdaccio/config": "workspace:6.0.0-6-next.53",
"@verdaccio/types": "workspace:11.0.0-6-next.18"
"@verdaccio/auth": "workspace:6.0.0-6-next.34",
"@verdaccio/config": "workspace:6.0.0-6-next.55",
"@verdaccio/types": "workspace:11.0.0-6-next.19"
},
"scripts": {
"clean": "rimraf ./build",

View File

@@ -1,5 +1,22 @@
# @verdaccio/loaders
## 6.0.0-6-next.24
### Patch Changes
- @verdaccio/logger@6.0.0-6-next.23
## 6.0.0-6-next.23
### Minor Changes
- ef88da3b: feat: improve support for fs promises older nodejs
### Patch Changes
- Updated dependencies [ef88da3b]
- @verdaccio/logger@6.0.0-6-next.22
## 6.0.0-6-next.22
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@verdaccio/loaders",
"version": "6.0.0-6-next.22",
"version": "6.0.0-6-next.24",
"description": "loaders logic",
"main": "./build/index.js",
"types": "build/index.d.ts",
@@ -13,14 +13,14 @@
"url": "https://github.com/verdaccio/verdaccio"
},
"dependencies": {
"@verdaccio/logger": "workspace:6.0.0-6-next.21",
"@verdaccio/logger": "workspace:6.0.0-6-next.23",
"debug": "4.3.4",
"lodash": "4.17.21"
},
"devDependencies": {
"@verdaccio/core": "workspace:6.0.0-6-next.53",
"@verdaccio/config": "workspace:6.0.0-6-next.53",
"@verdaccio/types": "workspace:11.0.0-6-next.18",
"@verdaccio/core": "workspace:6.0.0-6-next.55",
"@verdaccio/config": "workspace:6.0.0-6-next.55",
"@verdaccio/types": "workspace:11.0.0-6-next.19",
"@verdaccio-scope/verdaccio-auth-foo": "0.0.2",
"verdaccio-auth-memory": "workspace:*",
"customprefix-auth": "1.0.0-6-next.0"
@@ -38,8 +38,7 @@
"verdaccio"
],
"engines": {
"node": ">=14",
"npm": ">=6"
"node": ">=12"
},
"license": "MIT",
"scripts": {

View File

@@ -1,5 +1,5 @@
import buildDebug from 'debug';
import { lstat } from 'fs/promises';
import fs from 'fs';
import { dirname, isAbsolute, join, resolve } from 'path';
import { pluginUtils } from '@verdaccio/core';
@@ -10,6 +10,8 @@ import { PluginType, isES6, isValid, tryLoad } from './utils';
const debug = buildDebug('verdaccio:plugin:loader:async');
const { lstat } = fs.promises ? fs.promises : require('fs/promises');
async function isDirectory(pathFolder: string) {
const stat = await lstat(pathFolder);
return stat.isDirectory();

View File

@@ -1,5 +1,11 @@
# @verdaccio/logger-prettify
## 6.0.0-6-next.8
### Minor Changes
- ef88da3b: feat: improve support for fs promises older nodejs
## 6.0.0-6-next.7
### Major Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@verdaccio/logger-prettify",
"version": "6.0.0-6-next.7",
"version": "6.0.0-6-next.8",
"description": "logger",
"main": "./build/index.js",
"types": "build/index.d.ts",
@@ -26,8 +26,7 @@
"verdaccio"
],
"engines": {
"node": ">=14",
"npm": ">=6"
"node": ">=12"
},
"scripts": {
"clean": "rimraf ./build",

View File

@@ -1,5 +1,24 @@
# @verdaccio/logger
## 6.0.0-6-next.23
### Patch Changes
- Updated dependencies [9718e033]
- @verdaccio/core@6.0.0-6-next.55
## 6.0.0-6-next.22
### Minor Changes
- ef88da3b: feat: improve support for fs promises older nodejs
### Patch Changes
- Updated dependencies [ef88da3b]
- @verdaccio/core@6.0.0-6-next.54
- @verdaccio/logger-prettify@6.0.0-6-next.8
## 6.0.0-6-next.21
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@verdaccio/logger",
"version": "6.0.0-6-next.21",
"version": "6.0.0-6-next.23",
"description": "logger",
"main": "./build/index.js",
"types": "./build/index.d.ts",
@@ -26,8 +26,7 @@
"verdaccio"
],
"engines": {
"node": ">=14",
"npm": ">=6"
"node": ">=12"
},
"scripts": {
"clean": "rimraf ./build",
@@ -39,14 +38,14 @@
"build": "pnpm run build:js && pnpm run build:types"
},
"dependencies": {
"@verdaccio/core": "workspace:6.0.0-6-next.53",
"@verdaccio/logger-prettify": "workspace:6.0.0-6-next.7",
"@verdaccio/core": "workspace:6.0.0-6-next.55",
"@verdaccio/logger-prettify": "workspace:6.0.0-6-next.8",
"debug": "4.3.4",
"colorette": "2.0.19",
"pino": "8.8.0"
},
"devDependencies": {
"@verdaccio/types": "workspace:11.0.0-6-next.18"
"@verdaccio/types": "workspace:11.0.0-6-next.19"
},
"funding": {
"type": "opencollective",

View File

@@ -1,5 +1,25 @@
# @verdaccio/middleware
## 6.0.0-6-next.34
### Patch Changes
- Updated dependencies [9718e033]
- @verdaccio/core@6.0.0-6-next.55
- @verdaccio/utils@6.0.0-6-next.23
- @verdaccio/auth@6.0.0-6-next.34
- @verdaccio/logger@6.0.0-6-next.23
## 6.0.0-6-next.33
### Patch Changes
- Updated dependencies [ef88da3b]
- @verdaccio/core@6.0.0-6-next.54
- @verdaccio/logger@6.0.0-6-next.22
- @verdaccio/utils@6.0.0-6-next.22
- @verdaccio/auth@6.0.0-6-next.33
## 6.0.0-6-next.32
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@verdaccio/middleware",
"version": "6.0.0-6-next.32",
"version": "6.0.0-6-next.34",
"description": "loaders logic",
"main": "./build/index.js",
"types": "build/index.d.ts",
@@ -40,10 +40,10 @@
"dependencies": {
"debug": "4.3.4",
"body-parser": "1.20.1",
"@verdaccio/auth": "workspace:6.0.0-6-next.32",
"@verdaccio/core": "workspace:6.0.0-6-next.53",
"@verdaccio/logger": "workspace:6.0.0-6-next.21",
"@verdaccio/utils": "workspace:6.0.0-6-next.21",
"@verdaccio/auth": "workspace:6.0.0-6-next.34",
"@verdaccio/core": "workspace:6.0.0-6-next.55",
"@verdaccio/logger": "workspace:6.0.0-6-next.23",
"@verdaccio/utils": "workspace:6.0.0-6-next.23",
"lodash": "4.17.21"
},
"funding": {

View File

@@ -1,5 +1,27 @@
# @verdaccio/node-api
## 6.0.0-6-next.55
### Patch Changes
- Updated dependencies [9718e033]
- @verdaccio/config@6.0.0-6-next.55
- @verdaccio/core@6.0.0-6-next.55
- @verdaccio/server@6.0.0-6-next.44
- @verdaccio/server-fastify@6.0.0-6-next.36
- @verdaccio/logger@6.0.0-6-next.23
## 6.0.0-6-next.54
### Patch Changes
- Updated dependencies [ef88da3b]
- @verdaccio/config@6.0.0-6-next.54
- @verdaccio/core@6.0.0-6-next.54
- @verdaccio/logger@6.0.0-6-next.22
- @verdaccio/server@6.0.0-6-next.43
- @verdaccio/server-fastify@6.0.0-6-next.35
## 6.0.0-6-next.53
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@verdaccio/node-api",
"version": "6.0.0-6-next.53",
"version": "6.0.0-6-next.55",
"description": "node API",
"main": "build/index.js",
"types": "build/index.d.ts",
@@ -39,18 +39,18 @@
},
"license": "MIT",
"dependencies": {
"@verdaccio/core": "workspace:6.0.0-6-next.53",
"@verdaccio/config": "workspace:6.0.0-6-next.53",
"@verdaccio/logger": "workspace:6.0.0-6-next.21",
"@verdaccio/server": "workspace:6.0.0-6-next.42",
"@verdaccio/server-fastify": "workspace:6.0.0-6-next.34",
"@verdaccio/core": "workspace:6.0.0-6-next.55",
"@verdaccio/config": "workspace:6.0.0-6-next.55",
"@verdaccio/logger": "workspace:6.0.0-6-next.23",
"@verdaccio/server": "workspace:6.0.0-6-next.44",
"@verdaccio/server-fastify": "workspace:6.0.0-6-next.36",
"core-js": "3.27.0",
"debug": "4.3.4",
"lodash": "4.17.21"
},
"devDependencies": {
"@types/node": "16.18.10",
"@verdaccio/types": "workspace:11.0.0-6-next.18",
"@verdaccio/types": "workspace:11.0.0-6-next.19",
"jest-mock-process": "1.5.1",
"selfsigned": "1.10.14",
"supertest": "6.3.3"

View File

@@ -1,5 +1,23 @@
# Change Log
## 11.0.0-6-next.18
### Patch Changes
- Updated dependencies [9718e033]
- @verdaccio/config@6.0.0-6-next.55
- @verdaccio/core@6.0.0-6-next.55
- @verdaccio/logger@6.0.0-6-next.23
## 11.0.0-6-next.17
### Patch Changes
- Updated dependencies [ef88da3b]
- @verdaccio/config@6.0.0-6-next.54
- @verdaccio/core@6.0.0-6-next.54
- @verdaccio/logger@6.0.0-6-next.22
## 11.0.0-6-next.16
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "verdaccio-audit",
"version": "11.0.0-6-next.16",
"version": "11.0.0-6-next.18",
"description": "Verdaccio Middleware plugin to bypass npmjs audit",
"keywords": [
"private",
@@ -31,17 +31,17 @@
"npm": ">=6"
},
"dependencies": {
"@verdaccio/core": "workspace:6.0.0-6-next.53",
"@verdaccio/config": "workspace:6.0.0-6-next.53",
"@verdaccio/logger": "workspace:6.0.0-6-next.21",
"@verdaccio/core": "workspace:6.0.0-6-next.55",
"@verdaccio/config": "workspace:6.0.0-6-next.55",
"@verdaccio/logger": "workspace:6.0.0-6-next.23",
"express": "4.18.2",
"body-parser": "1.20.1",
"https-proxy-agent": "5.0.1",
"node-fetch": "cjs"
},
"devDependencies": {
"@verdaccio/types": "workspace:11.0.0-6-next.18",
"@verdaccio/auth": "workspace:6.0.0-6-next.32",
"@verdaccio/types": "workspace:11.0.0-6-next.19",
"@verdaccio/auth": "workspace:6.0.0-6-next.34",
"nock": "13.2.9",
"supertest": "6.3.3"
},

View File

@@ -1,5 +1,19 @@
# Change Log
## 11.0.0-6-next.20
### Patch Changes
- Updated dependencies [9718e033]
- @verdaccio/core@6.0.0-6-next.55
## 11.0.0-6-next.19
### Patch Changes
- Updated dependencies [ef88da3b]
- @verdaccio/core@6.0.0-6-next.54
## 11.0.0-6-next.18
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "verdaccio-auth-memory",
"version": "11.0.0-6-next.18",
"version": "11.0.0-6-next.20",
"description": "Auth plugin for Verdaccio that keeps users in memory",
"keywords": [
"private",
@@ -32,11 +32,11 @@
},
"dependencies": {
"debug": "4.3.4",
"@verdaccio/core": "workspace:6.0.0-6-next.53"
"@verdaccio/core": "workspace:6.0.0-6-next.55"
},
"devDependencies": {
"@verdaccio/config": "workspace:6.0.0-6-next.53",
"@verdaccio/types": "workspace:11.0.0-6-next.18"
"@verdaccio/config": "workspace:6.0.0-6-next.55",
"@verdaccio/types": "workspace:11.0.0-6-next.19"
},
"scripts": {
"clean": "rimraf ./build",

View File

@@ -1,5 +1,20 @@
# Change Log
## 11.0.0-6-next.25
### Patch Changes
- Updated dependencies [9718e033]
- @verdaccio/core@6.0.0-6-next.55
## 11.0.0-6-next.24
### Patch Changes
- Updated dependencies [ef88da3b]
- @verdaccio/core@6.0.0-6-next.54
- @verdaccio/file-locking@11.0.0-6-next.7
## 11.0.0-6-next.23
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "verdaccio-htpasswd",
"version": "11.0.0-6-next.23",
"version": "11.0.0-6-next.25",
"description": "htpasswd auth plugin for Verdaccio",
"keywords": [
"private",
@@ -34,8 +34,8 @@
"npm": ">=6"
},
"dependencies": {
"@verdaccio/core": "workspace:6.0.0-6-next.53",
"@verdaccio/file-locking": "workspace:11.0.0-6-next.6",
"@verdaccio/core": "workspace:6.0.0-6-next.55",
"@verdaccio/file-locking": "workspace:11.0.0-6-next.7",
"apache-md5": "1.1.8",
"bcryptjs": "2.4.3",
"core-js": "3.27.0",
@@ -45,9 +45,9 @@
},
"devDependencies": {
"@types/bcryptjs": "2.4.2",
"@verdaccio/types": "workspace:11.0.0-6-next.18",
"@verdaccio/config": "workspace:6.0.0-6-next.53",
"@verdaccio/logger": "workspace:6.0.0-6-next.21",
"@verdaccio/types": "workspace:11.0.0-6-next.19",
"@verdaccio/config": "workspace:6.0.0-6-next.55",
"@verdaccio/logger": "workspace:6.0.0-6-next.23",
"mockdate": "3.0.5"
},
"scripts": {

View File

@@ -1,5 +1,26 @@
# Change Log
## 11.0.0-6-next.25
### Patch Changes
- Updated dependencies [9718e033]
- @verdaccio/core@6.0.0-6-next.55
- @verdaccio/utils@6.0.0-6-next.23
## 11.0.0-6-next.24
### Minor Changes
- ef88da3b: feat: improve support for fs promises older nodejs
### Patch Changes
- Updated dependencies [ef88da3b]
- @verdaccio/core@6.0.0-6-next.54
- @verdaccio/file-locking@11.0.0-6-next.7
- @verdaccio/utils@6.0.0-6-next.22
## 11.0.0-6-next.23
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@verdaccio/local-storage",
"version": "11.0.0-6-next.23",
"version": "11.0.0-6-next.25",
"description": "Local storage implementation",
"keywords": [
"private",
@@ -37,9 +37,9 @@
"npm": ">=7"
},
"dependencies": {
"@verdaccio/core": "workspace:6.0.0-6-next.53",
"@verdaccio/file-locking": "workspace:11.0.0-6-next.6",
"@verdaccio/utils": "workspace:6.0.0-6-next.21",
"@verdaccio/core": "workspace:6.0.0-6-next.55",
"@verdaccio/file-locking": "workspace:11.0.0-6-next.7",
"@verdaccio/utils": "workspace:6.0.0-6-next.23",
"core-js": "3.27.0",
"debug": "4.3.4",
"globby": "11.1.0",
@@ -51,9 +51,9 @@
},
"devDependencies": {
"@types/minimatch": "3.0.5",
"@verdaccio/types": "workspace:11.0.0-6-next.18",
"@verdaccio/config": "workspace:6.0.0-6-next.53",
"@verdaccio/logger": "workspace:6.0.0-6-next.21",
"@verdaccio/types": "workspace:11.0.0-6-next.19",
"@verdaccio/config": "workspace:6.0.0-6-next.55",
"@verdaccio/logger": "workspace:6.0.0-6-next.23",
"@verdaccio/test-helper": "workspace:2.0.0-6-next.6",
"minimatch": "3.1.2"
},

View File

@@ -1,16 +1,18 @@
import fsCallback from 'fs';
import fs from 'fs/promises';
import fs from 'fs';
const readFile = fs.readFile;
const mkdirPromise = fs.mkdir;
const accessPromise = fs.access;
const writeFilePromise = fs.writeFile;
const readdirPromise = fs.readdir;
const statPromise = fs.stat;
const unlinkPromise = fs.unlink;
const rmdirPromise = fs.rmdir;
const renamePromise = fs.rename;
const openPromise = fs.open;
const fsP = fs.promises ? fs.promises : require('fs/promises');
const readFile = fsP.readFile;
const mkdirPromise = fsP.mkdir;
const accessPromise = fsP.access;
const writeFilePromise = fsP.writeFile;
const readdirPromise = fsP.readdir;
const statPromise = fsP.stat;
const unlinkPromise = fsP.unlink;
const rmdirPromise = fsP.rmdir;
const renamePromise = fsP.rename;
const openPromise = fsP.open;
const readFilePromise = async (path) => {
return await readFile(path, 'utf8');

View File

@@ -1,5 +1,19 @@
# Change Log
## 11.0.0-6-next.22
### Patch Changes
- Updated dependencies [9718e033]
- @verdaccio/core@6.0.0-6-next.55
## 11.0.0-6-next.21
### Patch Changes
- Updated dependencies [ef88da3b]
- @verdaccio/core@6.0.0-6-next.54
## 11.0.0-6-next.20
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "verdaccio-memory",
"version": "11.0.0-6-next.20",
"version": "11.0.0-6-next.22",
"description": "Storage implementation in memory",
"keywords": [
"private",
@@ -31,15 +31,15 @@
"npm": ">=6"
},
"dependencies": {
"@verdaccio/core": "workspace:6.0.0-6-next.53",
"@verdaccio/core": "workspace:6.0.0-6-next.55",
"memory-fs": "0.5.0",
"debug": "4.3.4",
"memfs": "3.4.12"
},
"devDependencies": {
"@verdaccio/types": "workspace:11.0.0-6-next.18",
"@verdaccio/config": "workspace:6.0.0-6-next.53",
"@verdaccio/logger": "workspace:6.0.0-6-next.21"
"@verdaccio/types": "workspace:11.0.0-6-next.19",
"@verdaccio/config": "workspace:6.0.0-6-next.55",
"@verdaccio/logger": "workspace:6.0.0-6-next.23"
},
"scripts": {
"clean": "rimraf ./build",

View File

@@ -1,5 +1,9 @@
# @verdaccio/ui-theme
## 6.0.0-6-next.55
## 6.0.0-6-next.54
## 6.0.0-6-next.53
### Major Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@verdaccio/ui-theme",
"version": "6.0.0-6-next.53",
"version": "6.0.0-6-next.55",
"description": "Verdaccio User Interface",
"author": {
"name": "Verdaccio Contributors",
@@ -27,8 +27,8 @@
"@testing-library/dom": "8.19.1",
"@testing-library/jest-dom": "5.16.5",
"@testing-library/react": "13.4.0",
"@verdaccio/node-api": "workspace:6.0.0-6-next.53",
"@verdaccio/ui-components": "workspace:2.0.0-6-next.1",
"@verdaccio/node-api": "workspace:6.0.0-6-next.55",
"@verdaccio/ui-components": "workspace:2.0.0-6-next.2",
"@verdaccio/types": "workspace:*",
"normalize.css": "8.0.1",
"babel-loader": "8.3.0",

View File

@@ -89,11 +89,7 @@ const App: React.FC = () => {
}, []);
return (
<StrictMode>
<TranslatorProvider
i18n={i18n}
listLanguages={listLanguages}
loadDayJSLocale={loadDayJSLocale}
>
<TranslatorProvider i18n={i18n} listLanguages={listLanguages} onMount={loadDayJSLocale}>
<Suspense fallback={<Loading />}>
<StyledBox display="flex" flexDirection="column" height="100%">
<Router history={history}>

View File

@@ -699,6 +699,10 @@
"username": "dafanasiev",
"id": 5094703
},
{
"username": "ericmutta",
"id": 20465797
},
{
"username": "einfallstoll",
"id": 619048
@@ -759,6 +763,10 @@
"username": "jeremymoritz",
"id": 2779583
},
{
"username": "johanneslosch",
"id": 15651065
},
{
"username": "johannespfeiffer",
"id": 6780316

View File

@@ -1,5 +1,27 @@
# @verdaccio/proxy
## 6.0.0-6-next.33
### Patch Changes
- Updated dependencies [9718e033]
- @verdaccio/config@6.0.0-6-next.55
- @verdaccio/core@6.0.0-6-next.55
- @verdaccio/utils@6.0.0-6-next.23
- @verdaccio/local-storage@11.0.0-6-next.25
- @verdaccio/logger@6.0.0-6-next.23
## 6.0.0-6-next.32
### Patch Changes
- Updated dependencies [ef88da3b]
- @verdaccio/config@6.0.0-6-next.54
- @verdaccio/core@6.0.0-6-next.54
- @verdaccio/logger@6.0.0-6-next.22
- @verdaccio/local-storage@11.0.0-6-next.24
- @verdaccio/utils@6.0.0-6-next.22
## 6.0.0-6-next.31
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@verdaccio/proxy",
"version": "6.0.0-6-next.31",
"version": "6.0.0-6-next.33",
"description": "verdaccio proxy fetcher",
"main": "./build/index.js",
"types": "build/index.d.ts",
@@ -39,11 +39,11 @@
"build": "pnpm run build:js && pnpm run build:types"
},
"dependencies": {
"@verdaccio/config": "workspace:6.0.0-6-next.53",
"@verdaccio/core": "workspace:6.0.0-6-next.53",
"@verdaccio/local-storage": "workspace:11.0.0-6-next.23",
"@verdaccio/logger": "workspace:6.0.0-6-next.21",
"@verdaccio/utils": "workspace:6.0.0-6-next.21",
"@verdaccio/config": "workspace:6.0.0-6-next.55",
"@verdaccio/core": "workspace:6.0.0-6-next.55",
"@verdaccio/local-storage": "workspace:11.0.0-6-next.25",
"@verdaccio/logger": "workspace:6.0.0-6-next.23",
"@verdaccio/utils": "workspace:6.0.0-6-next.23",
"JSONStream": "1.3.5",
"debug": "4.3.4",
"lodash": "4.17.21",
@@ -54,7 +54,7 @@
"devDependencies": {
"@types/node": "16.18.10",
"p-cancelable": "2.1.1",
"@verdaccio/types": "workspace:11.0.0-6-next.18",
"@verdaccio/types": "workspace:11.0.0-6-next.19",
"get-stream": "^6.0.1",
"nock": "13.2.9",
"node-mocks-http": "1.12.1",

View File

@@ -1,5 +1,39 @@
# @verdaccio/server
## 6.0.0-6-next.44
### Patch Changes
- Updated dependencies [9718e033]
- @verdaccio/config@6.0.0-6-next.55
- @verdaccio/core@6.0.0-6-next.55
- @verdaccio/store@6.0.0-6-next.35
- @verdaccio/utils@6.0.0-6-next.23
- @verdaccio/api@6.0.0-6-next.38
- @verdaccio/auth@6.0.0-6-next.34
- @verdaccio/loaders@6.0.0-6-next.24
- verdaccio-audit@11.0.0-6-next.18
- @verdaccio/web@6.0.0-6-next.42
- @verdaccio/logger@6.0.0-6-next.23
- @verdaccio/middleware@6.0.0-6-next.34
## 6.0.0-6-next.43
### Patch Changes
- Updated dependencies [ef88da3b]
- @verdaccio/api@6.0.0-6-next.37
- @verdaccio/config@6.0.0-6-next.54
- @verdaccio/core@6.0.0-6-next.54
- @verdaccio/loaders@6.0.0-6-next.23
- @verdaccio/logger@6.0.0-6-next.22
- @verdaccio/utils@6.0.0-6-next.22
- @verdaccio/web@6.0.0-6-next.41
- @verdaccio/auth@6.0.0-6-next.33
- verdaccio-audit@11.0.0-6-next.17
- @verdaccio/store@6.0.0-6-next.34
- @verdaccio/middleware@6.0.0-6-next.33
## 6.0.0-6-next.42
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@verdaccio/server",
"version": "6.0.0-6-next.42",
"version": "6.0.0-6-next.44",
"description": "server logic",
"main": "./build/index.js",
"types": "build/index.d.ts",
@@ -30,17 +30,17 @@
"npm": ">=6"
},
"dependencies": {
"@verdaccio/api": "workspace:6.0.0-6-next.36",
"@verdaccio/auth": "workspace:6.0.0-6-next.32",
"@verdaccio/core": "workspace:6.0.0-6-next.53",
"@verdaccio/config": "workspace:6.0.0-6-next.53",
"@verdaccio/loaders": "workspace:6.0.0-6-next.22",
"@verdaccio/logger": "workspace:6.0.0-6-next.21",
"@verdaccio/middleware": "workspace:6.0.0-6-next.32",
"@verdaccio/store": "workspace:6.0.0-6-next.33",
"@verdaccio/utils": "workspace:6.0.0-6-next.21",
"@verdaccio/web": "workspace:6.0.0-6-next.40",
"verdaccio-audit": "workspace:11.0.0-6-next.16",
"@verdaccio/api": "workspace:6.0.0-6-next.38",
"@verdaccio/auth": "workspace:6.0.0-6-next.34",
"@verdaccio/core": "workspace:6.0.0-6-next.55",
"@verdaccio/config": "workspace:6.0.0-6-next.55",
"@verdaccio/loaders": "workspace:6.0.0-6-next.24",
"@verdaccio/logger": "workspace:6.0.0-6-next.23",
"@verdaccio/middleware": "workspace:6.0.0-6-next.34",
"@verdaccio/store": "workspace:6.0.0-6-next.35",
"@verdaccio/utils": "workspace:6.0.0-6-next.23",
"@verdaccio/web": "workspace:6.0.0-6-next.42",
"verdaccio-audit": "workspace:11.0.0-6-next.18",
"compression": "1.7.4",
"cors": "2.8.5",
"debug": "4.3.4",
@@ -50,7 +50,7 @@
},
"devDependencies": {
"@types/node": "16.18.10",
"@verdaccio/proxy": "workspace:6.0.0-6-next.31",
"@verdaccio/proxy": "workspace:6.0.0-6-next.33",
"@verdaccio/test-helper": "workspace:2.0.0-6-next.6",
"http-errors": "1.8.1"
},

View File

@@ -1,5 +1,31 @@
# @verdaccio/server-fastify
## 6.0.0-6-next.36
### Patch Changes
- Updated dependencies [9718e033]
- @verdaccio/config@6.0.0-6-next.55
- @verdaccio/core@6.0.0-6-next.55
- @verdaccio/tarball@11.0.0-6-next.24
- @verdaccio/store@6.0.0-6-next.35
- @verdaccio/utils@6.0.0-6-next.23
- @verdaccio/auth@6.0.0-6-next.34
- @verdaccio/logger@6.0.0-6-next.23
## 6.0.0-6-next.35
### Patch Changes
- Updated dependencies [ef88da3b]
- @verdaccio/config@6.0.0-6-next.54
- @verdaccio/core@6.0.0-6-next.54
- @verdaccio/tarball@11.0.0-6-next.23
- @verdaccio/logger@6.0.0-6-next.22
- @verdaccio/utils@6.0.0-6-next.22
- @verdaccio/auth@6.0.0-6-next.33
- @verdaccio/store@6.0.0-6-next.34
## 6.0.0-6-next.34
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@verdaccio/server-fastify",
"version": "6.0.0-6-next.34",
"version": "6.0.0-6-next.36",
"description": "fastify server api implementation",
"keywords": [
"private",
@@ -34,13 +34,13 @@
"access": "public"
},
"dependencies": {
"@verdaccio/core": "workspace:6.0.0-6-next.53",
"@verdaccio/config": "workspace:6.0.0-6-next.53",
"@verdaccio/auth": "workspace:6.0.0-6-next.32",
"@verdaccio/logger": "workspace:6.0.0-6-next.21",
"@verdaccio/store": "workspace:6.0.0-6-next.33",
"@verdaccio/tarball": "workspace:11.0.0-6-next.22",
"@verdaccio/utils": "workspace:6.0.0-6-next.21",
"@verdaccio/core": "workspace:6.0.0-6-next.55",
"@verdaccio/config": "workspace:6.0.0-6-next.55",
"@verdaccio/auth": "workspace:6.0.0-6-next.34",
"@verdaccio/logger": "workspace:6.0.0-6-next.23",
"@verdaccio/store": "workspace:6.0.0-6-next.35",
"@verdaccio/tarball": "workspace:11.0.0-6-next.24",
"@verdaccio/utils": "workspace:6.0.0-6-next.23",
"core-js": "3.27.0",
"debug": "4.3.4",
"fastify": "4.10.2",
@@ -49,7 +49,7 @@
},
"devDependencies": {
"@types/node": "16.18.10",
"@verdaccio/types": "workspace:11.0.0-6-next.18",
"@verdaccio/types": "workspace:11.0.0-6-next.19",
"ts-node": "10.9.1"
},
"scripts": {

View File

@@ -32,8 +32,8 @@
"homepage": "https://verdaccio.org",
"license": "MIT",
"devDependencies": {
"@verdaccio/cli": "workspace:6.0.0-6-next.53",
"@verdaccio/ui-theme": "workspace:6.0.0-6-next.53",
"@verdaccio/cli": "workspace:6.0.0-6-next.55",
"@verdaccio/ui-theme": "workspace:6.0.0-6-next.55",
"fs-extra": "10.1.0",
"webpack": "5.75.0",
"webpack-bundle-analyzer": "4.7.0",

View File

@@ -1,5 +1,38 @@
# @verdaccio/store
## 6.0.0-6-next.35
### Patch Changes
- 9718e033: fix: build targets for 5x modules
- Updated dependencies [9718e033]
- @verdaccio/config@6.0.0-6-next.55
- @verdaccio/core@6.0.0-6-next.55
- @verdaccio/tarball@11.0.0-6-next.24
- @verdaccio/url@11.0.0-6-next.21
- @verdaccio/utils@6.0.0-6-next.23
- @verdaccio/hooks@6.0.0-6-next.25
- @verdaccio/loaders@6.0.0-6-next.24
- @verdaccio/local-storage@11.0.0-6-next.25
- @verdaccio/proxy@6.0.0-6-next.33
- @verdaccio/logger@6.0.0-6-next.23
## 6.0.0-6-next.34
### Patch Changes
- Updated dependencies [ef88da3b]
- @verdaccio/config@6.0.0-6-next.54
- @verdaccio/core@6.0.0-6-next.54
- @verdaccio/tarball@11.0.0-6-next.23
- @verdaccio/url@11.0.0-6-next.20
- @verdaccio/hooks@6.0.0-6-next.24
- @verdaccio/loaders@6.0.0-6-next.23
- @verdaccio/logger@6.0.0-6-next.22
- @verdaccio/local-storage@11.0.0-6-next.24
- @verdaccio/utils@6.0.0-6-next.22
- @verdaccio/proxy@6.0.0-6-next.32
## 6.0.0-6-next.33
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@verdaccio/store",
"version": "6.0.0-6-next.33",
"version": "6.0.0-6-next.35",
"description": "loaders logic",
"main": "./build/index.js",
"types": "build/index.d.ts",
@@ -39,16 +39,16 @@
"build": "pnpm run build:js && pnpm run build:types"
},
"dependencies": {
"@verdaccio/config": "workspace:6.0.0-6-next.53",
"@verdaccio/core": "workspace:6.0.0-6-next.53",
"@verdaccio/hooks": "workspace:6.0.0-6-next.23",
"@verdaccio/loaders": "workspace:6.0.0-6-next.22",
"@verdaccio/local-storage": "workspace:11.0.0-6-next.23",
"@verdaccio/logger": "workspace:6.0.0-6-next.21",
"@verdaccio/proxy": "workspace:6.0.0-6-next.31",
"@verdaccio/url": "workspace:11.0.0-6-next.19",
"@verdaccio/utils": "workspace:6.0.0-6-next.21",
"@verdaccio/tarball": "workspace:11.0.0-6-next.22",
"@verdaccio/config": "workspace:6.0.0-6-next.55",
"@verdaccio/core": "workspace:6.0.0-6-next.55",
"@verdaccio/hooks": "workspace:6.0.0-6-next.25",
"@verdaccio/loaders": "workspace:6.0.0-6-next.24",
"@verdaccio/local-storage": "workspace:11.0.0-6-next.25",
"@verdaccio/logger": "workspace:6.0.0-6-next.23",
"@verdaccio/proxy": "workspace:6.0.0-6-next.33",
"@verdaccio/url": "workspace:11.0.0-6-next.21",
"@verdaccio/utils": "workspace:6.0.0-6-next.23",
"@verdaccio/tarball": "workspace:11.0.0-6-next.24",
"JSONStream": "1.3.5",
"debug": "4.3.4",
"lodash": "4.17.21",
@@ -57,7 +57,7 @@
},
"devDependencies": {
"@types/node": "16.18.10",
"@verdaccio/types": "workspace:11.0.0-6-next.18",
"@verdaccio/types": "workspace:11.0.0-6-next.19",
"@verdaccio/test-helper": "workspace:2.0.0-6-next.6",
"undici": "4.16.0",
"nock": "13.2.9",

View File

@@ -3,11 +3,11 @@
{
"id": 558752,
"login": "juanpicado",
"contributions": 4924,
"contributions": 4949,
"repositories": [
{
"name": "verdaccio",
"contributions": 2658
"contributions": 2666
},
{
"name": "verdaccio-cookbook",
@@ -59,7 +59,7 @@
},
{
"name": "monorepo",
"contributions": 185
"contributions": 186
},
{
"name": "authentication-plugin-sample",
@@ -135,7 +135,7 @@
},
{
"name": "e2e-5.x",
"contributions": 26
"contributions": 42
}
]
},
@@ -2433,6 +2433,17 @@
}
]
},
{
"id": 20465797,
"login": "ericmutta",
"contributions": 1,
"repositories": [
{
"name": "verdaccio",
"contributions": 1
}
]
},
{
"id": 619048,
"login": "einfallstoll",
@@ -2598,6 +2609,17 @@
}
]
},
{
"id": 15651065,
"login": "johanneslosch",
"contributions": 1,
"repositories": [
{
"name": "verdaccio",
"contributions": 1
}
]
},
{
"id": 6780316,
"login": "johannespfeiffer",
@@ -4729,7 +4751,7 @@
"full_name": "verdaccio/verdaccio",
"html_url": "https://github.com/verdaccio/verdaccio",
"description": "📦🔐 A lightweight Node.js private proxy registry",
"stargazers_count": 14273,
"stargazers_count": 14363,
"archived": false
},
{
@@ -4810,7 +4832,7 @@
"full_name": "verdaccio/local-storage",
"html_url": "https://github.com/verdaccio/local-storage",
"description": "📦 File system storage plugin for verdaccio (built-in)",
"stargazers_count": 18,
"stargazers_count": 19,
"archived": true
},
{
@@ -4855,7 +4877,7 @@
"full_name": "verdaccio/monorepo",
"html_url": "https://github.com/verdaccio/monorepo",
"description": "🏰 Core dependencies and plugins for verdaccio 5.x branch",
"stargazers_count": 68,
"stargazers_count": 69,
"archived": false
},
{

View File

@@ -9,12 +9,12 @@
"main": "build/index.js",
"types": "build/index.d.ts",
"devDependencies": {
"@verdaccio/types": "workspace:11.0.0-6-next.18",
"@verdaccio/auth": "workspace:6.0.0-6-next.32",
"@verdaccio/core": "workspace:6.0.0-6-next.53",
"@verdaccio/config": "workspace:6.0.0-6-next.53",
"@verdaccio/middleware": "workspace:6.0.0-6-next.32",
"@verdaccio/utils": "workspace:6.0.0-6-next.21",
"@verdaccio/types": "workspace:11.0.0-6-next.19",
"@verdaccio/auth": "workspace:6.0.0-6-next.34",
"@verdaccio/core": "workspace:6.0.0-6-next.55",
"@verdaccio/config": "workspace:6.0.0-6-next.55",
"@verdaccio/middleware": "workspace:6.0.0-6-next.34",
"@verdaccio/utils": "workspace:6.0.0-6-next.23",
"body-parser": "1.20.1",
"express": "4.18.2",
"supertest": "6.3.3",

View File

@@ -9,10 +9,10 @@
"main": "build/index.js",
"types": "build/index.d.ts",
"devDependencies": {
"@verdaccio/types": "workspace:11.0.0-6-next.18",
"@verdaccio/core": "workspace:6.0.0-6-next.53",
"@verdaccio/config": "workspace:6.0.0-6-next.53",
"verdaccio": "6.0.0-6-next.53",
"@verdaccio/types": "workspace:11.0.0-6-next.19",
"@verdaccio/core": "workspace:6.0.0-6-next.55",
"@verdaccio/config": "workspace:6.0.0-6-next.55",
"verdaccio": "6.0.0-6-next.55",
"ts-node": "10.9.1"
},
"scripts": {

View File

@@ -5,7 +5,7 @@
},
"de": {
"translationProgress": 18,
"approvalProgress": 18
"approvalProgress": 17
},
"es-ES": {
"translationProgress": 23,
@@ -20,8 +20,8 @@
"approvalProgress": 1
},
"it": {
"translationProgress": 70,
"approvalProgress": 68
"translationProgress": 68,
"approvalProgress": 66
},
"ja": {
"translationProgress": 1,
@@ -37,15 +37,15 @@
},
"pl": {
"translationProgress": 19,
"approvalProgress": 19
"approvalProgress": 18
},
"pt-BR": {
"translationProgress": 32,
"approvalProgress": 32
"translationProgress": 31,
"approvalProgress": 31
},
"ru": {
"translationProgress": 45,
"approvalProgress": 45
"translationProgress": 43,
"approvalProgress": 43
},
"sr-CS": {
"translationProgress": 10,
@@ -68,11 +68,11 @@
"approvalProgress": 16
},
"zh-CN": {
"translationProgress": 36,
"approvalProgress": 35
"translationProgress": 35,
"approvalProgress": 34
},
"zh-TW": {
"translationProgress": 17,
"approvalProgress": 17
"translationProgress": 16,
"approvalProgress": 16
}
}

View File

@@ -33,7 +33,7 @@ export const parameters = {
// required by AppConfigurationProvider
export const withMuiTheme = (Story) => (
<Provider store={store}>
<TranslatorProvider loadDayJSLocale={() => {}} i18n={config} listLanguages={listLanguages}>
<TranslatorProvider onMount={() => {}} i18n={config} listLanguages={listLanguages}>
<AppConfigurationProvider>
<ThemeProvider>
<StyleBaseline />

View File

@@ -1,5 +1,12 @@
# @verdaccio/ui-components
## 2.0.0-6-next.2
### Patch Changes
- Updated dependencies [ef88da3b]
- @verdaccio/types@11.0.0-6-next.19
## 2.0.0-6-next.1
### Major Changes

View File

@@ -0,0 +1,103 @@
# UI Components
A collection of components ready to use for building complex user interfaces.
- `components`: Independent components to use to build different layouts, all components are based on [MUI (Material UI)](https://mui.com/).
- `providers`: Providers are useful components that uses the React [`Context`](https://reactjs.org/docs/context.html), for instance, the `VersionProvider` connects the Redux store with independent components. The `AppConfigurationProvider` is able to read the
- `store`: The Redux store powered by [`Rematch`](https://rematchjs.org), could be used with the global object `__VERDACCIO_BASENAME_UI_OPTIONS` that verdaccio uses to provide the UI configuration.
- `theme`: The `ThemeProvider` is an abstraction of the _material-ui_ theme provider.
- `sections`: A group of components to setup quickly sections of the application, like the sidebar, header of footer.
- `layouts`: Are the combination of one or more sections ready to use.
- `hooks`: A collection of useful React hooks.
```bash
npm i -D @verdaccio/ui-components@6-next
```
## Requirements
The set of components requires libraries available in a project:
- React >17
- Material UI >5.x
- Redux >4.x
- Emotion >11
- i18next >20.x
- TypeScript is optional but recommended.
### The store
All components assume there is a Redux storage, thus a `<Provider/>` wrap is the required that wrap the application.
```jsx
import { store } from '@verdaccio/ui-components';
<Provider store={store}>....APP</Provider>;
```
The default storage is powered by Rematch and contains the required `dispatch` to fetch data from the registry.
- Fetch all private packages
```jsx
import { useDispatch, useSelector } from 'react-redux';
const packages = useSelector((state: RootState) => state.packages.response);
useEffect(() => {
dispatch.packages.getPackages();
}, [dispatch]);
```
## How to use it
```jsx
import React from 'react';
import { Route, Router, Switch } from 'react-router-dom';
import { Provider } from 'react-redux';
import {
Home,
store,
Loading,
NotFound,
Route as Routes,
TranslatorProvider,
VersionProvider,
loadable,
} from '@verdaccio/ui-components';
// to enable webpack code splitting
const VersionPage = loadable(() => import('../pages/Version'));
const App: React.FC = () => {
// configuration from config.yaml
const { configOptions } = useConfig();
const listLanguages = [{lng: 'en-US', icon: <someSVGIcon>, menuKey: 'lng.english'}];
return (
<Provider store={store}>
<AppConfigurationProvider>
<ThemeProvider>
<TranslatorProvider i18n={i18n} listLanguages={listLanguages} onMount={() => {}}>
<Suspense fallback={<Loading />}>
<Router history={history}>
<Header HeaderInfoDialog={CustomInfoDialog} />
<Switch>
<Route exact={true} path={Routes.ROOT}>
<Home />
</Route>
<Route exact={true} path={Routes.SCOPE_PACKAGE}>
<VersionProvider>
<VersionPage />
</VersionProvider>
</Route>
</Switch>
</Router>
{configOptions.showFooter && <Footer />}
</Suspense>
</TranslatorProvider>
</ThemeProvider>
</AppConfigurationProvider>
</Provider>
);
};
``
```

View File

@@ -1,8 +1,6 @@
const config = require('../../../jest/config');
module.exports = Object.assign({}, config, {
automock: false,
collectCoverage: false,
testEnvironment: 'jest-environment-jsdom-global',
transform: {
'^.+\\.(js|ts|tsx)$': 'babel-jest',
@@ -15,15 +13,9 @@ module.exports = Object.assign({}, config, {
setupFilesAfterEnv: ['@testing-library/jest-dom/extend-expect', '<rootDir>/jest/setup-env.ts'],
setupFiles: ['<rootDir>/jest/setup.ts'],
transformIgnorePatterns: ['<rootDir>/node_modules/(?!react-syntax-highlighter)'],
modulePathIgnorePatterns: [
'<rootDir>/coverage',
'<rootDir>/scripts',
'<rootDir>/tools',
'<rootDir>/build',
'<rootDir>/.vscode/',
'<rootDir>/test/e2e/',
],
snapshotSerializers: ['@emotion/jest/serializer'],
collectCoverageFrom: ['src/**/*.{ts,tsx}', '!**/node_modules/**'],
modulePathIgnorePatterns: ['<rootDir>/build/'],
moduleNameMapper: {
'\\.(s?css)$': '<rootDir>/jest/identity.js',
'\\.(png)$': '<rootDir>/jest/identity.js',
@@ -34,4 +26,13 @@ module.exports = Object.assign({}, config, {
'react-markdown': '<rootDir>/src/__mocks__/react-markdown.tsx',
'remark-*': '<rootDir>/src/__mocks__/remark-plugin.ts',
},
coverageReporters: [['text', { skipFull: true }]],
coverageThreshold: {
global: {
branches: 68,
functions: 65,
lines: 73,
statements: 73,
},
},
});

View File

@@ -1,2 +0,0 @@
declare const server: import('msw/lib/SetupServerApi-70cc71a7').S;
export { server };

View File

@@ -4,9 +4,6 @@ import 'whatwg-fetch';
import { server } from './server';
// mock load translations to avoid warnings
// jest.mock('../src/i18n/loadTranslationFile');
beforeAll(() => {
server.listen({
onUnhandledRequest: 'warn',

View File

@@ -1,47 +0,0 @@
/**
* API Mocks for WebUI
*/
import login from '../store/login';
import logo from '../store/logo';
import { packageInformation } from '../store/package';
import { packageMeta } from '../store/packageMeta';
/**
* Register mock api endpoints
* @param {string} endpoint
* @returns {Promise}
*/
const register = (url, method = 'get', options = {}) => {
if (url === 'login' && method.toLocaleLowerCase() === 'post') {
return login(options);
}
if (url === 'logo' && method.toLocaleLowerCase() === 'get') {
return logo();
}
if (url === 'sidebar/verdaccio' && method.toLocaleLowerCase() === 'get') {
return new Promise(function (resolve) {
resolve(packageMeta);
});
}
if (url === 'packages' && method.toLocaleLowerCase() === 'get') {
return new Promise(function (resolve) {
resolve(packageInformation);
});
}
throw Error(`URL not found: ${url}`);
};
/**
* Bind API methods
*/
class API {
public request(...rest) {
return register.call(null, ...rest);
}
}
export default new API();

View File

@@ -1,30 +0,0 @@
/**
* Token Utility
*/
import dayjs from 'dayjs';
import { Base64 } from 'js-base64';
export function generateTokenWithTimeRange(amount = 0) {
const payload = {
username: 'verdaccio',
exp: Number.parseInt(String(dayjs(new Date()).add(amount, 'hour').valueOf() / 1000), 10),
};
return `xxxxxx.${Base64.encode(JSON.stringify(payload))}.xxxxxx`;
}
export function generateTokenWithExpirationAsString() {
const payload = { username: 'verdaccio', exp: 'I am not a number' };
return `xxxxxx.${Base64.encode(JSON.stringify(payload))}.xxxxxx`;
}
export function generateInvalidToken() {
const payload = `invalidtoken`;
return `xxxxxx.${Base64.encode(payload)}.xxxxxx`;
}
export function generateTokenWithOutExpiration() {
const payload = {
username: 'verdaccio',
};
return `xxxxxx.${Base64.encode(JSON.stringify(payload))}.xxxxxx`;
}

View File

@@ -1,24 +0,0 @@
import { API_ERROR } from '../../../../lib/constants';
/**
* API mock for login endpoint
* @param {object} config configuration of api call
* @returns {promise}
*/
export default function login(config): Promise<unknown> {
return new Promise(function loginCallbackPromise(resolve, reject): void {
const body = JSON.parse(config.body);
if (body.username === 'sam' && body.password === '1234') {
resolve({
username: 'sam',
token: 'TEST_TOKEN',
});
} else {
// perhaps we should rethink this reject regarding the eslint rule
/* eslint-disable prefer-promise-reject-errors */
reject({
error: API_ERROR.BAD_USERNAME_PASSWORD,
});
}
});
}

View File

@@ -1,7 +0,0 @@
/**
* Mock response for logo api
* @returns {promise}
*/
export default function <T>(): Promise<T> {
return Promise.resolve('http://localhost/-/static/logo.png');
}

View File

@@ -1,174 +0,0 @@
export const packageInformation = [
{
name: 'jquery',
title: 'jQuery',
description: 'JavaScript library for DOM operations',
version: '3.3.2-pre',
main: 'dist/jquery.js',
homepage: 'https://jquery.com',
author: {
name: 'JS Foundation and other contributors',
url: 'https://github.com/jquery/jquery/blob/master/AUTHORS.txt',
avatar: '',
},
repository: {
type: 'git',
url: 'https://github.com/jquery/jquery.git',
},
keywords: ['jquery', 'javascript', 'browser', 'library'],
bugs: {
url: 'https://github.com/jquery/jquery/issues',
},
license: 'MIT',
dependencies: {},
devDependencies: {
'babel-core': '7.0.0-beta.0',
'babel-plugin-transform-es2015-for-of': '7.0.0-beta.0',
commitplease: '3.2.0',
'core-js': '2.5.7',
'eslint-config-jquery': '1.0.1',
grunt: '1.0.3',
'grunt-babel': '7.0.0',
'grunt-cli': '1.2.0',
'grunt-compare-size': '0.4.2',
'grunt-contrib-uglify': '3.3.0',
'grunt-contrib-watch': '1.1.0',
'grunt-eslint': '20.2.0',
'grunt-git-authors': '3.2.0',
'grunt-jsonlint': '1.1.0',
'grunt-karma': '2.0.0',
'grunt-newer': '1.3.0',
'grunt-npmcopy': '0.1.0',
'gzip-js': '0.3.2',
husky: '0.14.3',
insight: '0.10.1',
jsdom: '5.6.1',
karma: '2.0.3',
'karma-browserstack-launcher': '1.3.0',
'karma-chrome-launcher': '2.2.0',
'karma-firefox-launcher': '1.1.0',
'karma-qunit': '1.2.1',
'load-grunt-tasks': '4.0.0',
'native-promise-only': '0.8.1',
'promises-aplus-tests': '2.1.2',
q: '1.5.1',
'qunit-assert-step': '1.1.1',
qunitjs: '1.23.1',
'raw-body': '2.3.3',
requirejs: '2.3.5',
sinon: '2.3.7',
sizzle: '2.3.3',
'strip-json-comments': '2.0.1',
testswarm: '1.1.0',
'uglify-js': '3.4.0',
},
scripts: {
build: 'npm install && grunt',
start: 'grunt watch',
'test:browserless': 'grunt && grunt test:slow',
'test:browser': 'grunt && grunt karma:main',
test: 'grunt && grunt test:slow && grunt karma:main',
jenkins: 'npm run test:browserless',
precommit: 'grunt lint:newer qunit_fixture',
commitmsg: 'node node_modules/commitplease',
},
commitplease: {
nohook: true,
components: [
'Docs',
'Tests',
'Build',
'Support',
'Release',
'Core',
'Ajax',
'Attributes',
'Callbacks',
'CSS',
'Data',
'Deferred',
'Deprecated',
'Dimensions',
'Effects',
'Event',
'Manipulation',
'Offset',
'Queue',
'Selector',
'Serialize',
'Traversing',
'Wrap',
],
markerPattern: '^((clos|fix|resolv)(e[sd]|ing))|^(refs?)',
ticketPattern: '^((Closes|Fixes) ([a-zA-Z]{2,}-)[0-9]+)|^(Refs? [^#])',
},
},
{
name: 'lodash',
version: '4.17.4',
license: 'MIT',
private: true,
main: 'lodash.js',
author: {
name: 'John david dalton',
url: 'test url',
avatar: 'test avatar',
},
engines: {
node: '>=4.0.0',
},
sideEffects: false,
scripts: {
build: 'npm run build:main && npm run build:fp',
'build:fp': 'node lib/fp/build-dist.js',
'build:fp-modules': 'node lib/fp/build-modules.js',
'build:main': 'node lib/main/build-dist.js',
'build:main-modules': 'node lib/main/build-modules.js',
doc: 'node lib/main/build-doc github && npm run test:doc',
'doc:fp': 'node lib/fp/build-doc',
'doc:site': 'node lib/main/build-doc site',
'doc:sitehtml':
'optional-dev-dependency marky-markdown@^9.0.1 && npm run doc:site && node lib/main/build-site',
pretest: 'npm run build',
style: 'eslint *.js .internal/**/*.js',
test: 'npm run test:main && npm run test:fp',
'test:doc': 'markdown-doctest doc/*.md',
'test:fp': 'node test/test-fp',
'test:main': 'node test/test',
validate: 'npm run style && npm run test',
},
devDependencies: {
async: '^2.1.4',
benchmark: '^2.1.3',
chalk: '^1.1.3',
cheerio: '^0.22.0',
'codecov.io': '~0.1.6',
coveralls: '^2.11.15',
'curl-amd': '~0.8.12',
docdown: '~0.7.2',
dojo: '^1.12.1',
ecstatic: '^2.1.0',
eslint: '^3.15.0',
'eslint-plugin-import': '^2.2.0',
'fs-extra': '~1.0.0',
glob: '^7.1.1',
istanbul: '0.4.5',
jquery: '^3.1.1',
lodash: '4.17.3',
'lodash-doc-globals': '^0.1.1',
'markdown-doctest': '^0.9.1',
'optional-dev-dependency': '^2.0.0',
platform: '^1.3.3',
'qunit-extras': '^3.0.0',
qunitjs: '^2.1.0',
request: '^2.79.0',
requirejs: '^2.3.2',
'sauce-tunnel': '^2.5.0',
'uglify-js': '2.7.5',
webpack: '^1.14.0',
},
greenkeeper: {
ignore: ['lodash'],
},
},
];

View File

@@ -1,591 +0,0 @@
export const packageMeta = {
name: 'verdaccio',
'dist-tags': { latest: '2.7.1', beta: '2.4.1-beta' },
time: {
modified: '2017-12-14T15:43:27.317Z',
created: '2016-07-28T12:48:43.536Z',
'1.4.0': '2016-07-28T12:48:43.536Z',
'2.0.0': '2016-08-26T22:36:41.762Z',
'2.0.1': '2016-08-29T13:26:21.754Z',
'2.1.0': '2016-10-12T00:48:03.025Z',
'2.1.1': '2017-02-07T06:43:22.801Z',
'2.2.0-v20170212': '2017-02-12T14:48:27.322Z',
'2.1.2': '2017-03-09T06:25:28.107Z',
'2.1.3': '2017-03-29T20:03:36.850Z',
'2.1.4': '2017-04-13T20:08:41.131Z',
'2.1.5': '2017-04-22T09:07:39.821Z',
'2.1.6': '2017-05-12T07:43:36.616Z',
'2.1.7': '2017-05-14T13:50:14.016Z',
'2.1.10': '2017-06-03T09:53:52.449Z',
'2.2.0': '2017-06-08T19:02:53.618Z',
'2.2.1': '2017-06-17T16:23:14.158Z',
'2.2.2': '2017-07-02T13:13:13.304Z',
'2.2.3': '2017-07-04T20:43:59.442Z',
'2.2.4': '2017-07-05T17:28:07.187Z',
'2.2.5': '2017-07-05T17:34:11.089Z',
'2.2.6': '2017-07-13T05:04:54.418Z',
'2.2.7': '2017-07-15T23:27:24.523Z',
'2.3.0-beta': '2017-07-15T23:31:31.664Z',
'2.2.7-r': '2017-07-18T19:44:48.946Z',
'2.3.0-beta-1': '2017-07-22T16:27:45.025Z',
'2.3.0-beta-2': '2017-07-22T17:12:09.905Z',
'2.3.0-beta-3': '2017-07-22T17:35:05.771Z',
'2.3.0-beta-4': '2017-07-22T18:22:42.563Z',
'2.3.0': '2017-07-22T23:08:37.513Z',
'2.3.1-pre': '2017-07-24T05:50:40.852Z',
'2.3.1': '2017-07-25T05:24:27.651Z',
'2.3.2': '2017-07-28T23:05:36.431Z',
'2.3.3': '2017-07-29T10:05:30.120Z',
'2.3.4': '2017-07-29T10:18:44.061Z',
'2.3.5': '2017-08-14T06:22:57.686Z',
'2.3.6': '2017-08-17T04:30:44.872Z',
'2.4.0': '2017-09-23T08:01:22.780Z',
'2.4.1-beta': '2017-10-01T08:57:14.509Z',
'2.5.0': '2017-10-01T12:31:06.333Z',
'2.5.1': '2017-10-01T13:32:06.584Z',
'2.6.0': '2017-10-18T20:22:32.836Z',
'2.6.1': '2017-10-19T17:26:24.083Z',
'2.6.2': '2017-10-21T08:37:16.527Z',
'2.6.3': '2017-10-21T16:04:05.556Z',
'2.6.4': '2017-10-31T17:47:03.647Z',
'2.6.5': '2017-11-05T09:09:31.332Z',
'2.6.6': '2017-11-08T22:47:16.504Z',
'2.7.0': '2017-12-05T23:25:06.372Z',
'2.7.1': '2017-12-14T15:43:27.317Z',
},
_uplinks: {
abc: { etag: 'ddfdxjn8m8n6gn70-8m', fetched: 1532297472000 },
npmjs: { etag: '"5a272ad2-4f6b1"', fetched: 1513266232741 },
xyz: { etag: '564748hydydygs-s7ehj', fetched: 1532124672000 },
},
_rev: '16-ba1b806df0298246',
_attachments: {},
latest: {
name: 'verdaccio',
version: '2.7.1',
description: 'Private npm repository server',
author: {
name: 'User NPM',
email: 'test@author.local',
avatar: 'https://www.gravatar.com/avatar/a5a236ba477ee98908600c40cda74f4a',
},
repository: {
type: 'git',
url: 'git://github.com/verdaccio/verdaccio.git',
},
main: 'index.js',
bin: { verdaccio: './bin/verdaccio' },
dependencies: {
'@verdaccio/file-locking': '0.0.3',
JSONStream: '^1.1.1',
'apache-md5': '^1.1.2',
async: '^2.0.1',
'body-parser': '^1.15.0',
bunyan: '^1.8.0',
chalk: '^2.0.1',
commander: '^2.11.0',
compression: '1.6.2',
cookies: '^0.7.0',
cors: '^2.8.3',
express: '4.15.3',
global: '^4.3.2',
handlebars: '4.0.5',
'http-errors': '^1.4.0',
'js-string-escape': '1.0.1',
'js-yaml': '^3.6.0',
jsonwebtoken: '^7.4.1',
lockfile: '^1.0.1',
lodash: '4.17.4',
lunr: '^0.7.0',
marked: '0.3.6',
mime: '^1.3.6',
minimatch: '^3.0.2',
mkdirp: '^0.5.1',
pkginfo: '^0.4.0',
request: '^2.72.0',
semver: '^5.1.0',
'unix-crypt-td-js': '^1.0.0',
},
devDependencies: {
axios: '0.16.2',
'babel-cli': '6.24.1',
'babel-core': '6.25.0',
'babel-eslint': '7.2.3',
'babel-loader': '7.1.1',
'babel-plugin-flow-runtime': '0.11.1',
'babel-plugin-transform-decorators-legacy': '1.3.4',
'babel-plugin-transform-runtime': '6.23.0',
'babel-polyfill': '^6.26.0',
'babel-preset-env': '1.5.2',
'babel-preset-flow': '6.23.0',
'babel-preset-react': '6.24.1',
'babel-preset-stage-2': '6.24.1',
'babel-preset-stage-3': '6.24.1',
'babel-runtime': '6.23.0',
'codacy-coverage': '2.0.2',
codecov: '2.2.0',
coveralls: '2.13.1',
'css-loader': '0.28.4',
'element-react': '1.0.16',
'element-theme-default': '1.3.7',
eslint: '4.2.0',
'eslint-config-google': '0.8.0',
'eslint-loader': '1.8.0',
'eslint-plugin-babel': '4.1.1',
'eslint-plugin-flowtype': '2.35.0',
'eslint-plugin-import': '2.6.1',
'eslint-plugin-react': '7.1.0',
'extract-text-webpack-plugin': '3.0.0',
'file-loader': '0.11.2',
'flow-runtime': '0.13.0',
'friendly-errors-webpack-plugin': '1.6.1',
'fs-extra': '4.0.1',
'github-markdown-css': '2.8.0',
'html-webpack-plugin': '2.29.0',
'in-publish': '2.0.0',
'localstorage-memory': '1.0.2',
mocha: '3.4.2',
'mocha-lcov-reporter': '1.3.0',
'node-sass': '4.5.3',
'normalize.css': '7.0.0',
nyc: '11.0.3',
ora: '1.3.0',
'prop-types': '15.5.10',
react: '15.6.1',
'react-dom': '15.6.1',
'react-hot-loader': '3.0.0-beta.7',
'react-router-dom': '4.1.1',
'react-syntax-highlighter': '5.6.2',
rimraf: '2.6.1',
'sass-loader': '6.0.6',
'source-map-loader': '0.2.1',
'standard-version': '4.2.0',
'style-loader': '0.18.2',
stylelint: '7.13.0',
'stylelint-config-standard': '16.0.0',
'stylelint-webpack-plugin': '0.8.0',
'url-loader': '0.5.8',
webpack: '3.2.0',
'webpack-dev-server': '2.5.0',
'webpack-merge': '4.1.0',
},
keywords: [
'private',
'package',
'repository',
'registry',
'enterprise',
'modules',
'proxy',
'server',
],
scripts: {
release: 'standard-version -a -s',
prepublish: 'in-publish && npm run build:webui || not-in-publish',
test: 'mocha ./test/functional ./test/unit --reporter=spec --full-trace',
'pre:ci': 'npm run build:webui',
'test:ci': 'npm run test:coverage',
'test:only': 'mocha ./test/functional ./test/unit',
'test:coverage': 'nyc npm t',
'coverage:html': 'nyc report --reporter=html',
'coverage:publish': 'nyc report --reporter=lcov | codecov',
lint: 'eslint .',
'lint:css': "stylelint 'src/**/*.scss' --syntax scss",
'pre:webpack': 'npm run lint && rimraf static/*',
'dev:webui': 'babel-node tools/dev.server.js',
'build:webui': 'npm run pre:webpack && webpack --config tools/webpack.prod.config.babel.js',
'build:docker': 'docker build -t verdaccio . --no-cache',
'build:docker:rpi': 'docker build -f Dockerfile.rpi -t verdaccio:rpi .',
},
engines: { node: '>=4.6.1', npm: '>=2.15.9' },
preferGlobal: true,
publishConfig: { registry: 'https://registry.verdaccio.org' },
license: 'WTFPL',
contributors: [
{
name: '030',
email: 'test1@test.local',
avatar: 'https://www.gravatar.com/avatar/4ef03c2bf8d8689527903212d96fb45b',
},
{
name: 'User NPM',
email: 'test2@test.local',
avatar: 'https://www.gravatar.com/avatar/a5a236ba477ee98908600c40cda74f4a',
},
{
name: 'User NPM',
email: 'test3@test.comu',
avatar: 'https://www.gravatar.com/avatar/41a61049006855759bd6ec82ef0543a0',
},
{
name: 'Alex Vernacchia',
email: 'tes4@test.local',
avatar: 'https://www.gravatar.com/avatar/06975001f7f2be7052bcf978700c6112',
},
{
name: 'Alexander Makarenko',
email: 'test5@test.local',
avatar: 'https://www.gravatar.com/avatar/d9acfc4ed4e49a436738ff26a722dce4',
},
{
name: 'Alexandre-io',
email: 'test6@test.local',
avatar: 'https://www.gravatar.com/avatar/2e095c7cfd278f72825d0fed6e12e3b1',
},
{
name: 'Aram Drevekenin',
email: 'test7@test.local',
avatar: 'https://www.gravatar.com/avatar/371edff6d79c39bb9e36bde39d41a4b0',
},
{
name: 'Bart Dubois',
email: 'test8@test.local',
avatar: 'https://www.gravatar.com/avatar/4acf72b14fcb459286c988c4523bafc8',
},
{
name: 'Barthélemy Vessemont',
email: 'test9@test.local',
avatar: 'https://www.gravatar.com/avatar/322cd2fad528a55c4351ec76d85ef525',
},
{
name: 'Brandon Nicholls',
email: 'test10@test.local',
avatar: 'https://www.gravatar.com/avatar/2d3b462f08f214ed459967aa7ef206f7',
},
{
name: 'Bren Norris',
email: 'test11@test.local',
avatar: 'https://www.gravatar.com/avatar/465a42204a22efada0f15b46a7cdad3a',
},
{
name: 'Brett Trotter',
email: 'test12@test.local',
avatar: 'https://www.gravatar.com/avatar/27a54519dcbe64c6d705f3cc4854595a',
},
{
name: 'Brian Peacock',
email: 'test13@test.local',
avatar: 'https://www.gravatar.com/avatar/3dd3d627330e7e048c13a7480f19842e',
},
{
name: 'Cedric Darne',
email: 'test14@test.local',
avatar: 'https://www.gravatar.com/avatar/0a617cebc6539940d7956c86e86c72a6',
},
{
name: 'Chad Killingsworth',
email: 'test15@test.local',
avatar: 'https://www.gravatar.com/avatar/a5825b2d69311e559e28a535e5f0d483',
},
{
name: 'Chris Breneman',
email: 'test16@test.local',
avatar: 'https://www.gravatar.com/avatar/3c5c3edef955c93edac672cbad04d7cd',
},
{
name: 'Cody Droz',
email: 'test17@test.local',
avatar: 'https://www.gravatar.com/avatar/b762ce4d14acfece36e783b1592d882b',
},
{
name: 'Daniel Rodríguez Rivero',
email: 'test18@test.local',
avatar: 'https://www.gravatar.com/avatar/ac7f548c31e8a002cfa41bd4c71e222d',
},
{
name: 'Denis Babineau',
email: 'test19@test.local',
avatar: 'https://www.gravatar.com/avatar/ee5a522e067759ba0403824ecebeab4d',
},
{
name: 'Emmanuel Narh',
email: 'test20@test.local',
avatar: 'https://www.gravatar.com/avatar/93a84a6120969fd181785ff9de834f0a',
},
{
name: 'Fabio Poloni',
email: 'test21@test.local',
avatar: 'https://www.gravatar.com/avatar/f9a05677360e5f52fcca6e1af9b0f2ee',
},
{
name: 'Facundo Chambó',
email: 'test22@test.local',
avatar: 'https://www.gravatar.com/avatar/ec9e7c590ba4081c25fcf197f90a4ea0',
},
{
name: 'Guilherme Bernal',
email: 'test23@test.local',
avatar: 'https://www.gravatar.com/avatar/e5d55dcf2495618e8b9f8778f8353ee0',
},
{
name: 'Jakub Jirutka',
email: 'test24@test.local',
avatar: 'https://www.gravatar.com/avatar/061bdb74aa4a543108658b277a257b4b',
},
{
name: 'James Newell',
email: 'test25@test.local',
avatar: 'https://www.gravatar.com/avatar/825190aaae6ec7fd95085e1fb6f261d2',
},
{
name: 'Jan Vansteenkiste',
email: 'test26@test.local',
avatar: 'https://www.gravatar.com/avatar/41835625a324201c796a0a0cffe4796b',
},
{
name: 'Jannis Achstetter',
email: 'test27@test.local',
avatar: 'https://www.gravatar.com/avatar/92d1cce007b032f4a63c6df764f18030',
},
{
name: 'Jeremy Moritz',
email: 'test28@test.local',
avatar: 'https://www.gravatar.com/avatar/008127e8f10293f43e62de3b7b3520e1',
},
{
name: 'John Gozde',
email: 'test29@test.local',
avatar: 'https://www.gravatar.com/avatar/3e8927c60cb043a56fdd6531cfcaddbc',
},
{
name: 'Jon de la Motte',
email: 'test30@test.local',
avatar: 'https://www.gravatar.com/avatar/126c1ea4fdb20bbb85c3ff735b7b0964',
},
{
name: 'Joseph Gentle',
email: 'test31@test.local',
avatar: 'https://www.gravatar.com/avatar/484f0b8ba8b7cc43db0be8f910a91254',
},
{
name: 'José De Paz',
email: 'test32@test.local',
avatar: 'https://www.gravatar.com/avatar/2532122835f5ebf1642b707ae088c895',
},
{
name: 'Juan Carlos Picado',
email: 'test33@test.local',
avatar: 'https://www.gravatar.com/avatar/c676605ff39f9c7a43f5518a8ce54e12',
},
{
name: 'Juan Carlos Picado',
email: 'test34@test.local',
avatar: 'https://www.gravatar.com/avatar/fba48015a688c38cc84e5b55b07858c0',
},
{
name: 'User NPM',
email: 'test35@test.local',
avatar: 'https://www.gravatar.com/avatar/fba48015a688c38cc84e5b55b07858c0',
},
{
name: 'User NPM @nickname',
email: 'test36@test.local',
avatar: 'https://www.gravatar.com/avatar/fba48015a688c38cc84e5b55b07858c0',
},
{
name: 'Kalman Speier',
email: 'test37@test.local',
avatar: 'https://www.gravatar.com/avatar/272806ba17639e2fbf811e51eb8bfb99',
},
{
name: 'Keyvan Fatehi',
email: 'test38@test.local',
avatar: 'https://www.gravatar.com/avatar/22735d1ba5765955914eb2d597dfaab5',
},
{
name: 'Kody J. Peterson',
email: 'test39@test.local',
avatar: 'https://www.gravatar.com/avatar/918a15afc52e9b0a67b2651191b23d04',
},
{
name: 'Madison Grubb',
email: 'test40@test.local',
avatar: 'https://www.gravatar.com/avatar/73b84fdf661c11d48d3370bfa197162b',
},
{
name: 'Manuel de Brito Fontes',
email: 'test41@test.local',
avatar: 'https://www.gravatar.com/avatar/8798ca0a499428e5e8f25d3614ac8b6e',
},
{
name: 'Mark Doeswijk',
email: 'test42@test.local',
avatar: 'https://www.gravatar.com/avatar/0d70ebd6c46dc01502bfab5f8c2d2bc5',
},
{
name: 'Meeeeow',
email: 'test43@test.local',
avatar: 'https://www.gravatar.com/avatar/baa061890d7b352ba121082272419a8a',
},
{
name: 'Meeeeow',
email: 'test44@test.local',
avatar: 'https://www.gravatar.com/avatar/12a36e093451d4c0f75d4240960ce29b',
},
{
name: 'Michael Arnel',
email: 'test45@test.local',
avatar: 'https://www.gravatar.com/avatar/5f9a5ed24c63609d52651258f6dd8c12',
},
{
name: 'Michael Crowe',
email: 'test46@test.local',
avatar: 'https://www.gravatar.com/avatar/eec9ee62019852da28a3bc91c57907f9',
},
{
name: 'Miguel Mejias',
email: 'test47@test.local',
avatar: 'https://www.gravatar.com/avatar/7289a01fedfdb9ddf855ee4dd4d41ae2',
},
{
name: 'Miroslav Bajtoš',
email: 'test48@test.local',
avatar: 'https://www.gravatar.com/avatar/b4d8831300713259f74aea79f842ca57',
},
{
name: 'Nate Ziarek',
email: 'test49@test.local',
avatar: 'https://www.gravatar.com/avatar/6442023756294fd43aa518bbe5cc6dcc',
},
{
name: 'Nick',
email: 'test50@test.local',
avatar: 'https://www.gravatar.com/avatar/8a810f12c9624ea2092852fe7c19f1ee',
},
{
name: 'Piotr Synowiec',
email: 'test51@test.local',
avatar: 'https://www.gravatar.com/avatar/87028f33a3e1e5b4201c371abddf93e2',
},
{
name: 'Rafael Cesar',
email: 'test52@test.local',
avatar: 'https://www.gravatar.com/avatar/204ed93fa5be7e2f9f299ad8bca6431f',
},
{
name: 'Robert Ewald',
email: 'test53@test.local',
avatar: 'https://www.gravatar.com/avatar/ec2166ce419f78fb354f128b01a4a44d',
},
{
name: 'Robert Groh',
email: 'test54@test.local',
avatar: 'https://www.gravatar.com/avatar/565ccb5374a3e0e31a75f11da2eb57aa',
},
{
name: 'Robin Persson',
email: 'test55@test.local',
avatar: 'https://www.gravatar.com/avatar/99da46e4d59664134b176869340f464b',
},
{
name: 'Romain Lai-King',
email: 'test56@test.local',
avatar: 'https://www.gravatar.com/avatar/69d0370c58399d0e0bbd15ccabfe1ec5',
},
{
name: 'Ryan Graham',
email: 'test57@test.local',
avatar: 'https://www.gravatar.com/avatar/8bd1dd86bbf8705a5a702b86a2f3a390',
},
{
name: 'Ryan Graham',
email: 'test58@test.local',
avatar: 'https://www.gravatar.com/avatar/e272ab422c1c629e9be26cba8b6c0166',
},
{
name: 'Sam Day',
email: 'test59@test.local',
avatar: 'https://www.gravatar.com/avatar/1886554b0562a0eeeb78a4d1f27917ea',
},
{
name: 'Tarun Garg',
email: 'test60@test.local',
avatar: 'https://www.gravatar.com/avatar/185e200c3451cfbe341f0e758626303a',
},
{
name: 'Thomas Cort',
email: 'test61@test.local',
avatar: 'https://www.gravatar.com/avatar/120d2921c33c1bd8dedfce67a28dcc63',
},
{
name: 'Tom Vincent',
email: 'test62@test.local',
avatar: 'https://www.gravatar.com/avatar/fb0c7faeda7f5d5632182a3d80381bfa',
},
{
name: 'Trent Earl',
email: 'test63@test.local',
avatar: 'https://www.gravatar.com/avatar/1e30abe66d21824b89c28d05e5b57d84',
},
{
name: 'Yannick Croissant',
email: 'test64@test.local',
avatar: 'https://www.gravatar.com/avatar/1e619ddb2a180222dd3d9f0348e65b9b',
},
{
name: 'Yannick Galatol',
email: 'test65@test.local',
avatar: 'https://www.gravatar.com/avatar/2f624f92326fef845bb2c07b392b7e48',
},
{
name: 'cklein',
email: 'test66@test.local',
avatar: 'https://www.gravatar.com/avatar/f8288370380881cf3afc5a92a63d652d',
},
{
name: 'danielo515',
email: 'test67@test.local',
avatar: 'https://www.gravatar.com/avatar/ac7f548c31e8a002cfa41bd4c71e222d',
},
{
name: 'jmwilkinson',
email: 'test68@test.local',
avatar: 'https://www.gravatar.com/avatar/3b99683f0a4c26a8906ecbe7968a4ade',
},
{
name: 'nickname',
email: 'test69@test.local',
avatar: 'https://www.gravatar.com/avatar/fba48015a688c38cc84e5b55b07858c0',
},
{
name: 'nickname',
email: 'test70@test.local',
avatar: 'https://www.gravatar.com/avatar/047ba1e853d20459e531619af5493c56',
},
{
name: 'maxlaverse',
email: 'test71@test.local',
avatar: 'https://www.gravatar.com/avatar/74324a2900906c45949a8c5cee6d0730',
},
{
name: 'saheba',
email: 'test72@test.local',
avatar: 'https://www.gravatar.com/avatar/77644c51856cab149e0f550c5f0c6ed8',
},
{
name: 'steve-p-com',
email: 'test73@test.local',
avatar: 'https://www.gravatar.com/avatar/bef1821d3036b8b9242c4999826c1c3c',
},
{
name: 'trent.earl',
email: 'test74@test.local',
avatar: 'https://www.gravatar.com/avatar/f84b8ae496f7c988dce5a71d773e75bb',
},
],
readmeFilename: 'README.md',
gitHead: '567dbe327819ed30afb96906f8d43f19740e2e3d',
bugs: { url: 'https://github.com/verdaccio/verdaccio/issues' },
homepage: 'https://github.com/verdaccio/verdaccio#readme',
_id: 'verdaccio@2.7.1',
_shasum: '958c919180e7f2ed6775f48d4ec64bd8de2a14df',
_from: '.',
_npmVersion: '3.10.10',
_nodeVersion: '6.9.5',
_npmUser: {},
dist: {
shasum: '958c919180e7f2ed6775f48d4ec64bd8de2a14df',
tarball: 'https://registry.verdaccio.org/verdaccio/-/verdaccio-2.7.1.tgz',
},
},
};

View File

@@ -1,6 +1,6 @@
{
"name": "@verdaccio/ui-components",
"version": "2.0.0-6-next.1",
"version": "2.0.0-6-next.2",
"description": "theme ui component",
"author": "Juan Picado <juanpicado19@gmail.com>",
"license": "MIT",
@@ -12,6 +12,7 @@
],
"scripts": {
"test": "cross-env TZ=UTC jest --config jest/jest.config.js",
"test:html": "cross-env TZ=UTC jest --config jest/jest.config.js --coverage-reporters=html",
"clean": "rimraf ./build",
"type-check": "tsc --noEmit -p tsconfig.build.json",
"build:types": "tsc --emitDeclarationOnly -p tsconfig.build.json",
@@ -29,7 +30,7 @@
"@rematch/core": "2.2.0",
"@rematch/loading": "2.1.2",
"@rematch/persist": "2.1.2",
"@verdaccio/types": "workspace:11.0.0-6-next.18",
"@verdaccio/types": "workspace:11.0.0-6-next.19",
"dayjs": "1.11.7",
"dompurify": "2.4.1",
"github-markdown-css": "5.1.0",

View File

@@ -1,4 +0,0 @@
import { default as MaterialUITypography } from '@mui/material/Typography';
export default MaterialUITypography;
export { TypographyProps } from '@mui/material/Typography';

View File

@@ -1 +0,0 @@
export { default, TypographyProps } from './Text';

View File

@@ -11,7 +11,6 @@ export type Props = {
packageMeta: any;
};
/* eslint-disable verdaccio/jsx-spread */
const ActionBar: React.FC<Props> = ({ showRaw, showDownloadTarball = true, packageMeta }) => {
const [isRawViewerOpen, setIsRawViewerOpen] = useState(false);

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