Skip to content

Commit

Permalink
Merge pull request #677 from bamdadfr/next/bamdad
Browse files Browse the repository at this point in the history
  • Loading branch information
bamdadfr authored Jul 11, 2024
2 parents 294527c + 351f3f0 commit 08a0885
Show file tree
Hide file tree
Showing 118 changed files with 2,901 additions and 1,980 deletions.
6 changes: 5 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ module.exports = {
parserOptions: {
requireConfigFile: true,
sourceType: 'module',
ecmaVersion: 'latest',
},
settings: {
'import/resolver': {
Expand All @@ -28,14 +29,14 @@ module.exports = {
],
plugins: [
'@typescript-eslint',
'simple-import-sort',
'import',
'@babel',
'jsx-a11y',
'prettier',
'react-hooks',
'testing-library',
'jest-dom',
'simple-import-sort',
],
rules: {
// custom rules
Expand Down Expand Up @@ -173,5 +174,8 @@ module.exports = {
},
],
'@typescript-eslint/object-curly-spacing': ['error', 'never'],
'react/jsx-no-useless-fragment': 'off',
'simple-import-sort/imports': 'error',
'simple-import-sort/exports': 'error',
},
};
11 changes: 0 additions & 11 deletions babel.config.js

This file was deleted.

1 change: 1 addition & 0 deletions next-env.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/// <reference types="next" />
/// <reference types="next/image-types/global" />
/// <reference types="next/navigation-types/compat/navigation" />

// NOTE: This file should not be edited
// see https://nextjs.org/docs/basic-features/typescript for more information.
12 changes: 5 additions & 7 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@ const isEnvProduction = process.env.NODE_ENV === 'production';

const configuration = {
poweredByHeader: false,
compiler: {
styledComponents: true,
},
images: {
domains: [
'api.screwmycode.in',
],
domains: ['api.screwmycode.in'],
},
webpack: (config) => {
config = {
Expand All @@ -27,10 +28,7 @@ const configuration = {
};

if (!isEnvProduction) {
configuration.images.domains = [
...configuration.images.domains,
'localhost',
];
configuration.images.domains = [...configuration.images.domains, 'localhost'];
}

const SentryWebpackPluginOptions = {};
Expand Down
74 changes: 37 additions & 37 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,38 +28,38 @@
"test:watch:all": "jest --watchAll"
},
"dependencies": {
"@fontsource/noto-sans": "^4.5.10",
"@iconify/icons-mdi": "^1.2.27",
"@iconify/react": "^3.2.2",
"@juggle/resize-observer": "^3.3.1",
"@react-spring/web": "^9.5.2",
"@sentry/nextjs": "^7.8.1",
"@sentry/react": "^7.8.1",
"@sentry/tracing": "^7.8.1",
"can-autoplay": "^3.0.1",
"@fontsource/noto-sans": "^5.0.22",
"@iconify/icons-mdi": "^1.2.48",
"@iconify/react": "^5.0.1",
"@juggle/resize-observer": "^3.4.0",
"@react-spring/web": "^9.7.3",
"@sentry/nextjs": "^8.17.0",
"@sentry/react": "^8.17.0",
"@sentry/tracing": "^7.114.0",
"can-autoplay": "^3.0.2",
"gl-react": "^5.2.0",
"gl-react-dom": "^5.2.1",
"gl-react-image": "^3.2.0",
"hoist-non-react-statics": "^3.3.2",
"jotai": "^1.7.7",
"next": "^12.2.3",
"next-replace-url": "^1.0.1",
"jotai": "^2.9.0",
"next": "^14.2.5",
"next-replace-url": "^1.0.3",
"raf": "^3.4.1",
"react": "^18.2.0",
"react-device-detect": "^2.1.2",
"react-dom": "^18.2.0",
"react": "^18.3.1",
"react-device-detect": "^2.2.3",
"react-dom": "^18.3.1",
"react-use-measure": "^2.1.1",
"soundcloud-scraper": "^5.0.3",
"speed-to-percentage": "^1.1.3",
"speed-to-semitones": "^1.2.2",
"styled-components": "^5.3.0",
"ytdl-core": "^4.9.1"
"speed-to-percentage": "^1.2.1",
"speed-to-semitones": "^1.3.1",
"styled-components": "^6.1.11",
"ytdl-core": "^4.11.5"
},
"devDependencies": {
"@babel/core": "^7.24.7",
"@babel/eslint-parser": "^7.24.7",
"@babel/core": "^7.24.8",
"@babel/eslint-parser": "^7.24.8",
"@babel/eslint-plugin": "^7.24.7",
"@babel/preset-env": "^7.24.7",
"@babel/preset-env": "^7.24.8",
"@babel/preset-react": "^7.24.7",
"@babel/preset-typescript": "^7.24.7",
"@testing-library/jest-dom": "^6.4.6",
Expand All @@ -70,35 +70,35 @@
"@types/jest": "^29.5.12",
"@types/node": "^20.14.10",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.0.6",
"@types/styled-components": "^5.1.24",
"@typescript-eslint/eslint-plugin": "^7.15.0",
"@typescript-eslint/parser": "^7.15.0",
"babel-jest": "^28.1.3",
"babel-plugin-styled-components": "^2.0.2",
"@types/react-dom": "^18.3.0",
"@types/styled-components": "^5.1.34",
"@typescript-eslint/eslint-plugin": "^7.16.0",
"@typescript-eslint/parser": "^7.16.0",
"babel-jest": "^29.7.0",
"babel-plugin-styled-components": "^2.1.4",
"cross-env": "^7.0.3",
"eslint": "^8",
"eslint": "^8.57.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-next": "^12.2.3",
"eslint-config-next": "^14.2.5",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-jest": "^28.6.0",
"eslint-plugin-jest-dom": "^5.4.0",
"eslint-plugin-jsdoc": "^48.5.2",
"eslint-plugin-jsdoc": "^48.7.0",
"eslint-plugin-jsx-a11y": "^6.9.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-react": "^7.34.3",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-simple-import-sort": "^12.1.1",
"eslint-plugin-testing-library": "^6.2.2",
"jest": "^29.7.0",
"jest-environment-jsdom": "^28.1.3",
"next-sitemap": "^3.1.16",
"jest-environment-jsdom": "^29.7.0",
"next-sitemap": "^4.2.3",
"prettier": "^3.3.2",
"rimraf": "^5.0.8",
"sass": "^1.54.2",
"sass-reset": "^1.0.2",
"ts-jest": "^29.1.5",
"rimraf": "^6.0.1",
"sass": "^1.77.8",
"sass-reset": "^1.0.4",
"ts-jest": "^29.2.2",
"typescript": "^5.5.3"
}
}
Loading

0 comments on commit 08a0885

Please sign in to comment.