Skip to content

Commit

Permalink
use updated packages (#192)
Browse files Browse the repository at this point in the history
* use `@penumbra-zone/protobuf`, ban BSR

* bump versions to sept 3 release

* protobufs

* update optional getter use

* use 74527dfbaf57cde3ecf3141998142def640efec3

* use 0558dc2d091df7976bb6838aa0070cff7f1f93cb

* configure syncpack to require specific versions

* npmrc

* wip

* rm site

* updates

---------

Co-authored-by: turbocrime <turbocrime@users.noreply.github.com>
  • Loading branch information
TalDerei and turbocrime authored Sep 8, 2024
1 parent 75af184 commit 1246af2
Show file tree
Hide file tree
Showing 34 changed files with 2,545 additions and 6,353 deletions.
1 change: 0 additions & 1 deletion .npmrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
auto-install-peers = true
enable-pre-post-scripts=true # Enable pre/post scripts (for postui:add)
@buf:registry=https://buf.build/gen/npm/v1/
26 changes: 22 additions & 4 deletions .syncpackrc
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,16 @@
"prod"
],
"semverGroups": [
{
"range": "",
"dependencies": [
"@penumbra-zone/**",
"@prax-wallet/**"
],
"packages": [
"**"
]
},
{
"range": "^",
"dependencies": [
Expand All @@ -33,6 +43,17 @@
}
],
"versionGroups": [
{
"label": "Ensure @bufbuild and @connectrpc don't upgrade yet",
"packages": [
"**"
],
"dependencies": [
"@bufbuild/**",
"@connectrpc/**"
],
"pinVersion": "^1.x"
},
{
"label": "Use workspace protocol for local packages",
"dependencies": [
Expand All @@ -51,13 +72,10 @@
"isBanned": true
},
{
"label": "Require @buf registry packages remain in root or in apps",
"label": "Ban BSR packages",
"dependencies": [
"@buf/*"
],
"packages": [
"@penumbra-zone/**"
],
"isBanned": true
}
]
Expand Down
64 changes: 32 additions & 32 deletions apps/extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,63 +14,63 @@
"test": "vitest run"
},
"dependencies": {
"@bufbuild/protobuf": "^1.10.0",
"@connectrpc/connect": "^1.4.0",
"@connectrpc/connect-web": "^1.4.0",
"@bufbuild/protobuf": "^1.x",
"@connectrpc/connect": "^1.x",
"@connectrpc/connect-web": "^1.x",
"@penumbra-labs/registry": "11.1.0",
"@penumbra-zone/bech32m": "^7.0.0",
"@penumbra-zone/client": "^18.1.0",
"@penumbra-zone/crypto-web": "^23.0.0",
"@penumbra-zone/getters": "^16.0.0",
"@penumbra-zone/keys": "^4.2.1",
"@penumbra-zone/perspective": "^29.0.0",
"@penumbra-zone/protobuf": "^6.0.0",
"@penumbra-zone/query": "^30.0.0",
"@penumbra-zone/services": "^33.0.0",
"@penumbra-zone/storage": "^29.0.0",
"@penumbra-zone/transport-chrome": "^8.0.1",
"@penumbra-zone/transport-dom": "^7.5.0",
"@penumbra-zone/types": "^22.0.0",
"@penumbra-zone/wasm": "^27.0.0",
"@penumbra-zone/bech32m": "7.0.0",
"@penumbra-zone/client": "18.1.0",
"@penumbra-zone/crypto-web": "24.0.0",
"@penumbra-zone/getters": "17.0.0",
"@penumbra-zone/keys": "4.2.1",
"@penumbra-zone/perspective": "30.0.0",
"@penumbra-zone/protobuf": "6.0.0",
"@penumbra-zone/query": "31.0.0",
"@penumbra-zone/services": "34.0.0",
"@penumbra-zone/storage": "30.0.0",
"@penumbra-zone/transport-chrome": "8.0.1",
"@penumbra-zone/transport-dom": "7.5.0",
"@penumbra-zone/types": "23.0.0",
"@penumbra-zone/wasm": "28.0.0",
"@radix-ui/react-icons": "^1.3.0",
"@repo/context": "workspace:*",
"@repo/ui": "workspace:*",
"@tanstack/react-query": "4.36.1",
"@tanstack/react-query": "5.55.0",
"exponential-backoff": "^3.1.1",
"framer-motion": "^11.2.4",
"framer-motion": "^11.5.4",
"immer": "^10.1.1",
"lodash": "^4.17.21",
"lucide-react": "^0.378.0",
"lucide-react": "^0.439.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-loader-spinner": "^6.1.6",
"react-router-dom": "^6.23.1",
"react-router-dom": "^6.26.1",
"usehooks-ts": "^3.1.0",
"zustand": "^4.5.2"
"zustand": "^4.5.5"
},
"devDependencies": {
"@types/chrome": "0.0.268",
"@types/firefox-webext-browser": "^120.0.3",
"@types/lodash": "^4.17.4",
"@types/react": "^18.3.2",
"@types/chrome": "0.0.270",
"@types/firefox-webext-browser": "^120.0.4",
"@types/lodash": "^4.17.7",
"@types/react": "^18.3.5",
"@types/react-dom": "^18.3.0",
"@types/webpack": "^5.28.5",
"autoprefixer": "^10.4.19",
"autoprefixer": "^10.4.20",
"buffer": "^6.0.3",
"copy-webpack-plugin": "^12.0.2",
"css-loader": "^7.1.1",
"css-loader": "^7.1.2",
"dotenv": "^16.4.5",
"html-webpack-plugin": "^5.6.0",
"postcss": "^8.4.38",
"postcss": "^8.4.45",
"postcss-loader": "^8.1.1",
"style-loader": "^4.0.0",
"tailwindcss": "^3.4.4",
"tailwindcss": "^3.4.10",
"ts-loader": "^9.5.1",
"ts-node": "^10.9.2",
"web-ext": "^8.2.0",
"webpack": "^5.91.0",
"webpack": "^5.94.0",
"webpack-cli": "^5.1.4",
"webpack-merge": "^5.10.0",
"webpack-merge": "^6.0.1",
"webpack-watch-external-files-plugin": "^3.1.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { LocalStorageState } from '../types';
import { localV0Migration, V0LocalStorageState, V0LocalStorageVersion } from './local-v1-migration';
import { ChainRegistryClient } from '@penumbra-labs/registry';
import { sample } from 'lodash';
import { AppParameters } from '@buf/penumbra-zone_penumbra.bufbuild_es/penumbra/core/app/v1/app_pb';
import { AppParameters } from '@penumbra-zone/protobuf/penumbra/core/app/v1/app_pb';
import { UserChoice } from '@penumbra-zone/types/user-choice';

const bech32FVK =
Expand Down
7 changes: 0 additions & 7 deletions apps/prax-marketing-site/CHANGELOG.md

This file was deleted.

13 changes: 0 additions & 13 deletions apps/prax-marketing-site/eslint.config.mjs

This file was deleted.

10 changes: 0 additions & 10 deletions apps/prax-marketing-site/index.html

This file was deleted.

27 changes: 0 additions & 27 deletions apps/prax-marketing-site/package.json

This file was deleted.

6 changes: 0 additions & 6 deletions apps/prax-marketing-site/postcss.config.js

This file was deleted.

Binary file removed apps/prax-marketing-site/public/favicon.png
Binary file not shown.
42 changes: 0 additions & 42 deletions apps/prax-marketing-site/public/prax-white-vertical.svg

This file was deleted.

36 changes: 0 additions & 36 deletions apps/prax-marketing-site/src/components/index.tsx

This file was deleted.

75 changes: 0 additions & 75 deletions apps/prax-marketing-site/src/components/privacy-policy.tsx

This file was deleted.

14 changes: 0 additions & 14 deletions apps/prax-marketing-site/src/components/root-router.tsx

This file was deleted.

Loading

0 comments on commit 1246af2

Please sign in to comment.