Skip to content

Commit

Permalink
Merge pull request #168 from palladians/chore/upgrade-pnpm
Browse files Browse the repository at this point in the history
chore(pnpm): upgrade to 9
  • Loading branch information
mrcnk authored Apr 16, 2024
2 parents 1eced9d + f378506 commit 57611d7
Show file tree
Hide file tree
Showing 18 changed files with 11,188 additions and 9,962 deletions.
12 changes: 6 additions & 6 deletions apps/extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@
"test:e2e:ui": "playwright test --ui"
},
"dependencies": {
"@palladxyz/common": "^1.0.0",
"@palladxyz/features": "^0.1.0",
"@palladxyz/key-management": "^0.0.1",
"@palladxyz/persistence": "^1.0.0",
"@palladxyz/web-provider": "^0.0.1",
"@plasmohq/messaging": "^0.6.1",
"@palladxyz/common": "workspace:*",
"@palladxyz/features": "workspace:*",
"@palladxyz/key-management": "workspace:*",
"@palladxyz/persistence": "workspace:*",
"@palladxyz/web-provider": "workspace:*",
"@plasmohq/messaging": "^0.6.2",
"buffer": "^6.0.3",
"dotenv": "^16.3.1",
"next-themes": "^0.2.1",
Expand Down
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,14 @@
"tailwind-merge": "^2.1.0",
"tailwindcss": "^3.4.0",
"tailwindcss-animate": "^1.0.7",
"tsup": "^8.0.1",
"tsup": "^8.0.2",
"turbo": "^1.11.2",
"turbowatch": "^2.29.4",
"typescript": "^5.3.3",
"vitest": "^1.1.0"
},
"packageManager": "[email protected]"
"resolutions": {
"esbuild": "0.20.2"
},
"packageManager": "[email protected]"
}
2 changes: 1 addition & 1 deletion packages/_template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@
"cleanup": "rimraf node_modules dist .turbo"
},
"devDependencies": {
"@palladxyz/common": "*"
"@palladxyz/common": "workspace:*"
}
}
12 changes: 6 additions & 6 deletions packages/features/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@
},
"dependencies": {
"@hookform/resolvers": "^3.3.2",
"@palladxyz/key-management": "^0.0.1",
"@palladxyz/mina-core": "^0.0.1",
"@palladxyz/offchain-data": "^1.0.0",
"@palladxyz/persistence": "^1.0.0",
"@palladxyz/vault": "^0.0.1",
"@palladxyz/key-management": "workspace:*",
"@palladxyz/mina-core": "workspace:*",
"@palladxyz/offchain-data": "workspace:*",
"@palladxyz/persistence": "workspace:*",
"@palladxyz/vault": "workspace:*",
"@radix-ui/react-accordion": "^1.1.2",
"@radix-ui/react-alert-dialog": "^1.0.5",
"@radix-ui/react-aspect-ratio": "^1.0.3",
Expand Down Expand Up @@ -98,7 +98,7 @@
},
"devDependencies": {
"@ladle/react": "^4.0.2",
"@palladxyz/common": "^1.0.0",
"@palladxyz/common": "workspace:*",
"@svgr/plugin-jsx": "^8.0.1",
"@svgr/rollup": "^8.0.1",
"@testing-library/react": "^14.1.2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import { MnemonicWritedownView } from '../views/mnemonic-writedown'

export const MnemonicWritedownRoute = () => {
const navigate = useNavigate()
const mnemonicWords = useOnboardingStore(
(state) => state.mnemonic?.split(' ')
const mnemonicWords = useOnboardingStore((state) =>
state.mnemonic?.split(' ')
)
const [safetyConfirmed, setSafetyConfirmed] = useState(false)
const [mnemonicWritten, setMnemonicWritten] = useState(false)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export const ConfirmTransactionForm = () => {
const constructTxArgs = {
transaction: transaction,
transactionKind:
kind === 'staking'
kind === ('staking' as Mina.TransactionKind)
? Mina.TransactionKind.STAKE_DELEGATION
: Mina.TransactionKind.PAYMENT
}
Expand Down
2 changes: 1 addition & 1 deletion packages/features/src/transactions/components/tx-tile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const fiatTxValue = (amount, fiatValue) => {

const getTransactionLabel = (tx) => {
if (tx.kind === Mina.TransactionKind.STAKE_DELEGATION) return 'Delegation'
if (tx.from === tx.to && tx.kind === TransactionKind.PAYMENT)
if (tx.from === tx.to && tx.kind === Mina.TransactionKind.PAYMENT)
return 'Sent to Self'
return tx.side === TxSide.INCOMING ? 'Received' : 'Sent'
}
Expand Down
4 changes: 2 additions & 2 deletions packages/key-management/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"@noble/ciphers": "^0.4.1",
"@noble/hashes": "^1.3.3",
"@noble/secp256k1": "^2.0.0",
"@palladxyz/mina-core": "^0.0.1",
"@palladxyz/mina-core": "workspace:*",
"@scure/base": "^1.1.5",
"@scure/bip32": "^1.3.3",
"@scure/bip39": "^1.2.2",
Expand All @@ -36,7 +36,7 @@
"vitest": "^1.1.0"
},
"devDependencies": {
"@palladxyz/common": "^1.0.0",
"@palladxyz/common": "workspace:*",
"@types/mocha": "^10.0.6",
"@types/secp256k1": "^4.0.6",
"@types/sinon": "^17.0.2"
Expand Down
4 changes: 2 additions & 2 deletions packages/mina-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@
"cleanup": "rimraf node_modules dist .turbo"
},
"dependencies": {
"@palladxyz/util": "^0.0.1",
"@palladxyz/util": "workspace:*",
"bs58check": "^3.0.1",
"buffer": "^6.0.3",
"mina-signer": "^2.1.1"
},
"devDependencies": {
"@palladxyz/common": "^1.0.0",
"@palladxyz/common": "workspace:*",
"@types/mocha": "^10.0.6",
"@types/secp256k1": "^4.0.6"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/offchain-data/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@
"swr": "^2.2.4"
},
"devDependencies": {
"@palladxyz/common": "^1.0.0"
"@palladxyz/common": "workspace:*"
}
}
8 changes: 4 additions & 4 deletions packages/pallad-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,16 @@
"cleanup": "rimraf node_modules dist .turbo"
},
"dependencies": {
"@palladxyz/mina-core": "^0.0.1",
"@palladxyz/key-management": "^0.0.1",
"@palladxyz/util": "^0.0.1",
"@palladxyz/mina-core": "workspace:*",
"@palladxyz/key-management": "workspace:*",
"@palladxyz/util": "workspace:*",
"bs58check": "^3.0.1",
"buffer": "^6.0.3",
"mina-signer": "^2.1.1",
"viem": "^2.9.16"
},
"devDependencies": {
"@palladxyz/common": "^1.0.0",
"@palladxyz/common": "workspace:*",
"@types/mocha": "^10.0.6",
"@types/secp256k1": "^4.0.6"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/pals/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"cleanup": "rimraf node_modules dist .turbo"
},
"devDependencies": {
"@palladxyz/common": "^1.0.0",
"@palladxyz/common": "workspace:*",
"@types/mocha": "^10.0.6",
"esbuild-plugin-polyfill-node": "^0.3.0",
"msw": "^2.1.4"
Expand Down
2 changes: 1 addition & 1 deletion packages/persistence/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
},
"devDependencies": {
"@capacitor/core": "^5.6.0",
"@palladxyz/common": "^1.0.0",
"@palladxyz/common": "workspace:*",
"vite": "^5.2.8",
"zustand": "^4.4.7"
}
Expand Down
10 changes: 5 additions & 5 deletions packages/providers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@
"cleanup": "rimraf node_modules dist .turbo"
},
"dependencies": {
"@palladxyz/key-management": "^0.0.1",
"@palladxyz/mina-core": "^0.0.1",
"@palladxyz/pallad-core": "^0.0.1",
"@palladxyz/util": "^0.0.1",
"@palladxyz/key-management": "workspace:*",
"@palladxyz/mina-core": "workspace:*",
"@palladxyz/pallad-core": "workspace:*",
"@palladxyz/util": "workspace:*",
"bs58check": "^3.0.1",
"buffer": "^6.0.3",
"events": "^3.3.0",
Expand All @@ -34,7 +34,7 @@
"ws": "^8.15.1"
},
"devDependencies": {
"@palladxyz/common": "^1.0.0",
"@palladxyz/common": "workspace:*",
"@types/events": "^3.0.3",
"@types/json-bigint": "^1.0.4",
"@types/mocha": "^10.0.6",
Expand Down
2 changes: 1 addition & 1 deletion packages/util/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"ts-custom-error": "^3.3.1"
},
"devDependencies": {
"@palladxyz/common": "^1.0.0",
"@palladxyz/common": "workspace:*",
"@types/mocha": "^10.0.6",
"@types/secp256k1": "^4.0.6"
}
Expand Down
14 changes: 7 additions & 7 deletions packages/vault/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@
"cleanup": "rimraf node_modules dist .turbo"
},
"dependencies": {
"@palladxyz/key-management": "*",
"@palladxyz/mina-core": "*",
"@palladxyz/pallad-core": "*",
"@palladxyz/persistence": "*",
"@palladxyz/providers": "*",
"@palladxyz/util": "*",
"@palladxyz/key-management": "workspace:*",
"@palladxyz/mina-core": "workspace:*",
"@palladxyz/pallad-core": "workspace:*",
"@palladxyz/persistence": "workspace:*",
"@palladxyz/providers": "workspace:*",
"@palladxyz/util": "workspace:*",
"bs58check": "^3.0.1",
"buffer": "^6.0.3",
"immer": "^10.0.3",
Expand All @@ -34,7 +34,7 @@
"zustand": "^4.4.7"
},
"devDependencies": {
"@palladxyz/common": "*",
"@palladxyz/common": "workspace:*",
"@testing-library/react": "^14.0.0",
"@types/mocha": "^10.0.1",
"@types/secp256k1": "^4.0.3",
Expand Down
10 changes: 5 additions & 5 deletions packages/web-provider/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,17 @@
"cleanup": "rimraf node_modules dist .turbo"
},
"dependencies": {
"@palladxyz/key-management": "^0.0.1",
"@palladxyz/mina-core": "^0.0.1",
"@palladxyz/persistence": "*",
"@palladxyz/vault": "^0.0.1",
"@palladxyz/key-management": "workspace:*",
"@palladxyz/mina-core": "workspace:*",
"@palladxyz/persistence": "workspace:*",
"@palladxyz/vault": "workspace:*",
"mina-signer": "^2.1.1",
"superjson": "^2.2.1",
"vitest": "^1.1.0",
"webextension-polyfill": "^0.10.0"
},
"devDependencies": {
"@palladxyz/common": "^1.0.0",
"@palladxyz/common": "workspace:*",
"@testing-library/react": "^14.1.2",
"@types/chrome": "^0.0.254",
"@types/mocha": "^10.0.6",
Expand Down
Loading

0 comments on commit 57611d7

Please sign in to comment.