-
Notifications
You must be signed in to change notification settings - Fork 256
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #28 from LHRUN/feature/1.2.0
Feature/1.2.0
- Loading branch information
Showing
10 changed files
with
220 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# dependencies | ||
node_modules | ||
|
||
# build outputs | ||
dist | ||
|
||
# configurations | ||
.github | ||
.vscode | ||
|
||
# documentation | ||
README.md | ||
README.zh.md | ||
CHANGELOG.md | ||
CONTRIBUTING.md | ||
LICENSE | ||
|
||
# macOS system files | ||
.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: "\U0001F41E Bug Report" | ||
description: Report an issue with paint-board | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
感谢你花费时间填写该问题报告 (Thank you for taking the time to fill out this bug report) | ||
- type: textarea | ||
id: bug-description | ||
attributes: | ||
label: 问题描述 (Description of the problem) | ||
placeholder: 请描述您的问题 (Please describe your problem) | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: reproduction-steps | ||
attributes: | ||
label: 如何复现该问题 (How to reproduce the problem) | ||
placeholder: 请提供该问题的具体复现步骤,便于我们快速定位问题 (Please provide specific steps to reproduce the problem so that we can quickly locate the problem) | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: system-info | ||
attributes: | ||
label: 操作系统和浏览器信息 (Operating System and Browser Information) | ||
placeholder: 请填写该问题的运行环境,便于我们快速定位问题 (Please fill in the operating environment of the problem, so that we can quickly locate the problem) | ||
validations: | ||
required: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,14 @@ | ||
# 1.2.0 | ||
|
||
### Feat | ||
|
||
- add docker support | ||
|
||
### Docs | ||
|
||
- add CONTRIBUTING.md | ||
- add Issues template | ||
|
||
# 1.1.0 | ||
|
||
### Feat | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
# 🎉 Contributing to Paint Board 🥳 | ||
|
||
First of all, thank you very much for considering contributing to our project! We welcome any kind of contribution, whether it's proposing new functional features, improving code, fixing bugs, or improving documentation. | ||
|
||
This guide will provide all the relevant information to help you get started working on this project. Please take a few minutes to read it, it will help us collaborate better and create a better project together. | ||
|
||
## Submit Issue | ||
|
||
Before jumping into a PR be sure to search [existing PRs](https://github.com/lhrun/paint-board/pulls) or [issues](https://github.com/lhrun/paint-board/issues) for an open or closed item that relates to your submission. | ||
|
||
If it's a bug fix, please raise it in an Issue first. | ||
|
||
In the case of new feature additions, please communicate with us first in Discussions or contact us directly via the contact information provided. | ||
|
||
## Pull Requests Steps | ||
|
||
1. Fork this project's repo on Github | ||
2. Create a new branch on your local copy to develop new features, fix bugs, or make other contributions, `git checkout -b feat/xxxx` | ||
3. Submit your changes: `git commit -am 'feat: add xxxxx'` | ||
4. Push your branch: `git push origin feat/xxxx` | ||
5. To submit a `Pull Request`, make sure your source branch is the one you just pushed, and your target branch is the `dev` branch of the Paint Board project. | ||
6. After submitting, watch out for emails and notifications associated with the Pull request. Once it's approved, we'll merge it into the `main` branch as planned. Doing a new round of releases | ||
|
||
## Development Environment | ||
|
||
+ Node.js 16 + | ||
+ Pnpm 8 + | ||
|
||
## Code Style | ||
|
||
Please follow the [node-style-guide](https://github.com/felixge/node-style-guide) | ||
|
||
## Commit Messages | ||
|
||
Please follow the [Angular](https://github.com/conventional-changelog/conventional-changelog/tree/master/packages/conventional-changelog-angular) | ||
|
||
Please keep the commit message in English for better understanding by all developers. | ||
|
||
- `feat` Add new features | ||
- `fix` Fix the problem/BUG | ||
- `style` The code style is related and does not affect the running result | ||
- `perf` Optimization/performance improvement | ||
- `refactor` Refactor | ||
- `revert` Undo edit | ||
- `test` Test related | ||
- `docs` Documentation/notes | ||
- `chore` Dependency update/scaffolding configuration modification etc. | ||
- `workflow` Workflow improvements | ||
- `ci` Continuous integration | ||
- `types` Type definition file changes | ||
- `wip` In development | ||
|
||
## Code Content | ||
|
||
Please keep the code comments and code content in English for better understanding by all developers. | ||
|
||
## Contact Details | ||
|
||
+ Email: [email protected] | ||
+ Telegram: https://t.me/longhao_song | ||
+ WeChat: | ||
- <img style="width: 300px" src="https://raw.githubusercontent.com/LHRUN/file-store/main/paint-board/wechat.JPG" alt="wechat"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
FROM node:16-alpine as build-stage | ||
LABEL maintainer="Leo '[email protected]'" | ||
|
||
WORKDIR /app | ||
COPY . ./ | ||
|
||
RUN echo "https://registry.npmmirror.com" > .npmrc && \ | ||
npm install -g pnpm && \ | ||
pnpm install --frozen-lockfile && \ | ||
pnpm build | ||
|
||
FROM nginx:stable-alpine | ||
COPY --from=build-stage /app/dist /usr/share/nginx/html/dist | ||
COPY --from=build-stage /app/nginx.conf /etc/nginx/nginx.conf | ||
EXPOSE 80 | ||
CMD ["nginx", "-g", "daemon off;"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
worker_processes auto; | ||
events { | ||
worker_connections 1024; | ||
} | ||
|
||
http { | ||
include mime.types; | ||
default_type application/octet-stream; | ||
|
||
sendfile on; | ||
keepalive_timeout 65; | ||
|
||
add_header 'Access-Control-Allow-Origin' '*'; | ||
|
||
server { | ||
listen 80; | ||
|
||
location /paint-board { | ||
alias /usr/share/nginx/html/dist; | ||
try_files $uri $uri/ /index.html; | ||
index index.html; | ||
} | ||
|
||
location / { | ||
return 301 $scheme://$http_host/paint-board/; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters