-
Notifications
You must be signed in to change notification settings - Fork 656
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
42e2756
commit 24b39f7
Showing
101 changed files
with
23,350 additions
and
16,003 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
REACT_APP_DCL_DEFAULT_ENV=dev | ||
GEN_STATIC_LOCAL=true | ||
PUBLIC_URL=/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
const { override, babelInclude } = require('customize-cra') | ||
const path = require('path') | ||
|
||
const overridedConfig = override( | ||
babelInclude([ | ||
path.resolve(__dirname, 'src'), | ||
path.resolve(__dirname, 'node_modules/react-virtualized-auto-sizer'), | ||
path.resolve( | ||
__dirname, | ||
'node_modules/decentraland-connect/node_modules/@walletconnect' | ||
), | ||
path.resolve('node_modules/@metamask/utils/node_modules/superstruct'), | ||
path.resolve(__dirname, 'node_modules/@walletconnect'), | ||
path.resolve(__dirname, 'node_modules/@dcl/single-sign-on-client'), | ||
path.resolve(__dirname, 'node_modules/@0xsquid/sdk'), | ||
path.resolve(__dirname, 'node_modules/@cosmjs'), | ||
path.resolve(__dirname, 'node_modules/cosmjs-types'), | ||
path.resolve(__dirname, 'node_modules/ethers-multicall-provide'), | ||
path.resolve(__dirname, 'node_modules/@noble'), | ||
path.resolve(__dirname, 'node_modules/decentraland-connect/node_modules/ethers') | ||
]) | ||
) | ||
|
||
const jestConfig = config => { | ||
config.transformIgnorePatterns = [ | ||
'node_modules/?!@0xsquid|eccrypto|libsodium-wrappers-sumo' | ||
] | ||
config.moduleNameMapper = { | ||
...config.moduleNameMapper, | ||
'@dcl/single-sign-on-client': 'identity-obj-proxy', | ||
} | ||
return config | ||
} | ||
|
||
overridedConfig.jest = jestConfig // looks counter-intuitive, but it works | ||
|
||
module.exports = overridedConfig |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.