Zach Pomerantz
5e1c430657
build: improve tree-shaking ( #7325 )
...
* build: improve tree-shaking
* dedup terser
2023-09-21 11:29:22 -07:00
Zach Pomerantz
22fd0cc7bb
build: fix sourcemap warnings ( #7318 )
2023-09-15 19:41:38 -07:00
Jack Short
6ec9bb7362
chore: moving conedison/provider to interface ( #7119 )
...
* chore: moving provider from coned to interface
* moving signing over to interface
* updating lockfile
* dedup
* use d3-array build for jest
* downgrading jest/types
* Revert "downgrading jest/types"
This reverts commit 88d3746c00dcd98275be18a4b8af0314ae4329ad.
2023-08-18 16:26:08 -04:00
Jack Short
b1c99d4b37
chore: moving coned formatting to interface ( #7114 )
2023-08-09 14:01:37 -04:00
Zach Pomerantz
08501234a8
build: replace babel with swc ( #7056 )
...
* chore: refactor ms.macro to ms
* build: upgrade lingui@4
* chore: avoid styled-components/macro
* build: replace babel loader with swc
* build: upgrade vanilla-extract
* build: simplify e2e config
* build: migrate jest to swc
* build: dedup
* whoops
* fix: initial translations
* build: coverage
* build: ignore static extract warning
* build: rm old babel pkg
* test: rm e2e codecov
* build: fix swc cache
* cleanup
* fix visible t9ns
* cleanup
* cleanup setup
* crank it
* actual merge conflict resolution
* fix: restore locale initialization
2023-08-08 10:38:37 -07:00
Vignesh Mohankumar
3a0f6920d0
build: use webpack-retry-chunk-load-plugin ( #6885 )
...
* build: use webpack retry chunk load plugin
* fix
* dedupe
* lint
* retry backoff
* reduce from 1000 to 500ms
* add cache bust query
* rm cache bust
* 3
* cache bust
* Update craco.config.cjs
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
---------
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
2023-07-06 17:54:49 -04:00
Zach Pomerantz
fe6df38997
build: upgrade to webpack5 with polyfilled Buffer ( #6568 )
...
* fix: Revert "fix: Revert "build: upgrade to webpack 5 (#6459 )" (#6566 )"
This reverts commit 5e591455b38c9618c750a23bc2a63cdcc30dba57.
* build: polyfill Buffer
* docs: fix comment negation
2023-05-15 14:07:05 -07:00
Tina
5e591455b3
fix: Revert "build: upgrade to webpack 5 ( #6459 )" ( #6566 )
...
Revert "build: upgrade to webpack 5 (#6459 )"
This reverts commit ec547ab100f793d127246186d5fd60786758a862.
2023-05-15 09:48:27 -04:00
Zach Pomerantz
ec547ab100
build: upgrade to webpack 5 ( #6459 )
...
* fix: import default from json
* fix: fallback to path-browserify
* build: upgrade to webpack5
* test: update size-tests to reflect single entry
* test: increase service-worker timeout
* docs: improve comments
* build: rm MiniCssExtract workaround
* docs: even better comments
* test: back out longer test
* build: vendor chunk
* test: increase sw timeout
* fix: justified splitChunks config
* better explanation
* fix: longer timeout
* fix: caching
* merge and rm duplication
* build
2023-05-12 12:55:01 -07:00
Zach Pomerantz
252acef199
build: cap chunk size to 5MB ( #6479 )
...
* build: cap chunk size to 5MB
* test: rm size-tests
2023-05-02 08:46:32 -07:00
Zach Pomerantz
87144de9c8
test: transform vanilla-extract for jest ( #6425 )
...
* fix: transform vanilla extract for jest
* lint: vanilla transform
* build: deduplicate
* test: improve transformIgnorePatterns
* fix: broken snapshot
* nits
* Update craco.config.cjs
* build: lockfile
* build: lockfile
* Update vanilla.transform.cjs
2023-04-25 12:06:58 -07:00
eddie
820e179560
fix: e2e test coverage reporting ( #6286 )
...
* fix: e2e test coverage reporting
* fix: try increasing
* fix: names
* fix: optimize test.yml
* fix: undo last change and add cache
2023-04-20 15:34:09 -07:00
Zach Pomerantz
b6874b8094
build: remove unnecessary webpack plugins ( #6386 )
...
* build: remove duplicate file case check
* build: remove unused moment tree-shaking
* fix: nits
2023-04-20 14:12:43 -07:00
Zach Pomerantz
2b60961812
build: use ignore-path for craco eslint ( #6372 )
...
* build: add caching to eslint
* build: add caching to jest
* build: add caching to tsc
* build: add caching to actions
* fix: upgrade upload-artifact to v3
* build: update craco eslint cacheLocation
* build: use ignore-path for craco eslint
2023-04-20 13:44:57 -07:00
Zach Pomerantz
7ab6a17b42
build: utilize the node_modules/.cache ( #6364 )
...
* build: add caching to eslint
* build: add caching to jest
* build: add caching to tsc
* build: add caching to actions
* fix: upgrade upload-artifact to v3
* build: update craco eslint cacheLocation
* fix: pr nits
2023-04-17 09:28:00 -07:00
Zach Pomerantz
ef9ecd9ce2
build: optimize build by splitting out typechecking and linting ( #6323 )
...
* build: move typecheck/lint out of build
* build: add typecheck to test action
* build: fix lint to use gitignore
* fix: correctly lint/check
* fix: simplify lint
* build: back out eslint array-ification
* test(lint): add comment RE config/typings
* build: clarify craco webpack plugin mods
* build: simplify craco webpack with functional methods
* build: rm unused IgnorePlugin
* test(lint): order imports
2023-04-13 12:43:47 -07:00
Zach Pomerantz
f29d97413e
build: use env node for craco lint ( #6311 )
2023-04-10 10:05:22 -07:00
eddie
35dace7bfe
feat: cypress test coverage reporting ( #6212 )
...
* wip
* fix: only instrument thru babel in test and dev
* fix: remove unused deps
* fix: yarn dedup
* fix: remove nyc_output dir from git
* fix: remove comment from index.html
2023-03-27 09:48:02 -07:00
Zach Pomerantz
2df0ca178c
build: fix vanilla-extract for M1 ( #6058 )
2023-03-03 09:56:33 -08:00
eddie
302af21a22
fix: widget theme integration ( #5880 )
...
* fix: add missing colors to widget theme integration
* feat: upgrade widget version
* fix: conedison in jest tests
2023-01-25 17:12:23 -05:00
Jordan Frankfurt
726640787d
fix: use number formatting lib for tick bounds on LP positions ( #5573 )
...
* fix: use number formatting lib for tick bounds on LP positions
* lint
* configure craco to work with conedison
* lint
2023-01-09 15:54:48 -06:00
Mike Grabowski
63a9bd4fbf
feat: improve formatting of NFT prices with shared module ( #5245 )
...
* wip: change formatting of nft
chore: use a different package
use pure webpack instead
* revert changes to yarn.lock
* chore: update lock one more time
* chore: upgrade conedison
* chore: tweaks
* chore: handle 0
* chore: update to latest and use proper method
* chore: update conditional
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
2022-11-17 19:59:40 +01:00
vignesh mohankumar
ef8fba1d49
feat: add git commit hash on build ( #4701 )
...
* feat: add git commit hash on build
* process.env.
* works
* log
* import
* log full
2022-09-22 15:29:29 -04:00
Charles Bachmeier
8dbc91ee6b
feat: Add utility code for NFT Features ( #4256 )
...
* import nft utilities
* re-add featureflag provider
* add back in useCurrencyBalanceString fn
* remove static assets for separate pr
* remove resolutions, swap dev and regular dependencies, respond to comments
* remove currently unused dependencies and resynth .lock
* build: update lockfile
* build: update lockfile
* remove env check
* useCurrencyBalanceString as fn
* remove supported_Wallets until wallet component merged in
* make Atoms an interface
* update abis
* remove outdated comment
* update usedebounce hook
* remove useDarkMode
* remove useLazyEffect
* remove getEtherscan helper fn
* remove useLastWallet
* remove useWindowDimensions
* refactor hooks
* move hooks from nft to general folder
* add walletBalanceInterface and remove wrongNetwork hook
* remove empty obj
* remove ethers imports
* fixed comparison
* same line eslint ignore
* gtag removed
* revert
* revert
* build: update lockfile
* remove walletinfo interface
* remove newline
* remove tslinst exception from isMobile
* remove hiding linter warnings
* remove unused util
* fix linter warnings
Co-authored-by: Charles Bachmeier <charlie@genie.xyz>
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
2022-08-10 16:38:23 -07:00