fix wrangler configs

This commit is contained in:
Vargha Csongor
2025-04-29 08:12:41 +00:00
parent fd00471bbc
commit ef4961bdb0
2 changed files with 4 additions and 6 deletions

View File

@@ -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"
}
}
}

View File

@@ -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
}
}