create-cloudflare 2.62.1 → 2.62.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.
- package/dist/cli.js +36 -6
- package/package.json +7 -7
- package/templates/vike/c3.ts +5 -0
package/dist/cli.js
CHANGED
|
@@ -77467,7 +77467,7 @@ var Yargs = YargsFactory(esm_default);
|
|
|
77467
77467
|
var yargs_default = Yargs;
|
|
77468
77468
|
|
|
77469
77469
|
// package.json
|
|
77470
|
-
var version = "2.62.
|
|
77470
|
+
var version = "2.62.2";
|
|
77471
77471
|
|
|
77472
77472
|
// src/metrics.ts
|
|
77473
77473
|
var import_node_async_hooks = require("node:async_hooks");
|
|
@@ -79089,9 +79089,9 @@ var package_default = {
|
|
|
79089
79089
|
"create-rwsdk": "3.1.2",
|
|
79090
79090
|
"create-react-router": "7.11.0",
|
|
79091
79091
|
"create-solid": "0.6.11",
|
|
79092
|
-
"create-vike": "0.0.
|
|
79093
|
-
"create-vue": "3.18.
|
|
79094
|
-
"create-waku": "0.12.5-0.
|
|
79092
|
+
"create-vike": "0.0.558",
|
|
79093
|
+
"create-vue": "3.18.5",
|
|
79094
|
+
"create-waku": "0.12.5-1.0.0-alpha.1-0",
|
|
79095
79095
|
"@tanstack/create-start": "0.40.0",
|
|
79096
79096
|
gatsby: "5.15.0",
|
|
79097
79097
|
sv: "0.11.2",
|
|
@@ -86422,6 +86422,31 @@ function validateContainerApp(envName, topLevelName, configPath) {
|
|
|
86422
86422
|
}
|
|
86423
86423
|
}
|
|
86424
86424
|
}
|
|
86425
|
+
if (validateOptionalProperty(
|
|
86426
|
+
diagnostics,
|
|
86427
|
+
field,
|
|
86428
|
+
"constraints",
|
|
86429
|
+
containerAppOptional.constraints,
|
|
86430
|
+
"object"
|
|
86431
|
+
) && containerAppOptional.constraints) {
|
|
86432
|
+
const constraints = containerAppOptional.constraints;
|
|
86433
|
+
if ("tier" in constraints) {
|
|
86434
|
+
diagnostics.warnings.push(
|
|
86435
|
+
`"constraints.tier" has been deprecated in favor of "constraints.tiers". Please update your configuration to use "constraints.tiers" instead.`
|
|
86436
|
+
);
|
|
86437
|
+
if ("tiers" in constraints) {
|
|
86438
|
+
diagnostics.errors.push(
|
|
86439
|
+
`${field}.constraints.tier and ${field}.constraints.tiers cannot both be set`
|
|
86440
|
+
);
|
|
86441
|
+
}
|
|
86442
|
+
}
|
|
86443
|
+
validateOptionalTypedArray(
|
|
86444
|
+
diagnostics,
|
|
86445
|
+
`${field}.constraints.tiers`,
|
|
86446
|
+
constraints.tiers,
|
|
86447
|
+
"number"
|
|
86448
|
+
);
|
|
86449
|
+
}
|
|
86425
86450
|
if (typeof containerAppOptional.instance_type === "string") {
|
|
86426
86451
|
validateOptionalProperty(
|
|
86427
86452
|
diagnostics,
|
|
@@ -90012,7 +90037,12 @@ var config42 = {
|
|
|
90012
90037
|
generate: generate26,
|
|
90013
90038
|
devScript: "dev",
|
|
90014
90039
|
deployScript: "deploy",
|
|
90015
|
-
previewScript: "preview"
|
|
90040
|
+
previewScript: "preview",
|
|
90041
|
+
transformPackageJson: async () => ({
|
|
90042
|
+
scripts: {
|
|
90043
|
+
"cf-typegen": `wrangler types`
|
|
90044
|
+
}
|
|
90045
|
+
})
|
|
90016
90046
|
};
|
|
90017
90047
|
var c3_default45 = config42;
|
|
90018
90048
|
|
|
@@ -90210,7 +90240,7 @@ var experimental_c3_default3 = config48;
|
|
|
90210
90240
|
var import_node_assert6 = __toESM(require("node:assert"));
|
|
90211
90241
|
|
|
90212
90242
|
// ../wrangler/package.json
|
|
90213
|
-
var version2 = "4.
|
|
90243
|
+
var version2 = "4.59.0";
|
|
90214
90244
|
|
|
90215
90245
|
// src/git.ts
|
|
90216
90246
|
var offerGit = async (ctx) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-cloudflare",
|
|
3
|
-
"version": "2.62.
|
|
3
|
+
"version": "2.62.2",
|
|
4
4
|
"description": "A CLI for creating and deploying new applications to Cloudflare.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cloudflare",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"@babel/parser": "^7.21.3",
|
|
31
31
|
"@babel/types": "^7.21.4",
|
|
32
32
|
"@clack/prompts": "^0.6.3",
|
|
33
|
-
"@cloudflare/workers-types": "^4.
|
|
33
|
+
"@cloudflare/workers-types": "^4.20260111.0",
|
|
34
34
|
"@types/command-exists": "^1.2.0",
|
|
35
35
|
"@types/cross-spawn": "^6.0.2",
|
|
36
36
|
"@types/deepmerge": "^2.2.0",
|
|
@@ -74,13 +74,13 @@
|
|
|
74
74
|
"wrap-ansi": "^9.0.0",
|
|
75
75
|
"xdg-app-paths": "^8.3.0",
|
|
76
76
|
"yargs": "^17.7.2",
|
|
77
|
-
"@cloudflare/workers-utils": "0.
|
|
77
|
+
"@cloudflare/workers-utils": "0.7.0",
|
|
78
78
|
"@cloudflare/cli": "1.2.0",
|
|
79
|
-
"@cloudflare/mock-npm-registry": "0.0.0",
|
|
80
79
|
"@cloudflare/eslint-config-shared": "1.1.0",
|
|
81
|
-
"@cloudflare/
|
|
82
|
-
"
|
|
83
|
-
"@cloudflare/workers-tsconfig": "0.0.0"
|
|
80
|
+
"@cloudflare/mock-npm-registry": "0.0.0",
|
|
81
|
+
"@cloudflare/vite-plugin": "1.20.2",
|
|
82
|
+
"@cloudflare/workers-tsconfig": "0.0.0",
|
|
83
|
+
"wrangler": "4.59.0"
|
|
84
84
|
},
|
|
85
85
|
"engines": {
|
|
86
86
|
"node": ">=18.14.1"
|
package/templates/vike/c3.ts
CHANGED