create-cloudflare 2.22.0 → 2.22.1
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 +8 -7
- package/package.json +3 -3
- package/templates/angular/c3.ts +1 -0
- package/templates/next/README.md +1 -1
- package/templates/next/c3.ts +1 -1
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.
|
|
2873
|
+
version = "2.22.1";
|
|
2874
2874
|
}
|
|
2875
2875
|
});
|
|
2876
2876
|
|
|
@@ -23684,15 +23684,15 @@ var init_package2 = __esm({
|
|
|
23684
23684
|
dependencies: {
|
|
23685
23685
|
"create-astro": "4.8.0",
|
|
23686
23686
|
"create-analog": "1.3.1",
|
|
23687
|
-
"@angular/create": "18.
|
|
23687
|
+
"@angular/create": "18.1.1",
|
|
23688
23688
|
"create-docusaurus": "3.4.0",
|
|
23689
|
-
"create-hono": "0.
|
|
23689
|
+
"create-hono": "0.10.0",
|
|
23690
23690
|
"create-next-app": "14.1.0",
|
|
23691
23691
|
"create-qwik": "1.5.7",
|
|
23692
23692
|
"create-react-app": "5.0.1",
|
|
23693
|
-
"create-remix": "2.
|
|
23693
|
+
"create-remix": "2.10.3",
|
|
23694
23694
|
"create-solid": "0.5.11",
|
|
23695
|
-
"create-svelte": "6.3.
|
|
23695
|
+
"create-svelte": "6.3.3",
|
|
23696
23696
|
"create-vue": "3.10.4",
|
|
23697
23697
|
gatsby: "5.13.6",
|
|
23698
23698
|
nuxi: "3.12.0"
|
|
@@ -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.
|
|
23774
|
+
version2 = "3.65.1";
|
|
23775
23775
|
}
|
|
23776
23776
|
});
|
|
23777
23777
|
|
|
@@ -70009,6 +70009,7 @@ async function updateAppCode() {
|
|
|
70009
70009
|
const packageManifest = readJSON(packageJsonPath);
|
|
70010
70010
|
delete packageManifest["dependencies"]["@angular/ssr"];
|
|
70011
70011
|
delete packageManifest["dependencies"]["express"];
|
|
70012
|
+
delete packageManifest["devDependencies"]["@types/express"];
|
|
70012
70013
|
writeFile2(packageJsonPath, JSON.stringify(packageManifest, null, 2));
|
|
70013
70014
|
s.stop(`${brandColor(`updated`)} ${dim(`\`package.json\``)}`);
|
|
70014
70015
|
}
|
|
@@ -70372,7 +70373,7 @@ ${$1}`
|
|
|
70372
70373
|
|
|
70373
70374
|
// Here we use the @cloudflare/next-on-pages next-dev module to allow us to use bindings during local development
|
|
70374
70375
|
// (when running the application with \`next dev\`), for more information see:
|
|
70375
|
-
// https://github.com/cloudflare/next-on-pages/blob/
|
|
70376
|
+
// https://github.com/cloudflare/next-on-pages/blob/main/internal-packages/next-dev/README.md
|
|
70376
70377
|
if (process.env.NODE_ENV === 'development') {
|
|
70377
70378
|
await setupDevPlatform();
|
|
70378
70379
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-cloudflare",
|
|
3
|
-
"version": "2.22.
|
|
3
|
+
"version": "2.22.1",
|
|
4
4
|
"description": "A CLI for creating and deploying new applications to Cloudflare.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cloudflare",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"@babel/parser": "^7.21.3",
|
|
30
30
|
"@babel/types": "^7.21.4",
|
|
31
31
|
"@clack/prompts": "^0.6.3",
|
|
32
|
-
"@cloudflare/workers-types": "^4.
|
|
32
|
+
"@cloudflare/workers-types": "^4.20240718.0",
|
|
33
33
|
"@iarna/toml": "^3.0.0",
|
|
34
34
|
"@types/command-exists": "^1.2.0",
|
|
35
35
|
"@types/cross-spawn": "^6.0.2",
|
|
@@ -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.
|
|
70
|
+
"wrangler": "3.65.1"
|
|
71
71
|
},
|
|
72
72
|
"engines": {
|
|
73
73
|
"node": ">=18.14.1"
|
package/templates/angular/c3.ts
CHANGED
|
@@ -57,6 +57,7 @@ async function updateAppCode() {
|
|
|
57
57
|
|
|
58
58
|
delete packageManifest["dependencies"]["@angular/ssr"];
|
|
59
59
|
delete packageManifest["dependencies"]["express"];
|
|
60
|
+
delete packageManifest["devDependencies"]["@types/express"];
|
|
60
61
|
|
|
61
62
|
writeFile(packageJsonPath, JSON.stringify(packageManifest, null, 2));
|
|
62
63
|
s.stop(`${brandColor(`updated`)} ${dim(`\`package.json\``)}`);
|
package/templates/next/README.md
CHANGED
|
@@ -23,7 +23,7 @@ Besides the `dev` script mentioned above `c3` has added a few extra scripts that
|
|
|
23
23
|
- `preview` to locally preview your Pages application using the [Wrangler](https://developers.cloudflare.com/workers/wrangler/) CLI
|
|
24
24
|
- `deploy` to deploy your Pages application using the [Wrangler](https://developers.cloudflare.com/workers/wrangler/) CLI
|
|
25
25
|
|
|
26
|
-
> __Note:__ while the `dev` script is optimal for local development you should preview your Pages application as well (periodically or before deployments) in order to make sure that it can properly work in the Pages environment (for more details see the [`@cloudflare/next-on-pages` recommended workflow](https://github.com/cloudflare/next-on-pages/blob/
|
|
26
|
+
> __Note:__ while the `dev` script is optimal for local development you should preview your Pages application as well (periodically or before deployments) in order to make sure that it can properly work in the Pages environment (for more details see the [`@cloudflare/next-on-pages` recommended workflow](https://github.com/cloudflare/next-on-pages/blob/main/internal-packages/next-dev/README.md#recommended-development-workflow))
|
|
27
27
|
|
|
28
28
|
### Bindings
|
|
29
29
|
|
package/templates/next/c3.ts
CHANGED
|
@@ -63,7 +63,7 @@ const updateNextConfig = () => {
|
|
|
63
63
|
|
|
64
64
|
// Here we use the @cloudflare/next-on-pages next-dev module to allow us to use bindings during local development
|
|
65
65
|
// (when running the application with \`next dev\`), for more information see:
|
|
66
|
-
// https://github.com/cloudflare/next-on-pages/blob/
|
|
66
|
+
// https://github.com/cloudflare/next-on-pages/blob/main/internal-packages/next-dev/README.md
|
|
67
67
|
if (process.env.NODE_ENV === 'development') {
|
|
68
68
|
await setupDevPlatform();
|
|
69
69
|
}
|