Matthew Russell
9cb84df35c
chore: refactor global store ( #1241 )
2022-09-05 15:25:33 +01:00
botond
80dee1e03d
fix: use netlify git env vars ( #727 )
...
* fix: use netlify git env vars
* fix: make git info vars optional in env
* fix: remove git info parsing, and use netlify only
* fix: handle missing git repo url
* fix: format
2022-07-08 11:19:05 +01:00
botond
836c232a1c
Feat/675: Git info ( #683 )
...
* feat: add network-switcher lib
* feat: add env variables for some deployed app urls
* feat: add network processing to environment hoook
* refactor: network handling
* refactor: remove dialog from provider and add env setter
* feat: add network switcher dialog to the trading app
* refactor: add network redirect to dialog connect callback
* fix: lint
* feat: add network configuration files to static app
* feat: update environments to use config file instead of static node url
* refactor: split out network switcher utils
* refactor: split up environment hook
* fix: jsonify env variable for possible networks
* fix: add formatter file
* feat: add network loader component
* feat: add network loader to the trading app
* fix: assign correct global state to network swicther
* feat: add status modal
* feat: add network-switcher lib
* feat: add env variables for some deployed app urls
* feat: add network processing to environment hoook
* refactor: network handling
* refactor: remove dialog from provider and add env setter
* feat: add network switcher dialog to the trading app
* refactor: add network redirect to dialog connect callback
* fix: lint
* fix: jsonify env variable for possible networks
* fix: add formatter file
* fix: assign correct global state to network swicther
* fix: failing tests from UI changes
* feat: add environment validation
* feat: add runtime validation for network configs
* fix: readd node urls to envs to avoid breaking the apps for now
* chore: rename network swicther lib to environmnet
* fix: lint
* feat: add tests for config hook
* feat: add environment hook tests
* fix: lint
* fix: lint
* feat: add environment hook tests
* feat: add storage tests
* fix: formet
* feat: improve loading states
* fix: format
* fix: use router instead of window location
* fix: rearrange network loader props and components
* fix: remove FC type
* fix: env validation
* fix: untangle returns in network loader
* fix: add teardown for env and localstorage
* fix: add custom to env networks
* fix: lint
* fix: format
* fix: lint
* fix: remove env provider from simple trading app
* fix: remove failing promise hacks
* fix: some leftover format files
* fix: remove network switcher from tsconf
* fix: move Networks to libs/environment
* fix: add defaults for ether env vars
* feat: add tests for default ether env vars
* fix: remove chain id env var from web3 container
* fix: remove chain id from the environment
* fix: format
* fix: lint token
* fix: lint env
* fix: add comment to callout hack
* fix: lint token again
* fix: remove skip
* fix: move addresses to token app
* fix: improve schema validation errors and fix token app
* fix: lint
* fix: format
* fix: format
* fix: add network loaders to apps
* fix: format
* fix: remove logs
* fix: cypress process errors
* fix: change network loader hierarchy in token
* fix: remove stray console.log
* fix: revert test changes in simple trading app
* fix: prefix env vars with NX
Co-authored-by: Dexter Edwards <dexter.edwards93@gmail.com>
* fix: improve schema validation errors and fix token app
* fix: format
* fix: disable lint rules for catch block any types
* fix: format again
* fix: remove redundant process.platform injections
* fix: format
* feat: add explorer footer
* fix: format
* feat: add custom executor for next
* feat: adjust footer links and add custom executors
* fix: lint and format
* fix: format again
* fix: add explicit github feedback url
* fix: create footer lib
* feat: add footer to token app
* fix: add compiled file to ignore
* fix: make lozenge styling more flexible when no variant specified
* fix: remove schema duplication for third party executors
* fix: add missing intent variant for the lozenge
* fix: move commit hash in footer down two positions
* fix: revert breaking schema removals
* fix: format
* chore: rename footer to network-info
* fix: format
Co-authored-by: Joe <joe@vega.xyz>
Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
Co-authored-by: Dexter Edwards <dexter.edwards93@gmail.com>
2022-07-06 15:53:35 +00:00
botond
a6a21bed46
Feat/427: Serve explicit environments ( #433 )
...
* feat: add env specific serve commands where appropriate for apps
* fix: typo in command call
* feat: add custom executor for serving apps
* chore: clean up project files and use the custom executor
* chore: patch readmes
* chore: split out logs into their own function
* fix: prevent overriding env when no flag passed in
* fix: add tsc to postinstall to take care of compiling the custom executors
* fix: remove the custom serve executor from trading
2022-05-23 10:56:11 +01:00
Edd
6079e2027d
Fix IPFS change detection
...
nx affected `head` was set to `master` instead of `HEAD`, which cause every commit to detect a change and deploy.
- Fix head argument for nx affected command
2022-04-13 09:35:09 +00:00
Edd
ad4c7d88ff
Review feedback: better affected detection that avoids collisions
2022-04-12 10:52:10 +01:00
Edd
d1e50208aa
Review feedback: remove redundant check
2022-04-12 10:48:15 +01:00
Edd
47f1f73582
Update workflow to remove pre-script nx affected
2022-04-11 18:55:59 +01:00
Edd
bfdb1e0b62
Rewrite ipfs-deploy to work differently
...
Feedback on the initial PR pointed out the flaw that just assuming
that the previous commit was HEAD~1 would be inaccurate, so this
rewrite instead fetches the appropriate commit for each Fleek project,
does the appropriate nx affected call, and triggers a deploy.
This allows for each project to independently get deployed only when
there is a change that affects it on master.
The script is written to have no dependencies, and lazily uses curl
instead of node http. It feels a bit icky, but for a build script feels
reasonable. Also as the header comment notes, it seems like an nx build
script would be more appropriate, but because it needs the appropriate
commit for each project, I resorted to a shell script.
- Rewrite ./tools/ipfs-deploy.js
2022-04-11 18:51:32 +01:00
Edd
0e13248bee
Address review comments
2022-04-11 14:54:10 +01:00
Edd
32cef6ef0c
Genericise tool name, add workflow
2022-04-11 12:42:22 +01:00
Edd
463bb2e360
Add fleek file for stats, and script to run it if affected
2022-04-11 12:12:40 +01:00
Bartłomiej Głownia
355de1a32f
Create a Mono-repo for DeFiUI + ui toolkit using nx
2022-02-11 15:02:11 +01:00