create-cloudflare 2.66.2 → 2.66.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/bin/c3.js +54 -0
- package/dist/cli.js +7 -7
- package/package.json +8 -7
package/bin/c3.js
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
const MIN_NODE_VERSION = require("../package.json").engines.node.replace(
|
|
4
|
+
">=",
|
|
5
|
+
""
|
|
6
|
+
);
|
|
7
|
+
|
|
8
|
+
// semiver implementation via https://github.com/lukeed/semiver/blob/ae7eebe6053c96be63032b14fb0b68e2553fcac4/src/index.js
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
MIT License
|
|
12
|
+
|
|
13
|
+
Copyright (c) Luke Edwards <luke.edwards05@gmail.com> (lukeed.com)
|
|
14
|
+
|
|
15
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
16
|
+
|
|
17
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
18
|
+
|
|
19
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
20
|
+
|
|
21
|
+
*/
|
|
22
|
+
|
|
23
|
+
var fn = new Intl.Collator(0, { numeric: 1 }).compare;
|
|
24
|
+
|
|
25
|
+
function semiver(a, b, bool) {
|
|
26
|
+
a = a.split(".");
|
|
27
|
+
b = b.split(".");
|
|
28
|
+
|
|
29
|
+
return (
|
|
30
|
+
fn(a[0], b[0]) ||
|
|
31
|
+
fn(a[1], b[1]) ||
|
|
32
|
+
((b[2] = b.slice(2).join(".")),
|
|
33
|
+
(bool = /[.-]/.test((a[2] = a.slice(2).join(".")))),
|
|
34
|
+
bool == /[.-]/.test(b[2]) ? fn(a[2], b[2]) : bool ? -1 : 1)
|
|
35
|
+
);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
// end semiver implementation
|
|
39
|
+
|
|
40
|
+
function main() {
|
|
41
|
+
if (semiver(process.versions.node, MIN_NODE_VERSION) < 0) {
|
|
42
|
+
console.error(
|
|
43
|
+
`create-cloudflare requires at least Node.js v${MIN_NODE_VERSION}. You are using v${process.versions.node}. Please update your version of Node.js.
|
|
44
|
+
|
|
45
|
+
Consider using a Node.js version manager such as https://volta.sh/ or https://github.com/nvm-sh/nvm.`
|
|
46
|
+
);
|
|
47
|
+
process.exitCode = 1;
|
|
48
|
+
return;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
require("../dist/cli.js");
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
main();
|
package/dist/cli.js
CHANGED
|
@@ -94470,7 +94470,7 @@ var Yargs = YargsFactory(esm_default2);
|
|
|
94470
94470
|
var yargs_default = Yargs;
|
|
94471
94471
|
|
|
94472
94472
|
// package.json
|
|
94473
|
-
var version = "2.66.
|
|
94473
|
+
var version = "2.66.3";
|
|
94474
94474
|
|
|
94475
94475
|
// src/metrics.ts
|
|
94476
94476
|
var import_node_async_hooks = require("node:async_hooks");
|
|
@@ -96082,20 +96082,20 @@ __name2(getPropertyName, "getPropertyName");
|
|
|
96082
96082
|
var package_default = {
|
|
96083
96083
|
name: "frameworks_clis_info",
|
|
96084
96084
|
dependencies: {
|
|
96085
|
-
"@angular/create": "21.2.
|
|
96085
|
+
"@angular/create": "21.2.6",
|
|
96086
96086
|
"@tanstack/create-start": "0.59.8",
|
|
96087
96087
|
"create-analog": "2.3.1",
|
|
96088
|
-
"create-astro": "5.0.
|
|
96088
|
+
"create-astro": "5.0.5",
|
|
96089
96089
|
"create-docusaurus": "3.9.2",
|
|
96090
96090
|
"create-hono": "0.19.4",
|
|
96091
|
-
"create-next-app": "16.2.
|
|
96091
|
+
"create-next-app": "16.2.2",
|
|
96092
96092
|
"create-qwik": "1.19.2",
|
|
96093
|
-
"create-react-router": "7.
|
|
96093
|
+
"create-react-router": "7.14.0",
|
|
96094
96094
|
"create-rwsdk": "3.1.3",
|
|
96095
96095
|
"create-solid": "0.7.0",
|
|
96096
96096
|
"create-vike": "0.0.599",
|
|
96097
96097
|
"create-vite": "8.3.0",
|
|
96098
|
-
"create-vue": "3.22.
|
|
96098
|
+
"create-vue": "3.22.2",
|
|
96099
96099
|
"create-waku": "0.12.5-1.0.0-alpha.6-0",
|
|
96100
96100
|
gatsby: "5.16.1",
|
|
96101
96101
|
nuxi: "3.34.0",
|
|
@@ -98550,7 +98550,7 @@ Retrieve API references and limits from:
|
|
|
98550
98550
|
var import_node_assert6 = __toESM(require("node:assert"));
|
|
98551
98551
|
|
|
98552
98552
|
// ../wrangler/package.json
|
|
98553
|
-
var version2 = "4.
|
|
98553
|
+
var version2 = "4.81.0";
|
|
98554
98554
|
|
|
98555
98555
|
// src/git.ts
|
|
98556
98556
|
var offerGit = async (ctx) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-cloudflare",
|
|
3
|
-
"version": "2.66.
|
|
3
|
+
"version": "2.66.3",
|
|
4
4
|
"description": "A CLI for creating and deploying new applications to Cloudflare.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cloudflare",
|
|
@@ -16,8 +16,9 @@
|
|
|
16
16
|
"url": "https://github.com/cloudflare/workers-sdk.git",
|
|
17
17
|
"directory": "packages/create-cloudflare"
|
|
18
18
|
},
|
|
19
|
-
"bin": "./
|
|
19
|
+
"bin": "./bin/c3.js",
|
|
20
20
|
"files": [
|
|
21
|
+
"bin",
|
|
21
22
|
"dist",
|
|
22
23
|
"templates",
|
|
23
24
|
"templates-experimental"
|
|
@@ -30,7 +31,7 @@
|
|
|
30
31
|
"@babel/parser": "^7.21.3",
|
|
31
32
|
"@babel/types": "^7.21.4",
|
|
32
33
|
"@clack/prompts": "^0.6.3",
|
|
33
|
-
"@cloudflare/workers-types": "^4.
|
|
34
|
+
"@cloudflare/workers-types": "^4.20260405.1",
|
|
34
35
|
"@types/command-exists": "^1.2.0",
|
|
35
36
|
"@types/cross-spawn": "^6.0.2",
|
|
36
37
|
"@types/deepmerge": "^2.2.0",
|
|
@@ -73,14 +74,14 @@
|
|
|
73
74
|
"yargs": "^17.7.2",
|
|
74
75
|
"@cloudflare/cli": "1.4.0",
|
|
75
76
|
"@cloudflare/codemod": "1.1.0",
|
|
76
|
-
"@cloudflare/
|
|
77
|
-
"@cloudflare/vite-plugin": "1.31.0",
|
|
77
|
+
"@cloudflare/vite-plugin": "1.31.1",
|
|
78
78
|
"@cloudflare/workers-tsconfig": "0.0.0",
|
|
79
|
+
"@cloudflare/mock-npm-registry": "0.0.0",
|
|
79
80
|
"@cloudflare/workers-utils": "0.15.0",
|
|
80
|
-
"wrangler": "4.
|
|
81
|
+
"wrangler": "4.81.0"
|
|
81
82
|
},
|
|
82
83
|
"engines": {
|
|
83
|
-
"node": ">=
|
|
84
|
+
"node": ">=20.0.0"
|
|
84
85
|
},
|
|
85
86
|
"volta": {
|
|
86
87
|
"extends": "../../package.json"
|