Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into feature/remove-v2-s…
Browse files Browse the repository at this point in the history
…take-claim
  • Loading branch information
0xMasayoshi committed Sep 30, 2024
2 parents a641957 + ad32687 commit 5b2cd57
Show file tree
Hide file tree
Showing 229 changed files with 3,734 additions and 4,123 deletions.
41 changes: 0 additions & 41 deletions .changeset/config.json

This file was deleted.

16 changes: 2 additions & 14 deletions .github/actions/install/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,12 @@ description: "Install dependencies"
runs:
using: "composite"
steps:
- name: Set up pnpm
uses: pnpm/action-setup@v4
with:
version: 9.4.0

- name: Set up node
uses: actions/setup-node@v4
with:
cache: pnpm
node-version: 20

- name: Set up foundry
uses: foundry-rs/foundry-toolchain@v1

# - name: Install playwright
# shell: bash
# run: npx playwright install --with-deps chromium

- name: Install dependencies
shell: bash
run: pnpm install --ignore-scripts
- name: Set up pnpm
uses: sushi-labs/actions/.github/actions/pnpm@master
83 changes: 0 additions & 83 deletions .github/workflows/changesets.yaml

This file was deleted.

6 changes: 3 additions & 3 deletions .github/workflows/chromatic.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: 'Chromatic'
name: Chromatic

on:
pull_request:
Expand All @@ -14,9 +14,9 @@ jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: true
submodules: 'recursive'
fetch-depth: 0
- name: Install dependencies
uses: ./.github/actions/install
Expand Down
31 changes: 6 additions & 25 deletions .github/workflows/apps-web-e2e.yml → .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Sushi - apps / web
name: E2E

on:
pull_request:
Expand All @@ -7,11 +7,8 @@ on:
- ".github/workflows/apps-web-e2e.yml"
- "apps/web/**"
- "config/nextjs/**"
- "config/router/**"
- "config/tailwindcss/**"
- "config/typescript/**"
- "config/viem/**"
- "config/wagmi/**"
- "packages/**"
workflow_dispatch:

Expand All @@ -25,38 +22,22 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
e2e:
runs-on: buildjet-4vcpu-ubuntu-2204
test:
runs-on: ubuntu-latest
# runs-on: buildjet-4vcpu-ubuntu-2204
timeout-minutes: 15
strategy:
matrix:
block-number: [61755107]
chain-id: [137]
node-version: [20]
pnpm-version: [9.4.0]
steps:
- name: Clone repository
uses: actions/checkout@v4
with:
fetch-depth: 2
submodules: true

# Has to be before setup node for caching to work
- uses: pnpm/action-setup@v4
with:
version: ${{ matrix.pnpm-version }}

- name: Setup Node.js
uses: buildjet/setup-node@v3
with:
cache: 'pnpm'
node-version: ${{ matrix.node-version }}

- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
submodules: 'recursive'

- name: Install dependencies
run: pnpm install --frozen-lockfile --prefer-offline
uses: ./.github/actions/install

- name: Install Playwright Browsers
run: pnpm playwright install --with-deps chromium
Expand Down
7 changes: 1 addition & 6 deletions .github/workflows/verify.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
name: Sushi - verify
# on:
# workflow_call:
# workflow_dispatch:
name: Verify
on:
workflow_call:
workflow_dispatch:
# pull_request:
# types: [opened, synchronize]
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
Expand Down
1 change: 0 additions & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
"VisualStudioExptTeam.vscodeintellicode",
"wix.vscode-import-cost",
"GraphQL.vscode-graphql",
"mattpocock.ts-error-translator",
"bierner.markdown-mermaid",
"biomejs.biome"
]
Expand Down
38 changes: 23 additions & 15 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,33 @@
"version": "0.2.0",
"configurations": [
{
"name": "LOCAL: Minikube",
"profile": "local",
"type": "cloudcode.kubernetes",
"name": "Next.js: debug server-side",
"type": "node-terminal",
"request": "launch",
"skaffoldConfig": "${workspaceFolder}/skaffold.yaml",
"watch": false,
"cleanUp": true,
"portForward": true
"cwd": "${workspaceFolder}/apps/web",
"command": "npm run dev"
},
{
"name": "STAGING: GKE",
"profile": "staging",
"type": "cloudcode.kubernetes",
"name": "Next.js: debug client-side",
"type": "chrome",
"request": "launch",
"skaffoldConfig": "${workspaceFolder}/skaffold.yaml",
"watch": false,
"cleanUp": false,
"portForward": true,
"imageRegistry": "gcr.io/sushi-api-414412"
"url": "http://localhost:3000"
},
{
"name": "Next.js: debug full stack",
"type": "node",
"request": "launch",
"cwd": "${workspaceFolder}/apps/web",
"program": "${workspaceFolder}/node_modules/.bin/next",
"runtimeArgs": ["--inspect"],
"skipFiles": ["<node_internals>/**"],
"serverReadyAction": {
"action": "debugWithEdge",
"killOnServerStop": true,
"pattern": "- Local:.+(https?://.+)",
"uriFormat": "%s",
"webRoot": "${workspaceFolder}"
}
}
]
}
1 change: 0 additions & 1 deletion apis/token-list/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
"@vercel/node": "3.0.9"
},
"devDependencies": {
"@sushiswap/jest-config": "workspace:*",
"@tsconfig/esm": "1.0.4",
"@tsconfig/strictest": "2.0.2",
"typescript": "5.5.4",
Expand Down
3 changes: 1 addition & 2 deletions apis/tokens/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,11 @@
"@wagmi/core": "2.13.5",
"drizzle-orm": "^0.29.5",
"postgres": "^3.4.3",
"sushi": "4.0.2",
"sushi": "4.0.5",
"viem": "2.21.4",
"zod": "3.23.8"
},
"devDependencies": {
"@sushiswap/jest-config": "workspace:*",
"@tsconfig/esm": "1.0.4",
"@tsconfig/strictest": "2.0.2",
"@types/node": "20",
Expand Down
1 change: 0 additions & 1 deletion apps/tron/.env.example

This file was deleted.

Empty file removed apps/tron/.env.test
Empty file.
4 changes: 0 additions & 4 deletions apps/tron/.eslintrc.js

This file was deleted.

22 changes: 0 additions & 22 deletions apps/tron/README.md

This file was deleted.

20 changes: 0 additions & 20 deletions apps/tron/next.config.mjs

This file was deleted.

Loading

0 comments on commit 5b2cd57

Please sign in to comment.