create-cloudflare 2.22.1 → 2.22.3

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/dist/cli.js CHANGED
@@ -2870,7 +2870,7 @@ var init_args = __esm({
2870
2870
  var version;
2871
2871
  var init_package = __esm({
2872
2872
  "package.json"() {
2873
- version = "2.22.1";
2873
+ version = "2.22.3";
2874
2874
  }
2875
2875
  });
2876
2876
 
@@ -23686,15 +23686,15 @@ var init_package2 = __esm({
23686
23686
  "create-analog": "1.3.1",
23687
23687
  "@angular/create": "18.1.1",
23688
23688
  "create-docusaurus": "3.4.0",
23689
- "create-hono": "0.10.0",
23689
+ "create-hono": "0.10.1",
23690
23690
  "create-next-app": "14.1.0",
23691
23691
  "create-qwik": "1.5.7",
23692
23692
  "create-react-app": "5.0.1",
23693
23693
  "create-remix": "2.10.3",
23694
- "create-solid": "0.5.11",
23694
+ "create-solid": "0.5.12",
23695
23695
  "create-svelte": "6.3.3",
23696
23696
  "create-vue": "3.10.4",
23697
- gatsby: "5.13.6",
23697
+ gatsby: "5.13.7",
23698
23698
  nuxi: "3.12.0"
23699
23699
  },
23700
23700
  frameworkCliMap: {
@@ -23771,7 +23771,7 @@ var init_frameworks = __esm({
23771
23771
  var version2;
23772
23772
  var init_package3 = __esm({
23773
23773
  "../wrangler/package.json"() {
23774
- version2 = "3.65.1";
23774
+ version2 = "3.67.0";
23775
23775
  }
23776
23776
  });
23777
23777
 
@@ -71533,9 +71533,14 @@ var init_templates = __esm({
71533
71533
  validate: (val) => validateTemplateUrl(val || C3_DEFAULTS.template),
71534
71534
  defaultValue: C3_DEFAULTS.template
71535
71535
  });
71536
- const path4 = await downloadRemoteTemplate(templateUrl);
71536
+ let src = templateUrl;
71537
+ if (src.startsWith("https://github.com/") && src.includes("/tree/main/")) {
71538
+ src = src.replace("https://github.com/", "github:").replace("/tree/main/", "/");
71539
+ }
71540
+ const path4 = await downloadRemoteTemplate(src);
71537
71541
  const config14 = inferTemplateConfig(path4);
71538
71542
  validateTemplate(path4, config14);
71543
+ updateStatus(`${brandColor("template")} ${dim("cloned and validated")}`);
71539
71544
  return {
71540
71545
  path: path4,
71541
71546
  ...config14
@@ -71586,9 +71591,8 @@ var init_templates = __esm({
71586
71591
  return copyFiles;
71587
71592
  };
71588
71593
  downloadRemoteTemplate = async (src) => {
71589
- const s = spinner();
71590
71594
  try {
71591
- s.start(`Cloning template from: ${blue(src)}`);
71595
+ updateStatus(`Cloning template from: ${blue(src)}`);
71592
71596
  const emitter = (0, import_degit.default)(src, {
71593
71597
  cache: false,
71594
71598
  verbose: false,
@@ -71596,10 +71600,9 @@ var init_templates = __esm({
71596
71600
  });
71597
71601
  const tmpDir = await (0, import_promises2.mkdtemp)((0, import_path15.join)((0, import_os2.tmpdir)(), "c3-template"));
71598
71602
  await emitter.clone(tmpDir);
71599
- s.stop(`${brandColor("template")} ${dim("cloned and validated")}`);
71600
71603
  return tmpDir;
71601
71604
  } catch (error2) {
71602
- s.stop(`${brandColor("template")} ${dim("failed")}`);
71605
+ updateStatus(`${brandColor("template")} ${dim("failed")}`);
71603
71606
  return crash(`Failed to clone remote template: ${src}`);
71604
71607
  }
71605
71608
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-cloudflare",
3
- "version": "2.22.1",
3
+ "version": "2.22.3",
4
4
  "description": "A CLI for creating and deploying new applications to Cloudflare.",
5
5
  "keywords": [
6
6
  "cloudflare",
@@ -67,7 +67,7 @@
67
67
  "@cloudflare/cli": "1.1.1",
68
68
  "@cloudflare/eslint-config-worker": "1.1.0",
69
69
  "@cloudflare/workers-tsconfig": "0.0.0",
70
- "wrangler": "3.65.1"
70
+ "wrangler": "3.67.0"
71
71
  },
72
72
  "engines": {
73
73
  "node": ">=18.14.1"
@@ -98,5 +98,6 @@
98
98
  // "skipDefaultLibCheck": true, /* Skip type checking .d.ts files that are included with TypeScript. */
99
99
  "skipLibCheck": true /* Skip type checking all .d.ts files. */
100
100
  },
101
- "exclude": ["test"]
101
+ "exclude": ["test"],
102
+ "include": ["worker-configuration.d.ts", "src/**/*.ts"]
102
103
  }
@@ -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/