Skip to content

Commit

Permalink
Merge pull request #386 from GoldElysium/feat/kronii-bd-2024
Browse files Browse the repository at this point in the history
  • Loading branch information
GoldElysium authored Mar 13, 2024
2 parents 73cbf07 + 0eec033 commit 30d7715
Show file tree
Hide file tree
Showing 136 changed files with 6,473 additions and 10,710 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,6 @@ yarn-error.log*

# Sentry Auth Token
.sentryclirc

# Sentry Config File
.sentryclirc
19 changes: 0 additions & 19 deletions .husky/link.js

This file was deleted.

5 changes: 1 addition & 4 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx lint-staged
pnpm lint-staged
5 changes: 1 addition & 4 deletions .husky/prepare-commit-msg
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx commitlint --edit
pnpm commitlint --edit
2 changes: 1 addition & 1 deletion .storybook/preview.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import '../src/styles/globals.css';
import '../src/styles/sana-timeline.css';
import '@/styles/sana-timeline.module.css';
import type { Preview } from "@storybook/react";

const preview: Preview = {
Expand Down
3 changes: 3 additions & 0 deletions imageLoader.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export default function imageLoader({ src }) {
return src;
}
39 changes: 37 additions & 2 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,44 @@
const nextConfig = {
images: {
loader: 'custom',
loaderFile: 'src/lib/imageLoader.ts',
loaderFile: './imageLoader.js',
unoptimized: true,
}
};

module.exports = nextConfig;
// Injected content via Sentry wizard below

const { withSentryConfig } = require("@sentry/nextjs");

// Disable Sentry in development
module.exports = process.env.NODE_ENV === 'production' ? withSentryConfig(
nextConfig,
{
// For all available options, see:
// https://github.com/getsentry/sentry-webpack-plugin#options

// Suppresses source map uploading logs during build
silent: true,
org: "holoen-fans",
project: "hef-website",
},
{
// For all available options, see:
// https://docs.sentry.io/platforms/javascript/guides/nextjs/manual-setup/

// Upload a larger set of source maps for prettier stack traces (increases build time)
widenClientFileUpload: true,

// Hides source maps from generated client bundles
hideSourceMaps: true,

// Automatically tree-shake Sentry logger statements to reduce bundle size
disableLogger: true,

// Enables automatic instrumentation of Vercel Cron Monitors.
// See the following for more information:
// https://docs.sentry.io/product/crons/
// https://vercel.com/docs/cron-jobs
automaticVercelMonitors: true,
}
) : nextConfig;
116 changes: 60 additions & 56 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"dev": "next dev",
"build": "next build",
"start": "next start",
"prepare": "pnpm husky install && node .husky/link.js",
"prepare": "husky",
"lint": "eslint .",
"lint:fix": "eslint --fix .",
"lint:report": "eslint --output-file eslint_report.json --format json .",
Expand All @@ -22,89 +22,93 @@
"pnpm": ">=8"
},
"dependencies": {
"@emotion/react": "11.11.1",
"@emotion/react": "11.11.3",
"@emotion/styled": "11.11.0",
"@formatjs/intl-localematcher": "0.4.0",
"@headlessui/react": "1.7.15",
"@heroicons/react": "2.0.18",
"@mdi/js": "7.2.96",
"@formatjs/intl-localematcher": "0.5.4",
"@headlessui/react": "1.7.18",
"@heroicons/react": "2.1.1",
"@mdi/js": "7.4.47",
"@mdi/react": "1.6.1",
"@pixi/gif": "^2.1.0",
"@pixi/graphics-smooth": "^1.1.0",
"@pixi/react": "7.1.1",
"@pixi/sound": "^5.2.1",
"@pixi/text-html": "^7.3.1",
"@pixi/sound": "^5.2.2",
"@pixi/text-html": "^7.4.0",
"@radix-ui/react-dialog": "^1.0.5",
"@radix-ui/react-dropdown-menu": "^2.0.5",
"@radix-ui/react-dropdown-menu": "^2.0.6",
"@radix-ui/react-switch": "^1.0.3",
"daisyui": "3.1.7",
"date-fns": "2.30.0",
"@sentry/nextjs": "^7.100.1",
"d3-geo-projection": "^4.0.0",
"daisyui": "4.6.2",
"date-fns": "3.3.1",
"escape-html": "1.0.3",
"hamburger-react": "^2.5.0",
"i18next": "^23.5.1",
"i18next-resources-to-backend": "^1.1.4",
"immer": "^10.0.2",
"i18next": "^23.8.2",
"i18next-resources-to-backend": "^1.2.0",
"immer": "^10.0.3",
"lodash": "4.17.21",
"next": "13.5.2",
"next": "13.5.6",
"next-themes": "0.2.1",
"penner": "^0.1.3",
"phaser": "3.55.2",
"phaser3-nineslice": "0.5.0",
"phaser3-rex-plugins": "1.1.85",
"pixi-scrollbox": "^2.3.1",
"pixi-tagged-text": "^3.14.0",
"pixi-tagged-text": "^3.15.1",
"pixi-viewport": "^5.0.2",
"pixi.js": "7.3.1",
"pixi.js": "^7.4.0",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-i18next": "13.0.1",
"react-i18next": "14.0.5",
"react-infinite-scroll-component": "6.1.0",
"react-player": "2.12.0",
"react-player": "2.14.1",
"react-simple-maps": "^3.0.0",
"server-only": "^0.0.1",
"slate": "0.94.1",
"styled-components": "6.0.2",
"swr": "2.2.0",
"slate": "0.102.0",
"styled-components": "6.1.8",
"swr": "2.2.4",
"webfontloader": "1.6.28",
"zustand": "^4.4.1"
"zustand": "^4.5.0"
},
"devDependencies": {
"@commitlint/cli": "17.6.6",
"@commitlint/config-conventional": "17.6.6",
"@next/eslint-plugin-next": "^13.5.2",
"@storybook/addon-essentials": "7.0.25",
"@storybook/addon-interactions": "7.0.25",
"@storybook/addon-links": "7.0.25",
"@storybook/blocks": "7.0.25",
"@storybook/nextjs": "7.0.25",
"@storybook/react": "7.0.25",
"@storybook/testing-library": "0.2.0",
"@types/escape-html": "^1.0.2",
"@types/lodash": "4.14.195",
"@types/penner": "^0.1.1",
"@types/react": "18.2.14",
"@types/safe-json-stringify": "1.1.2",
"@types/webfontloader": "1.6.35",
"@typescript-eslint/eslint-plugin": "5.61.0",
"@typescript-eslint/parser": "5.61.0",
"autoprefixer": "10.4.14",
"eslint": "8.44.0",
"@commitlint/cli": "18.6.0",
"@commitlint/config-conventional": "18.6.0",
"@next/eslint-plugin-next": "^14.1.0",
"@storybook/addon-essentials": "7.6.13",
"@storybook/addon-interactions": "7.6.13",
"@storybook/addon-links": "7.6.13",
"@storybook/blocks": "7.6.13",
"@storybook/nextjs": "7.6.13",
"@storybook/react": "7.6.13",
"@storybook/testing-library": "0.2.2",
"@types/escape-html": "^1.0.4",
"@types/lodash": "4.14.202",
"@types/penner": "^0.1.3",
"@types/react": "18.2.55",
"@types/react-simple-maps": "^3.0.4",
"@types/safe-json-stringify": "1.1.5",
"@types/webfontloader": "1.6.38",
"@typescript-eslint/eslint-plugin": "6.21.0",
"@typescript-eslint/parser": "6.21.0",
"autoprefixer": "10.4.17",
"eslint": "8.56.0",
"eslint-config-airbnb": "19.0.4",
"eslint-config-airbnb-typescript": "17.0.0",
"eslint-config-next": "13.4.8",
"eslint-config-airbnb-typescript": "17.1.0",
"eslint-config-next": "14.1.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "2.27.5",
"eslint-plugin-jsx-a11y": "6.7.1",
"eslint-plugin-react": "7.32.2",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-jsx-a11y": "6.8.0",
"eslint-plugin-react": "7.33.2",
"eslint-plugin-react-hooks": "4.6.0",
"eslint-plugin-storybook": "0.6.12",
"eslint-plugin-tailwindcss": "^3.13.0",
"husky": "8.0.3",
"lint-staged": "13.2.3",
"eslint-plugin-storybook": "0.6.15",
"eslint-plugin-tailwindcss": "^3.14.2",
"husky": "9.0.10",
"lint-staged": "15.2.2",
"phaser3spectorjs": "^0.0.8",
"postcss": "8.4.24",
"storybook": "7.0.25",
"tailwindcss": "3.3.2",
"typescript": "5.1.6"
"postcss": "8.4.35",
"storybook": "7.6.13",
"tailwindcss": "3.4.1",
"typescript": "5.3.3"
},
"overrides": {
"prosemirror-tables": "1.1.1"
Expand Down
Loading

0 comments on commit 30d7715

Please sign in to comment.