0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-30 22:34:10 -05:00

chore: prepare release 6.x

This commit is contained in:
Juan Picado 2024-09-12 23:14:20 +02:00
parent 7f816b9399
commit 19ae9fbb90
15 changed files with 23 additions and 22 deletions

View file

@ -15,7 +15,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node_version: [14, 16, 18, 19, 20, 21, 22]
node_version: [18, 19, 20, 21, 22]
runs-on: ubuntu-latest

View file

@ -38,8 +38,8 @@ jobs:
uses: crazy-max/ghaction-docker-meta@v1
with:
images: ${{ github.repository }}
tag-custom: 5.x-next
tag-custom-only: ${{ github.ref == 'refs/heads/5.x' }}
tag-custom: 6.x-next
tag-custom-only: ${{ github.ref == 'refs/heads/6.x' }}
tag-semver: |
{{version}}
{{major}}

View file

@ -1,10 +1,10 @@
name: Release Canary 5.x
name: Release Canary 6.x
on:
workflow_dispatch:
push:
branches:
- 5.x
- 6.x
jobs:
release:
name: Release Snapshot

View file

@ -1,4 +1,4 @@
name: Release 5.x
name: Release 6.x
on:
push:

View file

@ -1,9 +1,9 @@
name: Docker Smoke Test 5.x
name: Docker Smoke Test 6.x
on:
workflow_dispatch:
push:
branches:
- 5.x
- 6.x
permissions:
contents: read
jobs:
@ -12,7 +12,7 @@ jobs:
steps:
- uses: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7 # v3
with:
node-version: 18
node-version: 20
- name: Docker test
run: |
docker run -d -it --rm --name verdaccio -p 4873:4873 verdaccio/verdaccio:5

View file

@ -1,4 +1,4 @@
name: Module Smoke Test 5.x
name: Module Smoke Test 6.x
on: [push, pull_request]
@ -12,7 +12,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node_version: [14, 16, 18, 19, 20, 21, 22]
node_version: [18, 19, 20, 21, 22]
runs-on: ubuntu-latest
steps:

View file

@ -2,9 +2,9 @@
Full text for contributing can be read [here](https://verdaccio.org/community/contributing).
## Especifics for the branch 5.x
## Especifics for the branch 6.x
The 5.x uses `yarn berry` with Plug and Play enabled, thus some advices are required for helping contributing:
The 6.x uses `yarn berry` with Plug and Play enabled, thus some advices are required for helping contributing:
### Debugging Jest

View file

@ -8,8 +8,9 @@ The following table describes the versions of this project that are currently su
| ------- | ---------------------------------------- |
| 2.x | :x: |
| 3.x | :x: |
| 4.x | :white_check_mark: (until 1st July 2021) |
| 5.x | :white_check_mark: |
| 4.x | :x: |
| 5.x | :white_check_mark: (until end of 2024) |
| 6.x | :white_check_mark: |
## Responsible disclosure security policy

View file

@ -4,7 +4,7 @@ module.exports = {
'@babel/env',
{
targets: {
node: '12',
node: '18',
},
},
],

View file

@ -4,7 +4,7 @@
# improve security.
#
# Look here for more config file examples:
# https://github.com/verdaccio/verdaccio/tree/5.x/conf
# https://github.com/verdaccio/verdaccio/tree/6.x/conf
#
# Read about the best practices
# https://verdaccio.org/docs/best

View file

@ -8,7 +8,7 @@
# see https://verdaccio.org/docs/en/docker#docker-and-custom-port-configuration
#
# Look here for more config file examples:
# https://github.com/verdaccio/verdaccio/tree/5.x/conf
# https://github.com/verdaccio/verdaccio/tree/6.x/conf
#
# Read about the best practices
# https://verdaccio.org/docs/best

View file

@ -1,6 +1,6 @@
{
"name": "verdaccio",
"version": "5.32.2",
"version": "6.0.0-rc.0",
"description": "A lightweight private npm proxy registry",
"author": {
"name": "Verdaccio Maintainers",

View file

@ -10,4 +10,4 @@ echo "Bumping version to new tag: ${lastTag}"
echo "//$REGISTRY_URL/:_authToken=$REGISTRY_AUTH_TOKEN" > .npmrc
# Publish to NPM
npm publish --registry https://$REGISTRY_URL/ --tag canary-5x
npm publish --registry https://$REGISTRY_URL/ --tag canary-6x

View file

@ -10,4 +10,4 @@ echo "Bumping version to new tag: ${lastTag}"
echo "//$REGISTRY_URL/:_authToken=$REGISTRY_AUTH_TOKEN" > .npmrc
# Publish to NPM
npm publish --registry https://$REGISTRY_URL/
npm publish --registry https://$REGISTRY_URL/ --tag latest-6

View file

@ -62,7 +62,7 @@ class Auth {
let authConf = { ...config.auth };
if (authConf?.htpasswd) {
// special case for htpasswd plugin, the v6 version uses bcrypt by default
// 5.x enforces crypt to avoid breaking changes, but is highly recommended using
// 6.x enforces crypt to avoid breaking changes, but is highly recommended using
// bcrypt instead.
if (!authConf.htpasswd.algorithm) {
authConf.htpasswd.algorithm = 'crypt';