feat: add tokenlist validation (#6504)
* feat: add tokenlist validation * use alternative for spread operator * maintain tokenlists version and use original ajv version * bump ajv * Revert "bump ajv" This reverts commit b9d2dd61c61f4aeedc00faf034c5a6e89b0d28fc. * rename vars in validator * update gitignore * nit fixes * test * add ^ back * remove ^ * removed and readded ajv * try require.resolve * Revert "try require.resolve" This reverts commit 62f58bcb7f02f1ead430a4c94ca3428a60d4d4c5. * bump eslint-config * yarn lock merge conflict * bring back spread operator * remove redundant lint ignore
Showing
... | ... | @@ -16,7 +16,8 @@ |
"i18n:extract": "lingui extract --locale en-US", | ||
"i18n:compile": "yarn i18n:extract && lingui compile", | ||
"i18n:pseudo": "lingui extract --locale pseudo && lingui compile", | ||
"prepare": "yarn contracts:compile && yarn graphql:fetch && yarn graphql:generate && yarn i18n:compile", | ||
"ajv:compile": "node scripts/compile-ajv-validators.js", | ||
"prepare": "yarn contracts:compile && yarn graphql:fetch && yarn graphql:generate && yarn i18n:compile && yarn ajv:compile", | ||
"start": "craco start", | ||
"build": "craco build", | ||
"build:e2e": "REACT_APP_CSP_ALLOW_UNSAFE_EVAL=true REACT_APP_ADD_COVERAGE_INSTRUMENTATION=true craco build", | ||
... | ... | @@ -96,8 +97,8 @@ |
"@types/ua-parser-js": "^0.7.35", | ||
"@types/uuid": "^8.3.4", | ||
"@types/wcag-contrast": "^3.0.0", | ||
"@uniswap/eslint-config": "^1.2.0", | ||
"@uniswap/default-token-list": "^9.4.0", | ||
"@uniswap/eslint-config": "^1.1.1", | ||
"@vanilla-extract/babel-plugin": "^1.1.7", | ||
"@vanilla-extract/jest-transform": "^1.1.1", | ||
"@vanilla-extract/webpack-plugin": "^2.1.11", | ||
... | ... | @@ -190,6 +191,8 @@ |
"@web3-react/types": "^8.2.0", | ||
"@web3-react/url": "^8.2.0", | ||
"@web3-react/walletconnect": "^8.2.0", | ||
"ajv": "^8.11.0", | ||
"ajv-formats": "^2.1.1", | ||
"array.prototype.flat": "^1.2.4", | ||
"array.prototype.flatmap": "^1.2.4", | ||
"cids": "^1.0.0", | ||
... | ... |
Please register or sign in to comment