Skip to content

Commit

Permalink
chore: downgrade the packages
Browse files Browse the repository at this point in the history
  • Loading branch information
mmarifat committed Sep 20, 2024
1 parent 4d53ae7 commit 0574b9d
Show file tree
Hide file tree
Showing 4 changed files with 4,587 additions and 51 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
/.pnp
.pnp.js
yarn-error.log
yarn.lock
package-lock.json

# testing
Expand Down
15 changes: 0 additions & 15 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,6 @@ const nextConfig = {
includePaths: [path.join(__dirname, 'styles')],
},
webpack(config, { isServer }) {
// Add source maps for sass-loader
config.module.rules.forEach(rule => {
if (Array.isArray(rule.oneOf)) {
rule.oneOf.forEach(oneOf => {
if (oneOf.use) {
oneOf.use.forEach(use => {
if (use.loader && use.loader.includes('sass-loader')) {
use.options.sourceMap = true;
}
});
}
});
}
});

// NextFederationPlugin configuration
config.plugins.push(
new NextFederationPlugin({
Expand Down
70 changes: 35 additions & 35 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,43 +17,43 @@
"prepare": "husky install"
},
"dependencies": {
"@module-federation/nextjs-mf": "^6.0.1",
"antd": "^5.1.7",
"cross-env": "^7.0.3",
"googleapis": "^114.0.0",
"mongoose": "^7.0.2",
"next": "^12.3.4",
"nextjs-cors": "^2.1.2",
"nodemailer": "^6.8.0",
"react": "^18.2.0",
"react-copy-to-clipboard": "^5.1.0",
"react-dom": "^18.2.0",
"react-email-editor": "^1.6.3",
"react-router-dom": "^6.8.0",
"sass": "^1.57.1",
"webpack": "^5.75.0",
"yarn": "^1.22.19"
"@module-federation/nextjs-mf": "6.0.1",
"antd": "5.1.7",
"cross-env": "7.0.3",
"googleapis": "114.0.0",
"mongoose": "7.0.2",
"next": "12.3.4",
"nextjs-cors": "2.1.2",
"nodemailer": "6.8.0",
"react": "18.2.0",
"react-copy-to-clipboard": "5.1.0",
"react-dom": "18.2.0",
"react-email-editor": "1.6.3",
"react-router-dom": "6.8.0",
"sass": "1.57.1",
"webpack": "5.75.0",
"yarn": "1.22.19"
},
"devDependencies": {
"@types/node": "^18.11.18",
"@types/nodemailer": "^6.4.6",
"@types/nprogress": "^0.2.0",
"@types/react": "^18.0.27",
"@types/react-copy-to-clipboard": "^5.0.4",
"@types/react-dom": "^18.0.10",
"@types/react-email-editor": "^1.5.1",
"@typescript-eslint/eslint-plugin": "^5.50.0",
"@typescript-eslint/parser": "^5.50.0",
"autoprefixer": "^10.4.13",
"eslint": "^8.33.0",
"eslint-config-next": "^13.1.6",
"eslint-config-prettier": "^8.6.0",
"eslint-plugin-prettier": "^4.2.1",
"husky": "^8.0.3",
"postcss": "^8.4.21",
"prettier": "^2.8.3",
"tailwindcss": "^3.2.4",
"typescript": "^5.3.3"
"@types/node": "18.11.18",
"@types/nodemailer": "6.4.6",
"@types/nprogress": "0.2.0",
"@types/react": "18.0.27",
"@types/react-copy-to-clipboard": "5.0.4",
"@types/react-dom": "18.0.10",
"@types/react-email-editor": "1.5.1",
"@typescript-eslint/eslint-plugin": "5.50.0",
"@typescript-eslint/parser": "5.50.0",
"autoprefixer": "10.4.13",
"eslint": "8.33.0",
"eslint-config-next": "13.1.6",
"eslint-config-prettier": "8.6.0",
"eslint-plugin-prettier": "4.2.1",
"husky": "8.0.3",
"postcss": "8.4.21",
"prettier": "2.8.3",
"tailwindcss": "3.2.4",
"typescript": "5.3.3"
},
"peerDependencies": {
"webpack": "*"
Expand Down
Loading

0 comments on commit 0574b9d

Please sign in to comment.