Skip to content
This repository has been archived by the owner on Mar 23, 2022. It is now read-only.

Commit

Permalink
Merge pull request #347 from RaenonX-DL/dev
Browse files Browse the repository at this point in the history
v2.17.0-beta.1 Release
  • Loading branch information
RaenonX authored Jan 11, 2022
2 parents 8b236b4 + 783521b commit 66f8db1
Show file tree
Hide file tree
Showing 445 changed files with 14,981 additions and 10,663 deletions.
5 changes: 5 additions & 0 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,11 @@ rules:

object-curly-spacing: off

no-restricted-imports:
- error
- name: react-bootstrap
message: Specify the sub-package to use for app size reduction. For example, `import Row from 'react-bootstrap/Row'`.

"@typescript-eslint/object-curly-spacing":
- error
- never
Expand Down
1 change: 1 addition & 0 deletions .stylelintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ plugins:

extends:
- stylelint-config-standard
- stylelint-config-standard-scss

rules:
# Override @ rules
Expand Down
21 changes: 21 additions & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2022 RaenonX @ Dragalia Lost Services

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
39 changes: 26 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

**CI**

Main | Dev
:---: | :---:
[![front-ci-main]][front-ci-main-link] | [![front-ci-dev]][front-ci-dev-link]
| Main | Dev |
|:--------------------------------------:|:------------------------------------:|
| [![front-ci-main]][front-ci-main-link] | [![front-ci-dev]][front-ci-dev-link] |

**CD**

Expand All @@ -29,21 +29,34 @@ Main | Dev
[![front-lgtm-quality-badge]][front-lgtm-quality-link]
[![front-lgtm-loc-badge]][front-lgtm-alert-link]

Main | Dev
:---: | :---:
[![front-grade-badge-main]][front-cq-link-main] | [![front-grade-badge-dev]][front-cq-link-dev]
[![front-coverage-badge-main]][front-cq-link-main] | [![front-coverage-badge-dev]][front-cq-link-dev]
| Main | Dev |
|:--------------------------------------------------:|:------------------------------------------------:|
| [![front-grade-badge-main]][front-cq-link-main] | [![front-grade-badge-dev]][front-cq-link-dev] |
| [![front-coverage-badge-main]][front-cq-link-main] | [![front-coverage-badge-dev]][front-cq-link-dev] |

Frontend of [Dragalia Lost info website by OM][front-site].

## Environment Variables

Name | Required/Optional | Description
:---: | :---: | :---:
`NEXT_PUBLIC_API_ROOT` | Required | Root URL of the backend. This should **not** end with a slash (`/`).
`NEXT_PUBLIC_RESOURCE_ROOT` | Required | Root URL of the exported resources. This should **not** end with a slash (`/`).
`NEXT_PUBLIC_DEPOT_ROOT` | Required | Root URL of the data depot. This should **not** end with a slash (`/`).
`NEXT_PUBLIC_AUDIO_ROOT` | Required | Root URL of the audio depot. This should **not** end with a slash (`/`).
| Name | Required/Optional | Description |
|:---------------------------:|:-----------------:|:------------------------------------------------------------------------------------|
| `NEXT_PUBLIC_API_ROOT` | Required | Root URL of the backend. This should **not** end with a slash (`/`). |
| `NEXT_PUBLIC_RESOURCE_ROOT` | Required | Root URL of the exported resources. This should **not** end with a slash (`/`). |
| `NEXT_PUBLIC_DEPOT_ROOT` | Required | Root URL of the data depot. This should **not** end with a slash (`/`). |
| `NEXT_PUBLIC_AUDIO_ROOT` | Required | Root URL of the audio depot. This should **not** end with a slash (`/`). |
| `NEXT_PUBLIC_GA_ID` | Optional | Google AdSense client ID. The ads feature won't work if this is not specified. |
| `NEW_RELIC_LICENSE_KEY` | Optional | New Relic license key for measuring the application performance. |
| `AUTH_DATABASE_URL` | Required | MongoDB URL for `next-auth`. |
| `AUTH_GOOGLE_ID` | Optional | Google client ID for `next-auth`. |
| `AUTH_GOOGLE_SECRET` | Optional | Google client secret for `next-auth`. |
| `AUTH_DISCORD_ID` | Optional | Discord client ID for `next-auth`. |
| `AUTH_DISCORD_SECRET` | Optional | Discord client secret for `next-auth`. |
| `AUTH_GITHUB_ID` | Optional | GitHub client ID for `next-auth`. |
| `AUTH_GITHUB_SECRET` | Optional | GitHub client secret for `next-auth`. |
| `AUTH_TWITCH_ID` | Optional | Twitch client ID for `next-auth`. |
| `AUTH_TWITCH_SECRET` | Optional | Twitch client secret for `next-auth`. |
| `CI` | Optional | A truthy value (for example, `true` or `1` indicates that the app is running in CI. |
| `PORT` | Optional | Port to run the app. The app runs on `3000` if this is not specified. |

For the [current deployed website][front-site], `NEXT_PUBLIC_API_ROOT` is `https://dl-back.raenonx.cc`.

Expand Down
3 changes: 2 additions & 1 deletion doc/markdown.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ Larger (2rem):

#### Available class names

- `unitIcon` is for either character or dragon icon. This will be displayed inline.
- `unit-icon` is for either character or dragon icon. This will be displayed inline.
- `modal` renders the image as a link. The viewer will need to click on it to see the image.

### In-text calculation

Expand Down
2 changes: 1 addition & 1 deletion nodemon.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
"src/**",
"server/**"
],
"exec": "ts-node ./server/main.ts",
"exec": "ts-node --transpile-only ./server/main.ts",
"ext": "ts,json"
}
Loading

0 comments on commit 66f8db1

Please sign in to comment.