0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-16 21:56:25 -05:00

chore: update versions (alpha) (#2116)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
github-actions[bot] 2021-03-06 21:51:53 +01:00 committed by Juan Picado
parent 558d78f32a
commit 6b6eaf6b67
18 changed files with 305 additions and 38 deletions

View file

@ -38,7 +38,9 @@
"@verdaccio/e2e-cli": "1.0.0",
"@verdaccio/e2e-ui": "1.0.0",
"@verdaccio/cli-standalone": "5.0.0-alpha.3",
"@verdaccio/cli-ui": "5.0.0-alpha.3"
"@verdaccio/cli-ui": "5.0.0-alpha.3",
"@verdaccio/tarball": "10.0.0-alpha.3",
"@verdaccio/url": "10.0.0-alpha.3"
},
"changesets": [
"few-cooks-destroy",
@ -54,6 +56,7 @@
"plenty-tables-refuse",
"pretty-hounds-tap",
"shiny-chefs-heal",
"smart-apricots-kneel",
"spicy-frogs-press",
"tender-bags-call",
"three-pots-sit"

View file

@ -56,7 +56,7 @@
"semver": "7.3.2"
},
"devDependencies": {
"@verdaccio/server": "workspace:5.0.0-alpha.6",
"@verdaccio/server": "workspace:5.0.0-alpha.7",
"@verdaccio/types": "workspace:10.0.0-alpha.3",
"body-parser": "1.19.0",
"lodash": "^4.17.20",

View file

@ -1,5 +1,11 @@
# @verdaccio/cli
## 5.0.0-alpha.8
### Patch Changes
- @verdaccio/node-api@5.0.0-alpha.8
## 5.0.0-alpha.7
### Minor Changes

View file

@ -1,6 +1,6 @@
{
"name": "@verdaccio/cli",
"version": "5.0.0-alpha.7",
"version": "5.0.0-alpha.8",
"author": {
"name": "Juan Picado",
"email": "juanpicado19@gmail.com"
@ -45,7 +45,7 @@
"dependencies": {
"@verdaccio/config": "workspace:5.0.0-alpha.3",
"@verdaccio/cli-ui": "workspace:5.0.0-alpha.3",
"@verdaccio/node-api": "workspace:5.0.0-alpha.7",
"@verdaccio/node-api": "workspace:5.0.0-alpha.8",
"commander": "6.2.0",
"envinfo": "7.4.0",
"kleur": "3.0.3",

View file

@ -1,5 +1,11 @@
# @verdaccio/node-api
## 5.0.0-alpha.8
### Patch Changes
- @verdaccio/server@5.0.0-alpha.7
## 5.0.0-alpha.7
### Minor Changes

View file

@ -1,6 +1,6 @@
{
"name": "@verdaccio/node-api",
"version": "5.0.0-alpha.7",
"version": "5.0.0-alpha.8",
"description": "node API",
"main": "build/index.js",
"types": "build/index.d.ts",
@ -42,7 +42,7 @@
"@verdaccio/commons-api": "workspace:10.0.0-alpha.3",
"@verdaccio/config": "workspace:5.0.0-alpha.3",
"@verdaccio/cli-ui": "workspace:5.0.0-alpha.3",
"@verdaccio/server": "workspace:5.0.0-alpha.6",
"@verdaccio/server": "workspace:5.0.0-alpha.7",
"core-js": "^3.6.5",
"debug": "^4.2.0",
"lodash": "^4.17.20",

View file

@ -1,5 +1,83 @@
# @verdaccio/ui-theme
## 5.0.0-alpha.5
### Major Changes
- e0b7c4ff: feat: flexible user interface generator
**breaking change**
The UI does not provide a pre-generated `index.html`, instead the server generates
the body of the web application based in few parameters:
- Webpack manifest
- User configuration details
It allows inject html tags, javascript and new CSS to make the page even more flexible.
### Web new properties for dynamic template
The new set of properties are made in order allow inject _html_ and _JavaScript_ scripts within the template. This
might be useful for scenarios like Google Analytics scripts or custom html in any part of the body.
- metaScripts: html injected before close the `head` element.
- scriptsBodyAfter: html injected before close the `body` element.
- bodyAfter: html injected after _verdaccio_ JS scripts.
```yaml
web:
scriptsBodyAfter:
- '<script type="text/javascript" src="https://my.company.com/customJS.min.js"></script>'
metaScripts:
- '<script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script>'
- '<script type="text/javascript" src="https://browser.sentry-cdn.com/5.15.5/bundle.min.js"></script>'
- '<meta name="robots" content="noindex" />'
bodyBefore:
- '<div id="myId">html before webpack scripts</div>'
bodyAfter:
- '<div id="myId">html after webpack scripts</div>'
```
### UI plugin changes
- `index.html` is not longer used, template is generated based on `manifest.json` generated by webpack.
- Plugin must export:
- the manifest file.
- the manifest files: matcher (array of id that generates required scripts to run the ui)
- static path: The absolute path where the files are located in `node_modules`
```
exports.staticPath = path.join(__dirname, 'static');
exports.manifest = require('./static/manifest.json');
exports.manifestFiles = {
js: ['runtime.js', 'vendors.js', 'main.js'],
css: [],
ico: 'favicon.ico',
};
```
- Remove font files
- CSS is inline on JS (this will help with #2046)
### Docker v5 Examples
- Move all current examples to v4 folder
- Remove any v3 example
- Create v5 folder with Nginx Example
#### Related tickets
https://github.com/verdaccio/verdaccio/issues/1523
https://github.com/verdaccio/verdaccio/issues/1297
https://github.com/verdaccio/verdaccio/issues/1593
https://github.com/verdaccio/verdaccio/discussions/1539
https://github.com/verdaccio/website/issues/264
https://github.com/verdaccio/verdaccio/issues/1565
https://github.com/verdaccio/verdaccio/issues/1251
https://github.com/verdaccio/verdaccio/issues/2029
https://github.com/verdaccio/docker-examples/issues/29
## 5.0.0-alpha.4
### Patch Changes

View file

@ -1,6 +1,6 @@
{
"name": "@verdaccio/ui-theme",
"version": "5.0.0-alpha.4",
"version": "5.0.0-alpha.5",
"description": "Verdaccio User Interface",
"author": {
"name": "Verdaccio Core Team",
@ -29,7 +29,7 @@
"@testing-library/dom": "^7.29.0",
"@testing-library/jest-dom": "^5.11.6",
"@testing-library/react": "10.4.9",
"@verdaccio/node-api": "workspace:5.0.0-alpha.7",
"@verdaccio/node-api": "workspace:5.0.0-alpha.8",
"autosuggest-highlight": "3.1.1",
"babel-loader": "^8.2.2",
"babel-plugin-dynamic-import-node": "^2.3.3",

View file

@ -1,5 +1,13 @@
# @verdaccio/server
## 5.0.0-alpha.7
### Patch Changes
- Updated dependencies [e0b7c4ff]
- @verdaccio/web@5.0.0-alpha.7
- @verdaccio/api@5.0.0-alpha.6
## 5.0.0-alpha.6
### Patch Changes

View file

@ -1,6 +1,6 @@
{
"name": "@verdaccio/server",
"version": "5.0.0-alpha.6",
"version": "5.0.0-alpha.7",
"description": "server logic",
"main": "./build/index.js",
"types": "build/index.d.ts",
@ -39,7 +39,7 @@
"@verdaccio/middleware": "workspace:5.0.0-alpha.5",
"@verdaccio/store": "workspace:5.0.0-alpha.4",
"@verdaccio/utils": "workspace:5.0.0-alpha.3",
"@verdaccio/web": "workspace:5.0.0-alpha.6",
"@verdaccio/web": "workspace:5.0.0-alpha.7",
"verdaccio-audit": "workspace:10.0.0-alpha.4",
"compression": "1.7.4",
"cors": "2.8.5",

View file

@ -1,27 +1,106 @@
# @verdaccio/cli-standalone
## 5.0.0-alpha.5
### Major Changes
- e0b7c4ff: feat: flexible user interface generator
**breaking change**
The UI does not provide a pre-generated `index.html`, instead the server generates
the body of the web application based in few parameters:
- Webpack manifest
- User configuration details
It allows inject html tags, javascript and new CSS to make the page even more flexible.
### Web new properties for dynamic template
The new set of properties are made in order allow inject _html_ and _JavaScript_ scripts within the template. This
might be useful for scenarios like Google Analytics scripts or custom html in any part of the body.
- metaScripts: html injected before close the `head` element.
- scriptsBodyAfter: html injected before close the `body` element.
- bodyAfter: html injected after _verdaccio_ JS scripts.
```yaml
web:
scriptsBodyAfter:
- '<script type="text/javascript" src="https://my.company.com/customJS.min.js"></script>'
metaScripts:
- '<script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script>'
- '<script type="text/javascript" src="https://browser.sentry-cdn.com/5.15.5/bundle.min.js"></script>'
- '<meta name="robots" content="noindex" />'
bodyBefore:
- '<div id="myId">html before webpack scripts</div>'
bodyAfter:
- '<div id="myId">html after webpack scripts</div>'
```
### UI plugin changes
- `index.html` is not longer used, template is generated based on `manifest.json` generated by webpack.
- Plugin must export:
- the manifest file.
- the manifest files: matcher (array of id that generates required scripts to run the ui)
- static path: The absolute path where the files are located in `node_modules`
```
exports.staticPath = path.join(__dirname, 'static');
exports.manifest = require('./static/manifest.json');
exports.manifestFiles = {
js: ['runtime.js', 'vendors.js', 'main.js'],
css: [],
ico: 'favicon.ico',
};
```
- Remove font files
- CSS is inline on JS (this will help with #2046)
### Docker v5 Examples
- Move all current examples to v4 folder
- Remove any v3 example
- Create v5 folder with Nginx Example
#### Related tickets
https://github.com/verdaccio/verdaccio/issues/1523
https://github.com/verdaccio/verdaccio/issues/1297
https://github.com/verdaccio/verdaccio/issues/1593
https://github.com/verdaccio/verdaccio/discussions/1539
https://github.com/verdaccio/website/issues/264
https://github.com/verdaccio/verdaccio/issues/1565
https://github.com/verdaccio/verdaccio/issues/1251
https://github.com/verdaccio/verdaccio/issues/2029
https://github.com/verdaccio/docker-examples/issues/29
## 5.0.0-alpha.4
### Major Changes
- f8a50baa: feat: standalone registry with no dependencies
## Usage
To install a server with no dependencies
```bash
npm install -g @verdaccio/standalone
```
with no internet required
```bash
npm install -g ./tarball.tar.gz
```
Bundles htpasswd and audit plugins.
### Breaking Change
It does not allow anymore the `auth` and `middleware` property at config file empty,
it will fallback to those plugins by default.

View file

@ -1,6 +1,6 @@
{
"name": "@verdaccio/cli-standalone",
"version": "5.0.0-alpha.4",
"version": "5.0.0-alpha.5",
"description": "standalone verdaccio registry with no dependencies",
"main": "dist/bundle.js",
"bin": {
@ -32,8 +32,8 @@
"homepage": "https://verdaccio.org",
"license": "MIT",
"devDependencies": {
"@verdaccio/cli": "workspace:5.0.0-alpha.7",
"@verdaccio/ui-theme": "workspace:5.0.0-alpha.4",
"@verdaccio/cli": "workspace:5.0.0-alpha.8",
"@verdaccio/ui-theme": "workspace:5.0.0-alpha.5",
"fs-extra": "9.0.1",
"webpack": "^5.11.1",
"webpack-cli": "^4.3.1",

View file

@ -1,5 +1,14 @@
# verdaccio
## 5.0.0-alpha.9
### Patch Changes
- Updated dependencies [e0b7c4ff]
- @verdaccio/ui-theme@5.0.0-alpha.5
- @verdaccio/node-api@5.0.0-alpha.8
- @verdaccio/cli@5.0.0-alpha.8
## 5.0.0-alpha.8
### Patch Changes

View file

@ -1,6 +1,6 @@
{
"name": "verdaccio",
"version": "5.0.0-alpha.8",
"version": "5.0.0-alpha.9",
"description": "A lightweight private npm proxy registry",
"main": "build/index.js",
"types": "build/index.d.ts",
@ -36,12 +36,12 @@
},
"homepage": "https://verdaccio.org",
"dependencies": {
"@verdaccio/cli": "workspace:5.0.0-alpha.7",
"@verdaccio/cli": "workspace:5.0.0-alpha.8",
"@verdaccio/hooks": "workspace:5.0.0-alpha.3",
"@verdaccio/logger": "workspace:5.0.0-alpha.3",
"@verdaccio/mock": "workspace:5.0.0-alpha.3",
"@verdaccio/node-api": "workspace:5.0.0-alpha.7",
"@verdaccio/ui-theme": "workspace:5.0.0-alpha.4",
"@verdaccio/node-api": "workspace:5.0.0-alpha.8",
"@verdaccio/ui-theme": "workspace:5.0.0-alpha.5",
"@verdaccio/utils": "workspace:5.0.0-alpha.3",
"verdaccio-audit": "10.0.0-alpha.4",
"verdaccio-htpasswd": "10.0.0-alpha.6"

View file

@ -1,5 +1,83 @@
# @verdaccio/web
## 5.0.0-alpha.7
### Major Changes
- e0b7c4ff: feat: flexible user interface generator
**breaking change**
The UI does not provide a pre-generated `index.html`, instead the server generates
the body of the web application based in few parameters:
- Webpack manifest
- User configuration details
It allows inject html tags, javascript and new CSS to make the page even more flexible.
### Web new properties for dynamic template
The new set of properties are made in order allow inject _html_ and _JavaScript_ scripts within the template. This
might be useful for scenarios like Google Analytics scripts or custom html in any part of the body.
- metaScripts: html injected before close the `head` element.
- scriptsBodyAfter: html injected before close the `body` element.
- bodyAfter: html injected after _verdaccio_ JS scripts.
```yaml
web:
scriptsBodyAfter:
- '<script type="text/javascript" src="https://my.company.com/customJS.min.js"></script>'
metaScripts:
- '<script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script>'
- '<script type="text/javascript" src="https://browser.sentry-cdn.com/5.15.5/bundle.min.js"></script>'
- '<meta name="robots" content="noindex" />'
bodyBefore:
- '<div id="myId">html before webpack scripts</div>'
bodyAfter:
- '<div id="myId">html after webpack scripts</div>'
```
### UI plugin changes
- `index.html` is not longer used, template is generated based on `manifest.json` generated by webpack.
- Plugin must export:
- the manifest file.
- the manifest files: matcher (array of id that generates required scripts to run the ui)
- static path: The absolute path where the files are located in `node_modules`
```
exports.staticPath = path.join(__dirname, 'static');
exports.manifest = require('./static/manifest.json');
exports.manifestFiles = {
js: ['runtime.js', 'vendors.js', 'main.js'],
css: [],
ico: 'favicon.ico',
};
```
- Remove font files
- CSS is inline on JS (this will help with #2046)
### Docker v5 Examples
- Move all current examples to v4 folder
- Remove any v3 example
- Create v5 folder with Nginx Example
#### Related tickets
https://github.com/verdaccio/verdaccio/issues/1523
https://github.com/verdaccio/verdaccio/issues/1297
https://github.com/verdaccio/verdaccio/issues/1593
https://github.com/verdaccio/verdaccio/discussions/1539
https://github.com/verdaccio/website/issues/264
https://github.com/verdaccio/verdaccio/issues/1565
https://github.com/verdaccio/verdaccio/issues/1251
https://github.com/verdaccio/verdaccio/issues/2029
https://github.com/verdaccio/docker-examples/issues/29
## 5.0.0-alpha.6
### Patch Changes

View file

@ -1,6 +1,6 @@
{
"name": "@verdaccio/web",
"version": "5.0.0-alpha.6",
"version": "5.0.0-alpha.7",
"description": "web ui middleware",
"main": "./build/index.js",
"types": "build/index.d.ts",

View file

@ -241,7 +241,7 @@ importers:
'@verdaccio/hooks': workspace:5.0.0-alpha.3
'@verdaccio/logger': workspace:5.0.0-alpha.3
'@verdaccio/middleware': workspace:5.0.0-alpha.5
'@verdaccio/server': workspace:5.0.0-alpha.6
'@verdaccio/server': workspace:5.0.0-alpha.7
'@verdaccio/store': workspace:5.0.0-alpha.4
'@verdaccio/tarball': workspace:10.0.0-alpha.3
'@verdaccio/types': workspace:10.0.0-alpha.3
@ -296,7 +296,7 @@ importers:
specifiers:
'@verdaccio/cli-ui': workspace:5.0.0-alpha.3
'@verdaccio/config': workspace:5.0.0-alpha.3
'@verdaccio/node-api': workspace:5.0.0-alpha.7
'@verdaccio/node-api': workspace:5.0.0-alpha.8
commander: 6.2.0
envinfo: 7.4.0
kleur: 3.0.3
@ -595,7 +595,7 @@ importers:
'@verdaccio/commons-api': workspace:10.0.0-alpha.3
'@verdaccio/config': workspace:5.0.0-alpha.3
'@verdaccio/mock': workspace:5.0.0-alpha.3
'@verdaccio/server': workspace:5.0.0-alpha.6
'@verdaccio/server': workspace:5.0.0-alpha.7
'@verdaccio/types': workspace:10.0.0-alpha.3
core-js: ^3.6.5
debug: ^4.2.0
@ -781,7 +781,7 @@ importers:
'@testing-library/dom': ^7.29.0
'@testing-library/jest-dom': ^5.11.6
'@testing-library/react': 10.4.9
'@verdaccio/node-api': workspace:5.0.0-alpha.7
'@verdaccio/node-api': workspace:5.0.0-alpha.8
autosuggest-highlight: 3.1.1
babel-loader: ^8.2.2
babel-plugin-dynamic-import-node: ^2.3.3
@ -905,7 +905,7 @@ importers:
'@verdaccio/proxy': workspace:5.0.0-alpha.4
'@verdaccio/store': workspace:5.0.0-alpha.4
'@verdaccio/utils': workspace:5.0.0-alpha.3
'@verdaccio/web': workspace:5.0.0-alpha.6
'@verdaccio/web': workspace:5.0.0-alpha.7
compression: 1.7.4
cors: 2.8.5
express: 4.17.1
@ -924,8 +924,8 @@ importers:
webpack-bundle-size-analyzer: 3.1.0
webpack-cli: 4.3.1_aff9e91a092f024e9b4b3234c48fc17b
specifiers:
'@verdaccio/cli': workspace:5.0.0-alpha.7
'@verdaccio/ui-theme': workspace:5.0.0-alpha.4
'@verdaccio/cli': workspace:5.0.0-alpha.8
'@verdaccio/ui-theme': workspace:5.0.0-alpha.5
fs-extra: 9.0.1
webpack: ^5.11.1
webpack-bundle-analyzer: 3.8.0
@ -998,15 +998,15 @@ importers:
'@verdaccio/store': link:../store
specifiers:
'@verdaccio/auth': workspace:5.0.0-alpha.5
'@verdaccio/cli': workspace:5.0.0-alpha.7
'@verdaccio/cli': workspace:5.0.0-alpha.8
'@verdaccio/commons-api': workspace:10.0.0-alpha.3
'@verdaccio/config': workspace:5.0.0-alpha.3
'@verdaccio/hooks': workspace:5.0.0-alpha.3
'@verdaccio/logger': workspace:5.0.0-alpha.3
'@verdaccio/mock': workspace:5.0.0-alpha.3
'@verdaccio/node-api': workspace:5.0.0-alpha.7
'@verdaccio/node-api': workspace:5.0.0-alpha.8
'@verdaccio/store': workspace:5.0.0-alpha.4
'@verdaccio/ui-theme': workspace:5.0.0-alpha.4
'@verdaccio/ui-theme': workspace:5.0.0-alpha.5
'@verdaccio/utils': workspace:5.0.0-alpha.3
verdaccio-audit: 10.0.0-alpha.4
verdaccio-htpasswd: 10.0.0-alpha.6
@ -1089,7 +1089,7 @@ importers:
rimraf: 3.0.2
specifiers:
'@verdaccio/commons-api': workspace:10.0.0-alpha.3
'@verdaccio/ui-theme': workspace:5.0.0-alpha.4
'@verdaccio/ui-theme': workspace:5.0.0-alpha.5
debug: 4.3.1
kleur: ^4.1.3
lodash: ^4.17.20

View file

@ -3,7 +3,7 @@
"private": true,
"version": "1.0.1-alpha.0",
"devDependencies": {
"@verdaccio/ui-theme": "workspace:5.0.0-alpha.4",
"@verdaccio/ui-theme": "workspace:5.0.0-alpha.5",
"@verdaccio/commons-api": "workspace:10.0.0-alpha.3",
"debug": "4.3.1",
"kleur": "^4.1.3",