Skip to content
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

renames #1

Merged
merged 3 commits into from
Jan 13, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions .github/workflows/test-and-lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./apps/web
working-directory: ./apps/flame-defi
steps:
- uses: actions/checkout@master
- name: Use Node.js
Expand All @@ -21,7 +21,7 @@ jobs:
- uses: actions/cache@v4
id: cache-node-modules
with:
path: "apps/web/node_modules"
path: "apps/flame-defi/node_modules"
key: ${{ runner.os }}-modules-${{ hashFiles('package-lock.json') }}
- name: Install Dependencies
if: steps.cache-node-modules.outputs.cache-hit != 'true'
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
15 changes: 7 additions & 8 deletions apps/web/README.md → apps/flame-defi/README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
# Astria BridgePage Web App
# Flame Defi Frontend

This directory contains the source code and tooling for the front-end for
the Astria Flame app.

## `web` application directory structure
## `flame-defi` application directory structure

### Application directory structure

- `app/bridge` - bridge page
- `app/components` - More general React components for the app, e.g. Navbar,
Dropdown, CopyToClipboardButton, etc
- `app/config` - Configuration for the web app
- `app/config` - Configuration for the app
- `app/config/chainConfigs` - Celestia and Astria chain information
- `app/config/components` - components for config, e.g. `NetworkSelector`
- `app/config/contexts` - Config context and context provider
Expand All @@ -37,7 +37,6 @@ the Astria Flame app.
### Non-application files

- `.aidigestignore` - files to ignore when running `aidigest`
- `.eslintrc.json` - eslint config
- `eslint.config.js` - eslint config
- `jest.config.ts` - jest configuration
- `jest.setup.tsx`
Expand All @@ -53,7 +52,7 @@ the Astria Flame app.
## Commands

```bash
# install npm deps and run web app locally
# install npm deps and run app locally
just cp-env
npm install
npm run dev
Expand All @@ -67,7 +66,7 @@ just t
just f
just l

# build web app static files
# build app static files
npm run build
```

Expand All @@ -79,11 +78,11 @@ npm run build
- create file that will contain the config values

```sh
touch app/config/chainConfigs/ChainConfigsMainnet.ts
touch ./config/chainConfigs/ChainConfigsMainnet.ts
```

- import new configs in
`astria-bridge-web-app/web/src/config/chainConfigs/index.ts`, while renaming
`./config/chainConfigs/index.ts`, while renaming
them

```typescript
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
5 changes: 2 additions & 3 deletions apps/web/package.json → apps/flame-defi/package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"name": "web",
"name": "flame-defi",
"version": "0.1.0",
"type": "module",
"private": true,
"scripts": {
"dev": "next dev",
"dev": "next dev --turbopack",
"build": "next build",
"start": "next start",
"lint": "next lint --max-warnings 0",
Expand Down Expand Up @@ -53,7 +53,6 @@
"@types/react-dom": "18.3.1",
"@types/uuid": "^9.0.8",
"autoprefixer": "^10.4.20",
"eslint-config-next": "^14.2.23",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"postcss": "^8.4.49",
Expand Down
File renamed without changes.
Loading
Loading