Skip to content

Commit

Permalink
SAVEPOINT
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewlilley committed Sep 20, 2024
1 parent d574008 commit 03f916e
Show file tree
Hide file tree
Showing 28 changed files with 927 additions and 1,583 deletions.
42 changes: 0 additions & 42 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.

2 changes: 1 addition & 1 deletion .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 Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Sushi - apps / web
name: E2E

on:
pull_request:
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
1 change: 0 additions & 1 deletion apis/tokens/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
"zod": "3.23.8"
},
"devDependencies": {
"@sushiswap/jest-config": "workspace:*",
"@tsconfig/esm": "1.0.4",
"@tsconfig/strictest": "2.0.2",
"@types/node": "20",
Expand Down
2 changes: 2 additions & 0 deletions apps/web/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,5 @@ DRPC_ID=

SUSHI_DATA_API_HOST=
NEXT_PUBLIC_SUSHI_DATA_API_HOST=

NODE_OPTIONS=--inspect
1 change: 0 additions & 1 deletion apps/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@
"@next/env": "14.2.11",
"@next/eslint-plugin-next": "14.2.11",
"@playwright/test": "1.45.0",
"@sushiswap/jest-config": "workspace:*",
"@sushiswap/typescript-config": "workspace:*",
"@tsconfig/next": "2.0.1",
"@types/cors": "2.8.13",
Expand Down
1 change: 0 additions & 1 deletion apps/web/test/setup.ts
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
import '@testing-library/jest-dom'
2 changes: 1 addition & 1 deletion config/eslint/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"react/index.js"
],
"dependencies": {
"@vercel/style-guide": "5.0.1",
"@vercel/style-guide": "6.0.0",
"eslint-config-turbo": "2.0.5",
"eslint-plugin-mdx": "2.2.0",
"eslint-plugin-only-warn": "1.1.0",
Expand Down
3 changes: 0 additions & 3 deletions config/jest/README.md

This file was deleted.

19 changes: 0 additions & 19 deletions config/jest/jest-preset.js

This file was deleted.

19 changes: 0 additions & 19 deletions config/jest/node/jest-preset.js

This file was deleted.

29 changes: 0 additions & 29 deletions config/jest/package.json

This file was deleted.

8 changes: 0 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@
"private": true,
"scripts": {
"build": "dotenv -- turbo run build",
"changeset": "changeset",
"changeset:publish": "changeset publish",
"changeset:version": "changeset version && pnpm install --lockfile-only",
"check": "turbo run check --no-cache",
"clean": "turbo run clean && rm -rf node_modules",
"dev": "dotenv -- turbo run dev --no-cache --parallel --continue",
Expand All @@ -24,17 +21,12 @@
},
"devDependencies": {
"@biomejs/biome": "1.5.2",
"@changesets/changelog-github": "0.4.8",
"@changesets/cli": "2.26.2",
"@types/jest": "29.5.5",
"@types/node": "20",
"dotenv-cli": "6.0.0",
"eslint": "8.43.0",
"eslint-config-turbo": "2.0.5",
"jest": "29.7.0",
"just-pnpm": "1.0.2",
"sort-package-json": "2.6.0",
"ts-jest": "29.1.1",
"tsx": "4.19.0",
"turbo": "2.0.5"
},
Expand Down
Loading

0 comments on commit 03f916e

Please sign in to comment.