create-cloudflare 0.0.0-c61b2a5d → 0.0.0-c8b4a07f

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 (40) hide show
  1. package/README.md +1 -1
  2. package/dist/cli.js +7848 -8664
  3. package/package.json +82 -79
  4. package/templates/chatgptPlugin/ts/README.md +2 -2
  5. package/templates/chatgptPlugin/ts/package.json +2 -1
  6. package/templates/chatgptPlugin/ts/src/search.ts +3 -7
  7. package/templates/common/js/package.json +1 -0
  8. package/templates/common/js/wrangler.toml +1 -1
  9. package/templates/common/ts/package.json +1 -0
  10. package/templates/common/ts/wrangler.toml +1 -1
  11. package/templates/hello-world/js/package.json +1 -0
  12. package/templates/hello-world/js/wrangler.toml +1 -1
  13. package/templates/hello-world/ts/package.json +1 -0
  14. package/templates/hello-world/ts/wrangler.toml +1 -1
  15. package/templates/openapi/ts/README.md +25 -0
  16. package/templates/openapi/ts/package.json +19 -0
  17. package/templates/openapi/ts/src/endpoints/taskCreate.ts +48 -0
  18. package/templates/openapi/ts/src/endpoints/taskDelete.ts +55 -0
  19. package/templates/openapi/ts/src/endpoints/taskFetch.ts +74 -0
  20. package/templates/openapi/ts/src/endpoints/taskList.ts +66 -0
  21. package/templates/openapi/ts/src/index.ts +29 -0
  22. package/templates/openapi/ts/src/types.ts +9 -0
  23. package/templates/openapi/ts/tsconfig.json +32 -0
  24. package/templates/openapi/ts/wrangler.toml +3 -0
  25. package/templates/queues/js/package.json +1 -0
  26. package/templates/queues/js/wrangler.toml +1 -1
  27. package/templates/queues/ts/package.json +1 -0
  28. package/templates/queues/ts/wrangler.toml +1 -1
  29. package/templates/scheduled/js/package.json +1 -0
  30. package/templates/scheduled/js/wrangler.toml +1 -1
  31. package/templates/scheduled/ts/package.json +1 -0
  32. package/templates/scheduled/ts/wrangler.toml +1 -1
  33. /package/templates/common/js/src/{worker.js → index.js} +0 -0
  34. /package/templates/common/ts/src/{worker.ts → index.ts} +0 -0
  35. /package/templates/hello-world/js/src/{worker.js → index.js} +0 -0
  36. /package/templates/hello-world/ts/src/{worker.ts → index.ts} +0 -0
  37. /package/templates/queues/js/src/{worker.js → index.js} +0 -0
  38. /package/templates/queues/ts/src/{worker.ts → index.ts} +0 -0
  39. /package/templates/scheduled/js/src/{worker.js → index.js} +0 -0
  40. /package/templates/scheduled/ts/src/{worker.ts → index.ts} +0 -0
@@ -4,6 +4,7 @@
4
4
  "private": true,
5
5
  "scripts": {
6
6
  "deploy": "wrangler deploy",
7
+ "dev": "wrangler dev",
7
8
  "start": "wrangler dev"
8
9
  },
9
10
  "devDependencies": {
@@ -1,5 +1,5 @@
1
1
  name = "<TBD>"
2
- main = "src/worker.js"
2
+ main = "src/index.js"
3
3
  compatibility_date = "<TBD>"
4
4
 
5
5
  # Bind a Queue producer. Use this binding to schedule an arbitrary task that may be processed later by a Queue consumer.
@@ -4,6 +4,7 @@
4
4
  "private": true,
5
5
  "scripts": {
6
6
  "deploy": "wrangler deploy",
7
+ "dev": "wrangler dev",
7
8
  "start": "wrangler dev"
8
9
  },
9
10
  "devDependencies": {
@@ -1,5 +1,5 @@
1
1
  name = "<TBD>"
2
- main = "src/worker.ts"
2
+ main = "src/index.ts"
3
3
  compatibility_date = "<TBD>"
4
4
 
5
5
  # Bind a Queue producer. Use this binding to schedule an arbitrary task that may be processed later by a Queue consumer.
@@ -4,6 +4,7 @@
4
4
  "private": true,
5
5
  "scripts": {
6
6
  "deploy": "wrangler deploy",
7
+ "dev": "wrangler dev",
7
8
  "start": "wrangler dev"
8
9
  },
9
10
  "devDependencies": {
@@ -1,5 +1,5 @@
1
1
  name = "<TBD>"
2
- main = "src/worker.ts"
2
+ main = "src/index.js"
3
3
  compatibility_date = "<TBD>"
4
4
 
5
5
  # Cron Triggers
@@ -4,6 +4,7 @@
4
4
  "private": true,
5
5
  "scripts": {
6
6
  "deploy": "wrangler deploy",
7
+ "dev": "wrangler dev",
7
8
  "start": "wrangler dev"
8
9
  },
9
10
  "devDependencies": {
@@ -1,5 +1,5 @@
1
1
  name = "<TBD>"
2
- main = "src/worker.ts"
2
+ main = "src/index.ts"
3
3
  compatibility_date = "2023-05-15"
4
4
 
5
5
  # Cron Triggers
File without changes
File without changes
File without changes
File without changes