Skip to content
This repository was archived by the owner on Jan 16, 2022. It is now read-only.

Commit 44c8b07

Browse files
authored
sync repositories v6 repo (#629)
* sync repositories * format * sync * remove static * fix endpoint
1 parent 0a35f8c commit 44c8b07

File tree

519 files changed

+31084
-89172
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

519 files changed

+31084
-89172
lines changed

.all-contributorsrc

Lines changed: 0 additions & 90 deletions
This file was deleted.

.babelrc

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"presets": [
3+
[
4+
"@babel/env",
5+
{
6+
"targets": {
7+
"node": 16
8+
}
9+
}
10+
],
11+
"@babel/typescript"
12+
],
13+
"ignore": ["**/*.d.ts"]
14+
}

.changeset/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Changesets
2+
3+
Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
4+
with multi-package repos, or single-package repos to help you version and publish your code. You can
5+
find the full documentation for it [in our repository](https://github.com/changesets/changesets)
6+
7+
We have a quick list of common questions to get you started engaging with this project in
8+
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)

.changeset/blue-meals-wink.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@verdaccio/ui-theme': minor
3+
---
4+
5+
feat: sync repository with v6

.changeset/config.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
3+
"changelog": "@changesets/cli/changelog",
4+
"commit": false,
5+
"linked": [],
6+
"access": "public",
7+
"baseBranch": "master",
8+
"updateInternalDependencies": "patch",
9+
"ignore": []
10+
}

.changeset/pre.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"mode": "pre",
3+
"tag": "beta",
4+
"initialVersions": {
5+
"@verdaccio/ui-theme": "4.0.0",
6+
"@verdaccio/eslint-config": "1.0.0"
7+
},
8+
"changesets": []
9+
}

.eslintignore

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
1-
node_modules
1+
**/fixtures/**
2+
**/mock/store/**
3+
**/partials/**
4+
**/types/custom.d.ts
5+
build/
26
coverage/
7+
node_modules/
38
static/
4-
.github/
5-
.circleci/
6-
jest/identity.js
7-
build
8-
*.md
9-
*.lock
10-
*.yaml
11-
Dockerfile
12-
*.html
13-
*.scss
14-
*.png
15-
doc
9+
website/
10+
wiki/
11+
dist/
12+
docs/
13+
test/functional/store/*

.eslintrc.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module.exports = {
2+
extends: ['@verdaccio/eslint-config'],
3+
};

.github/ISSUE_TEMPLATE/bug.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,31 @@
11
---
22
name: Bug report 🐛
33
about: A feature is not working as is expected, I want to report a bug
4-
labels: "issue: needs triage"
4+
labels: 'issue: needs triage'
55
---
66

77
- [ ] I'd be willing to implement a fix
88

99
**Describe the bug**
10+
1011
<!-- A clear and concise description of what the bug is. -->
1112

1213
**To Reproduce**
14+
1315
<!-- IMPORTANT: Steps to reproduce the issue -->
1416

1517
**Expected behavior**
18+
1619
<!-- A clear and concise description of what you expected to happen. -->
1720

1821
**Screenshots**
22+
1923
<!-- If applicable, add screenshots to help explain your problem. -->
2024

2125
**Configuration File (cat ~/.config/verdaccio/config.yaml)**
2226

2327
<!-- Please be careful do not leak any sensitive information, remove tokens -->
2428

2529
**Environment information**
26-
<!-- Browser, Operative system, server log etc ..-->
27-
2830

31+
<!-- Browser, Operative system, server log etc ..-->

.github/ISSUE_TEMPLATE/feature.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
---
2-
name: "Feature Request 🔮"
2+
name: 'Feature Request 🔮'
33
about: You want a feature request.
4-
title: ""
5-
labels: "enhancement"
6-
assignees: ""
4+
title: ''
5+
labels: 'enhancement'
6+
assignees: ''
77
---
88

99
<!--

.github/issue_template.md

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,21 +12,24 @@ Some advices before file an issue
1212
-->
1313

1414
#### My reason:
15+
1516
#### Steps to reproduce:
17+
1618
#### App Version:
19+
1720
#### Config file:
21+
1822
#### Additional information:
1923

20-
- `$ NODE_DEBUG=request verdaccio` display request calls (verdaccio <--> uplinks)
21-
- `$ DEBUG=express:* verdaccio` enable extreme verdaccio debug mode (verdaccio api)
22-
- `$ npm -ddd` prints:
23-
- `$ npm config get registry` prints:
24-
- Verdaccio terminal output
25-
- Which (Windows, OS X/macOS, or Linux) environment are you running verdaccio?:
26-
- Verdaccio configuration file, eg: `cat ~/.config/verdaccio/config.yaml`
27-
- Container Options:
28-
- Docker?:
29-
- Kubernetes?:
24+
- `$ NODE_DEBUG=request verdaccio` display request calls (verdaccio <--> uplinks)
25+
- `$ DEBUG=express:* verdaccio` enable extreme verdaccio debug mode (verdaccio api)
26+
- `$ npm -ddd` prints:
27+
- `$ npm config get registry` prints:
28+
- Verdaccio terminal output
29+
- Which (Windows, OS X/macOS, or Linux) environment are you running verdaccio?:
30+
- Verdaccio configuration file, eg: `cat ~/.config/verdaccio/config.yaml`
31+
- Container Options:
32+
- Docker?:
33+
- Kubernetes?:
3034

3135
#### Additional verbose log:
32-

.github/pull_request_template.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,13 @@ Pick one/multiple type, if none apply please suggest one, we might be included i
1515
eg: bug / feature / documentation / unit test / build
1616
1717
-->
18+
1819
**Type:**
1920

2021
The following has been addressed in the PR:
2122

22-
* There is a related issue?
23-
* Unit or Functional tests are included in the PR
23+
- There is a related issue?
24+
- Unit or Functional tests are included in the PR
2425

2526
**Description:**
2627

.github/workflows/canary.yml

Lines changed: 0 additions & 54 deletions
This file was deleted.

.github/workflows/changesets.yml

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
name: Changesets
2+
3+
on:
4+
schedule:
5+
- cron: '0 0 * * *'
6+
7+
push:
8+
branches:
9+
- master
10+
11+
env:
12+
CI: true
13+
14+
jobs:
15+
# Update package versions from changesets.
16+
version:
17+
timeout-minutes: 14
18+
runs-on: ubuntu-latest
19+
steps:
20+
- name: checkout code repository
21+
uses: actions/checkout@v2
22+
with:
23+
fetch-depth: 0
24+
25+
- name: setup node.js
26+
uses: actions/setup-node@v2
27+
with:
28+
node-version: 16
29+
- name: install pnpm
30+
run: npm i pnpm@latest -g
31+
- name: Setup npmrc
32+
run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPMJS_PUBLISH_TOKEN }}" > .npmrc
33+
- name: install dependencies
34+
run: pnpm install
35+
- name: crowdin download
36+
env:
37+
CROWDIN_VERDACCIO_PROJECT_ID: ${{ secrets.CROWDIN_VERDACCIO_PROJECT_ID }}
38+
CROWDIN_VERDACCIO_API_KEY: ${{ secrets.CROWDIN_VERDACCIO_API_KEY }}
39+
CONTEXT: production
40+
run: pnpm crowdin:download
41+
- name: build
42+
run: pnpm build
43+
- name: create versions
44+
uses: changesets/action@master
45+
with:
46+
version: pnpm ci:version
47+
commit: 'build: release packages'
48+
title: 'build: release packages'
49+
publish: pnpm ci:publish
50+
env:
51+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
52+
NPM_TOKEN: ${{ secrets.NPMJS_PUBLISH_TOKEN }}

0 commit comments

Comments
 (0)