From ef4961bdb0be2490129943f0b966b10a3fc189a8 Mon Sep 17 00:00:00 2001 From: Vargha Csongor Date: Tue, 29 Apr 2025 08:12:41 +0000 Subject: [PATCH] fix wrangler configs --- apps/app/package.json | 5 ++--- apps/app/tsconfig.json | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/apps/app/package.json b/apps/app/package.json index b94f460..736a328 100644 --- a/apps/app/package.json +++ b/apps/app/package.json @@ -18,11 +18,10 @@ "build-storybook": "storybook build", "deploy-stage": "npm run build && wrangler pages deploy --env staging", "deploy-prod": "npm run build && wrangler pages deploy --env production", - "cf-typegen": "wrangler types && move worker-configuration.d.ts src/" + "cf-typegen": "wrangler types && mv worker-configuration.d.ts src/" }, "devDependencies": { "@chromatic-com/storybook": "^3.2.4", - "@cloudflare/workers-types": "^4.20250214.0", "@eslint/compat": "^1.2.5", "@eslint/js": "^9.18.0", "@playwright/test": "^1.50.1", @@ -70,4 +69,4 @@ "openapi-fetch": "^0.13.5", "pikaday": "^1.8.2" } -} +} \ No newline at end of file diff --git a/apps/app/tsconfig.json b/apps/app/tsconfig.json index 35008e4..65ce6b3 100644 --- a/apps/app/tsconfig.json +++ b/apps/app/tsconfig.json @@ -9,12 +9,11 @@ "skipLibCheck": true, "sourceMap": true, "strict": true, - "moduleResolution": "bundler", - "types": ["@cloudflare/workers-types/2023-07-01"] + "moduleResolution": "bundler" } // Path aliases are handled by https://svelte.dev/docs/kit/configuration#alias // except $lib which is handled by https://svelte.dev/docs/kit/configuration#files // // If you want to overwrite includes/excludes, make sure to copy over the relevant includes/excludes // from the referenced tsconfig.json - TypeScript does not merge them in -} +} \ No newline at end of file