frontend
This commit is contained in:
5
maxkey-web-frontend/maxkey-web-mgt-app/.github/FUNDING.yml
vendored
Normal file
5
maxkey-web-frontend/maxkey-web-mgt-app/.github/FUNDING.yml
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
# These are supported funding model platforms
|
||||
|
||||
github: cipchk
|
||||
open_collective: ng-alain
|
||||
custom: # Replace with a single custom sponsorship URL
|
||||
15
maxkey-web-frontend/maxkey-web-mgt-app/.github/ISSUE_TEMPLATE.md
vendored
Normal file
15
maxkey-web-frontend/maxkey-web-mgt-app/.github/ISSUE_TEMPLATE.md
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
<!--
|
||||
IMPORTANT: Please use the following link to create a new issue:
|
||||
|
||||
https://ng-alain.com/issue-helper/index.html#en
|
||||
|
||||
If your issue was not created using the app above, it will be closed immediately.
|
||||
-->
|
||||
|
||||
<!--
|
||||
注意:请使用下面的链接来新建 issue:
|
||||
|
||||
https://ng-alain.com/issue-helper/index.html#zh
|
||||
|
||||
不是用上面的链接创建的 issue 会被立即关闭。
|
||||
-->
|
||||
8
maxkey-web-frontend/maxkey-web-mgt-app/.github/ISSUE_TEMPLATE/config.yml
vendored
Normal file
8
maxkey-web-frontend/maxkey-web-mgt-app/.github/ISSUE_TEMPLATE/config.yml
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
blank_issues_enabled: true
|
||||
contact_links:
|
||||
- name: Create new issue
|
||||
url: https://ng-alain.com/issue-helper/index.html#en
|
||||
about: The issue which is not created via issue-helper will be closed immediately.
|
||||
- name: 报告问题
|
||||
url: https://ng-alain.com/issue-helper/index.html#zh
|
||||
about: 注意:不是用 issue-helper 创建的 issue 会被立即关闭。使用问题请加QQ Group:428749721
|
||||
43
maxkey-web-frontend/maxkey-web-mgt-app/.github/PULL_REQUEST_TEMPLATE.md
vendored
Normal file
43
maxkey-web-frontend/maxkey-web-mgt-app/.github/PULL_REQUEST_TEMPLATE.md
vendored
Normal file
@@ -0,0 +1,43 @@
|
||||
## PR Checklist
|
||||
Please check if your PR fulfills the following requirements:
|
||||
|
||||
- [ ] The commit message follows our guidelines: https://github.com/ng-alain/ng-alain/blob/master/CONTRIBUTING.md#commit
|
||||
- [ ] Tests for the changes have been added (for bug fixes / features)
|
||||
- [ ] Docs have been added / updated (for bug fixes / features)
|
||||
|
||||
|
||||
## PR Type
|
||||
What kind of change does this PR introduce?
|
||||
|
||||
<!-- Please check the one that applies to this PR using "x". -->
|
||||
```
|
||||
[ ] Bugfix
|
||||
[ ] Feature
|
||||
[ ] Code style update (formatting, local variables)
|
||||
[ ] Refactoring (no functional changes, no api changes)
|
||||
[ ] Build related changes
|
||||
[ ] CI related changes
|
||||
[ ] Documentation content changes
|
||||
[ ] Application (the showcase website) / infrastructure changes
|
||||
[ ] Other... Please describe:
|
||||
```
|
||||
|
||||
## What is the current behavior?
|
||||
<!-- Please describe the current behavior that you are modifying, or link to a relevant issue. -->
|
||||
|
||||
Issue Number: N/A
|
||||
|
||||
|
||||
## What is the new behavior?
|
||||
|
||||
|
||||
## Does this PR introduce a breaking change?
|
||||
```
|
||||
[ ] Yes
|
||||
[ ] No
|
||||
```
|
||||
|
||||
<!-- If this PR contains a breaking change, please describe the impact and migration path for existing applications below. -->
|
||||
|
||||
|
||||
## Other information
|
||||
28
maxkey-web-frontend/maxkey-web-mgt-app/.github/alain-bot.yml
vendored
Normal file
28
maxkey-web-frontend/maxkey-web-mgt-app/.github/alain-bot.yml
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
issue:
|
||||
translate:
|
||||
replay: |
|
||||
Translation of this issue:
|
||||
---
|
||||
## {title}
|
||||
|
||||
{body}
|
||||
needReproduce:
|
||||
label: Need Reproduce
|
||||
afterLabel: Need More Info
|
||||
replay: |
|
||||
Hello @{user}. Please provide a online reproduction by forking this link https://stackblitz.com/edit/ng-alain-setup or a minimal GitHub repository.
|
||||
Issues labeled by `Need Reproduce` will be closed if no activities in 7 days.
|
||||
|
||||
你好 @{user}, 我们需要你提供一个在线的重现实例以便于我们帮你排查问题。你可以通过点击 [此处](https://stackblitz.com/edit/ng-alain-setup) 创建一个 stackblitz 或者提供一个最小化的 GitHub 仓库
|
||||
被标记为 `Need Reproduce` 的 issue 7 天内未跟进将会被自动关闭。
|
||||

|
||||
invalid:
|
||||
mark: ng-alain-issue-helper
|
||||
labels: Invalid
|
||||
replay: |
|
||||
Hello @{user}, your issue has been closed because it does not conform to our issue requirements.
|
||||
Please use the [Issue Helper](https://ng-alain.com/issue-helper/index.html#en) to create an issue, thank you!
|
||||
|
||||
|
||||
你好 @{user},为了能够进行高效沟通,我们对 issue 有一定的格式要求,你的 issue 因为不符合要求而被自动关闭。
|
||||
你可以通过 [issue 助手](https://ng-alain.com/issue-helper/index.html#zh) 来创建 issue 以方便我们定位错误。谢谢配合!
|
||||
14
maxkey-web-frontend/maxkey-web-mgt-app/.github/lock.yml
vendored
Normal file
14
maxkey-web-frontend/maxkey-web-mgt-app/.github/lock.yml
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
# Configuration for lock-threads - https://github.com/dessant/lock-threads
|
||||
|
||||
# Number of days of inactivity before a closed issue or pull request is locked
|
||||
daysUntilLock: 365
|
||||
# Comment to post before locking. Set to `false` to disable
|
||||
lockComment: >
|
||||
This thread has been automatically locked because it has not had recent
|
||||
activity. Please open a new issue for related bugs and link to relevant
|
||||
comments in this thread.
|
||||
# Issues or pull requests with these labels will not be locked
|
||||
# exemptLabels:
|
||||
# - no-locking
|
||||
# Limit to only `issues` or `pulls`
|
||||
only: issues
|
||||
10
maxkey-web-frontend/maxkey-web-mgt-app/.github/no-response.yml
vendored
Normal file
10
maxkey-web-frontend/maxkey-web-mgt-app/.github/no-response.yml
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
# Configuration for probot-no-response - https://github.com/probot/no-response
|
||||
|
||||
# Number of days of inactivity before an Issue is closed for lack of response
|
||||
daysUntilClose: 7
|
||||
# Label requiring a response
|
||||
responseRequiredLabel: Need More Info
|
||||
# Comment to post when closing an Issue for lack of response. Set to `false` to disable
|
||||
closeComment: >
|
||||
This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. If you can provide more information, feel free to ping anyone of our maintainers to reopen this issue. Thank you for your contributions. --- 这个 issue 已经被自动关闭,因为您没有向我们提供更多的信息。仅凭目前的描述我们无法采取任 何行动,如果您能提供更多的信息请随时联系我们的开发人员重新打开这个 issue。 感谢您的贡献。
|
||||
|
||||
14
maxkey-web-frontend/maxkey-web-mgt-app/.github/semantic.yml
vendored
Normal file
14
maxkey-web-frontend/maxkey-web-mgt-app/.github/semantic.yml
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
titleAndCommits: true
|
||||
types:
|
||||
- feat
|
||||
- fix
|
||||
- docs
|
||||
- style
|
||||
- refactor
|
||||
- perf
|
||||
- test
|
||||
- build
|
||||
- ci
|
||||
- chore
|
||||
- revert
|
||||
- release
|
||||
41
maxkey-web-frontend/maxkey-web-mgt-app/.github/workflows/deploy-site.yml
vendored
Normal file
41
maxkey-web-frontend/maxkey-web-mgt-app/.github/workflows/deploy-site.yml
vendored
Normal file
@@ -0,0 +1,41 @@
|
||||
name: Deploy website
|
||||
|
||||
# on: push
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- 'publish-**'
|
||||
|
||||
jobs:
|
||||
build-and-deploy:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: checkout
|
||||
uses: actions/checkout@master
|
||||
|
||||
- uses: borales/actions-yarn@v2.3.0
|
||||
with:
|
||||
cmd: install
|
||||
|
||||
- name: build
|
||||
shell: bash
|
||||
run: bash ./scripts/_ci/deploy-pipelines.sh
|
||||
|
||||
- name: deploy-to-surge
|
||||
uses: dswistowski/surge-sh-action@v1
|
||||
with:
|
||||
login: ${{ secrets.SURGE_LOGIN }}
|
||||
token: ${{ secrets.SURGE_TOKEN }}
|
||||
domain: https://ng-alain.surge.sh
|
||||
project: ./dist
|
||||
|
||||
- name: deploy-to-gh-pages
|
||||
uses: peaceiris/actions-gh-pages@v2
|
||||
env:
|
||||
PERSONAL_TOKEN: ${{ secrets.PERSONAL_TOKEN }}
|
||||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
PUBLISH_BRANCH: gh-pages
|
||||
PUBLISH_DIR: ./dist
|
||||
with:
|
||||
emptyCommits: false
|
||||
13
maxkey-web-frontend/maxkey-web-mgt-app/.github/workflows/mirror.yml
vendored
Normal file
13
maxkey-web-frontend/maxkey-web-mgt-app/.github/workflows/mirror.yml
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
name: GiteeMirror
|
||||
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
to_gitee:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- uses: pixta-dev/repository-mirroring-action@v1
|
||||
with:
|
||||
target_repo_url: git@gitee.com:ng-alain/ng-alain.git
|
||||
ssh_private_key: ${{ secrets.GITEE_SSH_PRIVATE_KEY }}
|
||||
Reference in New Issue
Block a user