From 0e9499e7388fda6d212c341fe21a1fcb1797d8aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Somhairle=20MacLe=C3=B2id?= Date: Tue, 17 Dec 2024 12:36:10 +0000 Subject: [PATCH] Bump Nuxt template to Node 18 (#7390) --- .changeset/sour-scissors-teach.md | 5 +++++ packages/create-cloudflare/templates-experimental/nuxt/c3.ts | 2 +- packages/create-cloudflare/templates/nuxt/c3.ts | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 .changeset/sour-scissors-teach.md diff --git a/.changeset/sour-scissors-teach.md b/.changeset/sour-scissors-teach.md new file mode 100644 index 000000000000..e08cefbdf203 --- /dev/null +++ b/.changeset/sour-scissors-teach.md @@ -0,0 +1,5 @@ +--- +"create-cloudflare": patch +--- + +Bump Nuxt C3 template to Node 18 diff --git a/packages/create-cloudflare/templates-experimental/nuxt/c3.ts b/packages/create-cloudflare/templates-experimental/nuxt/c3.ts index f2e90e989ea6..52dca65d45b7 100644 --- a/packages/create-cloudflare/templates-experimental/nuxt/c3.ts +++ b/packages/create-cloudflare/templates-experimental/nuxt/c3.ts @@ -24,7 +24,7 @@ const generate = async (ctx: C3Context) => { gitFlag, ]); - writeFile("./.node-version", "17"); + writeFile("./.node-version", "18"); logRaw(""); // newline }; diff --git a/packages/create-cloudflare/templates/nuxt/c3.ts b/packages/create-cloudflare/templates/nuxt/c3.ts index ca9780993cb3..8c90f7c6a1a0 100644 --- a/packages/create-cloudflare/templates/nuxt/c3.ts +++ b/packages/create-cloudflare/templates/nuxt/c3.ts @@ -24,7 +24,7 @@ const generate = async (ctx: C3Context) => { gitFlag, ]); - writeFile("./.node-version", "17"); + writeFile("./.node-version", "18"); logRaw(""); // newline };