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

Commit 7e199c7

Browse files
authored
Merge pull request #369 from RaenonX-DL/dev
v2.17.0 Release
2 parents 1e2fe2c + 189388e commit 7e199c7

File tree

207 files changed

+10715
-12036
lines changed

Some content is hidden

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

207 files changed

+10715
-12036
lines changed

.azure/pipeline.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,8 @@ stages:
109109
inputs:
110110
SourceFolder: '$(Pipeline.Workspace)/s/.cypress'
111111
Contents: |
112-
./screenshots/**
113-
./videos/**
112+
screenshots/**
113+
videos/**
114114
TargetFolder: '$(Build.ArtifactStagingDirectory)/cypress'
115115

116116
- task: PublishBuildArtifacts@1

.azure/templates/checkout-and-cache.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@ steps:
22
- checkout: self
33
submodules: recursive
44

5+
# Fix node version to v16.10 because of mem leak in v16.13
6+
# https://github.com/kulshekhar/ts-jest/issues/1967#issuecomment-994916049
7+
# - `@swc/jest` / `@swc/core` doesn't reduce memory usage on Azure Pipelines, despite working locally
8+
- task: NodeTool@0
9+
displayName: 'Use node v16.10'
10+
inputs:
11+
versionSpec: '16.10'
12+
513
- task: Cache@2
614
displayName: 'Cache npm'
715
inputs:

.codacy.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ engines:
66
- "**.test.ts"
77
# Test data
88
- "test/data/**"
9+
910
exclude_paths:
1011
# Official New Relic EUM js
1112
- "public/js/newRelicEum.js"

.gitignore

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,34 @@
11
# IntelliJ project files
22
/.idea
33

4-
# dependencies
4+
# Dependencies
55
/node_modules
66
/.pnp
77
.pnp.js
88

9-
# testing
9+
# Testing files
1010
/.cypress
1111
clover.xml
1212
cobertura-coverage.xml
1313
junit.xml
1414

15-
# production
15+
# Production
1616
.next
1717
/dist
1818
/build
1919

20-
# environment variables
20+
# Environment Variables
2121
.env
22-
.env.local
2322
.env.development.local
2423
.env.test.local
2524
.env.production.local
2625

27-
# debug log
26+
# Debug Log
2827
npm-debug.log*
2928
yarn-debug.log*
3029
yarn-error.log*
3130

32-
# misc
31+
# Nisc
3332
.DS_Store
3433
.wakatime-project
3534
newrelic_agent.log

.stylelintignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
*.css
2+
*.css.map

.stylelintrc.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,3 @@ rules:
99
# Override @ rules
1010
at-rule-no-unknown: null
1111
scss/at-rule-no-unknown: true
12-
13-
ignoreFiles:
14-
- '**/*.css'

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@ where stores the dumped audio files.
8585
[front-ci-main-link]: https://dev.azure.com/RaenonX-DL/DL-Site/_build/latest?definitionId=1&branchName=main
8686
[front-ci-dev]: https://dev.azure.com/RaenonX-DL/DL-Site/_apis/build/status/dragalia-site-front%20(Build)?branchName=dev
8787
[front-ci-dev-link]: https://dev.azure.com/RaenonX-DL/DL-Site/_build/latest?definitionId=1&branchName=dev
88-
[front-cd]: https://vsrm.dev.azure.com/RaenonX-DL/_apis/public/Release/badge/0159375c-7a21-49a8-88d5-9af78c5f2150/2/2
89-
[front-cd-link]: https://dev.azure.com/RaenonX-DL/DL-Site/_release?definitionId=2
88+
[front-cd]: https://vsrm.dev.azure.com/RaenonX-DL/_apis/public/Release/badge/0159375c-7a21-49a8-88d5-9af78c5f2150/6/6
89+
[front-cd-link]: https://dev.azure.com/RaenonX-DL/DL-Site/_release?definitionId=6
9090
[front-time-badge]: https://wakatime.com/badge/github/RaenonX-DL/dragalia-site-front.svg
9191
[front-time-link]: https://wakatime.com/badge/github/RaenonX-DL/dragalia-site-front
9292
[front-site-status]: https://badgen.net/uptime-robot/status/m787223686-f1d10f084c18dd5d5389f456?cache=300

cypress.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,5 @@
66
"screenshotsFolder": ".cypress/screenshots",
77
"supportFile": false,
88
"videosFolder": ".cypress/videos",
9-
"videoUploadOnPasses": false,
10-
"nodeVersion": "system"
9+
"videoUploadOnPasses": false
1110
}

newrelic.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
'use strict';
2+
const env = require('env-var');
3+
4+
const {isProduction} = require('./src/api-def/utils');
5+
26
/**
37
* New Relic agent configuration.
48
*
@@ -7,7 +11,9 @@
711
*/
812
exports.config = {
913
app_name: ['DL Site (Front)'],
10-
license_key: process.env.NEW_RELIC_LICENSE_KEY,
14+
license_key: env.get('NEW_RELIC_LICENSE_KEY')
15+
.required(isProduction())
16+
.asString(),
1117
distributed_tracing: {
1218
enabled: true,
1319
},

0 commit comments

Comments
 (0)