create-cloudflare 0.0.0-e17d3096 → 0.0.0-e2a6fa40

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,76 +1,82 @@
1
1
  {
2
- "name": "create-cloudflare",
3
- "version": "0.0.0-e17d3096",
4
- "description": "A CLI for creating and deploying new applications to Cloudflare.",
5
- "keywords": [
6
- "cloudflare",
7
- "workers",
8
- "cloudflare workers",
9
- "serverless",
10
- "serverless application"
11
- ],
12
- "repository": {
13
- "type": "git",
14
- "url": "https://github.com/cloudflare/workers-sdk.git",
15
- "directory": "packages/create-cloudflare"
16
- },
17
- "license": "MIT OR Apache-2.0",
18
- "author": "wrangler@cloudflare.com",
19
- "exports": {
20
- ".": "./dist/cli.js"
21
- },
22
- "main": "./dist/cli.js",
23
- "bin": "./dist/cli.js",
24
- "files": [
25
- "dist",
26
- "templates"
27
- ],
28
- "scripts": {
29
- "build": "node scripts/build.js",
30
- "check:lint": "eslint .",
31
- "check:type": "tsc",
32
- "lint": "eslint",
33
- "prepublishOnly": "npm run build",
34
- "test:e2e": "npm run build && vitest run --config ./vitest-e2e.config.ts",
35
- "test:unit": "vitest run --config ./vitest.config.ts",
36
- "watch": "node scripts/build.js --watch"
37
- },
38
- "devDependencies": {
39
- "@babel/parser": "^7.21.3",
40
- "@babel/types": "^7.21.4",
41
- "@clack/prompts": "^0.6.3",
42
- "@cloudflare/eslint-config-worker": "*",
43
- "@cloudflare/workers-tsconfig": "*",
44
- "@cloudflare/workers-types": "^4.20230419.0",
45
- "@types/command-exists": "^1.2.0",
46
- "@types/cross-spawn": "^6.0.2",
47
- "@types/dns2": "^2.0.3",
48
- "@types/esprima": "^4.0.3",
49
- "@types/node": "^18.15.3",
50
- "@types/which-pm-runs": "^1.0.0",
51
- "@types/yargs": "^17.0.22",
52
- "@typescript-eslint/eslint-plugin": "^5.55.0",
53
- "@typescript-eslint/parser": "^5.55.0",
54
- "chalk": "^5.2.0",
55
- "command-exists": "^1.2.9",
56
- "cross-spawn": "^7.0.3",
57
- "dns2": "^2.1.0",
58
- "esbuild": "^0.17.12",
59
- "execa": "^7.1.1",
60
- "haikunator": "^2.1.2",
61
- "log-update": "^5.0.1",
62
- "open": "^8.4.0",
63
- "recast": "^0.22.0",
64
- "semver": "^7.5.1",
65
- "typescript": "^5.0.2",
66
- "undici": "5.20.0",
67
- "vite-tsconfig-paths": "^4.0.8",
68
- "vitest": "^0.30.0",
69
- "which-pm-runs": "^1.1.0",
70
- "wrangler": "*",
71
- "yargs": "^17.7.1"
72
- },
73
- "engines": {
74
- "node": ">=16.13.0"
75
- }
76
- }
2
+ "name": "create-cloudflare",
3
+ "version": "0.0.0-e2a6fa40",
4
+ "description": "A CLI for creating and deploying new applications to Cloudflare.",
5
+ "keywords": [
6
+ "cloudflare",
7
+ "workers",
8
+ "cloudflare workers",
9
+ "serverless",
10
+ "serverless application"
11
+ ],
12
+ "repository": {
13
+ "type": "git",
14
+ "url": "https://github.com/cloudflare/workers-sdk.git",
15
+ "directory": "packages/create-cloudflare"
16
+ },
17
+ "license": "MIT OR Apache-2.0",
18
+ "author": "wrangler@cloudflare.com",
19
+ "exports": {
20
+ ".": "./dist/cli.js"
21
+ },
22
+ "main": "./dist/cli.js",
23
+ "bin": "./dist/cli.js",
24
+ "files": [
25
+ "dist",
26
+ "templates"
27
+ ],
28
+ "devDependencies": {
29
+ "@babel/parser": "^7.21.3",
30
+ "@babel/types": "^7.21.4",
31
+ "@clack/prompts": "^0.6.3",
32
+ "@cloudflare/eslint-config-worker": "*",
33
+ "@cloudflare/workers-types": "^4.20230419.0",
34
+ "@types/command-exists": "^1.2.0",
35
+ "@types/cross-spawn": "^6.0.2",
36
+ "@types/dns2": "^2.0.3",
37
+ "@types/esprima": "^4.0.3",
38
+ "@types/node": "^18.15.3",
39
+ "@types/which-pm-runs": "^1.0.0",
40
+ "@types/yargs": "^17.0.22",
41
+ "@typescript-eslint/eslint-plugin": "^5.55.0",
42
+ "@typescript-eslint/parser": "^5.55.0",
43
+ "chalk": "^5.2.0",
44
+ "command-exists": "^1.2.9",
45
+ "cross-spawn": "^7.0.3",
46
+ "dns2": "^2.1.0",
47
+ "esbuild": "^0.17.12",
48
+ "execa": "^7.1.1",
49
+ "haikunator": "^2.1.2",
50
+ "log-update": "^5.0.1",
51
+ "open": "^8.4.0",
52
+ "pnpm": "^8.6.11",
53
+ "recast": "^0.22.0",
54
+ "semver": "^7.5.1",
55
+ "typescript": "^5.0.2",
56
+ "undici": "5.20.0",
57
+ "vite-tsconfig-paths": "^4.0.8",
58
+ "vitest": "^0.30.0",
59
+ "which-pm-runs": "^1.1.0",
60
+ "yargs": "^17.7.1",
61
+ "yarn": "^1.22.19",
62
+ "@clack/core": "^0.3.2",
63
+ "@types/semver": "^7.5.1",
64
+ "@cloudflare/workers-tsconfig": "0.0.0",
65
+ "wrangler": "3.7.0"
66
+ },
67
+ "engines": {
68
+ "node": ">=16.13.0"
69
+ },
70
+ "scripts": {
71
+ "build": "node -r esbuild-register scripts/build.ts",
72
+ "check:lint": "eslint .",
73
+ "check:type": "tsc",
74
+ "lint": "eslint",
75
+ "test:e2e:cleanup": "node -r esbuild-register scripts/e2eCleanup.ts",
76
+ "test:e2e:npm": "pnpm run build && TEST_PM=npm vitest run --config ./vitest-e2e.config.ts",
77
+ "test:e2e:pnpm": "pnpm run build && TEST_PM=pnpm vitest run --config ./vitest-e2e.config.ts",
78
+ "test:unit": "vitest run --config ./vitest.config.ts",
79
+ "test:unit:watch": "vitest --config ./vitest.config.ts",
80
+ "watch": "node -r esbuild-register scripts/build.ts --watch"
81
+ }
82
+ }
@@ -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
  # Variable bindings. These are arbitrary, plaintext strings (similar to environment variables)
@@ -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
  # Variable bindings. These are arbitrary, plaintext strings (similar to environment variables)
@@ -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
  # Variable bindings. These are arbitrary, plaintext strings (similar to environment variables)
@@ -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
  # Variable bindings. These are arbitrary, plaintext strings (similar to environment variables)
@@ -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.
@@ -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.
@@ -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
  # Cron Triggers
@@ -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