From edef523b71d1efd123d7b3e9743cd30f4e396855 Mon Sep 17 00:00:00 2001 From: Neeraj Lagwankar Date: Tue, 5 Nov 2024 16:52:18 +0530 Subject: [PATCH] Fix Cloudflare Pages command for Solid (#7155) --- .changeset/little-lamps-provide.md | 5 +++++ .../create-cloudflare/templates-experimental/solid/c3.ts | 2 +- pnpm-lock.yaml | 6 ++++++ 3 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 .changeset/little-lamps-provide.md diff --git a/.changeset/little-lamps-provide.md b/.changeset/little-lamps-provide.md new file mode 100644 index 000000000000..9fd6c2c55f2a --- /dev/null +++ b/.changeset/little-lamps-provide.md @@ -0,0 +1,5 @@ +--- +"create-cloudflare": patch +--- + +fix invalid preset config on the experimental solid template diff --git a/packages/create-cloudflare/templates-experimental/solid/c3.ts b/packages/create-cloudflare/templates-experimental/solid/c3.ts index 1c087958cb82..fe5cb5419872 100644 --- a/packages/create-cloudflare/templates-experimental/solid/c3.ts +++ b/packages/create-cloudflare/templates-experimental/solid/c3.ts @@ -49,7 +49,7 @@ const configure = async (ctx: C3Context) => { // preset: "cloudflare-pages" b.objectProperty( b.identifier("preset"), - b.stringLiteral("./cloudflare-pages"), + b.stringLiteral("cloudflare-pages"), ), // output: { // dir: "{{ rootDir }}/dist", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 722bda5bc7f3..e097a0dfaf71 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -6,6 +6,12 @@ settings: catalogs: default: + '@vitest/runner': + specifier: ~2.1.3 + version: 2.1.3 + '@vitest/snapshot': + specifier: ~2.1.3 + version: 2.1.3 '@vitest/ui': specifier: ~2.1.3 version: 2.1.3