Skip to content

Commit

Permalink
Clippy + update deps (#688)
Browse files Browse the repository at this point in the history
  • Loading branch information
grod220 authored Mar 6, 2024
1 parent abdea57 commit 1edd2af
Show file tree
Hide file tree
Showing 20 changed files with 1,213 additions and 1,394 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/turbo-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,31 @@ jobs:
- run: pnpm turbo telemetry disable
- run: pnpm turbo test --cache-dir=.turbo

turbo-lint-rust:
name: lint:rust
runs-on: buildjet-16vcpu-ubuntu-2204
needs: turbo-compile
steps:
- uses: actions/checkout@v4
- id: rust-linted
uses: buildjet/cache@v3
with:
path: .turbo
key: ${{ hashFiles('**/Cargo.lock') }}-${{ hashFiles('pnpm-lock.yaml') }}-${{ github.ref }}-${{ github.sha }}-lint:rust
restore-keys: ${{ hashFiles('**/Cargo.lock') }}-${{ hashFiles('pnpm-lock.yaml') }}-${{ github.ref }}-${{ github.sha }}-compiled
- uses: pnpm/action-setup@v2
- uses: buildjet/setup-node@v4
with:
node-version: '21'
cache: 'pnpm'
- run: pnpm install --frozen-lockfile
- uses: dtolnay/rust-toolchain@stable
with:
targets: wasm32-unknown-unknown
- run: pnpm turbo download-keys --cache-dir=.turbo
- run: pnpm turbo format-check:rust --cache-dir=.turbo
- run: pnpm turbo lint:rust --cache-dir=.turbo

turbo-test-rust:
name: test:rust
runs-on: buildjet-16vcpu-ubuntu-2204
Expand Down
18 changes: 9 additions & 9 deletions apps/extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,26 +23,26 @@
"@penumbra-zone/transport-dom": "workspace:*",
"@penumbra-zone/ui": "workspace:*",
"@penumbra-zone/wasm": "workspace:*",
"@tanstack/react-query": "^5.24.1",
"@tanstack/react-query": "^5.25.0",
"buffer": "^6.0.3",
"framer-motion": "^11.0.6",
"framer-motion": "^11.0.8",
"immer": "^10.0.3",
"node-fetch": "^3.3.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.22.2",
"react-use-measure": "^2.1.1",
"usehooks-ts": "^2.15.1",
"zustand": "^4.5.1"
"usehooks-ts": "^2.16.0",
"zustand": "^4.5.2"
},
"devDependencies": {
"@penumbra-zone/polyfills": "workspace:*",
"@radix-ui/react-icons": "^1.3.0",
"@types/firefox-webext-browser": "^120.0.1",
"@types/node": "^20.11.22",
"@types/react": "^18.2.60",
"@types/react-dom": "^18.2.19",
"autoprefixer": "^10.4.17",
"@types/firefox-webext-browser": "^120.0.2",
"@types/node": "^20.11.24",
"@types/react": "^18.2.63",
"@types/react-dom": "^18.2.20",
"autoprefixer": "^10.4.18",
"copy-webpack-plugin": "^12.0.2",
"css-loader": "^6.10.0",
"dotenv": "^16.4.5",
Expand Down
14 changes: 7 additions & 7 deletions apps/minifront/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"@penumbra-zone/transport-dom": "workspace:*",
"@penumbra-zone/ui": "workspace:*",
"@radix-ui/react-icons": "^1.3.0",
"@tanstack/react-query": "^5.24.1",
"@tanstack/react-query": "^5.25.0",
"bignumber.js": "^9.1.2",
"date-fns": "^3.3.1",
"immer": "^10.0.3",
Expand All @@ -27,20 +27,20 @@
"react-helmet": "^6.1.0",
"react-loader-spinner": "^6.1.6",
"react-router-dom": "^6.22.2",
"sonner": "1.4.1",
"sonner": "1.4.3",
"tailwindcss": "^3.4.1",
"zod": "^3.22.4",
"zustand": "^4.5.1"
"zustand": "^4.5.2"
},
"devDependencies": {
"@penumbra-zone/polyfills": "workspace:*",
"@testing-library/jest-dom": "^6.4.2",
"@testing-library/react": "^14.2.1",
"@types/node": "^20.11.22",
"@types/react": "^18.2.60",
"@types/react-dom": "^18.2.19",
"@types/node": "^20.11.24",
"@types/react": "^18.2.63",
"@types/react-dom": "^18.2.20",
"@types/react-helmet": "^6.1.11",
"autoprefixer": "^10.4.17",
"autoprefixer": "^10.4.18",
"firebase-tools": "^13.4.0",
"postcss": "^8.4.35"
}
Expand Down
4 changes: 2 additions & 2 deletions apps/node-status/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"tailwindcss": "^3.4.1"
},
"devDependencies": {
"@types/react": "^18.2.60",
"@types/react-dom": "^18.2.19"
"@types/react": "^18.2.63",
"@types/react-dom": "^18.2.20"
}
}
18 changes: 10 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,22 @@
"dev": "turbo run dev --concurrency 20",
"download-keys": "turbo run download-keys",
"lint": "turbo run lint -- --max-warnings=0",
"lint:rust": "turbo run lint:rust",
"lint:fix": "turbo run lint -- --fix",
"test": "turbo run test",
"test:rust": "turbo run test:rust",
"clean": "turbo clean",
"format": "prettier --write .",
"format-check": "prettier --check .",
"format-check:rust": "turbo run format-check:rust",
"playwright-install": "playwright install",
"all-check": "pnpm install && pnpm compile && pnpm format-check && pnpm lint && pnpm test && pnpm download-keys && pnpm build && pnpm test:rust"
"all-check": "pnpm install && pnpm compile && pnpm format-check && pnpm lint && pnpm test && pnpm download-keys && pnpm build && pnpm format-check:rust && pnpm lint:rust && pnpm test:rust"
},
"dependencies": {
"@buf/cosmos_ibc.bufbuild_es": "1.7.2-20240215124455-b32ecf3ebbcb.1",
"@buf/cosmos_ibc.connectrpc_es": "1.3.0-20240215124455-b32ecf3ebbcb.1",
"@buf/penumbra-zone_penumbra.bufbuild_es": "1.7.2-20240227072007-1de03e48ca95.1",
"@buf/penumbra-zone_penumbra.connectrpc_es": "1.3.0-20240227072007-1de03e48ca95.1",
"@buf/cosmos_ibc.connectrpc_es": "1.4.0-20240215124455-b32ecf3ebbcb.1",
"@buf/penumbra-zone_penumbra.bufbuild_es": "1.7.2-20240305185028-b2205cd1a3b7.1",
"@buf/penumbra-zone_penumbra.connectrpc_es": "1.4.0-20240305185028-b2205cd1a3b7.1",
"@buf/tendermint_tendermint.bufbuild_es": "1.7.2-20231117195010-33ed361a9051.1",
"@bufbuild/protobuf": "^1.7.2",
"@connectrpc/connect": "^1.4.0",
Expand All @@ -34,8 +36,8 @@
"@storybook/react-vite": "8.0.0-beta.4",
"@turbo/gen": "^1.12.4",
"@types/chrome": "0.0.262",
"@typescript-eslint/eslint-plugin": "^7.1.0",
"@typescript-eslint/parser": "^7.1.0",
"@typescript-eslint/eslint-plugin": "^7.1.1",
"@typescript-eslint/parser": "^7.1.1",
"@vitejs/plugin-basic-ssl": "^1.1.0",
"@vitejs/plugin-react": "^4.2.1",
"@vitejs/plugin-react-swc": "^3.6.0",
Expand All @@ -44,12 +46,12 @@
"eslint-config-custom": "workspace:*",
"eslint-plugin-vitest": "^0.3.22",
"jsdom": "^24.0.0",
"playwright": "^1.42.0",
"playwright": "^1.42.1",
"prettier": "^3.2.5",
"tsconfig": "workspace:*",
"turbo": "^1.12.4",
"typescript": "^5.3.3",
"vite": "^5.1.4",
"vite": "^5.1.5",
"vite-plugin-top-level-await": "^1.4.1",
"vite-plugin-wasm": "^3.3.0",
"vitest": "^1.3.1"
Expand Down
2 changes: 1 addition & 1 deletion packages/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "1.0.0",
"description": "",
"dependencies": {
"@connectrpc/connect": "^1.3.0",
"@connectrpc/connect": "^1.4.0",
"@penumbra-zone/transport-dom": "workspace:*"
}
}
8 changes: 4 additions & 4 deletions packages/eslint-config-custom/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
"main": "index.js",
"license": "MIT",
"dependencies": {
"@typescript-eslint/eslint-plugin": "^7.1.0",
"@typescript-eslint/parser": "^7.1.0",
"eslint-config-next": "^14.1.0",
"@typescript-eslint/eslint-plugin": "^7.1.1",
"@typescript-eslint/parser": "^7.1.1",
"eslint-config-next": "^14.1.2",
"eslint-config-prettier": "^9.1.0",
"eslint-config-turbo": "^1.12.4",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-react": "7.33.2",
"eslint-plugin-react": "7.34.0",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.5",
"eslint-plugin-tailwindcss": "^3.14.3",
Expand Down
2 changes: 1 addition & 1 deletion packages/storage/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
},
"devDependencies": {
"@penumbra-zone/polyfills": "workspace:*",
"playwright": "^1.42.0"
"playwright": "^1.42.1"
}
}
4 changes: 2 additions & 2 deletions packages/transport-chrome/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
},
"dependencies": {
"@bufbuild/protobuf": "^1.7.2",
"@connectrpc/connect": "^1.3.0",
"@connectrpc/connect": "^1.4.0",
"@penumbra-zone/transport-dom": "workspace:*"
},
"devDependencies": {
"@types/chrome": "0.0.260"
"@types/chrome": "0.0.262"
}
}
2 changes: 1 addition & 1 deletion packages/types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"dependencies": {
"@penumbra-zone/constants": "workspace:*",
"@penumbra-zone/getters": "workspace:*",
"@types/chrome": "0.0.260",
"@types/chrome": "0.0.262",
"bech32": "^2.0.0",
"bignumber.js": "^9.1.2",
"idb": "^8.0.0",
Expand Down
16 changes: 8 additions & 8 deletions packages/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.0",
"djb2a": "^2.0.0",
"framer-motion": "^11.0.6",
"framer-motion": "^11.0.8",
"humanize-duration": "^3.31.0",
"lucide-react": "^0.343.0",
"lucide-react": "^0.344.0",
"react-dom": "^18.2.0",
"react-json-view": "^1.21.3",
"react-loader-spinner": "^6.1.6",
"react-router-dom": "^6.22.2",
"sonner": "1.4.1",
"sonner": "1.4.3",
"tailwind-merge": "^2.2.1",
"tinycolor2": "^1.6.0"
},
Expand All @@ -48,14 +48,14 @@
"@storybook/blocks": "^7.6.17",
"@storybook/preview-api": "^7.6.17",
"@storybook/react": "^7.6.17",
"@storybook/react-vite": "^7.6.17",
"@storybook/react-vite": "8.0.0-beta.4",
"@testing-library/react": "^14.2.1",
"@types/humanize-duration": "^3.27.4",
"@types/node": "^20.11.22",
"@types/react": "^18.2.60",
"@types/react-dom": "^18.2.19",
"@types/node": "^20.11.24",
"@types/react": "^18.2.63",
"@types/react-dom": "^18.2.20",
"@types/tinycolor2": "^1.4.6",
"autoprefixer": "^10.4.17",
"autoprefixer": "^10.4.18",
"eslint-plugin-storybook": "^0.8.0",
"postcss": "^8.4.35",
"prop-types": "^15.8.1",
Expand Down
Loading

0 comments on commit 1edd2af

Please sign in to comment.