-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Enhance the Guard and Watcher app to incorporate the latest updates in... See merge request ergo/rosen-bridge/ui!320
- Loading branch information
Showing
289 changed files
with
21,897 additions
and
10,266 deletions.
There are no files selected for viewing
File renamed without changes.
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,2 @@ | ||
--- | ||
--- |
This file was deleted.
Oops, something went wrong.
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,2 @@ | ||
--- | ||
--- |
This file was deleted.
Oops, something went wrong.
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,65 @@ | ||
name: CI | ||
|
||
on: | ||
pull_request: | ||
branches: ['master', 'dev'] | ||
|
||
concurrency: | ||
group: ci-${{ github.event.pull_request.number || github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
type-lint: | ||
name: type-check and lint | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Setup node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 20 | ||
cache: 'npm' | ||
|
||
- run: npm ci | ||
- run: npm run build:mono-packages | ||
- run: npm run type-check --workspaces --if-present | ||
- run: npm run lint --workspaces --if-present | ||
|
||
test: | ||
name: 'build and test' | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 20 | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
node-version: [18, 20] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Build and test using Node.js v${{ matrix.node-version }} | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
cache: 'npm' | ||
|
||
- run: npm ci | ||
- run: npm run build:mono-packages | ||
- run: npm run coverage | ||
|
||
changeset: | ||
name: 'changeset' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
# check out full history | ||
fetch-depth: 0 | ||
|
||
- name: Run changeset to check versions | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 20 | ||
cache: 'npm' | ||
- run: npx @changesets/[email protected] status --since=origin/dev |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Rosen Bridge Frontend Monorepo | ||
|
||
This monorepo contains all Rosen Bridge frontend applications: | ||
|
||
1. [Rosen App](./apps/rosen/README.md) | ||
2. [Guard App](./apps/guard/README.md) | ||
3. [Watcher App](./apps/watcher/README.md) | ||
4. [Rosen Service](./apps/rosen-service/README.md) | ||
|
||
## Quick Start | ||
|
||
For setup instructions, refer to each app's README file linked above. | ||
|
||
## Contributing | ||
|
||
We welcome contributions! Please see our [Contributing Guidelines](CONTRIBUTING.md) for more information. | ||
|
||
## Support | ||
|
||
For technical support or feature requests, please open an issue in the respective app's repository. |
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 |
---|---|---|
|
@@ -26,6 +26,7 @@ yarn-error.log* | |
|
||
# local env files | ||
.env*.local | ||
.env | ||
|
||
# vercel | ||
.vercel | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,27 @@ | ||
# Rosen Bridge guard app | ||
# Guard App | ||
|
||
## Setup Guide | ||
|
||
Follow these steps to set up and run your local version of Guard App: | ||
|
||
1. **Run a Guard Service** | ||
|
||
- Guard App requires a running Guard Service. | ||
- Refer to the Guard Service documentation for setup instructions. | ||
- Important: Set `allowedOrigin` in the service config to enable API requests from localhost. | ||
|
||
2. **Configure API URL** | ||
|
||
- Open the `fetcher.ts` file. | ||
- Set `axios.defaults.baseURL` to your Guard Service API URL. | ||
|
||
3. **Install Dependencies and Build Packages** | ||
```bash | ||
npm install | ||
./build.sh | ||
cd apps/guard | ||
``` | ||
4. **Launch the App** | ||
```bash | ||
npm run dev | ||
``` |
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 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
Oops, something went wrong.