chore: bump dependencies to address security vulnerabilities & update community docs (#192)

This commit is contained in:
paranarimasu
2021-05-04 12:47:38 -05:00
committed by GitHub
parent 12d373cbc8
commit 0802126657
5 changed files with 1317 additions and 1677 deletions
+30 -24
View File
@@ -1,66 +1,72 @@
- [Assignment](#assignment)
- [Development Environment](#development-environment)
- [Feature Branch Workflow](#feature-branch-workflow)
- [Cleanup Before Pull Request](#cleanup-before-pull-request)
- [Pull Request](#pull-request)
## Assignment
Unless otherwise specified, any issue that does not have an assignee can be claimed by any volunteer.
Please leave a comment in the issue indicating interest so that you can be designated as the assignee by a member. This is a requirement in Github to allow asssignment of contributors outside of the organization by members.
Leave a comment in the issue indicating interest so that the assignee can be designated by a member. This is a requirement in Github to allow assignment of contributors outside of the organization by members.
If further discussion is needed before work can be started, please make use of the `#design` channel on the discord.
If further discussion is needed before work can be started, please make use of the `#development` channel on the discord.
## Development Environment
Ensure that you have a functional local instance of AnimeThemes forked from this repository by following the [Installation Guide](https://github.com/AnimeThemes/animethemes-server/wiki/Installation).
Follow the [Installation Guide](/AnimeThemes/animethemes-server/wiki/Installation) to ensure a functional local instance of AnimeThemes forked from this repository.
Enable your repository in [StyleCI](https://styleci.io/) so that code styling guidelines are followed. At the time of writing, analysis is run on push and merge.
Enable the forked repository in [StyleCI](https://styleci.io/) so that code styling guidelines are followed. At the time of writing, analysis is run on push and merge.
Set this repository as upstream to your fork.
Set this repository as upstream to the forked repository.
`git remote add upstream https://github.com/AnimeThemes/animethemes-server.git`
Checkout release branch.
Check out release branch. At the time of writing, the release branch is named `wiki`.
`git checkout release-branch`
`git checkout wiki`
Pull upstream changes so that your local branch is even with upstream.
Pull upstream changes so that the local wiki branch is even with the upstream wiki branch.
`git pull upstream release-branch`
`git pull upstream wiki`
Push upstream changes to your remote if needed.
Push upstream changes to the forked remote wiki branch if needed.
`git push`
## Feature Branch Workflow
Once your release branch is even with upstream, create feature branch from release branch.
Once the release branch is even with upstream, create a new feature branch from the release branch. The new feature branch name should be descriptive.
`git branch new-feature-branch`
Switch to feature branch.
Switch to the new feature branch.
`git checkout new-feature-branch`
Make changes in feature branch. Once completed, run tests.
Make changes in the new feature branch. Once completed, run tests.
`php artisan config:clear && php artisan test`
`php artisan config:clear && php artisan test --parallel`
Execute static code analysis.
`./vendor/bin/phpstan analyse --memory-limit=2G`
`./vendor/bin/phpstan analyse --memory-limit=-1`
Stage changes. Commit changes. Please include ticket ID's and use [Semantic Commit Messages](https://gist.github.com/joshbuchea/6f47e86d2510bce28f8e7f42ae84c716).
## Cleanup Before Pull Request
Fetch upstream master and merge with your repo's master branch
Fetch the upstream release branch and merge with the fork repo's release branch.
```
git fetch upstream release-branch
git checkout release-branch
git merge upstream/release-branch
git fetch upstream wiki
git checkout wiki
git merge upstream/wiki
```
If there were any new commits, rebase your development branch
If there were any new commits, rebase the new feature branch.
```
git checkout new-feature-branch
git rebase release-branch
git rebase wiki
```
## Pull Request
@@ -71,7 +77,7 @@ Push changes to remote.
Confirm StyleCI passing status on push.
Create Pull Request from your new feature branch to upstream release branch.
Create Pull Request from the new feature branch to the upstream release branch.
## Pruning
@@ -83,11 +89,11 @@ Delete the remote feature branch.
`git push origin --delete new-feature-branch`
Pull upstream changes so that your local branch is even with upstream.
Pull upstream changes so that the fork release branch is even with upstream.
`git pull upstream release-branch`
Push upstream changes to your remote if needed.
Push upstream changes to the fork's remote if needed.
`git push`
+2 -1
View File
@@ -1,8 +1,9 @@
<p align="center">
<a href="https://github.styleci.io/repos/111264405"><img src="https://github.styleci.io/repos/111264405/shield" alt="StyleCI"></a>
<a href="https://github.styleci.io/repos/111264405"><img src="https://github.styleci.io/repos/111264405/shield?branch=main" alt="StyleCI"></a>
<a href="https://discordapp.com/invite/m9zbVyQ"><img src="https://img.shields.io/discord/354388306580078594.svg?label=&logo=discord&logoColor=ffffff&color=7389D8&labelColor=6A7EC2"></a>
<a href="https://github.com/AnimeThemes/animethemes-server/blob/master/LICENSE"><img src="https://img.shields.io/github/license/AnimeThemes/animethemes-server"></a>
<a href="https://reddit.com/r/AnimeThemes"><img src="https://img.shields.io/reddit/subreddit-subscribers/AnimeThemes?style=social"></a>
<a href="https://twitter.com/AnimeThemesMoe"><img src="https://img.shields.io/twitter/follow/AnimeThemesMoe?style=social"></a>
</p>
This is the repository for the server application that is responsible for AnimeThemes.moe resource management, API, and other services related to serving the AnimeThemes database.
Generated
+200 -240
View File
File diff suppressed because it is too large Load Diff
+1080 -1407
View File
File diff suppressed because it is too large Load Diff
+5 -5
View File
@@ -10,15 +10,15 @@
"devDependencies": {
"axios": "^0.21.1",
"cross-env": "^7.0.3",
"laravel-mix": "^6.0.13",
"laravel-mix": "^6.0.18",
"lodash": "^4.17.21",
"postcss": "^8.2.8",
"resolve-url-loader": "^3.1.2",
"sass": "^1.32.8",
"postcss": "^8.2.13",
"resolve-url-loader": "^3.1.3",
"sass": "^1.32.12",
"sass-loader": "^11.0.1"
},
"dependencies": {
"jquery": "^3.6.0",
"modernizr": "^3.11.6"
"modernizr": "^3.11.7"
}
}