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:
parent
77bc79a88f
commit
7bc61200ac
14 changed files with 20 additions and 20 deletions
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
@ -16,7 +16,7 @@ jobs:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
# only suported versions defined at https://nodejs.org/en/about/previous-releases
|
# 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
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
|
8
.github/workflows/docker-publish.yml
vendored
8
.github/workflows/docker-publish.yml
vendored
|
@ -1,4 +1,4 @@
|
||||||
name: Docker publish to docker.io (6.x)
|
name: Docker publish to docker.io (7.x)
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
@ -15,7 +15,7 @@ on:
|
||||||
- '.yarnrc.yaml'
|
- '.yarnrc.yaml'
|
||||||
- '.pnp.js'
|
- '.pnp.js'
|
||||||
branches:
|
branches:
|
||||||
- '6.x'
|
- '7.x'
|
||||||
tags:
|
tags:
|
||||||
- 'v*'
|
- 'v*'
|
||||||
|
|
||||||
|
@ -38,8 +38,8 @@ jobs:
|
||||||
uses: crazy-max/ghaction-docker-meta@v1
|
uses: crazy-max/ghaction-docker-meta@v1
|
||||||
with:
|
with:
|
||||||
images: ${{ github.repository }}
|
images: ${{ github.repository }}
|
||||||
tag-custom: 6.x-next
|
tag-custom: 7.x-next
|
||||||
tag-custom-only: ${{ github.ref == 'refs/heads/6.x' }}
|
tag-custom-only: ${{ github.ref == 'refs/heads/7.x' }}
|
||||||
tag-latest: false
|
tag-latest: false
|
||||||
tag-semver: |
|
tag-semver: |
|
||||||
{{version}}
|
{{version}}
|
||||||
|
|
4
.github/workflows/release-snapshot.yml
vendored
4
.github/workflows/release-snapshot.yml
vendored
|
@ -1,10 +1,10 @@
|
||||||
name: Release Canary 6.x
|
name: Release Canary 7.x
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- 6.x
|
- 7.x
|
||||||
- 'canary/**'
|
- 'canary/**'
|
||||||
jobs:
|
jobs:
|
||||||
release:
|
release:
|
||||||
|
|
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
|
@ -1,4 +1,4 @@
|
||||||
name: Release 6.x
|
name: Release 7.x
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
|
4
.github/workflows/smok-test-docker.yml
vendored
4
.github/workflows/smok-test-docker.yml
vendored
|
@ -1,9 +1,9 @@
|
||||||
name: Docker Smoke Test 6.x
|
name: Docker Smoke Test 7.x
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- 6.x
|
- 7.x
|
||||||
schedule:
|
schedule:
|
||||||
# run every sunday
|
# run every sunday
|
||||||
- cron: '0 0 * * 0'
|
- cron: '0 0 * * 0'
|
||||||
|
|
2
.github/workflows/smok-test-module.yml
vendored
2
.github/workflows/smok-test-module.yml
vendored
|
@ -1,4 +1,4 @@
|
||||||
name: Module Smoke Test 6.x
|
name: Module Smoke Test 7.x
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
pull_request:
|
pull_request:
|
||||||
|
|
2
.nvmrc
2
.nvmrc
|
@ -1 +1 @@
|
||||||
18
|
20
|
||||||
|
|
|
@ -2,9 +2,9 @@
|
||||||
|
|
||||||
Full text for contributing can be read [here](https://verdaccio.org/community/contributing).
|
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
|
### Debugging Jest
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,7 @@ The following table describes the versions of this project that are currently su
|
||||||
| 2.x | :x: |
|
| 2.x | :x: |
|
||||||
| 3.x | :x: |
|
| 3.x | :x: |
|
||||||
| 4.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: |
|
| 6.x | :white_check_mark: |
|
||||||
|
|
||||||
## Responsible disclosure security policy
|
## Responsible disclosure security policy
|
||||||
|
|
|
@ -4,7 +4,7 @@ module.exports = {
|
||||||
'@babel/env',
|
'@babel/env',
|
||||||
{
|
{
|
||||||
targets: {
|
targets: {
|
||||||
node: '16',
|
node: '20',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
# improve security.
|
# improve security.
|
||||||
#
|
#
|
||||||
# Look here for more config file examples:
|
# 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
|
# Read about the best practices
|
||||||
# https://verdaccio.org/docs/best
|
# https://verdaccio.org/docs/best
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
# see https://verdaccio.org/docs/en/docker#docker-and-custom-port-configuration
|
# see https://verdaccio.org/docs/en/docker#docker-and-custom-port-configuration
|
||||||
#
|
#
|
||||||
# Look here for more config file examples:
|
# 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
|
# Read about the best practices
|
||||||
# https://verdaccio.org/docs/best
|
# https://verdaccio.org/docs/best
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "verdaccio",
|
"name": "verdaccio",
|
||||||
"version": "6.0.0-beta.3",
|
"version": "7.0.0-alpha.0",
|
||||||
"description": "A lightweight private npm proxy registry",
|
"description": "A lightweight private npm proxy registry",
|
||||||
"author": {
|
"author": {
|
||||||
"name": "Verdaccio Maintainers",
|
"name": "Verdaccio Maintainers",
|
||||||
|
|
|
@ -67,7 +67,7 @@ export class InitCommand extends Command {
|
||||||
if (!configParsed.self_path) {
|
if (!configParsed.self_path) {
|
||||||
configParsed.self_path = path.resolve(configPathLocation);
|
configParsed.self_path = path.resolve(configPathLocation);
|
||||||
this.initLogger(configParsed);
|
this.initLogger(configParsed);
|
||||||
// compatibility with 6.x plugins
|
// compatibility with 7.x plugins
|
||||||
configParsed.configPath = configParsed.self_path;
|
configParsed.configPath = configParsed.self_path;
|
||||||
}
|
}
|
||||||
if (!configParsed.https) {
|
if (!configParsed.https) {
|
||||||
|
|
Loading…
Reference in a new issue