Skip to content

Commit 1a6ad79

Browse files
committed
pnpm version issues
1 parent 850189f commit 1a6ad79

4 files changed

Lines changed: 1464 additions & 1512 deletions

File tree

devconnect/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727
"@pcd/proto-pod-gpc-artifacts": "^0.13.0",
2828
"@radix-ui/react-dialog": "^1.1.6",
2929
"@react-google-maps/api": "^2.20.6",
30-
"@reown/appkit": "^1.7.17",
31-
"@reown/appkit-adapter-wagmi": "^1.7.17",
30+
"@reown/appkit": "1.7.17",
31+
"@reown/appkit-adapter-wagmi": "1.7.17",
3232
"@splinetool/react-spline": "^2.2.6",
3333
"@splinetool/runtime": "^0.9.402",
3434
"@supabase/supabase-js": "^2.49.4",
Lines changed: 25 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,41 @@
1-
import { createAppKit } from "@reown/appkit/react";
2-
import { WagmiAdapter } from "@reown/appkit-adapter-wagmi";
3-
import { CreateConnectorFn } from "wagmi";
4-
import { mainnet } from "wagmi/chains";
5-
import { injected, metaMask, walletConnect } from "wagmi/connectors";
1+
import { createAppKit } from '@reown/appkit/react'
2+
import { WagmiAdapter } from '@reown/appkit-adapter-wagmi'
3+
import { CreateConnectorFn } from 'wagmi'
4+
import { mainnet } from 'wagmi/chains'
5+
import { injected, metaMask, walletConnect } from 'wagmi/connectors'
66

7-
export const projectId = process.env.NEXT_PUBLIC_WC_PROJECT_ID || 'your-project-id';
7+
export const projectId = process.env.NEXT_PUBLIC_WC_PROJECT_ID || 'your-project-id'
88

99
const metadata = {
10-
name: "Devconnect Perks",
11-
description: "Devconnect ARG",
12-
url: process.env.NODE_ENV === 'development' ? 'http://localhost:3000' : process.env.NEXT_PUBLIC_APP_URL || "https://devconnect.org",
13-
icons: ["https://devconnect.org/favicon.ico"],
14-
};
10+
name: 'Devconnect Perks',
11+
description: 'Devconnect ARG',
12+
url:
13+
process.env.NODE_ENV === 'development'
14+
? 'http://localhost:3000'
15+
: process.env.NEXT_PUBLIC_APP_URL || 'https://devconnect.org',
16+
icons: ['https://devconnect.org/favicon.ico'],
17+
}
1518

1619
// Configure connectors
1720
const connectors: CreateConnectorFn[] = [
1821
injected(),
19-
// metaMask(),
20-
// walletConnect({
21-
// projectId,
22-
// }),
23-
];
22+
// metaMask(),
23+
// walletConnect({
24+
// projectId,
25+
// }),
26+
]
2427

2528
// Create wagmi adapter with all connectors
2629
export const wagmiAdapter = new WagmiAdapter({
2730
ssr: true,
28-
networks: [mainnet],
31+
networks: [mainnet] as any,
2932
projectId,
3033
connectors,
31-
});
34+
})
3235

3336
export const appKit = createAppKit({
3437
adapters: [wagmiAdapter],
35-
networks: [mainnet],
38+
networks: [mainnet] as any,
3639
projectId,
3740
metadata,
3841
features: {
@@ -41,13 +44,13 @@ export const appKit = createAppKit({
4144
socials: false,
4245
emailShowWallets: false,
4346
},
44-
themeMode: "light",
47+
themeMode: 'light',
4548
enableEIP6963: true, // Enable EIP6963 for better injected wallet detection
4649
enableInjected: true,
4750
enableWalletConnect: true,
4851
enableCoinbase: true,
4952
allowUnsupportedChain: true,
50-
allWallets: "SHOW", // Show all wallets including injected ones
53+
allWallets: 'SHOW', // Show all wallets including injected ones
5154
featuredWalletIds: [
5255
// MetaMask
5356
'c57ca95b47569778a828d19178114f4db188b89b763c899ba0be274e97267d96',
@@ -58,4 +61,4 @@ export const appKit = createAppKit({
5861
// Zerion
5962
'ecc4036f814562b41a5268adc86270fba1365471402006302e70169465b7ac18',
6063
],
61-
});
64+
})

package.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,11 @@
2323
"build:devcon-api": "pnpm --filter devcon-api build",
2424
"start:devcon-api": "pnpm --filter devcon-api start"
2525
},
26-
"packageManager": "pnpm@10.13.1"
26+
"packageManager": "pnpm@10.13.1",
27+
"pnpm": {
28+
"overrides": {
29+
"devconnect>@reown/appkit": "1.7.17",
30+
"devconnect>@reown/appkit-adapter-wagmi": "1.7.17"
31+
}
32+
}
2733
}

0 commit comments

Comments
 (0)