create-cloudflare 2.37.1 → 2.37.2

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 (26) hide show
  1. package/dist/cli.js +5 -5
  2. package/package.json +7 -4
  3. package/templates/hello-world/js/package.json +1 -1
  4. package/templates/hello-world/js/test/index.spec.js +1 -1
  5. package/templates/hello-world/ts/package.json +1 -1
  6. package/templates-experimental/hello-world-with-assets/js/package.json +1 -1
  7. package/templates-experimental/hello-world-with-assets/ts/package.json +1 -1
  8. package/templates/common/js/__dot__gitignore +0 -172
  9. package/templates/common/ts/__dot__gitignore +0 -172
  10. package/templates/hello-world/js/__dot__gitignore +0 -172
  11. package/templates/hello-world/py/__dot__gitignore +0 -68
  12. package/templates/hello-world/ts/__dot__gitignore +0 -172
  13. package/templates/hello-world-durable-object/js/__dot__gitignore +0 -172
  14. package/templates/hello-world-durable-object/ts/__dot__gitignore +0 -172
  15. package/templates/openapi/ts/__dot__gitignore +0 -171
  16. package/templates/pre-existing/js/__dot__gitignore +0 -172
  17. package/templates/queues/js/__dot__gitignore +0 -172
  18. package/templates/queues/ts/__dot__gitignore +0 -172
  19. package/templates/scheduled/js/__dot__gitignore +0 -172
  20. package/templates/scheduled/ts/__dot__gitignore +0 -172
  21. package/templates-experimental/hello-world-durable-object-with-assets/js/__dot__gitignore +0 -172
  22. package/templates-experimental/hello-world-durable-object-with-assets/ts/__dot__gitignore +0 -172
  23. package/templates-experimental/hello-world-with-assets/js/__dot__gitignore +0 -172
  24. package/templates-experimental/hello-world-with-assets/py/__dot__gitignore +0 -68
  25. package/templates-experimental/hello-world-with-assets/ts/__dot__gitignore +0 -172
  26. package/templates-experimental/next/templates/__dot__gitignore +0 -39
package/dist/cli.js CHANGED
@@ -73294,7 +73294,7 @@ var Yargs = YargsFactory(esm_default);
73294
73294
  var yargs_default = Yargs;
73295
73295
 
73296
73296
  // package.json
73297
- var version = "2.37.1";
73297
+ var version = "2.37.2";
73298
73298
 
73299
73299
  // src/metrics.ts
73300
73300
  var import_node_async_hooks = require("node:async_hooks");
@@ -75362,17 +75362,17 @@ var package_default = {
75362
75362
  dependencies: {
75363
75363
  "create-astro": "4.11.0",
75364
75364
  "create-analog": "1.8.1",
75365
- "@angular/create": "19.0.7",
75365
+ "@angular/create": "19.1.2",
75366
75366
  "create-docusaurus": "3.7.0",
75367
75367
  "create-hono": "0.14.3",
75368
- "create-next-app": "15.1.4",
75368
+ "create-next-app": "15.1.5",
75369
75369
  "create-qwik": "1.12.0",
75370
75370
  "create-vite": "6.1.1",
75371
75371
  "create-remix": "2.15.2",
75372
75372
  "create-solid": "0.5.14",
75373
75373
  "create-vue": "3.13.0",
75374
75374
  gatsby: "5.14.1",
75375
- sv: "0.6.11",
75375
+ sv: "0.6.13",
75376
75376
  nuxi: "3.20.0"
75377
75377
  }
75378
75378
  };
@@ -77718,7 +77718,7 @@ var config26 = {
77718
77718
  var c3_default36 = config26;
77719
77719
 
77720
77720
  // ../wrangler/package.json
77721
- var version2 = "3.103.0";
77721
+ var version2 = "3.104.0";
77722
77722
 
77723
77723
  // src/git.ts
77724
77724
  var offerGit = async (ctx) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-cloudflare",
3
- "version": "2.37.1",
3
+ "version": "2.37.2",
4
4
  "description": "A CLI for creating and deploying new applications to Cloudflare.",
5
5
  "keywords": [
6
6
  "cloudflare",
@@ -60,16 +60,19 @@
60
60
  "open": "^8.4.0",
61
61
  "recast": "^0.22.0",
62
62
  "semver": "^7.5.1",
63
+ "typescript": "~5.6.3",
63
64
  "undici": "^5.28.4",
65
+ "vite": "^5.0.12",
64
66
  "vite-tsconfig-paths": "^4.0.8",
67
+ "vitest": "~2.1.8",
65
68
  "which-pm-runs": "^1.1.0",
66
69
  "wrap-ansi": "^9.0.0",
67
70
  "xdg-app-paths": "^8.3.0",
68
71
  "yargs": "^17.7.2",
69
72
  "@cloudflare/cli": "1.1.1",
70
- "wrangler": "3.103.0",
71
- "@cloudflare/eslint-config-worker": "1.1.0",
72
- "@cloudflare/workers-tsconfig": "0.0.0"
73
+ "@cloudflare/workers-tsconfig": "0.0.0",
74
+ "wrangler": "3.104.0",
75
+ "@cloudflare/eslint-config-worker": "1.1.0"
73
76
  },
74
77
  "engines": {
75
78
  "node": ">=18.14.1"
@@ -9,7 +9,7 @@
9
9
  "test": "vitest"
10
10
  },
11
11
  "devDependencies": {
12
- "@cloudflare/vitest-pool-workers": "^0.5.2",
12
+ "@cloudflare/vitest-pool-workers": "^0.6.4",
13
13
  "wrangler": "^3.101.0",
14
14
  "vitest": "2.1.8"
15
15
  }
@@ -14,7 +14,7 @@ describe('Hello World worker', () => {
14
14
  });
15
15
 
16
16
  it('responds with Hello World! (integration style)', async () => {
17
- const response = await SELF.fetch(request, env, ctx);
17
+ const response = await SELF.fetch('http://example.com');
18
18
  expect(await response.text()).toMatchInlineSnapshot(`"Hello World!"`);
19
19
  });
20
20
  });
@@ -10,7 +10,7 @@
10
10
  "cf-typegen": "wrangler types"
11
11
  },
12
12
  "devDependencies": {
13
- "@cloudflare/vitest-pool-workers": "^0.5.2",
13
+ "@cloudflare/vitest-pool-workers": "^0.6.4",
14
14
  "typescript": "^5.5.2",
15
15
  "vitest": "2.1.8",
16
16
  "wrangler": "^3.101.0"
@@ -9,7 +9,7 @@
9
9
  "test": "vitest"
10
10
  },
11
11
  "devDependencies": {
12
- "@cloudflare/vitest-pool-workers": "^0.5.2",
12
+ "@cloudflare/vitest-pool-workers": "^0.6.4",
13
13
  "wrangler": "^3.101.0",
14
14
  "vitest": "2.1.8"
15
15
  }
@@ -10,7 +10,7 @@
10
10
  "cf-typegen": "wrangler types"
11
11
  },
12
12
  "devDependencies": {
13
- "@cloudflare/vitest-pool-workers": "^0.5.2",
13
+ "@cloudflare/vitest-pool-workers": "^0.6.4",
14
14
  "typescript": "^5.5.2",
15
15
  "vitest": "2.1.8",
16
16
  "wrangler": "^3.101.0"
@@ -1,172 +0,0 @@
1
- # Logs
2
-
3
- logs
4
- _.log
5
- npm-debug.log_
6
- yarn-debug.log*
7
- yarn-error.log*
8
- lerna-debug.log*
9
- .pnpm-debug.log*
10
-
11
- # Diagnostic reports (https://nodejs.org/api/report.html)
12
-
13
- report.[0-9]_.[0-9]_.[0-9]_.[0-9]_.json
14
-
15
- # Runtime data
16
-
17
- pids
18
- _.pid
19
- _.seed
20
- \*.pid.lock
21
-
22
- # Directory for instrumented libs generated by jscoverage/JSCover
23
-
24
- lib-cov
25
-
26
- # Coverage directory used by tools like istanbul
27
-
28
- coverage
29
- \*.lcov
30
-
31
- # nyc test coverage
32
-
33
- .nyc_output
34
-
35
- # Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
36
-
37
- .grunt
38
-
39
- # Bower dependency directory (https://bower.io/)
40
-
41
- bower_components
42
-
43
- # node-waf configuration
44
-
45
- .lock-wscript
46
-
47
- # Compiled binary addons (https://nodejs.org/api/addons.html)
48
-
49
- build/Release
50
-
51
- # Dependency directories
52
-
53
- node_modules/
54
- jspm_packages/
55
-
56
- # Snowpack dependency directory (https://snowpack.dev/)
57
-
58
- web_modules/
59
-
60
- # TypeScript cache
61
-
62
- \*.tsbuildinfo
63
-
64
- # Optional npm cache directory
65
-
66
- .npm
67
-
68
- # Optional eslint cache
69
-
70
- .eslintcache
71
-
72
- # Optional stylelint cache
73
-
74
- .stylelintcache
75
-
76
- # Microbundle cache
77
-
78
- .rpt2_cache/
79
- .rts2_cache_cjs/
80
- .rts2_cache_es/
81
- .rts2_cache_umd/
82
-
83
- # Optional REPL history
84
-
85
- .node_repl_history
86
-
87
- # Output of 'npm pack'
88
-
89
- \*.tgz
90
-
91
- # Yarn Integrity file
92
-
93
- .yarn-integrity
94
-
95
- # dotenv environment variable files
96
-
97
- .env
98
- .env.development.local
99
- .env.test.local
100
- .env.production.local
101
- .env.local
102
-
103
- # parcel-bundler cache (https://parceljs.org/)
104
-
105
- .cache
106
- .parcel-cache
107
-
108
- # Next.js build output
109
-
110
- .next
111
- out
112
-
113
- # Nuxt.js build / generate output
114
-
115
- .nuxt
116
- dist
117
-
118
- # Gatsby files
119
-
120
- .cache/
121
-
122
- # Comment in the public line in if your project uses Gatsby and not Next.js
123
-
124
- # https://nextjs.org/blog/next-9-1#public-directory-support
125
-
126
- # public
127
-
128
- # vuepress build output
129
-
130
- .vuepress/dist
131
-
132
- # vuepress v2.x temp and cache directory
133
-
134
- .temp
135
- .cache
136
-
137
- # Docusaurus cache and generated files
138
-
139
- .docusaurus
140
-
141
- # Serverless directories
142
-
143
- .serverless/
144
-
145
- # FuseBox cache
146
-
147
- .fusebox/
148
-
149
- # DynamoDB Local files
150
-
151
- .dynamodb/
152
-
153
- # TernJS port file
154
-
155
- .tern-port
156
-
157
- # Stores VSCode versions used for testing VSCode extensions
158
-
159
- .vscode-test
160
-
161
- # yarn v2
162
-
163
- .yarn/cache
164
- .yarn/unplugged
165
- .yarn/build-state.yml
166
- .yarn/install-state.gz
167
- .pnp.\*
168
-
169
- # wrangler project
170
-
171
- .dev.vars
172
- .wrangler/
@@ -1,172 +0,0 @@
1
- # Logs
2
-
3
- logs
4
- _.log
5
- npm-debug.log_
6
- yarn-debug.log*
7
- yarn-error.log*
8
- lerna-debug.log*
9
- .pnpm-debug.log*
10
-
11
- # Diagnostic reports (https://nodejs.org/api/report.html)
12
-
13
- report.[0-9]_.[0-9]_.[0-9]_.[0-9]_.json
14
-
15
- # Runtime data
16
-
17
- pids
18
- _.pid
19
- _.seed
20
- \*.pid.lock
21
-
22
- # Directory for instrumented libs generated by jscoverage/JSCover
23
-
24
- lib-cov
25
-
26
- # Coverage directory used by tools like istanbul
27
-
28
- coverage
29
- \*.lcov
30
-
31
- # nyc test coverage
32
-
33
- .nyc_output
34
-
35
- # Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
36
-
37
- .grunt
38
-
39
- # Bower dependency directory (https://bower.io/)
40
-
41
- bower_components
42
-
43
- # node-waf configuration
44
-
45
- .lock-wscript
46
-
47
- # Compiled binary addons (https://nodejs.org/api/addons.html)
48
-
49
- build/Release
50
-
51
- # Dependency directories
52
-
53
- node_modules/
54
- jspm_packages/
55
-
56
- # Snowpack dependency directory (https://snowpack.dev/)
57
-
58
- web_modules/
59
-
60
- # TypeScript cache
61
-
62
- \*.tsbuildinfo
63
-
64
- # Optional npm cache directory
65
-
66
- .npm
67
-
68
- # Optional eslint cache
69
-
70
- .eslintcache
71
-
72
- # Optional stylelint cache
73
-
74
- .stylelintcache
75
-
76
- # Microbundle cache
77
-
78
- .rpt2_cache/
79
- .rts2_cache_cjs/
80
- .rts2_cache_es/
81
- .rts2_cache_umd/
82
-
83
- # Optional REPL history
84
-
85
- .node_repl_history
86
-
87
- # Output of 'npm pack'
88
-
89
- \*.tgz
90
-
91
- # Yarn Integrity file
92
-
93
- .yarn-integrity
94
-
95
- # dotenv environment variable files
96
-
97
- .env
98
- .env.development.local
99
- .env.test.local
100
- .env.production.local
101
- .env.local
102
-
103
- # parcel-bundler cache (https://parceljs.org/)
104
-
105
- .cache
106
- .parcel-cache
107
-
108
- # Next.js build output
109
-
110
- .next
111
- out
112
-
113
- # Nuxt.js build / generate output
114
-
115
- .nuxt
116
- dist
117
-
118
- # Gatsby files
119
-
120
- .cache/
121
-
122
- # Comment in the public line in if your project uses Gatsby and not Next.js
123
-
124
- # https://nextjs.org/blog/next-9-1#public-directory-support
125
-
126
- # public
127
-
128
- # vuepress build output
129
-
130
- .vuepress/dist
131
-
132
- # vuepress v2.x temp and cache directory
133
-
134
- .temp
135
- .cache
136
-
137
- # Docusaurus cache and generated files
138
-
139
- .docusaurus
140
-
141
- # Serverless directories
142
-
143
- .serverless/
144
-
145
- # FuseBox cache
146
-
147
- .fusebox/
148
-
149
- # DynamoDB Local files
150
-
151
- .dynamodb/
152
-
153
- # TernJS port file
154
-
155
- .tern-port
156
-
157
- # Stores VSCode versions used for testing VSCode extensions
158
-
159
- .vscode-test
160
-
161
- # yarn v2
162
-
163
- .yarn/cache
164
- .yarn/unplugged
165
- .yarn/build-state.yml
166
- .yarn/install-state.gz
167
- .pnp.\*
168
-
169
- # wrangler project
170
-
171
- .dev.vars
172
- .wrangler/
@@ -1,172 +0,0 @@
1
- # Logs
2
-
3
- logs
4
- _.log
5
- npm-debug.log_
6
- yarn-debug.log*
7
- yarn-error.log*
8
- lerna-debug.log*
9
- .pnpm-debug.log*
10
-
11
- # Diagnostic reports (https://nodejs.org/api/report.html)
12
-
13
- report.[0-9]_.[0-9]_.[0-9]_.[0-9]_.json
14
-
15
- # Runtime data
16
-
17
- pids
18
- _.pid
19
- _.seed
20
- \*.pid.lock
21
-
22
- # Directory for instrumented libs generated by jscoverage/JSCover
23
-
24
- lib-cov
25
-
26
- # Coverage directory used by tools like istanbul
27
-
28
- coverage
29
- \*.lcov
30
-
31
- # nyc test coverage
32
-
33
- .nyc_output
34
-
35
- # Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
36
-
37
- .grunt
38
-
39
- # Bower dependency directory (https://bower.io/)
40
-
41
- bower_components
42
-
43
- # node-waf configuration
44
-
45
- .lock-wscript
46
-
47
- # Compiled binary addons (https://nodejs.org/api/addons.html)
48
-
49
- build/Release
50
-
51
- # Dependency directories
52
-
53
- node_modules/
54
- jspm_packages/
55
-
56
- # Snowpack dependency directory (https://snowpack.dev/)
57
-
58
- web_modules/
59
-
60
- # TypeScript cache
61
-
62
- \*.tsbuildinfo
63
-
64
- # Optional npm cache directory
65
-
66
- .npm
67
-
68
- # Optional eslint cache
69
-
70
- .eslintcache
71
-
72
- # Optional stylelint cache
73
-
74
- .stylelintcache
75
-
76
- # Microbundle cache
77
-
78
- .rpt2_cache/
79
- .rts2_cache_cjs/
80
- .rts2_cache_es/
81
- .rts2_cache_umd/
82
-
83
- # Optional REPL history
84
-
85
- .node_repl_history
86
-
87
- # Output of 'npm pack'
88
-
89
- \*.tgz
90
-
91
- # Yarn Integrity file
92
-
93
- .yarn-integrity
94
-
95
- # dotenv environment variable files
96
-
97
- .env
98
- .env.development.local
99
- .env.test.local
100
- .env.production.local
101
- .env.local
102
-
103
- # parcel-bundler cache (https://parceljs.org/)
104
-
105
- .cache
106
- .parcel-cache
107
-
108
- # Next.js build output
109
-
110
- .next
111
- out
112
-
113
- # Nuxt.js build / generate output
114
-
115
- .nuxt
116
- dist
117
-
118
- # Gatsby files
119
-
120
- .cache/
121
-
122
- # Comment in the public line in if your project uses Gatsby and not Next.js
123
-
124
- # https://nextjs.org/blog/next-9-1#public-directory-support
125
-
126
- # public
127
-
128
- # vuepress build output
129
-
130
- .vuepress/dist
131
-
132
- # vuepress v2.x temp and cache directory
133
-
134
- .temp
135
- .cache
136
-
137
- # Docusaurus cache and generated files
138
-
139
- .docusaurus
140
-
141
- # Serverless directories
142
-
143
- .serverless/
144
-
145
- # FuseBox cache
146
-
147
- .fusebox/
148
-
149
- # DynamoDB Local files
150
-
151
- .dynamodb/
152
-
153
- # TernJS port file
154
-
155
- .tern-port
156
-
157
- # Stores VSCode versions used for testing VSCode extensions
158
-
159
- .vscode-test
160
-
161
- # yarn v2
162
-
163
- .yarn/cache
164
- .yarn/unplugged
165
- .yarn/build-state.yml
166
- .yarn/install-state.gz
167
- .pnp.\*
168
-
169
- # wrangler project
170
-
171
- .dev.vars
172
- .wrangler/
@@ -1,68 +0,0 @@
1
- # Logs
2
-
3
- logs
4
- _.log
5
- npm-debug.log_
6
- yarn-debug.log*
7
- yarn-error.log*
8
- lerna-debug.log*
9
- .pnpm-debug.log*
10
-
11
- # Diagnostic reports (https://nodejs.org/api/report.html)
12
-
13
- report.[0-9]_.[0-9]_.[0-9]_.[0-9]_.json
14
-
15
- # Runtime data
16
-
17
- pids
18
- _.pid
19
- _.seed
20
- \*.pid.lock
21
-
22
- # Dependency directories
23
-
24
- node_modules/
25
- jspm_packages/
26
-
27
- # TypeScript cache
28
-
29
- \*.tsbuildinfo
30
-
31
- # Optional npm cache directory
32
-
33
- .npm
34
-
35
- # Optional eslint cache
36
-
37
- .eslintcache
38
-
39
- # Optional stylelint cache
40
-
41
- .stylelintcache
42
-
43
- # Optional REPL history
44
-
45
- .node_repl_history
46
-
47
- # Output of 'npm pack'
48
-
49
- \*.tgz
50
-
51
- # dotenv environment variable files
52
-
53
- .env
54
- .env.development.local
55
- .env.test.local
56
- .env.production.local
57
- .env.local
58
-
59
- # public
60
-
61
- # Stores VSCode versions used for testing VSCode extensions
62
-
63
- .vscode-test
64
-
65
- # wrangler project
66
-
67
- .dev.vars
68
- .wrangler/