create-cloudflare 0.0.0-874da0e7 → 0.0.0-87c8f2dc7

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 (45) hide show
  1. package/dist/cli.js +6140 -6983
  2. package/dist/tsconfig.tsbuildinfo +1 -1
  3. package/package.json +19 -20
  4. package/templates/angular/c3.ts +1 -0
  5. package/templates/common/c3.ts +3 -0
  6. package/templates/common/js/package.json +1 -1
  7. package/templates/common/ts/package.json +2 -2
  8. package/templates/common/ts/tsconfig.json +1 -1
  9. package/templates/hello-world/c3.ts +5 -1
  10. package/templates/hello-world/js/package.json +3 -3
  11. package/templates/{hello-world-python → hello-world}/py/package.json +1 -1
  12. package/templates/hello-world/ts/package.json +4 -4
  13. package/templates/hello-world/ts/tsconfig.json +3 -2
  14. package/templates/hello-world-durable-object/c3.ts +3 -1
  15. package/templates/hello-world-durable-object/js/package.json +1 -1
  16. package/templates/hello-world-durable-object/ts/package.json +2 -2
  17. package/templates/hello-world-durable-object/ts/tsconfig.json +1 -1
  18. package/templates/hono/c3.ts +0 -10
  19. package/templates/hono/snippets/appDeclaration.ts +1 -1
  20. package/templates/next/README.md +1 -1
  21. package/templates/next/c3.ts +1 -1
  22. package/templates/openapi/c3.ts +1 -0
  23. package/templates/openapi/ts/README.md +3 -3
  24. package/templates/openapi/ts/package.json +5 -3
  25. package/templates/openapi/ts/src/endpoints/taskCreate.ts +26 -16
  26. package/templates/openapi/ts/src/endpoints/taskDelete.ts +20 -19
  27. package/templates/openapi/ts/src/endpoints/taskFetch.ts +30 -23
  28. package/templates/openapi/ts/src/endpoints/taskList.ts +27 -24
  29. package/templates/openapi/ts/src/index.ts +14 -20
  30. package/templates/openapi/ts/src/types.ts +9 -8
  31. package/templates/pre-existing/js/package.json +1 -1
  32. package/templates/queues/c3.ts +2 -0
  33. package/templates/queues/js/package.json +1 -1
  34. package/templates/queues/ts/package.json +2 -2
  35. package/templates/queues/ts/tsconfig.json +1 -1
  36. package/templates/scheduled/c3.ts +2 -0
  37. package/templates/scheduled/js/package.json +1 -1
  38. package/templates/scheduled/ts/package.json +2 -2
  39. package/templates/scheduled/ts/tsconfig.json +1 -1
  40. package/templates/hello-world-python/c3.ts +0 -9
  41. package/templates/hono/snippets/bindingsType.ts +0 -3
  42. /package/templates/{hello-world-python → hello-world}/py/__dot__gitignore +0 -0
  43. /package/templates/{hello-world-python → hello-world}/py/src/entry.py +0 -0
  44. /package/templates/{hello-world-python → hello-world}/py/wrangler.toml +0 -0
  45. /package/templates/hello-world/ts/{vitest.config.ts → vitest.config.mts} +0 -0
@@ -13,7 +13,7 @@
13
13
  /* Language and Environment */
14
14
  "target": "es2021" /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */,
15
15
  "lib": ["es2021"] /* Specify a set of bundled library declaration files that describe the target runtime environment. */,
16
- "jsx": "react" /* Specify what JSX code is generated. */,
16
+ "jsx": "react-jsx" /* Specify what JSX code is generated. */,
17
17
  // "experimentalDecorators": true, /* Enable experimental support for TC39 stage 2 draft decorators. */
18
18
  // "emitDecoratorMetadata": true, /* Emit design-type metadata for decorated declarations in source files. */
19
19
  // "jsxFactory": "", /* Specify the JSX factory function used when targeting React JSX emit, e.g. 'React.createElement' or 'h' */
@@ -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
- }