Skip to content

Commit 47d5d1b

Browse files
author
locdp
committed
feat(core): update project
1 parent 5cd0a70 commit 47d5d1b

File tree

106 files changed

+11390
-535
lines changed

Some content is hidden

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

106 files changed

+11390
-535
lines changed

.env

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
VITE_BASE_URL=/
22

3-
VITE_APP_DESC=Vue Boilerplate is a fresh and elegant admin template
3+
VITE_APP_DESC=VueNaiveAdmin is a fresh and elegant admin template
44

55
# the prefix of the icon name
66
VITE_ICON_PREFIX=icon
@@ -43,4 +43,4 @@ VITE_STATIC_SUPER_ROLE=R_SUPER
4343
VITE_SOURCE_MAP=N
4444

4545
# Used to differentiate storage across different domains
46-
VITE_STORAGE_PREFIX=VBP_
46+
VITE_STORAGE_PREFIX=VNA_

.env.development

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
11
NODE_ENV=development
22

3-
VITE_APP_TITLE='DEV | Vue Boilerplate'
3+
VITE_APP_TITLE=VueNaiveAdmin
44

5-
# the build version prefix displayed in the bottom right corner of the screen
6-
VITE_BUILD_PREFIX=dev
7-
8-
# backend service base url, test environment
5+
# backend service base url, dev environment
96
VITE_SERVICE_BASE_URL=https://mock.apifox.cn/m1/3109515-0-default
107

11-
# other backend service base url, test environment
8+
# other backend service base url, dev environment
129
VITE_OTHER_SERVICE_BASE_URL= `{
13-
"demo": "http://localhost:9671"
10+
"demo": "http://localhost:9528"
1411
}`

.env.production

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
1-
VITE_APP_TITLE='Vue Boilerplate'
1+
VITE_APP_TITLE=VueNaiveAdmin
22

3-
# the build version prefix displayed in the bottom right corner of the screen
4-
VITE_BUILD_PREFIX=v
5-
6-
# backend service base url, test environment
3+
# backend service base url, prd environment
74
VITE_SERVICE_BASE_URL=https://mock.apifox.cn/m1/3109515-0-default
85

9-
# other backend service base url, test environment
6+
# other backend service base url, prd environment
107
VITE_OTHER_SERVICE_BASE_URL= `{
11-
"demo": "http://localhost:9671"
8+
"demo": "http://localhost:9529"
129
}`

.env.staging

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
1-
VITE_APP_TITLE='STG | Vue Boilerplate'
1+
VITE_APP_TITLE=VueNaiveAdmin
22

3-
# the build version prefix displayed in the bottom right corner of the screen
4-
VITE_BUILD_PREFIX=stg
5-
6-
# backend service base url, test environment
3+
# backend service base url, stg environment
74
VITE_SERVICE_BASE_URL=https://mock.apifox.cn/m1/3109515-0-default
85

9-
# other backend service base url, test environment
6+
# other backend service base url, stg environment
107
VITE_OTHER_SERVICE_BASE_URL= `{
11-
"demo": "http://localhost:9671"
8+
"demo": "http://localhost:9529"
129
}`

.env.testing

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
1-
VITE_APP_TITLE='TST | Vue Boilerplate'
1+
VITE_APP_TITLE=VueNaiveAdmin
22

3-
# the build version prefix displayed in the bottom right corner of the screen
4-
VITE_BUILD_PREFIX=tst
5-
6-
# backend service base url, test environment
3+
# backend service base url, tst environment
74
VITE_SERVICE_BASE_URL=https://mock.apifox.cn/m1/3109515-0-default
85

9-
# other backend service base url, test environment
6+
# other backend service base url, tst environment
107
VITE_OTHER_SERVICE_BASE_URL= `{
11-
"demo": "http://localhost:9671"
8+
"demo": "http://localhost:9528"
129
}`
Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
name: 🐞 Bug Report
2+
description: Encountered an error while using the software or feature
3+
title: '[Bug]: '
4+
labels: [bug?]
5+
6+
body:
7+
- type: markdown
8+
attributes:
9+
value: |
10+
## Please submit according to the following requirements
11+
### 1. After submission, you need to specify the label and deadline.
12+
---
13+
14+
- type: markdown
15+
attributes:
16+
value: |
17+
## Environment Information
18+
Please modify the following information according to the actual usage environment.
19+
20+
- type: input
21+
id: env-program-ver
22+
attributes:
23+
label: Software Version
24+
validations:
25+
required: true
26+
27+
- type: dropdown
28+
id: env-vm-ver
29+
attributes:
30+
label: Operating Environment
31+
description: Select the system version on which the software is running
32+
options:
33+
- Windows (64)
34+
- Windows (32/x84)
35+
- MacOS
36+
- Linux
37+
- Ubuntu
38+
- CentOS
39+
- ArchLinux
40+
- UNIX (Android)
41+
- Other (please specify below)
42+
validations:
43+
required: true
44+
45+
- type: dropdown
46+
id: env-vm-arch
47+
attributes:
48+
label: Operating Architecture
49+
description: (Optional) Select the system architecture on which the software is running
50+
options:
51+
- AMD64
52+
- x86
53+
- ARM [32] (Alias:AArch32 / ARMv7)
54+
- ARM [64] (Alias:AArch64 / ARMv8)
55+
- Other
56+
57+
- type: textarea
58+
id: reproduce-steps
59+
attributes:
60+
label: Reproduce Steps
61+
description: |
62+
What operations do we need to perform to make the bug appear?
63+
The concise and clear reproduction steps can help us locate the problem more quickly.
64+
validations:
65+
required: true
66+
67+
- type: textarea
68+
id: expected
69+
attributes:
70+
label: What is the expected result?
71+
validations:
72+
required: true
73+
74+
- type: textarea
75+
id: actual
76+
attributes:
77+
label: What is the actual result?
78+
validations:
79+
required: true
80+
81+
- type: textarea
82+
id: logging
83+
attributes:
84+
label: Logging (Optional)
85+
render: golang
86+
87+
- type: textarea
88+
id: extra-desc
89+
attributes:
90+
label: Additional Description (Optional)
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
---
2+
name: 🚀 Feature Request
3+
description: Suggest an idea to help us improve W&B
4+
title: '[Feature]: '
5+
labels:
6+
- feature_request
7+
8+
body:
9+
- type: markdown
10+
attributes:
11+
value: |
12+
**Thanks :heart: for taking the time to fill out this feature request report!**
13+
We kindly ask that you search to see if an issue [already exists](https://github.com/soybeanjs/soybean-admin/issues?q=is%3Aissue+sort%3Acreated-desc+) for your feature.
14+
15+
We are also happy to accept contributions from our users. For more details see [here](https://github.com/soybeanjs/soybean-admin/blob/main/README.md#how-to-contribute).
16+
17+
- type: textarea
18+
attributes:
19+
label: Description
20+
description: |
21+
A clear and concise description of the feature you're interested in.
22+
validations:
23+
required: true
24+
25+
- type: textarea
26+
attributes:
27+
label: Suggested Solution
28+
description: |
29+
Describe the solution you'd like. A clear and concise description of what you want to happen.
30+
validations:
31+
required: true
32+
33+
- type: textarea
34+
attributes:
35+
label: Alternatives
36+
description: |
37+
Describe alternatives you've considered.
38+
A clear and concise description of any alternative solutions or features you've considered.
39+
validations:
40+
required: false
41+
42+
- type: textarea
43+
attributes:
44+
label: Additional Context
45+
description: |
46+
Add any other context about the problem here.
47+
validations:
48+
required: false
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
First of all, thank you for your contribution! 😄
2+
3+
New feature please send pull request to feature branch, and rest to main branch. Pull request will be merged after one of collaborators approve. Please makes sure that these form are filled before submitting your pull request, thank you!
4+
5+
[[中文版模板 / Chinese template](./pr_cn.md)]
6+
7+
### This is a ...
8+
9+
- [ ] New feature
10+
- [ ] Bug fix
11+
- [ ] Site / document update
12+
- [ ] Component style update
13+
- [ ] TypeScript definition update
14+
- [ ] Refactoring
15+
- [ ] Code style optimization
16+
- [ ] Branch merge
17+
- [ ] Other (about what?)
18+
19+
### What's the background?
20+
21+
> 1. Describe the source of requirement.
22+
> 2. Resolve what problem.
23+
> 3. Related issue link.
24+
25+
### API Realization (Optional if not new feature)
26+
27+
> 1. Basic thought of solution and other optional proposal.
28+
> 2. List final API realization and usage sample.
29+
> 3. GIF or snapshot should be provided if includes UI/interactive modification.
30+
31+
### What's the effect? (Optional if not new feature)
32+
33+
> 1. Does this PR affect user? Which part will be affected?
34+
> 2. What will say in changelog?
35+
> 3. Does this PR contains potential break change or other risk?
36+
37+
### Changelog description (Optional if not new feature)
38+
39+
> 1. English description
40+
> 2. Chinese description (optional)
41+
42+
### Self Check before Merge
43+
44+
- [ ] Doc is updated/provided or not needed
45+
- [ ] Demo is updated/provided or not needed
46+
- [ ] TypeScript definition is updated/provided or not needed
47+
- [ ] Changelog is provided or not needed
48+
49+
### Additional Plan? (Optional if not new feature)
50+
51+
> If this PR related with other PR or following info. You can type here.

.github/workflows/linter.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
---
2+
name: Lint Code
3+
4+
permissions:
5+
contents: write
6+
7+
on:
8+
pull_request:
9+
branches: [main]
10+
11+
jobs:
12+
lint:
13+
name: Lint All Code
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
- name: Checkout Code
18+
uses: actions/checkout@v3
19+
with:
20+
fetch-depth: 0
21+
22+
- name: Lint Code Base
23+
uses: github/super-linter@v4
24+
env:
25+
VALIDATE_ALL_CODEBASE: false
26+
DEFAULT_BRANCH: main
27+
# To change branch master or main
28+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
29+
FILTER_REGEX_EXCLUDE: (docs|.github)
30+
VALIDATE_MARKDOWN: false

.github/workflows/release.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Release
2+
3+
permissions:
4+
contents: write
5+
6+
on:
7+
push:
8+
tags:
9+
- 'v*'
10+
11+
jobs:
12+
release:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v3
16+
with:
17+
fetch-depth: 0
18+
19+
- uses: actions/setup-node@v3
20+
with:
21+
node-version: 18.x
22+
23+
- run: npx githublogen
24+
env:
25+
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 commit comments

Comments
 (0)