create-cloudflare 0.0.0-d199ffbc → 0.0.0-d208ede3

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-cloudflare",
3
- "version": "0.0.0-d199ffbc",
3
+ "version": "0.0.0-d208ede3",
4
4
  "description": "A CLI for creating and deploying new applications to Cloudflare.",
5
5
  "keywords": [
6
6
  "cloudflare",
@@ -61,7 +61,7 @@
61
61
  "recast": "^0.22.0",
62
62
  "semver": "^7.5.1",
63
63
  "typescript": "^5.0.2",
64
- "undici": "^5.22.0",
64
+ "undici": "5.20.0",
65
65
  "vite-tsconfig-paths": "^4.0.8",
66
66
  "vitest": "^0.30.0",
67
67
  "which-pm-runs": "^1.1.0",
@@ -12,7 +12,7 @@ The sample plugin allows ChatGPT users to search for repositories using GitHub's
12
12
  1. Install [wrangler](https://developers.cloudflare.com/workers/cli-wrangler/install-update), the Cloudflare Workers CLI
13
13
  2. Clone this project and install dependencies with `npm install`
14
14
  3. Run `wrangler login` to login to your Cloudflare account in wrangler
15
- 4. Run `wrangler publish` to publish the plugin to Cloudflare Workers
15
+ 4. Run `wrangler deploy` to publish the plugin to Cloudflare Workers
16
16
 
17
17
  ## Usage
18
18
 
@@ -3,7 +3,7 @@
3
3
  "version": "0.0.1",
4
4
  "private": true,
5
5
  "scripts": {
6
- "deploy": "wrangler publish",
6
+ "deploy": "wrangler deploy",
7
7
  "start": "wrangler dev"
8
8
  },
9
9
  "dependencies": {
@@ -1,3 +1,3 @@
1
- name = "cloudflare-workers-chatgpt-plugin-example"
1
+ name = "<TBD>"
2
2
  main = "src/index.ts"
3
- compatibility_date = "2023-04-07"
3
+ compatibility_date = "<TBD>"
@@ -3,11 +3,10 @@
3
3
  "version": "0.0.0",
4
4
  "private": true,
5
5
  "scripts": {
6
- "deploy": "wrangler publish",
6
+ "deploy": "wrangler deploy",
7
7
  "start": "wrangler dev"
8
8
  },
9
9
  "devDependencies": {
10
- "@cloudflare/workers-types": "^4.20230419.0",
11
10
  "itty-router": "^3.0.12",
12
11
  "wrangler": "^3.0.0"
13
12
  }
@@ -1,6 +1,6 @@
1
1
  name = "<TBD>"
2
2
  main = "src/worker.js"
3
- compatibility_date = "2023-04-21"
3
+ compatibility_date = "<TBD>"
4
4
 
5
5
  # Variable bindings. These are arbitrary, plaintext strings (similar to environment variables)
6
6
  # Note: Use secrets to store sensitive data.
@@ -3,7 +3,7 @@
3
3
  "version": "0.0.0",
4
4
  "private": true,
5
5
  "scripts": {
6
- "deploy": "wrangler publish",
6
+ "deploy": "wrangler deploy",
7
7
  "start": "wrangler dev"
8
8
  },
9
9
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  name = "<TBD>"
2
2
  main = "src/worker.ts"
3
- compatibility_date = "2023-04-21"
3
+ compatibility_date = "<TBD>"
4
4
 
5
5
  # Variable bindings. These are arbitrary, plaintext strings (similar to environment variables)
6
6
  # Note: Use secrets to store sensitive data.
@@ -3,12 +3,10 @@
3
3
  "version": "0.0.0",
4
4
  "private": true,
5
5
  "scripts": {
6
- "deploy": "wrangler publish",
6
+ "deploy": "wrangler deploy",
7
7
  "start": "wrangler dev"
8
8
  },
9
9
  "devDependencies": {
10
- "@cloudflare/workers-types": "^4.20230419.0",
11
- "typescript": "^5.0.4",
12
10
  "wrangler": "^3.0.0"
13
11
  }
14
12
  }
@@ -1,6 +1,6 @@
1
1
  name = "<TBD>"
2
2
  main = "src/worker.js"
3
- compatibility_date = "2023-04-21"
3
+ compatibility_date = "<TBD>"
4
4
 
5
5
  # Variable bindings. These are arbitrary, plaintext strings (similar to environment variables)
6
6
  # Note: Use secrets to store sensitive data.
@@ -3,7 +3,7 @@
3
3
  "version": "0.0.0",
4
4
  "private": true,
5
5
  "scripts": {
6
- "deploy": "wrangler publish",
6
+ "deploy": "wrangler deploy",
7
7
  "start": "wrangler dev"
8
8
  },
9
9
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  name = "<TBD>"
2
2
  main = "src/worker.ts"
3
- compatibility_date = "2023-04-21"
3
+ compatibility_date = "<TBD>"
4
4
 
5
5
  # Variable bindings. These are arbitrary, plaintext strings (similar to environment variables)
6
6
  # Note: Use secrets to store sensitive data.
@@ -3,12 +3,10 @@
3
3
  "version": "0.0.0",
4
4
  "private": true,
5
5
  "scripts": {
6
- "deploy": "wrangler publish",
6
+ "deploy": "wrangler deploy",
7
7
  "start": "wrangler dev"
8
8
  },
9
9
  "devDependencies": {
10
- "@cloudflare/workers-types": "^4.20230419.0",
11
- "typescript": "^5.0.4",
12
10
  "wrangler": "^3.0.0"
13
11
  }
14
12
  }
@@ -1,16 +1,16 @@
1
1
  name = "<TBD>"
2
2
  main = "src/worker.js"
3
- compatibility_date = "2023-05-15"
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.
6
6
  # Docs: https://developers.cloudflare.com/queues/get-started
7
- # [[queues.producers]]
7
+ [[queues.producers]]
8
8
  binding = "MY_QUEUE"
9
9
  queue = "my-queue"
10
10
 
11
11
  # Bind a Queue consumer. Queue Consumers can retrieve tasks scheduled by Producers to act on them.
12
12
  # Docs: https://developers.cloudflare.com/queues/get-started
13
- # [[queues.consumers]]
13
+ [[queues.consumers]]
14
14
  queue = "my-queue"
15
15
  # Optional: Configure batching and retries: https://developers.cloudflare.com/queues/learning/batching-retries/
16
16
  # max_batch_size = 10
@@ -3,7 +3,7 @@
3
3
  "version": "0.0.0",
4
4
  "private": true,
5
5
  "scripts": {
6
- "deploy": "wrangler publish",
6
+ "deploy": "wrangler deploy",
7
7
  "start": "wrangler dev"
8
8
  },
9
9
  "devDependencies": {
@@ -1,16 +1,16 @@
1
1
  name = "<TBD>"
2
2
  main = "src/worker.ts"
3
- compatibility_date = "2023-05-15"
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.
6
6
  # Docs: https://developers.cloudflare.com/queues/get-started
7
- # [[queues.producers]]
7
+ [[queues.producers]]
8
8
  binding = "MY_QUEUE"
9
9
  queue = "my-queue"
10
10
 
11
11
  # Bind a Queue consumer. Queue Consumers can retrieve tasks scheduled by Producers to act on them.
12
12
  # Docs: https://developers.cloudflare.com/queues/get-started
13
- # [[queues.consumers]]
13
+ [[queues.consumers]]
14
14
  queue = "my-queue"
15
15
  # Optional: Configure batching and retries: https://developers.cloudflare.com/queues/learning/batching-retries/
16
16
  # max_batch_size = 10
@@ -3,12 +3,10 @@
3
3
  "version": "0.0.0",
4
4
  "private": true,
5
5
  "scripts": {
6
- "deploy": "wrangler publish",
6
+ "deploy": "wrangler deploy",
7
7
  "start": "wrangler dev"
8
8
  },
9
9
  "devDependencies": {
10
- "@cloudflare/workers-types": "^4.20230419.0",
11
- "typescript": "^5.0.4",
12
10
  "wrangler": "^3.0.0"
13
11
  }
14
12
  }
@@ -1,6 +1,6 @@
1
1
  name = "<TBD>"
2
2
  main = "src/worker.ts"
3
- compatibility_date = "2023-05-15"
3
+ compatibility_date = "<TBD>"
4
4
 
5
5
  # Cron Triggers
6
6
  # Docs: https://developers.cloudflare.com/workers/platform/triggers/cron-triggers/
@@ -3,7 +3,7 @@
3
3
  "version": "0.0.0",
4
4
  "private": true,
5
5
  "scripts": {
6
- "deploy": "wrangler publish",
6
+ "deploy": "wrangler deploy",
7
7
  "start": "wrangler dev"
8
8
  },
9
9
  "devDependencies": {