forked from taikoxyz/taiko-mono
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(ui): Template / initial repo for UI (taikoxyz#304)
* svelte typescript daisyui tailwind vite rollup template * WIP:svelte/daisy/tailwind/vite/rollup template * github actions * pnpm jest * pnpm * pnpm lock * badges for readme * Update README.md Co-authored-by: David <[email protected]> * Update packages/ui/.eslintignore Co-authored-by: shadab-taiko <[email protected]> * lints * Update packages/ui/.eslintrc.cjs Co-authored-by: shadab-taiko <[email protected]> * npx/npm => pnpm * unused test var * theme, localization, token store, basic form, layout * dropdowns, form buttons * i18n * rm assets and use icons * get bridge address dynamically by set chainID * disconnect * toasts * pnpm lock * Update packages/ui/index.html Co-authored-by: d1onys1us <[email protected]> * Update .husky/pre-commit Co-authored-by: d1onys1us <[email protected]> * Update pnpm-workspace.yaml Co-authored-by: d1onys1us <[email protected]> * fix(bridge): remove bridge ui theme (taikoxyz#324) * [bridge] remove theme-change * [bridge] remove unused icon * feat: upgrade tailwind to v3 (taikoxyz#325) * convert from cjs to js * [bridge] upgrade tailwind to v3 * Revert "convert from cjs to js" This reverts commit c33dec0. * [bridge] change neutral color * package-lock * rn unused libs + lock file * ui => bridge-ui, rm package-lock.json * pnpm tests * try fix * try fix * try fix Co-authored-by: David <[email protected]> Co-authored-by: shadab-taiko <[email protected]> Co-authored-by: d1onys1us <[email protected]> Co-authored-by: dantaik <[email protected]> Co-authored-by: David Weisiger <[email protected]>
- Loading branch information
1 parent
4fe1fa4
commit a396511
Showing
91 changed files
with
7,284 additions
and
69,274 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
name: Bridge UI | ||
|
||
on: | ||
push: | ||
branches: [main] | ||
paths: | ||
- "packages/bridge-ui/**" | ||
pull_request: | ||
paths: | ||
- "packages/bridge-ui/**" | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Cancel Previous Runs | ||
uses: styfle/[email protected] | ||
with: | ||
access_token: ${{ github.token }} | ||
|
||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: "16.15" | ||
|
||
- uses: pnpm/action-setup@v2 | ||
name: Install pnpm | ||
id: pnpm-install | ||
with: | ||
version: 7 | ||
run_install: false | ||
|
||
- name: Get pnpm store directory | ||
id: pnpm-cache | ||
shell: bash | ||
run: | | ||
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT | ||
- uses: actions/cache@v3 | ||
name: Setup pnpm cache | ||
with: | ||
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }} | ||
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} | ||
restore-keys: | | ||
${{ runner.os }}-pnpm-store- | ||
- name: ui - Unit Tests | ||
working-directory: ./packages/bridge-ui | ||
run: pnpm install && pnpm run test | ||
|
||
- name: ui - Upload coverage to Codecov | ||
uses: codecov/codecov-action@v3 | ||
with: | ||
directory: ./packages/bridge-ui/coverage | ||
flags: ui |
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.