From b98394f54b24e0a967fc3024a227fbc846598412 Mon Sep 17 00:00:00 2001 From: Rinat Date: Thu, 26 Dec 2024 19:45:04 +0100 Subject: [PATCH 1/2] fix: add possibility to add multiple vars --- templates/base/packages/nextjs/.env.example.template.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/base/packages/nextjs/.env.example.template.mjs b/templates/base/packages/nextjs/.env.example.template.mjs index 6828d66a8..31192a1b8 100644 --- a/templates/base/packages/nextjs/.env.example.template.mjs +++ b/templates/base/packages/nextjs/.env.example.template.mjs @@ -14,7 +14,7 @@ const contents = ({ additionalVars }) => { # More info: https://nextjs.org/docs/pages/building-your-application/configuring/environment-variables NEXT_PUBLIC_ALCHEMY_API_KEY= NEXT_PUBLIC_WALLET_CONNECT_PROJECT_ID= -${additionalVars.join("\n")} +${additionalVars[0].join("\n")} ` }; From f0c74654ee5b2d8260f0dd0fd67b56ad238427db Mon Sep 17 00:00:00 2001 From: Rinat Date: Thu, 26 Dec 2024 20:12:30 +0100 Subject: [PATCH 2/2] chore: changeset --- .changeset/famous-keys-drive.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/famous-keys-drive.md diff --git a/.changeset/famous-keys-drive.md b/.changeset/famous-keys-drive.md new file mode 100644 index 000000000..fb7041b97 --- /dev/null +++ b/.changeset/famous-keys-drive.md @@ -0,0 +1,5 @@ +--- +"create-eth": patch +--- + +add possibility to use multiple variables in .env.example