-
-
Notifications
You must be signed in to change notification settings - Fork 29
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 #317 from discordextremelist/carolina-next
Update sentry integration, assorted long-term bug and feature fixes, add refresh cache admin endpoints
- Loading branch information
Showing
30 changed files
with
694 additions
and
320 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
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 |
---|---|---|
|
@@ -128,3 +128,6 @@ package-lock.json | |
|
||
# copied lib-comparison data | ||
data/ | ||
|
||
# Sentry Config File | ||
.sentryclirc |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,9 +1,9 @@ | ||
{ | ||
"type": "module", | ||
"name": "del-website", | ||
"version": "v5.6.18-Release", | ||
"version": "v5.6.19-Release", | ||
"description": "Discord Extreme List, Discord's unbiased list! Official source code for the DEL v5 website!", | ||
"main": "dist/src/app.js", | ||
"main": "src/app.ts", | ||
"directories": { | ||
"doc": "docs" | ||
}, | ||
|
@@ -12,7 +12,9 @@ | |
}, | ||
"packageManager": "[email protected]", | ||
"dependencies": { | ||
"@sentry/cli": "^2.41.1", | ||
"@sentry/node": "^9.1.0", | ||
"@sentry/profiling-node": "^9.1.0", | ||
"@snyk/protect": "^1.984.0", | ||
"@types/node-fetch": "^2.6.11", | ||
"@types/ua-parser-js": "^0.7.39", | ||
|
@@ -44,7 +46,7 @@ | |
"passport-oauth2-refresh": "^2.1.0", | ||
"sanitize-html": "^2.12.1", | ||
"typescript": "^5.3.3", | ||
"ua-parser-js": "^1.0.37" | ||
"ua-parser-js": "^2.0.2" | ||
}, | ||
"devDependencies": { | ||
"@sentry/types": "^9.1.0", | ||
|
@@ -70,13 +72,14 @@ | |
}, | ||
"scripts": { | ||
"preinstall": "npx only-allow pnpm", | ||
"start": "node --max-old-space-size=4096 --experimental-transform-types src/app.ts", | ||
"pm2": "pm2 start dist/src/app.js --name 'DEL'", | ||
"start": "node --max-old-space-size=4096 --experimental-transform-types --import ./src/instrument.ts ./src/app.ts", | ||
"postinstall": "mkdir -p ./data && tsc node_modules/lib-comparison/libs.ts && cp node_modules/lib-comparison/libs.js ./data/libs.js", | ||
"css-compile": "sass --no-source-map assets/Sass/themes/black.scss:assets/Public/css/themes/black.css assets/Sass/themes/dark.scss:assets/Public/css/themes/dark.css assets/Sass/themes/light.scss:assets/Public/css/themes/light.css assets/Sass/components/listing.scss:assets/Public/css/listing.css --style=compressed", | ||
"snyk-protect": "snyk-protect", | ||
"prepare": "pnpm run snyk-protect", | ||
"pretty": "npx prettier --write src/" | ||
"pretty": "npx prettier --write src/", | ||
"sentry:build": "rm -rf dist/ && tsc", | ||
"sentry:sourcemaps": "sentry-cli sourcemaps inject --org delly --project website ./dist && sentry-cli sourcemaps upload --org delly --project website ./dist" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
|
@@ -110,4 +113,4 @@ | |
"next@>=10.0.0 <14.2.7": ">=14.2.7" | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.