-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: simplify envs, cleanup them and improve readme #3276
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Removed dependencies detected. Learn more about Socket for GitHub ↗︎ 🚮 Removed packages: @amplitude/[email protected], [email protected] |
// warning: localWarning, | ||
// }, | ||
// }) | ||
// } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i just coment out to bring it back if necessary. We just don't need to upload to IPFS anymore, but is a pity to delete this.
HAppy to kill it if reviewers desire so
0bcf332
to
0cf778a
Compare
0cf778a
to
4b4d46e
Compare
* docs: improve readme and add REACT_APP_ORDER_BOOK_URLS * docs: improve documentation Co-authored-by: Felix Leupold <[email protected]> * docs: improve ini * docs: fix name * docs: simplify --------- Co-authored-by: Felix Leupold <[email protected]>
f6240cc
to
0fc25a1
Compare
@@ -1,96 +0,0 @@ | |||
# PRICE ESTIMATION |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I saw only later! I fixed it by using the sam .env for all projects. Now they all share the jest setup
Closing to test re-opening it to generate the PREVIEWS |
I will continue here #3301 |
Summary
This PR is a follow up on #3187 (comment)
Additionally
Prepare for multi-app mono repo setup
This PR prepares for deploying multiple Apps with the same mono-repo
Now each app will build into its own dir:
Config and Docs improvements
.env
has now all envs as optional! This make it easier.env
build:cowswap
,build:cosmos
,build:widget
just following more homogenous naming conventions https://github.com/cowprotocol/cowswap/pull/3276/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519R12Tests
setupTests.ts
has been promoted fromcowswap-frontend
specific to general monorepo root. Now alljest
configs use it. This is used also to setup the.env
same file for all projects. This solves a duplication we had (we had to duplicate our.env
for different projects.https://github.com/cowprotocol/cowswap/pull/3276/files#diff-a1c786cdea90125d840669112d499d337a658bf6431a8c972a2e14301d908662R6
Readme
Test
Run locally. You can delete you
.env.local
and it should run out of the boxRead the README:
https://github.com/cowprotocol/cowswap/tree/simplify-envs-and-readme