Compare commits
32 Commits
@verdaccio
...
@verdaccio
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
113e541bbf | ||
|
|
7344a7fcf6 | ||
|
|
679c19c1b6 | ||
|
|
a13f1b3626 | ||
|
|
cf1ebfe428 | ||
|
|
c3b0247019 | ||
|
|
59a6c01124 | ||
|
|
3f237d0cec | ||
|
|
5afdbbc695 | ||
|
|
d0070634b3 | ||
|
|
e4b05511d5 | ||
|
|
6745e2b7cf | ||
|
|
825481ad36 | ||
|
|
e96b4dd428 | ||
|
|
5a25630b7a | ||
|
|
fe766a10b2 | ||
|
|
3ba0d5a09a | ||
|
|
fc2a47d3c4 | ||
|
|
04206144a5 | ||
|
|
0cc931417c | ||
|
|
b797715c9a | ||
|
|
84b2dffdbe | ||
|
|
23e6967a69 | ||
|
|
4a33e269b2 | ||
|
|
74a9a9d18c | ||
|
|
c91f94faa5 | ||
|
|
109a836a3c | ||
|
|
ff99597e73 | ||
|
|
4371899b92 | ||
|
|
763f149c46 | ||
|
|
3f0c89b562 | ||
|
|
658ff3a3c3 |
8
.changeset/chilly-trains-juggle.md
Normal file
8
.changeset/chilly-trains-juggle.md
Normal file
@@ -0,0 +1,8 @@
|
||||
---
|
||||
'@verdaccio/config': patch
|
||||
---
|
||||
|
||||
Respect the `changePassword` configuration flag to enable changing the password through the web API.
|
||||
|
||||
> **Note**
|
||||
> This feature is still experimental and not fully supported in the default web application.
|
||||
6
.changeset/khaki-carrots-crash.md
Normal file
6
.changeset/khaki-carrots-crash.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
'@verdaccio/ui-theme': minor
|
||||
'@verdaccio/ui-components': minor
|
||||
---
|
||||
|
||||
feat: ui bugfixes and improvements
|
||||
@@ -75,6 +75,7 @@
|
||||
"chatty-pillows-perform",
|
||||
"chilled-ways-fetch",
|
||||
"chilly-glasses-occur",
|
||||
"chilly-trains-juggle",
|
||||
"clever-pugs-warn",
|
||||
"dry-planes-tap",
|
||||
"dull-monkeys-search",
|
||||
@@ -107,6 +108,7 @@
|
||||
"heavy-ravens-lay",
|
||||
"hip-hounds-destroy",
|
||||
"honest-maps-hear",
|
||||
"khaki-carrots-crash",
|
||||
"kind-bears-nail",
|
||||
"kind-ladybugs-admire",
|
||||
"late-adults-love",
|
||||
@@ -148,6 +150,7 @@
|
||||
"shy-ducks-cover",
|
||||
"silly-moose-watch",
|
||||
"six-boats-sparkle",
|
||||
"slimy-eggs-explain",
|
||||
"slow-carrots-relate",
|
||||
"slow-snails-sniff",
|
||||
"smart-apricots-kneel",
|
||||
@@ -160,6 +163,7 @@
|
||||
"spicy-snakes-sip",
|
||||
"strange-ladybugs-nail",
|
||||
"strong-socks-type",
|
||||
"stupid-sloths-leave",
|
||||
"swift-pumpkins-knock",
|
||||
"ten-parents-breathe",
|
||||
"tender-bags-call",
|
||||
|
||||
5
.changeset/slimy-eggs-explain.md
Normal file
5
.changeset/slimy-eggs-explain.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@verdaccio/logger-commons': patch
|
||||
---
|
||||
|
||||
fix: restore wrong dependency version
|
||||
7
.changeset/stupid-sloths-leave.md
Normal file
7
.changeset/stupid-sloths-leave.md
Normal file
@@ -0,0 +1,7 @@
|
||||
---
|
||||
'@verdaccio/logger-7': patch
|
||||
'@verdaccio/logger-commons': patch
|
||||
'@verdaccio/logger-prettify': patch
|
||||
---
|
||||
|
||||
fix: restore pino legacy version
|
||||
6
.github/workflows/codeql-analysis.yml
vendored
6
.github/workflows/codeql-analysis.yml
vendored
@@ -34,7 +34,7 @@ jobs:
|
||||
|
||||
# Initializes the CodeQL tools for scanning.
|
||||
- name: Initialize CodeQL
|
||||
uses: github/codeql-action/init@29b1f65c5e92e24fe6b6647da1eaabe529cec70f # v2
|
||||
uses: github/codeql-action/init@0225834cc549ee0ca93cb085b92954821a145866 # 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@29b1f65c5e92e24fe6b6647da1eaabe529cec70f # v2
|
||||
uses: github/codeql-action/autobuild@0225834cc549ee0ca93cb085b92954821a145866 # 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@29b1f65c5e92e24fe6b6647da1eaabe529cec70f # v2
|
||||
uses: github/codeql-action/analyze@0225834cc549ee0ca93cb085b92954821a145866 # v2
|
||||
|
||||
@@ -286,8 +286,8 @@ You can find and chat with then over Discord, click [here](http://chat.verdaccio
|
||||
- [Aurelia Framework](https://github.com/aurelia/framework) _(+11.6k ⭐️)_
|
||||
- [pnpm](https://github.com/pnpm/pnpm) _(+10.1k ⭐️)_
|
||||
- [ethereum/web3.js](https://github.com/ethereum/web3.js) _(+9.8k ⭐️)_
|
||||
- [Webiny CMS](https://github.com/webiny/webiny-js) _(+6.6k ⭐️)_
|
||||
- [NX](https://github.com/nrwl/nx) _(+6.1k ⭐️)_
|
||||
- [webiny-js](https://github.com/webiny/webiny-js) _(+4.3k ⭐️)_
|
||||
- [Mozilla Neutrino](https://github.com/neutrinojs/neutrino) _(+3.7k ⭐️)_
|
||||
- [workshopper how to npm](https://github.com/workshopper/how-to-npm) _(+1k ⭐️)_
|
||||
- [Amazon SDK v3](https://github.com/aws/aws-sdk-js-v3)
|
||||
|
||||
@@ -10,7 +10,7 @@ The following examples aim to be demonstrative and can be either improved or upd
|
||||
- [v5 examples](v5/README.md)
|
||||
- [v6 examples](v6/README.md)
|
||||
|
||||
## Aditional data
|
||||
## Additional data
|
||||
|
||||
This folder aims to create a collection of Docker and Kubernetes examples.
|
||||
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
"main": "./build/index.js",
|
||||
"types": "./build/index.d.ts",
|
||||
"devDependencies": {
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.69",
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.69",
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.71",
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.71",
|
||||
"@verdaccio/types": "workspace:11.0.0-6-next.25",
|
||||
"debug": "4.3.4",
|
||||
"fs-extra": "10.1.0",
|
||||
@@ -14,7 +14,7 @@
|
||||
"js-yaml": "4.1.0",
|
||||
"get-port": "5.1.1",
|
||||
"lodash": "4.17.21",
|
||||
"verdaccio": "workspace:6.0.0-6-next.69"
|
||||
"verdaccio": "workspace:6.0.0-6-next.71"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "jest",
|
||||
|
||||
@@ -3,12 +3,12 @@
|
||||
"name": "@verdaccio/e2e-ui",
|
||||
"version": "2.0.0-6-next.4",
|
||||
"devDependencies": {
|
||||
"verdaccio": "workspace:6.0.0-6-next.69",
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.69",
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.69",
|
||||
"verdaccio": "workspace:6.0.0-6-next.71",
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.71",
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.71",
|
||||
"@verdaccio/test-helper": "workspace:2.0.0-6-next.8",
|
||||
"debug": "4.3.4",
|
||||
"cypress": "11.2.0",
|
||||
"cypress": "^11.2.0",
|
||||
"get-port": "5.1.1"
|
||||
},
|
||||
"scripts": {
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
require('@babel/register')({
|
||||
extensions: ['.ts', '.js'],
|
||||
});
|
||||
module.exports = require('./setup');
|
||||
@@ -1,26 +0,0 @@
|
||||
const fs = require('fs');
|
||||
const os = require('os');
|
||||
const path = require('path');
|
||||
|
||||
const { green } = require('colorette');
|
||||
const puppeteer = require('puppeteer');
|
||||
|
||||
const DIR = path.join(os.tmpdir(), 'jest_puppeteer_global_setup');
|
||||
|
||||
module.exports = async function () {
|
||||
// eslint-disable-next-line no-console
|
||||
console.log(green('Setup Puppeteer'));
|
||||
const browser = await puppeteer.launch({
|
||||
isMobile: false,
|
||||
ignoreHTTPSErrors: true,
|
||||
// invert values for local testing
|
||||
devtools: false,
|
||||
headless: true,
|
||||
// slowMo: 6000,
|
||||
// invert values for local testing
|
||||
args: ['--no-sandbox'],
|
||||
});
|
||||
global.__BROWSER__ = browser;
|
||||
fs.mkdirSync(DIR, { recursive: true, force: true });
|
||||
fs.writeFileSync(path.join(DIR, 'wsEndpoint'), browser.wsEndpoint());
|
||||
};
|
||||
@@ -1,14 +0,0 @@
|
||||
const os = require('os');
|
||||
const path = require('path');
|
||||
|
||||
const { green } = require('kleur');
|
||||
const rimraf = require('rimraf');
|
||||
|
||||
const DIR = path.join(os.tmpdir(), 'jest_puppeteer_global_setup');
|
||||
|
||||
module.exports = async function () {
|
||||
// eslint-disable-next-line no-console
|
||||
console.log(green('Teardown Puppeteer'));
|
||||
await global.__BROWSER__.close();
|
||||
rimraf.sync(DIR);
|
||||
};
|
||||
32
package.json
32
package.json
@@ -15,30 +15,30 @@
|
||||
"url": "https://opencollective.com/verdaccio"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/cli": "7.20.7",
|
||||
"@babel/core": "7.20.7",
|
||||
"@babel/eslint-parser": "7.11.0",
|
||||
"@babel/cli": "7.21.5",
|
||||
"@babel/core": "7.21.8",
|
||||
"@babel/eslint-parser": "7.21.8",
|
||||
"@babel/node": "7.20.7",
|
||||
"@babel/plugin-proposal-class-properties": "7.18.6",
|
||||
"@babel/plugin-proposal-decorators": "7.20.7",
|
||||
"@babel/plugin-proposal-decorators": "7.21.0",
|
||||
"@babel/plugin-proposal-export-namespace-from": "7.18.9",
|
||||
"@babel/plugin-proposal-function-sent": "7.18.6",
|
||||
"@babel/plugin-proposal-json-strings": "7.18.6",
|
||||
"@babel/plugin-proposal-nullish-coalescing-operator": "7.18.6",
|
||||
"@babel/plugin-proposal-numeric-separator": "7.18.6",
|
||||
"@babel/plugin-proposal-object-rest-spread": "7.20.7",
|
||||
"@babel/plugin-proposal-optional-chaining": "7.20.7",
|
||||
"@babel/plugin-proposal-optional-chaining": "7.21.0",
|
||||
"@babel/plugin-proposal-throw-expressions": "7.18.6",
|
||||
"@babel/plugin-syntax-dynamic-import": "7.8.3",
|
||||
"@babel/plugin-syntax-import-meta": "7.10.4",
|
||||
"@babel/plugin-transform-async-to-generator": "7.20.7",
|
||||
"@babel/plugin-transform-classes": "7.20.7",
|
||||
"@babel/plugin-transform-runtime": "7.19.6",
|
||||
"@babel/preset-env": "7.20.2",
|
||||
"@babel/plugin-transform-classes": "7.21.0",
|
||||
"@babel/plugin-transform-runtime": "7.21.4",
|
||||
"@babel/preset-env": "7.21.5",
|
||||
"@babel/preset-react": "7.18.6",
|
||||
"@babel/preset-typescript": "7.18.6",
|
||||
"@babel/register": "7.18.9",
|
||||
"@babel/runtime": "7.20.7",
|
||||
"@babel/preset-typescript": "7.21.5",
|
||||
"@babel/register": "7.21.0",
|
||||
"@babel/runtime": "7.21.5",
|
||||
"@changesets/changelog-github": "0.4.8",
|
||||
"@changesets/cli": "2.24.4",
|
||||
"@changesets/get-dependents-graph": "1.3.5",
|
||||
@@ -60,7 +60,7 @@
|
||||
"@types/http-errors": "1.8.2",
|
||||
"@types/jest": "27.5.2",
|
||||
"@types/jsonwebtoken": "8.5.9",
|
||||
"@types/lodash": "4.14.191",
|
||||
"@types/lodash": "4.14.194",
|
||||
"@types/mime": "2.0.3",
|
||||
"@types/minimatch": "3.0.5",
|
||||
"@types/node": "16.18.10",
|
||||
@@ -81,8 +81,8 @@
|
||||
"@types/validator": "13.7.12",
|
||||
"@types/webpack": "5.28.1",
|
||||
"@types/webpack-env": "1.18.0",
|
||||
"@typescript-eslint/eslint-plugin": "5.52.0",
|
||||
"@typescript-eslint/parser": "5.52.0",
|
||||
"@typescript-eslint/eslint-plugin": "5.59.7",
|
||||
"@typescript-eslint/parser": "5.59.7",
|
||||
"@verdaccio/crowdin-translations": "workspace:*",
|
||||
"@verdaccio/eslint-config": "workspace:*",
|
||||
"@verdaccio/types": "workspace:*",
|
||||
@@ -95,7 +95,7 @@
|
||||
"cross-env": "7.0.3",
|
||||
"debug": "4.3.4",
|
||||
"detect-secrets": "1.0.6",
|
||||
"eslint": "8.34.0",
|
||||
"eslint": "8.41.0",
|
||||
"fs-extra": "10.1.0",
|
||||
"got": "11.8.6",
|
||||
"husky": "7.0.4",
|
||||
@@ -111,7 +111,7 @@
|
||||
"nock": "13.2.9",
|
||||
"nodemon": "2.0.20",
|
||||
"npm-run-all": "4.1.5",
|
||||
"prettier": "2.8.4",
|
||||
"prettier": "2.8.8",
|
||||
"react": "18.2.0",
|
||||
"react-dom": "18.2.0",
|
||||
"rimraf": "3.0.2",
|
||||
|
||||
@@ -1,5 +1,30 @@
|
||||
# @verdaccio/api
|
||||
|
||||
## 6.0.0-6-next.54
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [679c19c1b]
|
||||
- @verdaccio/config@6.0.0-6-next.71
|
||||
- @verdaccio/auth@6.0.0-6-next.50
|
||||
- @verdaccio/middleware@6.0.0-6-next.50
|
||||
- @verdaccio/store@6.0.0-6-next.51
|
||||
- @verdaccio/logger@6.0.0-6-next.39
|
||||
- @verdaccio/core@6.0.0-6-next.71
|
||||
- @verdaccio/utils@6.0.0-6-next.39
|
||||
|
||||
## 6.0.0-6-next.53
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- @verdaccio/logger@6.0.0-6-next.38
|
||||
- @verdaccio/auth@6.0.0-6-next.49
|
||||
- @verdaccio/middleware@6.0.0-6-next.49
|
||||
- @verdaccio/store@6.0.0-6-next.50
|
||||
- @verdaccio/core@6.0.0-6-next.70
|
||||
- @verdaccio/config@6.0.0-6-next.70
|
||||
- @verdaccio/utils@6.0.0-6-next.38
|
||||
|
||||
## 6.0.0-6-next.52
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@verdaccio/api",
|
||||
"version": "6.0.0-6-next.52",
|
||||
"version": "6.0.0-6-next.54",
|
||||
"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.48",
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.69",
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.69",
|
||||
"@verdaccio/logger": "workspace:6.0.0-6-next.37",
|
||||
"@verdaccio/middleware": "workspace:6.0.0-6-next.48",
|
||||
"@verdaccio/store": "workspace:6.0.0-6-next.49",
|
||||
"@verdaccio/utils": "workspace:6.0.0-6-next.37",
|
||||
"@verdaccio/auth": "workspace:6.0.0-6-next.50",
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.71",
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.71",
|
||||
"@verdaccio/logger": "workspace:6.0.0-6-next.39",
|
||||
"@verdaccio/middleware": "workspace:6.0.0-6-next.50",
|
||||
"@verdaccio/store": "workspace:6.0.0-6-next.51",
|
||||
"@verdaccio/utils": "workspace:6.0.0-6-next.39",
|
||||
"abortcontroller-polyfill": "1.7.5",
|
||||
"cookies": "0.8.0",
|
||||
"debug": "4.3.4",
|
||||
@@ -57,7 +57,7 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "16.18.10",
|
||||
"@verdaccio/server": "workspace:6.0.0-6-next.58",
|
||||
"@verdaccio/server": "workspace:6.0.0-6-next.60",
|
||||
"@verdaccio/types": "workspace:11.0.0-6-next.25",
|
||||
"@verdaccio/test-helper": "workspace:2.0.0-6-next.8",
|
||||
"supertest": "6.3.3",
|
||||
|
||||
@@ -1,5 +1,30 @@
|
||||
# @verdaccio/auth
|
||||
|
||||
## 6.0.0-6-next.50
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [679c19c1b]
|
||||
- @verdaccio/config@6.0.0-6-next.71
|
||||
- @verdaccio/loaders@6.0.0-6-next.40
|
||||
- verdaccio-htpasswd@11.0.0-6-next.41
|
||||
- @verdaccio/signature@6.0.0-6-next.2
|
||||
- @verdaccio/logger@6.0.0-6-next.39
|
||||
- @verdaccio/core@6.0.0-6-next.71
|
||||
- @verdaccio/utils@6.0.0-6-next.39
|
||||
|
||||
## 6.0.0-6-next.49
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- @verdaccio/logger@6.0.0-6-next.38
|
||||
- @verdaccio/loaders@6.0.0-6-next.39
|
||||
- verdaccio-htpasswd@11.0.0-6-next.40
|
||||
- @verdaccio/core@6.0.0-6-next.70
|
||||
- @verdaccio/config@6.0.0-6-next.70
|
||||
- @verdaccio/utils@6.0.0-6-next.38
|
||||
- @verdaccio/signature@6.0.0-6-next.2
|
||||
|
||||
## 6.0.0-6-next.48
|
||||
|
||||
### Minor Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@verdaccio/auth",
|
||||
"version": "6.0.0-6-next.48",
|
||||
"version": "6.0.0-6-next.50",
|
||||
"description": "logger",
|
||||
"main": "./build/index.js",
|
||||
"types": "./build/index.d.ts",
|
||||
@@ -39,16 +39,16 @@
|
||||
},
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.69",
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.69",
|
||||
"@verdaccio/loaders": "workspace:6.0.0-6-next.38",
|
||||
"@verdaccio/logger": "workspace:6.0.0-6-next.37",
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.71",
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.71",
|
||||
"@verdaccio/loaders": "workspace:6.0.0-6-next.40",
|
||||
"@verdaccio/logger": "workspace:6.0.0-6-next.39",
|
||||
"@verdaccio/signature": "workspace:6.0.0-6-next.2",
|
||||
"@verdaccio/utils": "workspace:6.0.0-6-next.37",
|
||||
"@verdaccio/utils": "workspace:6.0.0-6-next.39",
|
||||
"debug": "4.3.4",
|
||||
"express": "4.18.2",
|
||||
"lodash": "4.17.21",
|
||||
"verdaccio-htpasswd": "workspace:11.0.0-6-next.39"
|
||||
"verdaccio-htpasswd": "workspace:11.0.0-6-next.41"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@verdaccio/types": "workspace:11.0.0-6-next.25"
|
||||
|
||||
@@ -1,5 +1,24 @@
|
||||
# @verdaccio/cli
|
||||
|
||||
## 6.0.0-6-next.71
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [679c19c1b]
|
||||
- @verdaccio/config@6.0.0-6-next.71
|
||||
- @verdaccio/node-api@6.0.0-6-next.71
|
||||
- @verdaccio/logger@6.0.0-6-next.39
|
||||
- @verdaccio/core@6.0.0-6-next.71
|
||||
|
||||
## 6.0.0-6-next.70
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- @verdaccio/logger@6.0.0-6-next.38
|
||||
- @verdaccio/node-api@6.0.0-6-next.70
|
||||
- @verdaccio/core@6.0.0-6-next.70
|
||||
- @verdaccio/config@6.0.0-6-next.70
|
||||
|
||||
## 6.0.0-6-next.69
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@verdaccio/cli",
|
||||
"version": "6.0.0-6-next.69",
|
||||
"version": "6.0.0-6-next.71",
|
||||
"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.69",
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.69",
|
||||
"@verdaccio/logger": "workspace:6.0.0-6-next.37",
|
||||
"@verdaccio/node-api": "workspace:6.0.0-6-next.69",
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.71",
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.71",
|
||||
"@verdaccio/logger": "workspace:6.0.0-6-next.39",
|
||||
"@verdaccio/node-api": "workspace:6.0.0-6-next.71",
|
||||
"clipanion": "3.2.0",
|
||||
"envinfo": "7.8.1",
|
||||
"kleur": "4.1.5",
|
||||
|
||||
@@ -1,5 +1,24 @@
|
||||
# @verdaccio/config
|
||||
|
||||
## 6.0.0-6-next.71
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 679c19c1b: Respect the `changePassword` configuration flag to enable changing the password through the web API.
|
||||
|
||||
> **Note**
|
||||
> This feature is still experimental and not fully supported in the default web application.
|
||||
|
||||
- @verdaccio/core@6.0.0-6-next.71
|
||||
- @verdaccio/utils@6.0.0-6-next.39
|
||||
|
||||
## 6.0.0-6-next.70
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- @verdaccio/core@6.0.0-6-next.70
|
||||
- @verdaccio/utils@6.0.0-6-next.38
|
||||
|
||||
## 6.0.0-6-next.69
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@verdaccio/config",
|
||||
"version": "6.0.0-6-next.69",
|
||||
"version": "6.0.0-6-next.71",
|
||||
"description": "logger",
|
||||
"main": "./build/index.js",
|
||||
"types": "build/index.d.ts",
|
||||
@@ -38,8 +38,8 @@
|
||||
"build": "pnpm run build:js && pnpm run build:types"
|
||||
},
|
||||
"dependencies": {
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.69",
|
||||
"@verdaccio/utils": "workspace:6.0.0-6-next.37",
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.71",
|
||||
"@verdaccio/utils": "workspace:6.0.0-6-next.39",
|
||||
"debug": "4.3.4",
|
||||
"js-yaml": "4.1.0",
|
||||
"lodash": "4.17.21",
|
||||
|
||||
@@ -84,6 +84,7 @@ class Config implements AppConfig {
|
||||
this.serverSettings = serverSettings;
|
||||
this.flags = {
|
||||
searchRemote: config.flags?.searchRemote ?? true,
|
||||
changePassword: config.flags?.changePassword ?? false,
|
||||
};
|
||||
this.user_agent = config.user_agent;
|
||||
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
# @verdaccio/core
|
||||
|
||||
## 6.0.0-6-next.71
|
||||
|
||||
## 6.0.0-6-next.70
|
||||
|
||||
## 6.0.0-6-next.69
|
||||
|
||||
### Minor Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@verdaccio/core",
|
||||
"version": "6.0.0-6-next.69",
|
||||
"version": "6.0.0-6-next.71",
|
||||
"description": "core utilities",
|
||||
"keywords": [
|
||||
"private",
|
||||
|
||||
@@ -13,6 +13,7 @@ export const HEADER_TYPE = {
|
||||
CONTENT_TYPE: 'content-type',
|
||||
CONTENT_LENGTH: 'content-length',
|
||||
ACCEPT_ENCODING: 'accept-encoding',
|
||||
AUTHORIZATION: 'authorization',
|
||||
};
|
||||
|
||||
export const CHARACTER_ENCODING = {
|
||||
@@ -70,6 +71,7 @@ export const HTTP_STATUS = {
|
||||
INTERNAL_ERROR: httpCodes.INTERNAL_SERVER_ERROR,
|
||||
SERVICE_UNAVAILABLE: httpCodes.SERVICE_UNAVAILABLE,
|
||||
LOOP_DETECTED: 508,
|
||||
CANNOT_HANDLE: 590,
|
||||
};
|
||||
|
||||
export const ERROR_CODE = {
|
||||
|
||||
@@ -1,5 +1,21 @@
|
||||
# Change Log
|
||||
|
||||
## 11.0.0-6-next.40
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- @verdaccio/core@6.0.0-6-next.71
|
||||
- @verdaccio/url@11.0.0-6-next.37
|
||||
- @verdaccio/utils@6.0.0-6-next.39
|
||||
|
||||
## 11.0.0-6-next.39
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- @verdaccio/core@6.0.0-6-next.70
|
||||
- @verdaccio/url@11.0.0-6-next.36
|
||||
- @verdaccio/utils@6.0.0-6-next.38
|
||||
|
||||
## 11.0.0-6-next.38
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@verdaccio/tarball",
|
||||
"version": "11.0.0-6-next.38",
|
||||
"version": "11.0.0-6-next.40",
|
||||
"description": "tarball utilities resolver",
|
||||
"keywords": [
|
||||
"private",
|
||||
@@ -34,9 +34,9 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"debug": "4.3.4",
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.69",
|
||||
"@verdaccio/url": "workspace:11.0.0-6-next.35",
|
||||
"@verdaccio/utils": "workspace:6.0.0-6-next.37",
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.71",
|
||||
"@verdaccio/url": "workspace:11.0.0-6-next.37",
|
||||
"@verdaccio/utils": "workspace:6.0.0-6-next.39",
|
||||
"lodash": "4.17.21"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@@ -1,5 +1,17 @@
|
||||
# Change Log
|
||||
|
||||
## 11.0.0-6-next.37
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- @verdaccio/core@6.0.0-6-next.71
|
||||
|
||||
## 11.0.0-6-next.36
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- @verdaccio/core@6.0.0-6-next.70
|
||||
|
||||
## 11.0.0-6-next.35
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@verdaccio/url",
|
||||
"version": "11.0.0-6-next.35",
|
||||
"version": "11.0.0-6-next.37",
|
||||
"description": "url utilities resolver",
|
||||
"keywords": [
|
||||
"private",
|
||||
@@ -33,7 +33,7 @@
|
||||
"access": "public"
|
||||
},
|
||||
"dependencies": {
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.69",
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.71",
|
||||
"debug": "4.3.4",
|
||||
"lodash": "4.17.21",
|
||||
"validator": "13.9.0"
|
||||
|
||||
@@ -1,5 +1,19 @@
|
||||
# @verdaccio/hooks
|
||||
|
||||
## 6.0.0-6-next.41
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- @verdaccio/logger@6.0.0-6-next.39
|
||||
- @verdaccio/core@6.0.0-6-next.71
|
||||
|
||||
## 6.0.0-6-next.40
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- @verdaccio/logger@6.0.0-6-next.38
|
||||
- @verdaccio/core@6.0.0-6-next.70
|
||||
|
||||
## 6.0.0-6-next.39
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@verdaccio/hooks",
|
||||
"version": "6.0.0-6-next.39",
|
||||
"version": "6.0.0-6-next.41",
|
||||
"description": "loaders logic",
|
||||
"main": "./build/index.js",
|
||||
"types": "build/index.d.ts",
|
||||
@@ -29,8 +29,8 @@
|
||||
"node": ">=16"
|
||||
},
|
||||
"dependencies": {
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.69",
|
||||
"@verdaccio/logger": "workspace:6.0.0-6-next.37",
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.71",
|
||||
"@verdaccio/logger": "workspace:6.0.0-6-next.39",
|
||||
"core-js": "3.30.2",
|
||||
"debug": "4.3.4",
|
||||
"handlebars": "4.7.7",
|
||||
@@ -38,8 +38,8 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "16.18.10",
|
||||
"@verdaccio/auth": "workspace:6.0.0-6-next.48",
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.69",
|
||||
"@verdaccio/auth": "workspace:6.0.0-6-next.50",
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.71",
|
||||
"@verdaccio/types": "workspace:11.0.0-6-next.25"
|
||||
},
|
||||
"scripts": {
|
||||
|
||||
@@ -1,5 +1,17 @@
|
||||
# @verdaccio/loaders
|
||||
|
||||
## 6.0.0-6-next.40
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- @verdaccio/logger@6.0.0-6-next.39
|
||||
|
||||
## 6.0.0-6-next.39
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- @verdaccio/logger@6.0.0-6-next.38
|
||||
|
||||
## 6.0.0-6-next.38
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@verdaccio/loaders",
|
||||
"version": "6.0.0-6-next.38",
|
||||
"version": "6.0.0-6-next.40",
|
||||
"description": "loaders logic",
|
||||
"main": "./build/index.js",
|
||||
"types": "build/index.d.ts",
|
||||
@@ -13,13 +13,13 @@
|
||||
"url": "https://github.com/verdaccio/verdaccio"
|
||||
},
|
||||
"dependencies": {
|
||||
"@verdaccio/logger": "workspace:6.0.0-6-next.37",
|
||||
"@verdaccio/logger": "workspace:6.0.0-6-next.39",
|
||||
"debug": "4.3.4",
|
||||
"lodash": "4.17.21"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.69",
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.69",
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.71",
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.71",
|
||||
"@verdaccio/types": "workspace:11.0.0-6-next.25",
|
||||
"@verdaccio-scope/verdaccio-auth-foo": "0.0.2",
|
||||
"verdaccio-auth-memory": "workspace:*",
|
||||
|
||||
@@ -1,5 +1,20 @@
|
||||
# @verdaccio/logger-7
|
||||
|
||||
## 6.0.0-6-next.16
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [84b2dffdb]
|
||||
- @verdaccio/logger-commons@6.0.0-6-next.39
|
||||
|
||||
## 6.0.0-6-next.15
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 4a33e269: fix: restore pino legacy version
|
||||
- Updated dependencies [4a33e269]
|
||||
- @verdaccio/logger-commons@6.0.0-6-next.38
|
||||
|
||||
## 6.0.0-6-next.14
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@verdaccio/logger-7",
|
||||
"version": "6.0.0-6-next.14",
|
||||
"version": "6.0.0-6-next.16",
|
||||
"description": "logger for verdaccio 5.x version",
|
||||
"main": "./build/index.js",
|
||||
"types": "./build/index.d.ts",
|
||||
@@ -38,8 +38,8 @@
|
||||
"build": "pnpm run build:js && pnpm run build:types"
|
||||
},
|
||||
"dependencies": {
|
||||
"@verdaccio/logger-commons": "workspace:6.0.0-6-next.37",
|
||||
"pino": "8.14.1"
|
||||
"@verdaccio/logger-commons": "workspace:6.0.0-6-next.39",
|
||||
"pino": "7.11.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@verdaccio/types": "workspace:11.0.0-6-next.25"
|
||||
|
||||
@@ -1,5 +1,21 @@
|
||||
# @verdaccio/logger-commons
|
||||
|
||||
## 6.0.0-6-next.39
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 84b2dffdb: fix: restore wrong dependency version
|
||||
- @verdaccio/core@6.0.0-6-next.71
|
||||
|
||||
## 6.0.0-6-next.38
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 4a33e269: fix: restore pino legacy version
|
||||
- Updated dependencies [4a33e269]
|
||||
- @verdaccio/logger-prettify@6.0.0-6-next.10
|
||||
- @verdaccio/core@6.0.0-6-next.70
|
||||
|
||||
## 6.0.0-6-next.37
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@verdaccio/logger-commons",
|
||||
"version": "6.0.0-6-next.37",
|
||||
"version": "6.0.0-6-next.39",
|
||||
"description": "logger",
|
||||
"main": "./build/index.js",
|
||||
"types": "./build/index.d.ts",
|
||||
@@ -38,13 +38,13 @@
|
||||
"build": "pnpm run build:js && pnpm run build:types"
|
||||
},
|
||||
"dependencies": {
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.69",
|
||||
"@verdaccio/logger-prettify": "workspace:6.0.0-6-next.9",
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.71",
|
||||
"@verdaccio/logger-prettify": "workspace:6.0.0-6-next.10",
|
||||
"debug": "4.3.4",
|
||||
"colorette": "2.0.20"
|
||||
},
|
||||
"devDependencies": {
|
||||
"pino": "8.14.1",
|
||||
"pino": "7.11.0",
|
||||
"@verdaccio/types": "workspace:11.0.0-6-next.25"
|
||||
},
|
||||
"funding": {
|
||||
|
||||
@@ -1,5 +1,11 @@
|
||||
# @verdaccio/logger-prettify
|
||||
|
||||
## 6.0.0-6-next.10
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 4a33e269: fix: restore pino legacy version
|
||||
|
||||
## 6.0.0-6-next.9
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@verdaccio/logger-prettify",
|
||||
"version": "6.0.0-6-next.9",
|
||||
"version": "6.0.0-6-next.10",
|
||||
"description": "logger",
|
||||
"main": "./build/index.js",
|
||||
"types": "build/index.d.ts",
|
||||
@@ -45,7 +45,7 @@
|
||||
"sonic-boom": "3.3.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"pino": "8.14.1"
|
||||
"pino": "8.12.1"
|
||||
},
|
||||
"funding": {
|
||||
"type": "opencollective",
|
||||
|
||||
@@ -1,5 +1,19 @@
|
||||
# @verdaccio/logger
|
||||
|
||||
## 6.0.0-6-next.39
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [84b2dffdb]
|
||||
- @verdaccio/logger-commons@6.0.0-6-next.39
|
||||
|
||||
## 6.0.0-6-next.38
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [4a33e269]
|
||||
- @verdaccio/logger-commons@6.0.0-6-next.38
|
||||
|
||||
## 6.0.0-6-next.37
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@verdaccio/logger",
|
||||
"version": "6.0.0-6-next.37",
|
||||
"version": "6.0.0-6-next.39",
|
||||
"description": "logger",
|
||||
"main": "./build/index.js",
|
||||
"types": "./build/index.d.ts",
|
||||
@@ -38,7 +38,7 @@
|
||||
"build": "pnpm run build:js && pnpm run build:types"
|
||||
},
|
||||
"dependencies": {
|
||||
"@verdaccio/logger-commons": "workspace:6.0.0-6-next.37",
|
||||
"@verdaccio/logger-commons": "workspace:6.0.0-6-next.39",
|
||||
"pino": "8.14.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@@ -1,5 +1,24 @@
|
||||
# @verdaccio/middleware
|
||||
|
||||
## 6.0.0-6-next.50
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [679c19c1b]
|
||||
- @verdaccio/config@6.0.0-6-next.71
|
||||
- @verdaccio/core@6.0.0-6-next.71
|
||||
- @verdaccio/url@11.0.0-6-next.37
|
||||
- @verdaccio/utils@6.0.0-6-next.39
|
||||
|
||||
## 6.0.0-6-next.49
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- @verdaccio/core@6.0.0-6-next.70
|
||||
- @verdaccio/config@6.0.0-6-next.70
|
||||
- @verdaccio/url@11.0.0-6-next.36
|
||||
- @verdaccio/utils@6.0.0-6-next.38
|
||||
|
||||
## 6.0.0-6-next.48
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@verdaccio/middleware",
|
||||
"version": "6.0.0-6-next.48",
|
||||
"version": "6.0.0-6-next.50",
|
||||
"description": "express middleware utils",
|
||||
"main": "./build/index.js",
|
||||
"types": "build/index.d.ts",
|
||||
@@ -38,10 +38,10 @@
|
||||
"build": "pnpm run build:js && pnpm run build:types"
|
||||
},
|
||||
"dependencies": {
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.69",
|
||||
"@verdaccio/utils": "workspace:6.0.0-6-next.37",
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.69",
|
||||
"@verdaccio/url": "workspace:11.0.0-6-next.35",
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.71",
|
||||
"@verdaccio/utils": "workspace:6.0.0-6-next.39",
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.71",
|
||||
"@verdaccio/url": "workspace:11.0.0-6-next.37",
|
||||
"debug": "4.3.4",
|
||||
"lru-cache": "7.18.3",
|
||||
"express": "4.18.2",
|
||||
@@ -54,7 +54,7 @@
|
||||
"url": "https://opencollective.com/verdaccio"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@verdaccio/logger": "workspace:6.0.0-6-next.37",
|
||||
"@verdaccio/logger": "workspace:6.0.0-6-next.39",
|
||||
"body-parser": "1.20.2",
|
||||
"supertest": "6.3.3"
|
||||
}
|
||||
|
||||
@@ -1,5 +1,26 @@
|
||||
# @verdaccio/node-api
|
||||
|
||||
## 6.0.0-6-next.71
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [679c19c1b]
|
||||
- @verdaccio/config@6.0.0-6-next.71
|
||||
- @verdaccio/server@6.0.0-6-next.60
|
||||
- @verdaccio/server-fastify@6.0.0-6-next.52
|
||||
- @verdaccio/logger@6.0.0-6-next.39
|
||||
- @verdaccio/core@6.0.0-6-next.71
|
||||
|
||||
## 6.0.0-6-next.70
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- @verdaccio/logger@6.0.0-6-next.38
|
||||
- @verdaccio/server@6.0.0-6-next.59
|
||||
- @verdaccio/server-fastify@6.0.0-6-next.51
|
||||
- @verdaccio/core@6.0.0-6-next.70
|
||||
- @verdaccio/config@6.0.0-6-next.70
|
||||
|
||||
## 6.0.0-6-next.69
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@verdaccio/node-api",
|
||||
"version": "6.0.0-6-next.69",
|
||||
"version": "6.0.0-6-next.71",
|
||||
"description": "node API",
|
||||
"main": "build/index.js",
|
||||
"types": "build/index.d.ts",
|
||||
@@ -39,11 +39,11 @@
|
||||
},
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.69",
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.69",
|
||||
"@verdaccio/logger": "workspace:6.0.0-6-next.37",
|
||||
"@verdaccio/server": "workspace:6.0.0-6-next.58",
|
||||
"@verdaccio/server-fastify": "workspace:6.0.0-6-next.50",
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.71",
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.71",
|
||||
"@verdaccio/logger": "workspace:6.0.0-6-next.39",
|
||||
"@verdaccio/server": "workspace:6.0.0-6-next.60",
|
||||
"@verdaccio/server-fastify": "workspace:6.0.0-6-next.52",
|
||||
"core-js": "3.30.2",
|
||||
"debug": "4.3.4",
|
||||
"lodash": "4.17.21"
|
||||
|
||||
@@ -1,5 +1,20 @@
|
||||
# Change Log
|
||||
|
||||
## 11.0.0-6-next.34
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [679c19c1b]
|
||||
- @verdaccio/config@6.0.0-6-next.71
|
||||
- @verdaccio/core@6.0.0-6-next.71
|
||||
|
||||
## 11.0.0-6-next.33
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- @verdaccio/core@6.0.0-6-next.70
|
||||
- @verdaccio/config@6.0.0-6-next.70
|
||||
|
||||
## 11.0.0-6-next.32
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "verdaccio-audit",
|
||||
"version": "11.0.0-6-next.32",
|
||||
"version": "11.0.0-6-next.34",
|
||||
"description": "Verdaccio Middleware plugin to bypass npmjs audit",
|
||||
"keywords": [
|
||||
"private",
|
||||
@@ -30,16 +30,16 @@
|
||||
"node": ">=12"
|
||||
},
|
||||
"dependencies": {
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.69",
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.69",
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.71",
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.71",
|
||||
"express": "4.18.2",
|
||||
"https-proxy-agent": "5.0.1",
|
||||
"node-fetch": "cjs"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@verdaccio/types": "workspace:11.0.0-6-next.25",
|
||||
"@verdaccio/auth": "workspace:6.0.0-6-next.48",
|
||||
"@verdaccio/logger": "workspace:6.0.0-6-next.37",
|
||||
"@verdaccio/auth": "workspace:6.0.0-6-next.50",
|
||||
"@verdaccio/logger": "workspace:6.0.0-6-next.39",
|
||||
"nock": "13.2.9",
|
||||
"supertest": "6.3.3"
|
||||
},
|
||||
|
||||
@@ -1,5 +1,17 @@
|
||||
# Change Log
|
||||
|
||||
## 11.0.0-6-next.36
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- @verdaccio/core@6.0.0-6-next.71
|
||||
|
||||
## 11.0.0-6-next.35
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- @verdaccio/core@6.0.0-6-next.70
|
||||
|
||||
## 11.0.0-6-next.34
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "verdaccio-auth-memory",
|
||||
"version": "11.0.0-6-next.34",
|
||||
"version": "11.0.0-6-next.36",
|
||||
"description": "Auth plugin for Verdaccio that keeps users in memory",
|
||||
"keywords": [
|
||||
"private",
|
||||
@@ -31,12 +31,12 @@
|
||||
"npm": ">=6"
|
||||
},
|
||||
"dependencies": {
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.69",
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.71",
|
||||
"debug": "4.3.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/debug": "^4.1.7",
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.69",
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.71",
|
||||
"@verdaccio/types": "workspace:11.0.0-6-next.25"
|
||||
},
|
||||
"scripts": {
|
||||
|
||||
@@ -1,5 +1,17 @@
|
||||
# Change Log
|
||||
|
||||
## 11.0.0-6-next.41
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- @verdaccio/core@6.0.0-6-next.71
|
||||
|
||||
## 11.0.0-6-next.40
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- @verdaccio/core@6.0.0-6-next.70
|
||||
|
||||
## 11.0.0-6-next.39
|
||||
|
||||
### Minor Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "verdaccio-htpasswd",
|
||||
"version": "11.0.0-6-next.39",
|
||||
"version": "11.0.0-6-next.41",
|
||||
"description": "htpasswd auth plugin for Verdaccio",
|
||||
"keywords": [
|
||||
"private",
|
||||
@@ -34,7 +34,7 @@
|
||||
"npm": ">=6"
|
||||
},
|
||||
"dependencies": {
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.69",
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.71",
|
||||
"@verdaccio/file-locking": "workspace:11.0.0-6-next.7",
|
||||
"apache-md5": "1.1.8",
|
||||
"bcryptjs": "2.4.3",
|
||||
@@ -46,8 +46,8 @@
|
||||
"devDependencies": {
|
||||
"@types/bcryptjs": "2.4.2",
|
||||
"@verdaccio/types": "workspace:11.0.0-6-next.25",
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.69",
|
||||
"@verdaccio/logger": "workspace:6.0.0-6-next.37",
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.71",
|
||||
"@verdaccio/logger": "workspace:6.0.0-6-next.39",
|
||||
"mockdate": "3.0.5"
|
||||
},
|
||||
"scripts": {
|
||||
|
||||
@@ -1,5 +1,19 @@
|
||||
# Change Log
|
||||
|
||||
## 11.0.0-6-next.41
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- @verdaccio/core@6.0.0-6-next.71
|
||||
- @verdaccio/utils@6.0.0-6-next.39
|
||||
|
||||
## 11.0.0-6-next.40
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- @verdaccio/core@6.0.0-6-next.70
|
||||
- @verdaccio/utils@6.0.0-6-next.38
|
||||
|
||||
## 11.0.0-6-next.39
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@verdaccio/local-storage",
|
||||
"version": "11.0.0-6-next.39",
|
||||
"version": "11.0.0-6-next.41",
|
||||
"description": "Local storage implementation",
|
||||
"keywords": [
|
||||
"private",
|
||||
@@ -37,9 +37,9 @@
|
||||
"npm": ">=7"
|
||||
},
|
||||
"dependencies": {
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.69",
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.71",
|
||||
"@verdaccio/file-locking": "workspace:11.0.0-6-next.7",
|
||||
"@verdaccio/utils": "workspace:6.0.0-6-next.37",
|
||||
"@verdaccio/utils": "workspace:6.0.0-6-next.39",
|
||||
"core-js": "3.30.2",
|
||||
"debug": "4.3.4",
|
||||
"globby": "11.1.0",
|
||||
@@ -52,8 +52,8 @@
|
||||
"devDependencies": {
|
||||
"@types/minimatch": "3.0.5",
|
||||
"@verdaccio/types": "workspace:11.0.0-6-next.25",
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.69",
|
||||
"@verdaccio/logger": "workspace:6.0.0-6-next.37",
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.71",
|
||||
"@verdaccio/logger": "workspace:6.0.0-6-next.39",
|
||||
"@verdaccio/test-helper": "workspace:2.0.0-6-next.8",
|
||||
"minimatch": "3.1.2"
|
||||
},
|
||||
|
||||
@@ -1,5 +1,17 @@
|
||||
# Change Log
|
||||
|
||||
## 11.0.0-6-next.38
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- @verdaccio/core@6.0.0-6-next.71
|
||||
|
||||
## 11.0.0-6-next.37
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- @verdaccio/core@6.0.0-6-next.70
|
||||
|
||||
## 11.0.0-6-next.36
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "verdaccio-memory",
|
||||
"version": "11.0.0-6-next.36",
|
||||
"version": "11.0.0-6-next.38",
|
||||
"description": "Storage implementation in memory",
|
||||
"keywords": [
|
||||
"private",
|
||||
@@ -31,15 +31,15 @@
|
||||
"npm": ">=6"
|
||||
},
|
||||
"dependencies": {
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.69",
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.71",
|
||||
"memory-fs": "0.5.0",
|
||||
"debug": "4.3.4",
|
||||
"memfs": "3.5.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@verdaccio/types": "workspace:11.0.0-6-next.25",
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.69",
|
||||
"@verdaccio/logger": "workspace:6.0.0-6-next.37"
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.71",
|
||||
"@verdaccio/logger": "workspace:6.0.0-6-next.39"
|
||||
},
|
||||
"scripts": {
|
||||
"clean": "rimraf ./build",
|
||||
|
||||
@@ -1,5 +1,13 @@
|
||||
# @verdaccio/ui-theme
|
||||
|
||||
## 6.0.0-6-next.71
|
||||
|
||||
### Minor Changes
|
||||
|
||||
- 7344a7fcf: feat: ui bugfixes and improvements
|
||||
|
||||
## 6.0.0-6-next.70
|
||||
|
||||
## 6.0.0-6-next.69
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@verdaccio/ui-theme",
|
||||
"version": "6.0.0-6-next.69",
|
||||
"version": "6.0.0-6-next.71",
|
||||
"description": "Verdaccio User Interface",
|
||||
"author": {
|
||||
"name": "Verdaccio Contributors",
|
||||
@@ -27,9 +27,9 @@
|
||||
"@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.69",
|
||||
"@verdaccio/node-api": "workspace:6.0.0-6-next.71",
|
||||
"@verdaccio/types": "workspace:*",
|
||||
"@verdaccio/ui-components": "workspace:2.0.0-6-next.9",
|
||||
"@verdaccio/ui-components": "workspace:2.0.0-6-next.10",
|
||||
"babel-loader": "8.3.0",
|
||||
"babel-plugin-dynamic-import-node": "2.3.3",
|
||||
"country-flag-icons": "1.5.5",
|
||||
@@ -73,11 +73,11 @@
|
||||
"remark-gfm": "3.0.1",
|
||||
"rimraf": "3.0.2",
|
||||
"style-loader": "3.3.1",
|
||||
"stylelint": "15.1.0",
|
||||
"stylelint": "15.6.2",
|
||||
"stylelint-config-recommended": "10.0.1",
|
||||
"stylelint-config-styled-components": "0.1.1",
|
||||
"stylelint-processor-styled-components": "1.10.0",
|
||||
"stylelint-webpack-plugin": "4.1.0",
|
||||
"stylelint-webpack-plugin": "4.1.1",
|
||||
"supertest": "6.3.3",
|
||||
"terser-webpack-plugin": "5.3.6",
|
||||
"url-loader": "4.1.1",
|
||||
|
||||
@@ -636,7 +636,7 @@
|
||||
"id": 47446
|
||||
},
|
||||
{
|
||||
"username": "bochen2014",
|
||||
"username": "bchenSyd",
|
||||
"id": 8207081
|
||||
},
|
||||
{
|
||||
@@ -715,6 +715,10 @@
|
||||
"username": "falegh",
|
||||
"id": 49175237
|
||||
},
|
||||
{
|
||||
"username": "gkalpak",
|
||||
"id": 8604205
|
||||
},
|
||||
{
|
||||
"username": "Grabauskas",
|
||||
"id": 43740166
|
||||
@@ -739,6 +743,10 @@
|
||||
"username": "iztsv",
|
||||
"id": 3539802
|
||||
},
|
||||
{
|
||||
"username": "inyong37",
|
||||
"id": 20737479
|
||||
},
|
||||
{
|
||||
"username": "jrussellsmyth",
|
||||
"id": 2998207
|
||||
@@ -943,6 +951,10 @@
|
||||
"username": "stephanebachelier",
|
||||
"id": 172615
|
||||
},
|
||||
{
|
||||
"username": "swapnilmmane",
|
||||
"id": 7145848
|
||||
},
|
||||
{
|
||||
"username": "TLDMain",
|
||||
"id": 119927819
|
||||
@@ -1503,6 +1515,10 @@
|
||||
"username": "casserlyprogramming",
|
||||
"id": 337812
|
||||
},
|
||||
{
|
||||
"username": "jfoechsler",
|
||||
"id": 4612720
|
||||
},
|
||||
{
|
||||
"username": "jfrancisco0",
|
||||
"id": 40362916
|
||||
|
||||
@@ -106,7 +106,8 @@
|
||||
"install-using-npm": "Install using npm",
|
||||
"install-using-npm-command": "npm install {{packageName}}",
|
||||
"install-using-pnpm": "Install using pnpm",
|
||||
"install-using-pnpm-command": "pnpm install {{packageName}}"
|
||||
"install-using-pnpm-command": "pnpm install {{packageName}}",
|
||||
"global": "View as global"
|
||||
},
|
||||
"repository": {
|
||||
"title": "Repository"
|
||||
|
||||
@@ -5,6 +5,7 @@ import { Provider } from 'react-redux';
|
||||
|
||||
import {
|
||||
AppConfigurationProvider,
|
||||
PersistenceSettingProvider,
|
||||
StyleBaseline,
|
||||
ThemeProvider,
|
||||
store,
|
||||
@@ -20,7 +21,9 @@ const AppContainer = () => (
|
||||
<AppConfigurationProvider>
|
||||
<ThemeProvider>
|
||||
<StyleBaseline />
|
||||
<App />
|
||||
<PersistenceSettingProvider>
|
||||
<App />
|
||||
</PersistenceSettingProvider>
|
||||
</ThemeProvider>
|
||||
</AppConfigurationProvider>
|
||||
</Provider>
|
||||
|
||||
@@ -1,5 +1,26 @@
|
||||
# @verdaccio/proxy
|
||||
|
||||
## 6.0.0-6-next.49
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [679c19c1b]
|
||||
- @verdaccio/config@6.0.0-6-next.71
|
||||
- @verdaccio/local-storage@11.0.0-6-next.41
|
||||
- @verdaccio/logger@6.0.0-6-next.39
|
||||
- @verdaccio/core@6.0.0-6-next.71
|
||||
- @verdaccio/utils@6.0.0-6-next.39
|
||||
|
||||
## 6.0.0-6-next.48
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- @verdaccio/logger@6.0.0-6-next.38
|
||||
- @verdaccio/local-storage@11.0.0-6-next.40
|
||||
- @verdaccio/core@6.0.0-6-next.70
|
||||
- @verdaccio/config@6.0.0-6-next.70
|
||||
- @verdaccio/utils@6.0.0-6-next.38
|
||||
|
||||
## 6.0.0-6-next.47
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@verdaccio/proxy",
|
||||
"version": "6.0.0-6-next.47",
|
||||
"version": "6.0.0-6-next.49",
|
||||
"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.69",
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.69",
|
||||
"@verdaccio/local-storage": "workspace:11.0.0-6-next.39",
|
||||
"@verdaccio/logger": "workspace:6.0.0-6-next.37",
|
||||
"@verdaccio/utils": "workspace:6.0.0-6-next.37",
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.71",
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.71",
|
||||
"@verdaccio/local-storage": "workspace:11.0.0-6-next.41",
|
||||
"@verdaccio/logger": "workspace:6.0.0-6-next.39",
|
||||
"@verdaccio/utils": "workspace:6.0.0-6-next.39",
|
||||
"JSONStream": "1.3.5",
|
||||
"debug": "4.3.4",
|
||||
"lodash": "4.17.21",
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
"devDependencies": {
|
||||
"@types/node": "16.18.10",
|
||||
"@verdaccio/types": "workspace:11.0.0-6-next.25",
|
||||
"@orama/orama": "1.0.0-beta.16",
|
||||
"@orama/orama": "1.0.2",
|
||||
"debug": "4.3.4",
|
||||
"esbuild": "0.14.10"
|
||||
},
|
||||
|
||||
@@ -1,5 +1,38 @@
|
||||
# @verdaccio/server
|
||||
|
||||
## 6.0.0-6-next.60
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [679c19c1b]
|
||||
- @verdaccio/config@6.0.0-6-next.71
|
||||
- @verdaccio/api@6.0.0-6-next.54
|
||||
- @verdaccio/auth@6.0.0-6-next.50
|
||||
- @verdaccio/loaders@6.0.0-6-next.40
|
||||
- @verdaccio/middleware@6.0.0-6-next.50
|
||||
- verdaccio-audit@11.0.0-6-next.34
|
||||
- @verdaccio/store@6.0.0-6-next.51
|
||||
- @verdaccio/web@6.0.0-6-next.58
|
||||
- @verdaccio/logger@6.0.0-6-next.39
|
||||
- @verdaccio/core@6.0.0-6-next.71
|
||||
- @verdaccio/utils@6.0.0-6-next.39
|
||||
|
||||
## 6.0.0-6-next.59
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- @verdaccio/logger@6.0.0-6-next.38
|
||||
- @verdaccio/api@6.0.0-6-next.53
|
||||
- @verdaccio/auth@6.0.0-6-next.49
|
||||
- @verdaccio/loaders@6.0.0-6-next.39
|
||||
- @verdaccio/middleware@6.0.0-6-next.49
|
||||
- verdaccio-audit@11.0.0-6-next.33
|
||||
- @verdaccio/store@6.0.0-6-next.50
|
||||
- @verdaccio/web@6.0.0-6-next.57
|
||||
- @verdaccio/core@6.0.0-6-next.70
|
||||
- @verdaccio/config@6.0.0-6-next.70
|
||||
- @verdaccio/utils@6.0.0-6-next.38
|
||||
|
||||
## 6.0.0-6-next.58
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@verdaccio/server",
|
||||
"version": "6.0.0-6-next.58",
|
||||
"version": "6.0.0-6-next.60",
|
||||
"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.52",
|
||||
"@verdaccio/auth": "workspace:6.0.0-6-next.48",
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.69",
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.69",
|
||||
"@verdaccio/loaders": "workspace:6.0.0-6-next.38",
|
||||
"@verdaccio/logger": "workspace:6.0.0-6-next.37",
|
||||
"@verdaccio/middleware": "workspace:6.0.0-6-next.48",
|
||||
"@verdaccio/store": "workspace:6.0.0-6-next.49",
|
||||
"@verdaccio/utils": "workspace:6.0.0-6-next.37",
|
||||
"@verdaccio/web": "workspace:6.0.0-6-next.56",
|
||||
"verdaccio-audit": "workspace:11.0.0-6-next.32",
|
||||
"@verdaccio/api": "workspace:6.0.0-6-next.54",
|
||||
"@verdaccio/auth": "workspace:6.0.0-6-next.50",
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.71",
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.71",
|
||||
"@verdaccio/loaders": "workspace:6.0.0-6-next.40",
|
||||
"@verdaccio/logger": "workspace:6.0.0-6-next.39",
|
||||
"@verdaccio/middleware": "workspace:6.0.0-6-next.50",
|
||||
"@verdaccio/store": "workspace:6.0.0-6-next.51",
|
||||
"@verdaccio/utils": "workspace:6.0.0-6-next.39",
|
||||
"@verdaccio/web": "workspace:6.0.0-6-next.58",
|
||||
"verdaccio-audit": "workspace:11.0.0-6-next.34",
|
||||
"compression": "1.7.4",
|
||||
"cors": "2.8.5",
|
||||
"debug": "4.3.4",
|
||||
@@ -49,7 +49,7 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "16.18.10",
|
||||
"@verdaccio/proxy": "workspace:6.0.0-6-next.47",
|
||||
"@verdaccio/proxy": "workspace:6.0.0-6-next.49",
|
||||
"@verdaccio/test-helper": "workspace:2.0.0-6-next.8",
|
||||
"http-errors": "2.0.0"
|
||||
},
|
||||
|
||||
@@ -1,5 +1,30 @@
|
||||
# @verdaccio/server-fastify
|
||||
|
||||
## 6.0.0-6-next.52
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [679c19c1b]
|
||||
- @verdaccio/config@6.0.0-6-next.71
|
||||
- @verdaccio/auth@6.0.0-6-next.50
|
||||
- @verdaccio/store@6.0.0-6-next.51
|
||||
- @verdaccio/logger@6.0.0-6-next.39
|
||||
- @verdaccio/core@6.0.0-6-next.71
|
||||
- @verdaccio/tarball@11.0.0-6-next.40
|
||||
- @verdaccio/utils@6.0.0-6-next.39
|
||||
|
||||
## 6.0.0-6-next.51
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- @verdaccio/logger@6.0.0-6-next.38
|
||||
- @verdaccio/auth@6.0.0-6-next.49
|
||||
- @verdaccio/store@6.0.0-6-next.50
|
||||
- @verdaccio/core@6.0.0-6-next.70
|
||||
- @verdaccio/config@6.0.0-6-next.70
|
||||
- @verdaccio/tarball@11.0.0-6-next.39
|
||||
- @verdaccio/utils@6.0.0-6-next.38
|
||||
|
||||
## 6.0.0-6-next.50
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@verdaccio/server-fastify",
|
||||
"version": "6.0.0-6-next.50",
|
||||
"version": "6.0.0-6-next.52",
|
||||
"description": "fastify server api implementation",
|
||||
"keywords": [
|
||||
"private",
|
||||
@@ -34,13 +34,13 @@
|
||||
"access": "public"
|
||||
},
|
||||
"dependencies": {
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.69",
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.69",
|
||||
"@verdaccio/auth": "workspace:6.0.0-6-next.48",
|
||||
"@verdaccio/logger": "workspace:6.0.0-6-next.37",
|
||||
"@verdaccio/store": "workspace:6.0.0-6-next.49",
|
||||
"@verdaccio/tarball": "workspace:11.0.0-6-next.38",
|
||||
"@verdaccio/utils": "workspace:6.0.0-6-next.37",
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.71",
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.71",
|
||||
"@verdaccio/auth": "workspace:6.0.0-6-next.50",
|
||||
"@verdaccio/logger": "workspace:6.0.0-6-next.39",
|
||||
"@verdaccio/store": "workspace:6.0.0-6-next.51",
|
||||
"@verdaccio/tarball": "workspace:11.0.0-6-next.40",
|
||||
"@verdaccio/utils": "workspace:6.0.0-6-next.39",
|
||||
"core-js": "3.30.2",
|
||||
"debug": "4.3.4",
|
||||
"fastify": "4.17.0",
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
"lodash": "4.17.21"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.69",
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.71",
|
||||
"@verdaccio/types": "workspace:11.0.0-6-next.25"
|
||||
},
|
||||
"funding": {
|
||||
|
||||
@@ -32,8 +32,8 @@
|
||||
"homepage": "https://verdaccio.org",
|
||||
"license": "MIT",
|
||||
"devDependencies": {
|
||||
"@verdaccio/cli": "workspace:6.0.0-6-next.69",
|
||||
"@verdaccio/ui-theme": "workspace:6.0.0-6-next.69",
|
||||
"@verdaccio/cli": "workspace:6.0.0-6-next.71",
|
||||
"@verdaccio/ui-theme": "workspace:6.0.0-6-next.71",
|
||||
"fs-extra": "10.1.0",
|
||||
"webpack": "5.82.1",
|
||||
"webpack-bundle-analyzer": "4.7.0",
|
||||
|
||||
@@ -1,5 +1,36 @@
|
||||
# @verdaccio/store
|
||||
|
||||
## 6.0.0-6-next.51
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [679c19c1b]
|
||||
- @verdaccio/config@6.0.0-6-next.71
|
||||
- @verdaccio/hooks@6.0.0-6-next.41
|
||||
- @verdaccio/loaders@6.0.0-6-next.40
|
||||
- @verdaccio/local-storage@11.0.0-6-next.41
|
||||
- @verdaccio/proxy@6.0.0-6-next.49
|
||||
- @verdaccio/logger@6.0.0-6-next.39
|
||||
- @verdaccio/core@6.0.0-6-next.71
|
||||
- @verdaccio/tarball@11.0.0-6-next.40
|
||||
- @verdaccio/url@11.0.0-6-next.37
|
||||
- @verdaccio/utils@6.0.0-6-next.39
|
||||
|
||||
## 6.0.0-6-next.50
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- @verdaccio/logger@6.0.0-6-next.38
|
||||
- @verdaccio/hooks@6.0.0-6-next.40
|
||||
- @verdaccio/loaders@6.0.0-6-next.39
|
||||
- @verdaccio/local-storage@11.0.0-6-next.40
|
||||
- @verdaccio/proxy@6.0.0-6-next.48
|
||||
- @verdaccio/core@6.0.0-6-next.70
|
||||
- @verdaccio/config@6.0.0-6-next.70
|
||||
- @verdaccio/tarball@11.0.0-6-next.39
|
||||
- @verdaccio/url@11.0.0-6-next.36
|
||||
- @verdaccio/utils@6.0.0-6-next.38
|
||||
|
||||
## 6.0.0-6-next.49
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@verdaccio/store",
|
||||
"version": "6.0.0-6-next.49",
|
||||
"version": "6.0.0-6-next.51",
|
||||
"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.69",
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.69",
|
||||
"@verdaccio/hooks": "workspace:6.0.0-6-next.39",
|
||||
"@verdaccio/loaders": "workspace:6.0.0-6-next.38",
|
||||
"@verdaccio/local-storage": "workspace:11.0.0-6-next.39",
|
||||
"@verdaccio/logger": "workspace:6.0.0-6-next.37",
|
||||
"@verdaccio/proxy": "workspace:6.0.0-6-next.47",
|
||||
"@verdaccio/url": "workspace:11.0.0-6-next.35",
|
||||
"@verdaccio/utils": "workspace:6.0.0-6-next.37",
|
||||
"@verdaccio/tarball": "workspace:11.0.0-6-next.38",
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.71",
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.71",
|
||||
"@verdaccio/hooks": "workspace:6.0.0-6-next.41",
|
||||
"@verdaccio/loaders": "workspace:6.0.0-6-next.40",
|
||||
"@verdaccio/local-storage": "workspace:11.0.0-6-next.41",
|
||||
"@verdaccio/logger": "workspace:6.0.0-6-next.39",
|
||||
"@verdaccio/proxy": "workspace:6.0.0-6-next.49",
|
||||
"@verdaccio/url": "workspace:11.0.0-6-next.37",
|
||||
"@verdaccio/utils": "workspace:6.0.0-6-next.39",
|
||||
"@verdaccio/tarball": "workspace:11.0.0-6-next.40",
|
||||
"JSONStream": "1.3.5",
|
||||
"debug": "4.3.4",
|
||||
"lodash": "4.17.21",
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
"main": "./build/index.js",
|
||||
"types": "build/index.d.ts",
|
||||
"dependencies": {
|
||||
"@docusaurus/types": "2.4.0",
|
||||
"@docusaurus/utils": "2.4.0"
|
||||
"@docusaurus/types": "2.4.1",
|
||||
"@docusaurus/utils": "2.4.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"react": "17.0.2",
|
||||
|
||||
@@ -3,11 +3,11 @@
|
||||
{
|
||||
"id": 558752,
|
||||
"login": "juanpicado",
|
||||
"contributions": 5072,
|
||||
"contributions": 5090,
|
||||
"repositories": [
|
||||
{
|
||||
"name": "verdaccio",
|
||||
"contributions": 2758
|
||||
"contributions": 2776
|
||||
},
|
||||
{
|
||||
"name": "verdaccio-cookbook",
|
||||
@@ -2251,7 +2251,7 @@
|
||||
},
|
||||
{
|
||||
"id": 8207081,
|
||||
"login": "bochen2014",
|
||||
"login": "bchenSyd",
|
||||
"contributions": 1,
|
||||
"repositories": [
|
||||
{
|
||||
@@ -2469,6 +2469,17 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 8604205,
|
||||
"login": "gkalpak",
|
||||
"contributions": 1,
|
||||
"repositories": [
|
||||
{
|
||||
"name": "verdaccio",
|
||||
"contributions": 1
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 43740166,
|
||||
"login": "Grabauskas",
|
||||
@@ -2535,6 +2546,17 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 20737479,
|
||||
"login": "inyong37",
|
||||
"contributions": 1,
|
||||
"repositories": [
|
||||
{
|
||||
"name": "verdaccio",
|
||||
"contributions": 1
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 2998207,
|
||||
"login": "jrussellsmyth",
|
||||
@@ -3096,6 +3118,17 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 7145848,
|
||||
"login": "swapnilmmane",
|
||||
"contributions": 1,
|
||||
"repositories": [
|
||||
{
|
||||
"name": "verdaccio",
|
||||
"contributions": 1
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 119927819,
|
||||
"login": "TLDMain",
|
||||
@@ -4636,6 +4669,17 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 4612720,
|
||||
"login": "jfoechsler",
|
||||
"contributions": 1,
|
||||
"repositories": [
|
||||
{
|
||||
"name": "charts",
|
||||
"contributions": 1
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 40362916,
|
||||
"login": "jfrancisco0",
|
||||
@@ -4787,7 +4831,7 @@
|
||||
"full_name": "verdaccio/verdaccio",
|
||||
"html_url": "https://github.com/verdaccio/verdaccio",
|
||||
"description": "📦🔐 A lightweight Node.js private proxy registry",
|
||||
"stargazers_count": 14745,
|
||||
"stargazers_count": 14814,
|
||||
"archived": false
|
||||
},
|
||||
{
|
||||
@@ -4913,7 +4957,7 @@
|
||||
"full_name": "verdaccio/monorepo",
|
||||
"html_url": "https://github.com/verdaccio/monorepo",
|
||||
"description": "🏰 Core dependencies and plugins for verdaccio 5.x branch ⚠️ DEPRECATED",
|
||||
"stargazers_count": 74,
|
||||
"stargazers_count": 75,
|
||||
"archived": false
|
||||
},
|
||||
{
|
||||
|
||||
@@ -13,14 +13,14 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"eslint-config-google": "0.14.0",
|
||||
"eslint-config-prettier": "8.6.0",
|
||||
"eslint-config-prettier": "8.8.0",
|
||||
"eslint-plugin-babel": "5.3.1",
|
||||
"eslint-plugin-import": "2.27.5",
|
||||
"eslint-plugin-jest": "27.2.1",
|
||||
"eslint-plugin-jsx-a11y": "6.7.1",
|
||||
"eslint-plugin-prettier": "4.2.1",
|
||||
"eslint-plugin-react": "7.32.2",
|
||||
"eslint-plugin-cypress": "2.12.1",
|
||||
"eslint-plugin-cypress": "2.13.3",
|
||||
"eslint-plugin-react-hooks": "4.6.0",
|
||||
"eslint-plugin-simple-import-sort": "10.0.0",
|
||||
"eslint-plugin-verdaccio": "10.0.0"
|
||||
|
||||
@@ -10,12 +10,12 @@
|
||||
"types": "build/index.d.ts",
|
||||
"devDependencies": {
|
||||
"@verdaccio/types": "workspace:11.0.0-6-next.25",
|
||||
"@verdaccio/auth": "workspace:6.0.0-6-next.48",
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.69",
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.69",
|
||||
"@verdaccio/middleware": "workspace:6.0.0-6-next.48",
|
||||
"@verdaccio/logger": "workspace:6.0.0-6-next.37",
|
||||
"@verdaccio/utils": "workspace:6.0.0-6-next.37",
|
||||
"@verdaccio/auth": "workspace:6.0.0-6-next.50",
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.71",
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.71",
|
||||
"@verdaccio/middleware": "workspace:6.0.0-6-next.50",
|
||||
"@verdaccio/logger": "workspace:6.0.0-6-next.39",
|
||||
"@verdaccio/utils": "workspace:6.0.0-6-next.39",
|
||||
"body-parser": "1.20.2",
|
||||
"express": "4.18.2",
|
||||
"supertest": "6.3.3",
|
||||
|
||||
@@ -10,9 +10,9 @@
|
||||
"types": "build/index.d.ts",
|
||||
"devDependencies": {
|
||||
"@verdaccio/types": "workspace:11.0.0-6-next.25",
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.69",
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.69",
|
||||
"verdaccio": "6.0.0-6-next.69",
|
||||
"@verdaccio/core": "workspace:6.0.0-6-next.71",
|
||||
"@verdaccio/config": "workspace:6.0.0-6-next.71",
|
||||
"verdaccio": "6.0.0-6-next.71",
|
||||
"ts-node": "10.9.1"
|
||||
},
|
||||
"scripts": {
|
||||
|
||||
@@ -68,8 +68,8 @@
|
||||
"approvalProgress": 14
|
||||
},
|
||||
"zh-CN": {
|
||||
"translationProgress": 31,
|
||||
"approvalProgress": 31
|
||||
"translationProgress": 38,
|
||||
"approvalProgress": 38
|
||||
},
|
||||
"zh-TW": {
|
||||
"translationProgress": 15,
|
||||
|
||||
@@ -1,16 +1,8 @@
|
||||
{
|
||||
"extends": "../../.babelrc",
|
||||
"plugins": ["@emotion"],
|
||||
"sourceMaps" : "inline",
|
||||
"presets": [
|
||||
[
|
||||
"@babel/preset-env",
|
||||
{
|
||||
"targets": ["last 5 versions"],
|
||||
"bugfixes": true,
|
||||
"modules": "auto",
|
||||
"debug": false
|
||||
}
|
||||
],
|
||||
"@babel/preset-react"
|
||||
]
|
||||
}
|
||||
|
||||
@@ -4,6 +4,7 @@ import { Provider } from 'react-redux';
|
||||
import config from '../../plugins/ui-theme/src/i18n/config';
|
||||
import {
|
||||
AppConfigurationProvider,
|
||||
PersistenceSettingProvider,
|
||||
StyleBaseline,
|
||||
ThemeProvider,
|
||||
TranslatorProvider,
|
||||
@@ -34,12 +35,14 @@ export const parameters = {
|
||||
export const withMuiTheme = (Story) => (
|
||||
<Provider store={store}>
|
||||
<TranslatorProvider onMount={() => {}} i18n={config} listLanguages={listLanguages}>
|
||||
<AppConfigurationProvider>
|
||||
<ThemeProvider>
|
||||
<StyleBaseline />
|
||||
<Story />
|
||||
</ThemeProvider>
|
||||
</AppConfigurationProvider>
|
||||
<PersistenceSettingProvider>
|
||||
<AppConfigurationProvider>
|
||||
<ThemeProvider>
|
||||
<StyleBaseline />
|
||||
<Story />
|
||||
</ThemeProvider>
|
||||
</AppConfigurationProvider>
|
||||
</PersistenceSettingProvider>
|
||||
</TranslatorProvider>
|
||||
</Provider>
|
||||
);
|
||||
|
||||
@@ -1,5 +1,11 @@
|
||||
# @verdaccio/ui-components
|
||||
|
||||
## 2.0.0-6-next.10
|
||||
|
||||
### Minor Changes
|
||||
|
||||
- 7344a7fcf: feat: ui bugfixes and improvements
|
||||
|
||||
## 2.0.0-6-next.9
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@verdaccio/ui-components",
|
||||
"version": "2.0.0-6-next.9",
|
||||
"version": "2.0.0-6-next.10",
|
||||
"description": "theme ui component",
|
||||
"author": "Juan Picado <juanpicado19@gmail.com>",
|
||||
"license": "MIT",
|
||||
@@ -21,6 +21,8 @@
|
||||
"dependencies": {
|
||||
"@emotion/react": "^11.10.6",
|
||||
"@emotion/styled": "^11.10.6",
|
||||
"@fontsource/material-icons": "^4.5.4",
|
||||
"@fontsource/roboto": "^4.5.8",
|
||||
"@mui/icons-material": "5.11.16",
|
||||
"@mui/material": "5.12.0",
|
||||
"@mui/styles": "5.12.0",
|
||||
@@ -28,8 +30,6 @@
|
||||
"@rematch/core": "2.2.0",
|
||||
"@rematch/loading": "2.1.2",
|
||||
"@rematch/persist": "2.1.2",
|
||||
"@fontsource/material-icons": "^4.5.4",
|
||||
"@fontsource/roboto": "^4.5.8",
|
||||
"country-flag-icons": "1.5.5",
|
||||
"dayjs": "1.11.7",
|
||||
"dompurify": "2.4.5",
|
||||
@@ -56,7 +56,6 @@
|
||||
"validator": "13.9.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@verdaccio/types": "workspace:11.0.0-6-next.25",
|
||||
"@babel/core": "^7.20.7",
|
||||
"@emotion/babel-plugin": "11.10.6",
|
||||
"@emotion/jest": "11.10.5",
|
||||
@@ -74,6 +73,7 @@
|
||||
"@types/hast": "^2.0.0",
|
||||
"@types/react-router": "^5.1.20",
|
||||
"@types/unist": "^2.0.0",
|
||||
"@verdaccio/types": "workspace:11.0.0-6-next.25",
|
||||
"babel-loader": "^8.3.0",
|
||||
"mockdate": "3.0.5",
|
||||
"msw": "0.49.2"
|
||||
|
||||
@@ -1,50 +1,64 @@
|
||||
import type { Meta, StoryObj } from '@storybook/react';
|
||||
import { clone, merge } from 'lodash';
|
||||
import React from 'react';
|
||||
|
||||
import { default as ActionBar } from '.';
|
||||
|
||||
export default {
|
||||
title: 'ActionBar ',
|
||||
const meta: Meta<typeof ActionBar> = {
|
||||
title: 'Components/Sidebar/ActionBar',
|
||||
component: ActionBar,
|
||||
};
|
||||
|
||||
export const ActionBarAll: any = () => (
|
||||
<ActionBar
|
||||
packageMeta={{
|
||||
_uplinks: {},
|
||||
latest: {
|
||||
name: 'verdaccio-ui/local-storage',
|
||||
version: '8.0.1-next.1',
|
||||
dist: {
|
||||
fileCount: 0,
|
||||
unpackedSize: 0,
|
||||
tarball: 'http://localhost:8080/bootstrap/-/bootstrap-4.3.1.tgz',
|
||||
},
|
||||
homepage: 'https://verdaccio.org',
|
||||
bugs: {
|
||||
url: 'https://github.com/verdaccio/monorepo/issues',
|
||||
},
|
||||
},
|
||||
}}
|
||||
/>
|
||||
);
|
||||
export default meta;
|
||||
type Story = StoryObj<typeof ActionBar>;
|
||||
|
||||
export const RawViewer: any = () => (
|
||||
<ActionBar
|
||||
packageMeta={{
|
||||
_uplinks: {},
|
||||
latest: {
|
||||
name: 'verdaccio-ui/local-storage',
|
||||
version: '8.0.1-next.1',
|
||||
dist: {
|
||||
fileCount: 0,
|
||||
unpackedSize: 0,
|
||||
tarball: 'http://localhost:8080/bootstrap/-/bootstrap-4.3.1.tgz',
|
||||
},
|
||||
homepage: 'https://verdaccio.org',
|
||||
bugs: {
|
||||
url: 'https://github.com/verdaccio/monorepo/issues',
|
||||
},
|
||||
},
|
||||
}}
|
||||
showRaw={true}
|
||||
/>
|
||||
);
|
||||
const packageMeta = {
|
||||
_uplinks: {},
|
||||
latest: {
|
||||
name: 'verdaccio-ui/local-storage',
|
||||
version: '8.0.1-next.1',
|
||||
dist: {
|
||||
fileCount: 0,
|
||||
unpackedSize: 0,
|
||||
tarball: 'https://registry.verdaccio.org/storybook/-/storybook-0.2.0.tgz',
|
||||
},
|
||||
homepage: 'https://verdaccio.org',
|
||||
bugs: {
|
||||
url: 'https://github.com/verdaccio/monorepo/issues',
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
export const Primary: Story = {
|
||||
name: 'Default',
|
||||
render: () => <ActionBar packageMeta={packageMeta} />,
|
||||
};
|
||||
|
||||
export const Raw: Story = {
|
||||
name: 'Raw viewer',
|
||||
render: () => <ActionBar packageMeta={packageMeta} showRaw={true} />,
|
||||
};
|
||||
|
||||
export const NoLatest: Story = {
|
||||
name: 'No latest (empty)',
|
||||
render: () => <ActionBar packageMeta={{}} showRaw={true} />,
|
||||
};
|
||||
|
||||
export const Download: Story = {
|
||||
name: 'No show download',
|
||||
render: () => <ActionBar packageMeta={{ ...clone(packageMeta) }} showDownloadTarball={false} />,
|
||||
};
|
||||
|
||||
export const Home: Story = {
|
||||
name: 'No home',
|
||||
render: () => (
|
||||
<ActionBar packageMeta={{ ...merge(clone(packageMeta), { latest: { homepage: null } }) }} />
|
||||
),
|
||||
};
|
||||
|
||||
export const Bugs: Story = {
|
||||
name: 'No bugs',
|
||||
render: () => (
|
||||
<ActionBar packageMeta={{ ...merge(clone(packageMeta), { latest: { bugs: null } }) }} />
|
||||
),
|
||||
};
|
||||
|
||||
@@ -3,7 +3,7 @@ import React from 'react';
|
||||
import { default as Author } from '.';
|
||||
|
||||
export default {
|
||||
title: 'Author ',
|
||||
title: 'Components/Sidebar/Author',
|
||||
};
|
||||
|
||||
export const AuthorAll: any = () => (
|
||||
|
||||
@@ -3,7 +3,7 @@ import React from 'react';
|
||||
import CopyToClipBoard from './CopyToClipBoard';
|
||||
|
||||
export default {
|
||||
title: 'CopyToClipBoard',
|
||||
title: 'Components/Sidebar/CopyToClipBoard',
|
||||
component: CopyToClipBoard,
|
||||
argTypes: {
|
||||
backgroundColor: { control: 'color' },
|
||||
|
||||
@@ -34,12 +34,12 @@ function CopyToClipBoard({ text, children, dataTestId, title, ...props }: Props)
|
||||
<Content>{children ?? text}</Content>
|
||||
{title ? (
|
||||
<Tooltip disableFocusListener={true} title={title}>
|
||||
<IconButton data-testid={dataTestId} onClick={copyToClipBoardUtility(text)} size="large">
|
||||
<IconButton data-testid={dataTestId} onClick={copyToClipBoardUtility(text)} size="small">
|
||||
<FileCopy fontSize="small" />
|
||||
</IconButton>
|
||||
</Tooltip>
|
||||
) : (
|
||||
<IconButton data-testid={dataTestId} onClick={copyToClipBoardUtility(text)} size="large">
|
||||
<IconButton data-testid={dataTestId} onClick={copyToClipBoardUtility(text)} size="small">
|
||||
<FileCopy fontSize="small" />
|
||||
</IconButton>
|
||||
)}
|
||||
|
||||
@@ -1,58 +1,158 @@
|
||||
import type { Meta, StoryObj } from '@storybook/react';
|
||||
import React from 'react';
|
||||
|
||||
import { default as Dependencies } from '.';
|
||||
|
||||
export default {
|
||||
title: 'Dependencies ',
|
||||
const meta: Meta<typeof Dependencies> = {
|
||||
title: 'Components/Detail/Dependencies',
|
||||
component: Dependencies,
|
||||
};
|
||||
|
||||
export const DeprecatedAll: any = () => (
|
||||
<Dependencies
|
||||
packageMeta={{
|
||||
latest: {
|
||||
name: 'verdaccio',
|
||||
version: '4.0.0',
|
||||
author: {
|
||||
name: 'verdaccio user',
|
||||
email: 'verdaccio.user@verdaccio.org',
|
||||
url: '',
|
||||
avatar: 'https://www.gravatar.com/avatar/000000',
|
||||
},
|
||||
dist: { fileCount: 0, unpackedSize: 0 },
|
||||
dependencies: {
|
||||
react: '16.9.0',
|
||||
'react-dom': '16.9.0',
|
||||
},
|
||||
devDependencies: {
|
||||
'babel-core': '7.0.0-beta6',
|
||||
},
|
||||
peerDependencies: {
|
||||
'styled-components': '5.0.0',
|
||||
},
|
||||
},
|
||||
_uplinks: {},
|
||||
}}
|
||||
/>
|
||||
);
|
||||
export default meta;
|
||||
type Story = StoryObj<typeof Dependencies>;
|
||||
|
||||
export const NoDependencies: any = () => (
|
||||
<Dependencies
|
||||
packageMeta={{
|
||||
latest: {
|
||||
name: 'verdaccio',
|
||||
version: '4.0.0',
|
||||
author: {
|
||||
name: 'verdaccio user',
|
||||
email: 'verdaccio.user@verdaccio.org',
|
||||
url: '',
|
||||
avatar: 'https://www.gravatar.com/avatar/000000',
|
||||
},
|
||||
dist: { fileCount: 0, unpackedSize: 0 },
|
||||
dependencies: {},
|
||||
devDependencies: {},
|
||||
peerDependencies: {},
|
||||
},
|
||||
_uplinks: {},
|
||||
}}
|
||||
/>
|
||||
);
|
||||
const packageMeta = {
|
||||
latest: {
|
||||
name: 'verdaccio',
|
||||
version: '4.0.0',
|
||||
author: {
|
||||
name: 'verdaccio user',
|
||||
email: 'verdaccio.user@verdaccio.org',
|
||||
url: '',
|
||||
avatar: 'https://www.gravatar.com/avatar/000000',
|
||||
},
|
||||
dist: { fileCount: 0, unpackedSize: 0 },
|
||||
dependencies: {
|
||||
react: '16.9.0',
|
||||
'react-dom': '16.9.0',
|
||||
'@storybook/codemod': '^3.2.6',
|
||||
chalk: '^2.1.0',
|
||||
'child-process-promise': '^2.2.1',
|
||||
commander: '^2.11.0',
|
||||
'cross-spawn': '^5.0.1',
|
||||
jscodeshift: '^0.3.30',
|
||||
json5: '^0.5.1',
|
||||
'latest-version': '^3.1.0',
|
||||
'merge-dirs': '^0.2.1',
|
||||
opencollective: '^1.0.3',
|
||||
shelljs: '^0.7.8',
|
||||
'update-notifier': '^2.1.0',
|
||||
},
|
||||
devDependencies: {
|
||||
'babel-core': '7.0.0-beta6',
|
||||
'cross-spawn': '^5.0.1',
|
||||
jscodeshift: '^0.3.30',
|
||||
json5: '^0.5.1',
|
||||
'latest-version': '^3.1.0',
|
||||
'merge-dirs': '^0.2.1',
|
||||
opencollective: '^1.0.3',
|
||||
shelljs: '^0.7.8',
|
||||
'update-notifier': '^2.1.0',
|
||||
},
|
||||
peerDependencies: {
|
||||
'styled-components': '5.0.0',
|
||||
'cross-spawn': '^5.0.1',
|
||||
jscodeshift: '^0.3.30',
|
||||
json5: '^0.5.1',
|
||||
'latest-version': '^3.1.0',
|
||||
'merge-dirs': '^0.2.1',
|
||||
opencollective: '^1.0.3',
|
||||
shelljs: '^0.7.8',
|
||||
'update-notifier': '^2.1.0',
|
||||
},
|
||||
optionalDependencies: {
|
||||
'styled-components': '5.0.0',
|
||||
'cross-spawn': '^5.0.1',
|
||||
jscodeshift: '^0.3.30',
|
||||
json5: '^0.5.1',
|
||||
'latest-version': '^3.1.0',
|
||||
'merge-dirs': '^0.2.1',
|
||||
opencollective: '^1.0.3',
|
||||
shelljs: '^0.7.8',
|
||||
'update-notifier': '^2.1.0',
|
||||
},
|
||||
bundleDependencies: {
|
||||
'styled-components': '5.0.0',
|
||||
'cross-spawn': '^5.0.1',
|
||||
jscodeshift: '^0.3.30',
|
||||
json5: '^0.5.1',
|
||||
'latest-version': '^3.1.0',
|
||||
'merge-dirs': '^0.2.1',
|
||||
opencollective: '^1.0.3',
|
||||
shelljs: '^0.7.8',
|
||||
'update-notifier': '^2.1.0',
|
||||
},
|
||||
},
|
||||
_uplinks: {},
|
||||
};
|
||||
|
||||
export const Primary: Story = {
|
||||
name: 'Default',
|
||||
render: () => {
|
||||
return <Dependencies packageMeta={packageMeta} />;
|
||||
},
|
||||
};
|
||||
|
||||
export const OnlyDeps: Story = {
|
||||
name: 'Only dependencies',
|
||||
render: () => {
|
||||
return (
|
||||
<Dependencies
|
||||
packageMeta={{
|
||||
latest: {
|
||||
name: 'verdaccio',
|
||||
version: '4.0.0',
|
||||
author: {
|
||||
name: 'verdaccio user',
|
||||
email: 'verdaccio.user@verdaccio.org',
|
||||
url: '',
|
||||
avatar: 'https://www.gravatar.com/avatar/000000',
|
||||
},
|
||||
dist: { fileCount: 0, unpackedSize: 0 },
|
||||
dependencies: {
|
||||
'styled-components': '5.0.0',
|
||||
'cross-spawn': '^5.0.1',
|
||||
jscodeshift: '^0.3.30',
|
||||
json5: '^0.5.1',
|
||||
'latest-version': '^3.1.0',
|
||||
'merge-dirs': '^0.2.1',
|
||||
opencollective: '^1.0.3',
|
||||
shelljs: '^0.7.8',
|
||||
'update-notifier': '^2.1.0',
|
||||
},
|
||||
devDependencies: { jscodeshift: '^0.3.30', json5: '^0.5.1' },
|
||||
peerDependencies: {},
|
||||
},
|
||||
_uplinks: {},
|
||||
}}
|
||||
/>
|
||||
);
|
||||
},
|
||||
};
|
||||
|
||||
export const NoDependencies: Story = {
|
||||
name: 'No dependencies',
|
||||
render: () => {
|
||||
return (
|
||||
<Dependencies
|
||||
packageMeta={{
|
||||
latest: {
|
||||
name: 'verdaccio',
|
||||
version: '4.0.0',
|
||||
author: {
|
||||
name: 'verdaccio user',
|
||||
email: 'verdaccio.user@verdaccio.org',
|
||||
url: '',
|
||||
avatar: 'https://www.gravatar.com/avatar/000000',
|
||||
},
|
||||
dist: { fileCount: 0, unpackedSize: 0 },
|
||||
dependencies: {},
|
||||
devDependencies: {},
|
||||
peerDependencies: {},
|
||||
},
|
||||
_uplinks: {},
|
||||
}}
|
||||
/>
|
||||
);
|
||||
},
|
||||
};
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
import Box from '@mui/material/Box';
|
||||
import CardContent from '@mui/material/CardContent';
|
||||
import { useTheme } from '@mui/styles';
|
||||
import React from 'react';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { useHistory } from 'react-router-dom';
|
||||
@@ -10,44 +12,38 @@ import { CardWrap, StyledText, Tag, Tags } from './styles';
|
||||
interface DependencyBlockProps {
|
||||
title: string;
|
||||
dependencies: PackageDependencies;
|
||||
enableLoading?: () => void;
|
||||
}
|
||||
|
||||
const DependencyBlock: React.FC<DependencyBlockProps> = ({
|
||||
title,
|
||||
dependencies,
|
||||
enableLoading,
|
||||
}) => {
|
||||
const DependencyBlock: React.FC<DependencyBlockProps> = ({ title, dependencies }) => {
|
||||
const history = useHistory();
|
||||
const { t } = useTranslation();
|
||||
const theme = useTheme();
|
||||
|
||||
const deps = Object.entries(dependencies);
|
||||
|
||||
function handleClick(name: string): void {
|
||||
enableLoading?.();
|
||||
|
||||
history.push(`/-/web/detail/${name}`);
|
||||
}
|
||||
|
||||
return (
|
||||
<CardWrap data-testid={title}>
|
||||
<CardContent>
|
||||
<StyledText variant="subtitle1">{`${title} (${deps.length})`}</StyledText>
|
||||
<Tags>
|
||||
{deps.map(([name, version]) => (
|
||||
<Tag
|
||||
className={'dep-tag'}
|
||||
clickable={true}
|
||||
data-testid={name}
|
||||
key={name}
|
||||
label={t('dependencies.dependency-block', { package: name, version })}
|
||||
// eslint-disable-next-line
|
||||
onClick={() => handleClick(name)}
|
||||
/>
|
||||
))}
|
||||
</Tags>
|
||||
</CardContent>
|
||||
</CardWrap>
|
||||
<Box data-testid={title} sx={{ margin: theme.spacing(2) }}>
|
||||
<StyledText sx={{ marginBottom: theme.spacing(1) }} variant="subtitle1">
|
||||
{`${title} (${deps.length})`}
|
||||
</StyledText>
|
||||
<Tags>
|
||||
{deps.map(([name, version]) => (
|
||||
<Tag
|
||||
className={'dep-tag'}
|
||||
clickable={true}
|
||||
data-testid={name}
|
||||
key={name}
|
||||
label={t('dependencies.dependency-block', { package: name, version })}
|
||||
// eslint-disable-next-line
|
||||
onClick={() => handleClick(name)}
|
||||
/>
|
||||
))}
|
||||
</Tags>
|
||||
</Box>
|
||||
);
|
||||
};
|
||||
|
||||
@@ -65,37 +61,51 @@ const Dependencies: React.FC<{ packageMeta: any }> = ({ packageMeta }) => {
|
||||
const { latest } = packageMeta;
|
||||
// FIXME: add dependencies to package meta type
|
||||
// @ts-ignore
|
||||
const { dependencies, devDependencies, peerDependencies, name } = latest;
|
||||
const dependencyMap = { dependencies, devDependencies, peerDependencies };
|
||||
const {
|
||||
dependencies,
|
||||
devDependencies,
|
||||
peerDependencies,
|
||||
optionalDependencies,
|
||||
bundleDependencies,
|
||||
name,
|
||||
} = latest;
|
||||
const dependencyMap = {
|
||||
dependencies,
|
||||
devDependencies,
|
||||
peerDependencies,
|
||||
bundleDependencies,
|
||||
optionalDependencies,
|
||||
};
|
||||
const hasDependencies =
|
||||
hasKeys(dependencies) || hasKeys(devDependencies) || hasKeys(peerDependencies);
|
||||
|
||||
hasKeys(dependencies) ||
|
||||
hasKeys(bundleDependencies) ||
|
||||
hasKeys(optionalDependencies) ||
|
||||
hasKeys(devDependencies) ||
|
||||
hasKeys(peerDependencies);
|
||||
if (hasDependencies) {
|
||||
return (
|
||||
<>
|
||||
{Object.entries(dependencyMap).map(([dependencyType, dependencies]) => {
|
||||
if (!dependencies || Object.keys(dependencies).length === 0) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return (
|
||||
<DependencyBlock
|
||||
dependencies={dependencies}
|
||||
key={dependencyType}
|
||||
title={dependencyType}
|
||||
/>
|
||||
);
|
||||
})}
|
||||
</>
|
||||
<CardWrap>
|
||||
<CardContent>
|
||||
{Object.entries(dependencyMap).map(([dependencyType, dependencies]) => {
|
||||
if (!dependencies || Object.keys(dependencies).length === 0) {
|
||||
return null;
|
||||
}
|
||||
return (
|
||||
<>
|
||||
<DependencyBlock
|
||||
dependencies={dependencies}
|
||||
key={dependencyType}
|
||||
title={dependencyType}
|
||||
/>
|
||||
</>
|
||||
);
|
||||
})}
|
||||
</CardContent>
|
||||
</CardWrap>
|
||||
);
|
||||
}
|
||||
|
||||
return (
|
||||
<NoItems
|
||||
className="no-dependencies"
|
||||
text={t('dependencies.has-no-dependencies', { package: name })}
|
||||
/>
|
||||
);
|
||||
return <NoItems text={t('dependencies.has-no-dependencies', { package: name })} />;
|
||||
};
|
||||
|
||||
export default Dependencies;
|
||||
|
||||
@@ -3,7 +3,7 @@ import React from 'react';
|
||||
import { default as Deprecated } from '.';
|
||||
|
||||
export default {
|
||||
title: 'Deprecated',
|
||||
title: 'Components/Detail/Deprecated',
|
||||
};
|
||||
|
||||
export const DeprecatedAll: any = () => <Deprecated message="this is deprecated" />;
|
||||
|
||||
@@ -3,7 +3,7 @@ import React from 'react';
|
||||
import { DeveloperType, default as Developers } from '.';
|
||||
|
||||
export default {
|
||||
title: 'Developers',
|
||||
title: 'Components/Sidebar/Developers',
|
||||
};
|
||||
|
||||
export const DevelopersAll: any = () => (
|
||||
|
||||
@@ -3,7 +3,7 @@ import React from 'react';
|
||||
import { default as Dist } from '.';
|
||||
|
||||
export default {
|
||||
title: 'Dist',
|
||||
title: 'Components/Sidebar/Dist',
|
||||
};
|
||||
|
||||
export const AllProperties: any = () => (
|
||||
|
||||
@@ -3,7 +3,7 @@ import React from 'react';
|
||||
import { default as Engines } from '.';
|
||||
|
||||
export default {
|
||||
title: 'Engines',
|
||||
title: 'Components/Sidebar/Engines',
|
||||
};
|
||||
|
||||
export const EnginesNpmNode: any = () => (
|
||||
|
||||
@@ -1,25 +1,56 @@
|
||||
import Box from '@mui/material/Box';
|
||||
import Stack from '@mui/material/Stack';
|
||||
import type { Meta, StoryObj } from '@storybook/react';
|
||||
import React from 'react';
|
||||
|
||||
import { default as FundButton } from '.';
|
||||
|
||||
export default {
|
||||
title: 'FundButton',
|
||||
const meta: Meta<typeof FundButton> = {
|
||||
title: 'Components/Sidebar/FundButton',
|
||||
component: FundButton,
|
||||
};
|
||||
|
||||
export const FundButtonUrl: any = () => (
|
||||
<Box sx={{ width: '100%' }}>
|
||||
<Stack spacing={2}>
|
||||
<FundButton
|
||||
packageMeta={{
|
||||
latest: {
|
||||
funding: {
|
||||
url: 'https://opencollective.com/verdaccio',
|
||||
},
|
||||
},
|
||||
}}
|
||||
/>
|
||||
</Stack>
|
||||
</Box>
|
||||
);
|
||||
export default meta;
|
||||
type Story = StoryObj<typeof FundButton>;
|
||||
|
||||
export const Primary: Story = {
|
||||
name: 'Default',
|
||||
render: () => {
|
||||
return (
|
||||
<Box sx={{ width: '100%' }}>
|
||||
<Stack spacing={2}>
|
||||
<FundButton
|
||||
packageMeta={{
|
||||
latest: {
|
||||
funding: {
|
||||
url: 'https://opencollective.com/verdaccio',
|
||||
},
|
||||
},
|
||||
}}
|
||||
/>
|
||||
</Stack>
|
||||
</Box>
|
||||
);
|
||||
},
|
||||
};
|
||||
|
||||
export const Bad: Story = {
|
||||
name: 'Bad Link (empty)',
|
||||
render: () => {
|
||||
return (
|
||||
<Box sx={{ width: '100%' }}>
|
||||
<Stack spacing={2}>
|
||||
<FundButton
|
||||
packageMeta={{
|
||||
latest: {
|
||||
funding: {
|
||||
url: 'bad_link',
|
||||
},
|
||||
},
|
||||
}}
|
||||
/>
|
||||
</Stack>
|
||||
</Box>
|
||||
);
|
||||
},
|
||||
};
|
||||
|
||||
@@ -3,7 +3,7 @@ import React from 'react';
|
||||
import { default as Help } from '.';
|
||||
|
||||
export default {
|
||||
title: 'Help',
|
||||
title: 'Components/Home/Help',
|
||||
};
|
||||
|
||||
export const HelpMessage: any = () => <Help />;
|
||||
|
||||
@@ -116,8 +116,8 @@ exports[`<Help /> component should load the component in default state 1`] = `
|
||||
color: rgba(0, 0, 0, 0.54);
|
||||
-webkit-transition: background-color 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
|
||||
transition: background-color 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
|
||||
padding: 12px;
|
||||
font-size: 1.75rem;
|
||||
padding: 5px;
|
||||
font-size: 1.125rem;
|
||||
}
|
||||
|
||||
.emotion-10::-moz-focus-inner {
|
||||
@@ -315,7 +315,7 @@ exports[`<Help /> component should load the component in default state 1`] = `
|
||||
help.first-step-command-line
|
||||
</span>
|
||||
<button
|
||||
class="MuiButtonBase-root MuiIconButton-root MuiIconButton-sizeLarge emotion-10"
|
||||
class="MuiButtonBase-root MuiIconButton-root MuiIconButton-sizeSmall emotion-10"
|
||||
data-testid="segments"
|
||||
tabindex="0"
|
||||
type="button"
|
||||
@@ -350,7 +350,7 @@ exports[`<Help /> component should load the component in default state 1`] = `
|
||||
help.second-step-command-line
|
||||
</span>
|
||||
<button
|
||||
class="MuiButtonBase-root MuiIconButton-root MuiIconButton-sizeLarge emotion-10"
|
||||
class="MuiButtonBase-root MuiIconButton-root MuiIconButton-sizeSmall emotion-10"
|
||||
data-testid="segments"
|
||||
tabindex="0"
|
||||
type="button"
|
||||
|
||||
@@ -16,7 +16,7 @@ import {
|
||||
} from '.';
|
||||
|
||||
export default {
|
||||
title: 'Icons',
|
||||
title: 'Components/Icons/Overview',
|
||||
};
|
||||
|
||||
export const Icons: any = () => (
|
||||
|
||||
@@ -1,34 +1,87 @@
|
||||
/* eslint-disable react-hooks/rules-of-hooks */
|
||||
import type { Meta, StoryObj } from '@storybook/react';
|
||||
import React from 'react';
|
||||
|
||||
import { default as Install } from '.';
|
||||
import { useConfig } from '../../';
|
||||
|
||||
export default {
|
||||
title: 'Install ',
|
||||
const meta: Meta<typeof Install> = {
|
||||
title: 'Components/Sidebar/Install',
|
||||
component: Install,
|
||||
};
|
||||
|
||||
export const ActionBarAll: any = () => {
|
||||
const { configOptions } = useConfig();
|
||||
return (
|
||||
<Install
|
||||
configOptions={{ ...configOptions, pkgManagers: ['npm', 'yarn', 'pnpm'] }}
|
||||
packageMeta={{
|
||||
_uplinks: {},
|
||||
latest: {
|
||||
name: 'verdaccio-ui/local-storage',
|
||||
version: '8.0.1-next.1',
|
||||
dist: {
|
||||
fileCount: 0,
|
||||
unpackedSize: 0,
|
||||
tarball: 'http://localhost:8080/bootstrap/-/bootstrap-4.3.1.tgz',
|
||||
},
|
||||
homepage: 'https://verdaccio.org',
|
||||
bugs: {
|
||||
url: 'https://github.com/verdaccio/monorepo/issues',
|
||||
},
|
||||
},
|
||||
}}
|
||||
packageName="jquery"
|
||||
/>
|
||||
);
|
||||
export default meta;
|
||||
type Story = StoryObj<typeof Install>;
|
||||
|
||||
const packageMeta = {
|
||||
_uplinks: {},
|
||||
latest: {
|
||||
name: 'verdaccio-ui/local-storage',
|
||||
version: '8.0.1-next.1',
|
||||
dist: {
|
||||
fileCount: 0,
|
||||
unpackedSize: 0,
|
||||
tarball: 'http://localhost:8080/bootstrap/-/bootstrap-4.3.1.tgz',
|
||||
},
|
||||
homepage: 'https://verdaccio.org',
|
||||
bugs: {
|
||||
url: 'https://github.com/verdaccio/monorepo/issues',
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
export const Primary: Story = {
|
||||
name: 'Default',
|
||||
render: () => {
|
||||
const { configOptions } = useConfig();
|
||||
return (
|
||||
<Install
|
||||
configOptions={{ ...configOptions, pkgManagers: ['npm', 'yarn', 'pnpm'] }}
|
||||
packageMeta={packageMeta}
|
||||
packageName="jquery"
|
||||
/>
|
||||
);
|
||||
},
|
||||
};
|
||||
|
||||
export const npmOnly: Story = {
|
||||
name: 'Only NPM',
|
||||
render: () => {
|
||||
const { configOptions } = useConfig();
|
||||
return (
|
||||
<Install
|
||||
configOptions={{ ...configOptions, pkgManagers: ['npm'] }}
|
||||
packageMeta={packageMeta}
|
||||
packageName="jquery"
|
||||
/>
|
||||
);
|
||||
},
|
||||
};
|
||||
|
||||
export const yarnOnly: Story = {
|
||||
name: 'Only Yarn',
|
||||
render: () => {
|
||||
const { configOptions } = useConfig();
|
||||
return (
|
||||
<Install
|
||||
configOptions={{ ...configOptions, pkgManagers: ['yarn'] }}
|
||||
packageMeta={packageMeta}
|
||||
packageName="jquery"
|
||||
/>
|
||||
);
|
||||
},
|
||||
};
|
||||
|
||||
export const pnpmOnly: Story = {
|
||||
name: 'Only Pnpm',
|
||||
render: () => {
|
||||
const { configOptions } = useConfig();
|
||||
return (
|
||||
<Install
|
||||
configOptions={{ ...configOptions, pkgManagers: ['pnpm'] }}
|
||||
packageMeta={packageMeta}
|
||||
packageName="jquery"
|
||||
/>
|
||||
);
|
||||
},
|
||||
};
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
import styled from '@emotion/styled';
|
||||
import { Typography } from '@mui/material';
|
||||
import Grid from '@mui/material/Grid';
|
||||
import List from '@mui/material/List';
|
||||
import { useTheme } from '@mui/styles';
|
||||
import React from 'react';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
|
||||
@@ -8,6 +10,7 @@ import { TemplateUIOptions } from '@verdaccio/types';
|
||||
|
||||
import { Theme } from '../../Theme';
|
||||
import { PackageMetaInterface } from '../../types/packageMeta';
|
||||
import { SettingsMenu } from '../SettingsMenu';
|
||||
import InstallListItem, { DependencyManager } from './InstallListItem';
|
||||
|
||||
const StyledText = styled(Typography)<{ theme?: Theme }>((props) => ({
|
||||
@@ -23,30 +26,41 @@ export type Props = {
|
||||
|
||||
const Install: React.FC<Props> = ({ packageMeta, packageName, configOptions }) => {
|
||||
const { t } = useTranslation();
|
||||
const theme = useTheme();
|
||||
|
||||
if (!packageMeta || !packageName) {
|
||||
return null;
|
||||
}
|
||||
|
||||
const hasNpm = configOptions?.pkgManagers?.includes('npm');
|
||||
const hasYarn = configOptions?.pkgManagers?.includes('yarn');
|
||||
const hasPnpm = configOptions?.pkgManagers?.includes('pnpm') ?? true;
|
||||
const hasPkgManagers = hasNpm || hasPnpm || hasYarn;
|
||||
|
||||
return hasPkgManagers ? (
|
||||
<List
|
||||
data-testid={'installList'}
|
||||
subheader={<StyledText variant={'subtitle1'}>{t('sidebar.installation.title')}</StyledText>}
|
||||
>
|
||||
{hasNpm && (
|
||||
<InstallListItem dependencyManager={DependencyManager.NPM} packageName={packageName} />
|
||||
)}
|
||||
{hasYarn && (
|
||||
<InstallListItem dependencyManager={DependencyManager.YARN} packageName={packageName} />
|
||||
)}
|
||||
{hasPnpm && (
|
||||
<InstallListItem dependencyManager={DependencyManager.PNPM} packageName={packageName} />
|
||||
)}
|
||||
</List>
|
||||
<>
|
||||
<Grid
|
||||
container={true}
|
||||
justifyContent="flex-end"
|
||||
sx={{ marginRight: theme.spacing(10), alingText: 'right' }}
|
||||
>
|
||||
<SettingsMenu packageName={packageName} />
|
||||
</Grid>
|
||||
<List
|
||||
data-testid={'installList'}
|
||||
subheader={<StyledText variant={'subtitle1'}>{t('sidebar.installation.title')}</StyledText>}
|
||||
>
|
||||
{hasNpm && (
|
||||
<InstallListItem dependencyManager={DependencyManager.NPM} packageName={packageName} />
|
||||
)}
|
||||
{hasYarn && (
|
||||
<InstallListItem dependencyManager={DependencyManager.YARN} packageName={packageName} />
|
||||
)}
|
||||
{hasPnpm && (
|
||||
<InstallListItem dependencyManager={DependencyManager.PNPM} packageName={packageName} />
|
||||
)}
|
||||
</List>
|
||||
</>
|
||||
) : null;
|
||||
};
|
||||
|
||||
|
||||
@@ -5,6 +5,7 @@ import ListItemText from '@mui/material/ListItemText';
|
||||
import React from 'react';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
|
||||
import { useSettings } from '../../providers/PersistenceSettingProvider';
|
||||
import CopyToClipBoard from '../CopyClipboard';
|
||||
import { Npm, Pnpm, Yarn } from '../Icons';
|
||||
|
||||
@@ -16,13 +17,13 @@ const InstallItem = styled(ListItem)({
|
||||
});
|
||||
|
||||
const InstallListItemText = styled(ListItemText)({
|
||||
padding: '0 10px',
|
||||
padding: '0 0 0 10px',
|
||||
margin: 0,
|
||||
});
|
||||
|
||||
const PackageMangerAvatar = styled(Avatar)({
|
||||
borderRadius: '0px',
|
||||
padding: '0',
|
||||
padding: 0,
|
||||
});
|
||||
|
||||
export enum DependencyManager {
|
||||
@@ -38,6 +39,9 @@ interface Interface {
|
||||
|
||||
const InstallListItem: React.FC<Interface> = ({ packageName, dependencyManager }) => {
|
||||
const { t } = useTranslation();
|
||||
const { localSettings } = useSettings();
|
||||
const isGlobal = localSettings[packageName]?.global ?? false;
|
||||
const pkgName = isGlobal ? `-g ${packageName}` : packageName;
|
||||
|
||||
switch (dependencyManager) {
|
||||
case DependencyManager.NPM:
|
||||
@@ -50,8 +54,12 @@ const InstallListItem: React.FC<Interface> = ({ packageName, dependencyManager }
|
||||
primary={
|
||||
<CopyToClipBoard
|
||||
dataTestId="installYarn"
|
||||
text={t('sidebar.installation.install-using-npm-command', { packageName })}
|
||||
title={t('sidebar.installation.install-using-npm-command', { packageName })}
|
||||
text={t('sidebar.installation.install-using-npm-command', {
|
||||
packageName: pkgName,
|
||||
})}
|
||||
title={t('sidebar.installation.install-using-npm-command', {
|
||||
packageName: pkgName,
|
||||
})}
|
||||
/>
|
||||
}
|
||||
secondary={t('sidebar.installation.install-using-npm')}
|
||||
@@ -68,8 +76,12 @@ const InstallListItem: React.FC<Interface> = ({ packageName, dependencyManager }
|
||||
primary={
|
||||
<CopyToClipBoard
|
||||
dataTestId="installYarn"
|
||||
text={t('sidebar.installation.install-using-yarn-command', { packageName })}
|
||||
title={t('sidebar.installation.install-using-yarn-command', { packageName })}
|
||||
text={t('sidebar.installation.install-using-yarn-command', {
|
||||
packageName: pkgName,
|
||||
})}
|
||||
title={t('sidebar.installation.install-using-yarn-command', {
|
||||
packageName: pkgName,
|
||||
})}
|
||||
/>
|
||||
}
|
||||
secondary={t('sidebar.installation.install-using-yarn')}
|
||||
@@ -86,8 +98,12 @@ const InstallListItem: React.FC<Interface> = ({ packageName, dependencyManager }
|
||||
primary={
|
||||
<CopyToClipBoard
|
||||
dataTestId="installPnpm"
|
||||
text={t('sidebar.installation.install-using-pnpm-command', { packageName })}
|
||||
title={t('sidebar.installation.install-using-pnpm-command', { packageName })}
|
||||
text={t('sidebar.installation.install-using-pnpm-command', {
|
||||
packageName: pkgName,
|
||||
})}
|
||||
title={t('sidebar.installation.install-using-pnpm-command', {
|
||||
packageName: pkgName,
|
||||
})}
|
||||
/>
|
||||
}
|
||||
secondary={t('sidebar.installation.install-using-pnpm')}
|
||||
|
||||
@@ -4,7 +4,7 @@ import React from 'react';
|
||||
import Loading from './Loading';
|
||||
|
||||
export default {
|
||||
title: 'Loading',
|
||||
title: 'Components/Detail/Loading',
|
||||
};
|
||||
|
||||
export const Icons: any = () => (
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user