Skip to content

Commit

Permalink
fix: install and build error
Browse files Browse the repository at this point in the history
  • Loading branch information
Mr.Mao committed Mar 14, 2024
1 parent deeedea commit ba35e27
Show file tree
Hide file tree
Showing 4 changed files with 728 additions and 4,534 deletions.
6 changes: 3 additions & 3 deletions e2e/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
"allowJs": true,
"types": [
"cypress",
"@types/puppeteer-core",
"@synthetixio/synpress/support",
"cypress-wait-until",
// "@types/puppeteer-core",
// "@synthetixio/synpress/support",
// "cypress-wait-until",
"@testing-library/cypress",
"cypress-localstorage-commands"
],
Expand Down
8 changes: 4 additions & 4 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const { i18n } = require('./next-i18next.config')
const { withPlugins } = require('next-compose-plugins')
const path = require('path')
const StylelintPlugin = require('stylelint-webpack-plugin')
const { withSentryConfig } = require('@sentry/nextjs')
// const { withSentryConfig } = require('@sentry/nextjs')
const { execSync } = require('child_process')

const babelIncludeRegexes = [
Expand Down Expand Up @@ -194,9 +194,9 @@ const withSentry = (config) => {
// For all available options, see:
// https://github.com/getsentry/sentry-webpack-plugin#options.
}
if (process.env.NODE_ENV === 'production' && !process.env.NEXT_PUBLIC_IPFS)
return withSentryConfig(config, sentryWebpackPluginOptions)
// if (process.env.NODE_ENV === 'production' && !process.env.NEXT_PUBLIC_IPFS)
// return withSentryConfig(config, sentryWebpackPluginOptions)
return config
}

module.exports = withSentry(withPlugins(plugins, nextConfig))
module.exports = withPlugins(plugins, nextConfig)
14 changes: 1 addition & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@
"@ethersproject/transactions": "^5.7.0",
"@ethersproject/units": "^5.7.0",
"@ethersproject/web": "^5.7.1",
"@hairy/browser-utils": "^0.2.5",
"@rainbow-me/rainbowkit": "0.12.7",
"@sentry/nextjs": "^7.43.0",
"@svgr/webpack": "^6.3.1",
"@tanstack/query-persist-client-core": "4.14.5",
"@tanstack/query-sync-storage-persister": "4.14.5",
Expand Down Expand Up @@ -122,15 +122,11 @@
"devDependencies": {
"@cloudflare/workers-types": "^3.14.1",
"@deploysentinel/cypress-debugger": "^0.5.5",
"@ensdomains/buffer": "^0.1.0",
"@ensdomains/ens-test-env": "^0.3.7",
"@ethersproject/wallet": "^5.7.0",
"@next/bundle-analyzer": "^12.2.5",
"@next/swc-linux-x64-gnu": "12.1.4",
"@nomiclabs/hardhat-ethers": "npm:hardhat-deploy-ethers@^0.3.0-beta.13",
"@openzeppelin/contracts": "^4.7.3",
"@openzeppelin/test-helpers": "^0.5.16",
"@synthetixio/synpress": "3.5.1",
"@testing-library/cypress": "^8.0.3",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^12.1.5",
Expand All @@ -142,7 +138,6 @@
"@types/lodash": "^4.14.184",
"@types/node": "^18.7.13",
"@types/prettier": "^2.7.0",
"@types/puppeteer-core": "^5.4.0",
"@types/react": "17.0.30",
"@types/react-dom": "^18.0.6",
"@types/react-is": "^17.0.3",
Expand All @@ -153,7 +148,6 @@
"@wagmi/core-cjs": "npm:@wagmi/[email protected]",
"babel-jest": "^27.5.1",
"babel-loader": "^8.2.5",
"canvas": "^2.11.2",
"concurrently": "^7.3.0",
"cypress": "12.7.0",
"cypress-localstorage-commands": "^2.2.1",
Expand All @@ -176,9 +170,6 @@
"ethers": "^5.7.2",
"ganache": "^7.4.1",
"graphql-request": "5.1.0",
"hardhat": "^2.10.2",
"hardhat-dependency-compiler": "^1.1.3",
"hardhat-deploy": "^0.11.12",
"husky": "^7.0.4",
"jest": "^27.5.1",
"jest-canvas-mock": "^2.4.0",
Expand All @@ -201,7 +192,6 @@
"svgo": "latest",
"ts-node": "^10.9.1",
"typescript": "^4.9.4",
"typescript-styled-plugin": "^0.18.2",
"wagmi-cjs": "npm:[email protected]",
"wait-on": "^6.0.1",
"wrangler": "2.16.0",
Expand All @@ -211,7 +201,6 @@
"overrides": {
"wrtc": "https://registry.npmjs.org/@koush/wrtc/-/wrtc-0.5.2.tgz",
"bn.js": "npm:bn.js@^5.2.0",
"@nomiclabs/hardhat-ethers": "npm:[email protected]",
"@next/swc-linux-x64-gnu": "12.1.4",
"cypress": "12.7.0",
"@tanstack/query-persist-client-core": "4.14.5",
Expand All @@ -223,7 +212,6 @@
},
"patchedDependencies": {
"[email protected]": "patches/[email protected]",
"@synthetixio/[email protected]": "patches/@[email protected]",
"[email protected]": "patches/[email protected]",
"@rainbow-me/[email protected]": "patches/@[email protected]",
"@ensdomains/[email protected]": "patches/@[email protected]"
Expand Down
Loading

0 comments on commit ba35e27

Please sign in to comment.