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

migrate 6.x to 7.x

This commit is contained in:
Juan Picado 2024-09-12 22:35:11 +02:00
parent 77bc79a88f
commit 7bc61200ac
14 changed files with 20 additions and 20 deletions

View file

@ -16,7 +16,7 @@ jobs:
fail-fast: false
matrix:
# only suported versions defined at https://nodejs.org/en/about/previous-releases
node_version: [18, 20, 21] # 22 excluded for now, fails on yarn install
node_version: [20, 21] # 22 excluded for now, fails on yarn install
runs-on: ubuntu-latest

View file

@ -1,4 +1,4 @@
name: Docker publish to docker.io (6.x)
name: Docker publish to docker.io (7.x)
on:
push:
@ -15,7 +15,7 @@ on:
- '.yarnrc.yaml'
- '.pnp.js'
branches:
- '6.x'
- '7.x'
tags:
- 'v*'
@ -38,8 +38,8 @@ jobs:
uses: crazy-max/ghaction-docker-meta@v1
with:
images: ${{ github.repository }}
tag-custom: 6.x-next
tag-custom-only: ${{ github.ref == 'refs/heads/6.x' }}
tag-custom: 7.x-next
tag-custom-only: ${{ github.ref == 'refs/heads/7.x' }}
tag-latest: false
tag-semver: |
{{version}}

View file

@ -1,10 +1,10 @@
name: Release Canary 6.x
name: Release Canary 7.x
on:
workflow_dispatch:
push:
branches:
- 6.x
- 7.x
- 'canary/**'
jobs:
release:

View file

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

View file

@ -1,9 +1,9 @@
name: Docker Smoke Test 6.x
name: Docker Smoke Test 7.x
on:
workflow_dispatch:
push:
branches:
- 6.x
- 7.x
schedule:
# run every sunday
- cron: '0 0 * * 0'

View file

@ -1,4 +1,4 @@
name: Module Smoke Test 6.x
name: Module Smoke Test 7.x
on:
workflow_dispatch:
pull_request:

2
.nvmrc
View file

@ -1 +1 @@
18
20

View file

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

View file

@ -9,7 +9,7 @@ The following table describes the versions of this project that are currently su
| 2.x | :x: |
| 3.x | :x: |
| 4.x | :x: |
| 5.x | :white_check_mark: (until end of 2023) |
| 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: '16',
node: '20',
},
},
],

View file

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

View file

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

View file

@ -67,7 +67,7 @@ export class InitCommand extends Command {
if (!configParsed.self_path) {
configParsed.self_path = path.resolve(configPathLocation);
this.initLogger(configParsed);
// compatibility with 6.x plugins
// compatibility with 7.x plugins
configParsed.configPath = configParsed.self_path;
}
if (!configParsed.https) {