create-cloudflare 0.0.0-c4d034a0 → 0.0.0-c4f0d9e01

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (68) hide show
  1. package/dist/cli.js +7926 -8562
  2. package/dist/tsconfig.tsbuildinfo +1 -1
  3. package/package.json +23 -24
  4. package/templates/analog/c3.ts +4 -4
  5. package/templates/angular/c3.ts +3 -2
  6. package/templates/astro/c3.ts +3 -3
  7. package/templates/common/c3.ts +3 -0
  8. package/templates/common/js/package.json +1 -1
  9. package/templates/common/ts/package.json +2 -2
  10. package/templates/common/ts/src/ab-test.ts +2 -2
  11. package/templates/common/ts/src/index.ts +2 -2
  12. package/templates/common/ts/src/proxy.ts +2 -2
  13. package/templates/common/ts/src/redirect.ts +2 -2
  14. package/templates/common/ts/tsconfig.json +1 -1
  15. package/templates/hello-world/c3.ts +5 -1
  16. package/templates/hello-world/js/package.json +3 -3
  17. package/templates/hello-world/js/vitest.config.js +8 -8
  18. package/templates/{hello-world-python → hello-world}/py/package.json +1 -1
  19. package/templates/hello-world/ts/package.json +4 -4
  20. package/templates/hello-world/ts/src/index.ts +2 -2
  21. package/templates/hello-world/ts/test/tsconfig.json +6 -9
  22. package/templates/hello-world/ts/tsconfig.json +3 -2
  23. package/templates/hello-world/ts/vitest.config.mts +11 -0
  24. package/templates/hello-world-durable-object/c3.ts +3 -1
  25. package/templates/hello-world-durable-object/js/package.json +1 -1
  26. package/templates/hello-world-durable-object/js/src/index.js +1 -1
  27. package/templates/hello-world-durable-object/js/wrangler.toml +1 -1
  28. package/templates/hello-world-durable-object/ts/package.json +2 -2
  29. package/templates/hello-world-durable-object/ts/src/index.ts +3 -3
  30. package/templates/hello-world-durable-object/ts/tsconfig.json +1 -1
  31. package/templates/hello-world-durable-object/ts/wrangler.toml +2 -2
  32. package/templates/hono/c3.ts +0 -10
  33. package/templates/hono/snippets/appDeclaration.ts +1 -1
  34. package/templates/next/README.md +1 -1
  35. package/templates/next/c3.ts +9 -7
  36. package/templates/nuxt/c3.ts +8 -9
  37. package/templates/openapi/c3.ts +1 -0
  38. package/templates/openapi/ts/README.md +3 -3
  39. package/templates/openapi/ts/package.json +5 -3
  40. package/templates/openapi/ts/src/endpoints/taskCreate.ts +26 -16
  41. package/templates/openapi/ts/src/endpoints/taskDelete.ts +20 -19
  42. package/templates/openapi/ts/src/endpoints/taskFetch.ts +30 -23
  43. package/templates/openapi/ts/src/endpoints/taskList.ts +27 -24
  44. package/templates/openapi/ts/src/index.ts +14 -20
  45. package/templates/openapi/ts/src/types.ts +9 -8
  46. package/templates/pre-existing/c3.ts +5 -5
  47. package/templates/pre-existing/js/package.json +1 -1
  48. package/templates/queues/c3.ts +2 -0
  49. package/templates/queues/js/package.json +1 -1
  50. package/templates/queues/ts/package.json +2 -2
  51. package/templates/queues/ts/src/index.ts +3 -3
  52. package/templates/queues/ts/tsconfig.json +1 -1
  53. package/templates/qwik/c3.ts +3 -3
  54. package/templates/react/c3.ts +31 -3
  55. package/templates/scheduled/c3.ts +2 -0
  56. package/templates/scheduled/js/package.json +3 -3
  57. package/templates/scheduled/js/src/index.js +8 -1
  58. package/templates/scheduled/ts/package.json +4 -4
  59. package/templates/scheduled/ts/src/index.ts +3 -3
  60. package/templates/scheduled/ts/tsconfig.json +1 -1
  61. package/templates/solid/c3.ts +11 -9
  62. package/templates/svelte/c3.ts +6 -6
  63. package/templates/hello-world/ts/vitest.config.ts +0 -11
  64. package/templates/hello-world-python/c3.ts +0 -9
  65. package/templates/hono/snippets/bindingsType.ts +0 -3
  66. /package/templates/{hello-world-python → hello-world}/py/__dot__gitignore +0 -0
  67. /package/templates/{hello-world-python → hello-world}/py/src/entry.py +0 -0
  68. /package/templates/{hello-world-python → hello-world}/py/wrangler.toml +0 -0
@@ -1,9 +0,0 @@
1
- export default {
2
- configVersion: 1,
3
- id: "hello-world-python",
4
- displayName: '"Hello World" Worker (Python)',
5
- platform: "workers",
6
- copyFiles: {
7
- path: "./py",
8
- },
9
- };
@@ -1,3 +0,0 @@
1
- type Bindings = {
2
- [key in keyof CloudflareBindings]: CloudflareBindings[key]
3
- }