Skip to content

Commit

Permalink
build: update node version
Browse files Browse the repository at this point in the history
  • Loading branch information
ClaraTschamon committed Jan 28, 2025
1 parent 5008288 commit 8383ae5
Show file tree
Hide file tree
Showing 6 changed files with 3,318 additions and 3,616 deletions.
2 changes: 1 addition & 1 deletion .prettierrc.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module.exports = {
trailingComma: 'all',
trailingComma: 'es5',
semi: true,
singleQuote: true,
};
5 changes: 4 additions & 1 deletion next-env.d.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
/// <reference types="next" />
/// <reference types="next/types/global" />
/// <reference types="next/image-types/global" />

// NOTE: This file should not be edited
// see https://nextjs.org/docs/pages/api-reference/config/typescript for more information.
17 changes: 17 additions & 0 deletions next.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
transpilePackages: [
'antd',
'@ant-design/icons',
'@ant-design/icons-svg',
'rc-pagination',
'rc-util',
'rc-picker',
'rc-input',
'rc-tree',
'rc-table',
],
swcMinify: false,
};

module.exports = nextConfig;
15 changes: 10 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
"author": "@erikdstock",
"license": "MIT",
"version": "1.0.0",
"engines": {
"node": ">=18",
"npm": ">=8"
},
"type": "commonjs",
"scripts": {
"dev": "nodemon",
"build": "next build && tsc --project tsconfig.server.json",
Expand Down Expand Up @@ -44,19 +49,19 @@
"dependencies": {
"@ant-design/icons": "^4.3.0",
"@types/socket.io": "^2.1.11",
"antd": "^4.8.2",
"antd": "^5.23.3",
"basic-auth": "^2.0.1",
"cross-env": "^7.0.3",
"dotenv": "^8.2.0",
"mobx": "^6.0.4",
"mobx-react": "^7.0.5",
"next": "^10",
"next": "^15.1.6",
"pg": "^8.5.0",
"pg-hstore": "^2.3.3",
"react": "^16.13.1",
"react": "^18.3.1",
"react-dnd": "^11.1.3",
"react-dnd-html5-backend": "^11.1.3",
"react-dom": "^16.13.1",
"react-dom": "^18.3.1",
"react-markdown": "^5.0.3",
"sequelize": "^6.3.5",
"socket.io": "^3.0.3",
Expand All @@ -70,7 +75,7 @@
"@types/basic-auth": "^1.1.3",
"@types/jest": "^25.1.4",
"@types/node": "^13.9.5",
"@types/react": "^16.9.27",
"@types/react": "^19.0.8",
"@typescript-eslint/eslint-plugin": "^2.25.0",
"@typescript-eslint/parser": "^2.25.0",
"babel-jest": "^25.2.3",
Expand Down
2 changes: 1 addition & 1 deletion styles/global.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import '~antd/dist/antd.css';
@import '~antd/dist/reset.css';

html,
body {
Expand Down
Loading

0 comments on commit 8383ae5

Please sign in to comment.