From b697b3b8f31b775f6e34b42b73e23ca552c1c98d Mon Sep 17 00:00:00 2001 From: Daniel Schlabach <31226559+dschlabach@users.noreply.github.com> Date: Tue, 5 Nov 2024 10:48:22 -0500 Subject: [PATCH] fix: fix CLI builds for yarn and pnpm (#1576) --- create-onchain/templates/next/.yarnrc.yml | 2 ++ create-onchain/templates/next/package.json | 1 + 2 files changed, 3 insertions(+) create mode 100644 create-onchain/templates/next/.yarnrc.yml diff --git a/create-onchain/templates/next/.yarnrc.yml b/create-onchain/templates/next/.yarnrc.yml new file mode 100644 index 0000000000..14fd359c8f --- /dev/null +++ b/create-onchain/templates/next/.yarnrc.yml @@ -0,0 +1,2 @@ +# You can remove this file if you don't want to use Yarn package manager. +nodeLinker: node-modules \ No newline at end of file diff --git a/create-onchain/templates/next/package.json b/create-onchain/templates/next/package.json index c985d9ade9..90817b564a 100644 --- a/create-onchain/templates/next/package.json +++ b/create-onchain/templates/next/package.json @@ -13,6 +13,7 @@ "next": "14.2.15", "react": "^18", "react-dom": "^18", + "@tanstack/react-query": "^5", "wagmi": "^2.12.25", "viem": "^2.21.40" },