create-cloudflare 0.0.0-a9349a89 → 0.0.0-d629c223
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 +6 -3
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -57008,7 +57008,7 @@ var Yargs = YargsFactory(esm_default);
|
|
|
57008
57008
|
var yargs_default = Yargs;
|
|
57009
57009
|
|
|
57010
57010
|
// package.json
|
|
57011
|
-
var version = "0.0.0-
|
|
57011
|
+
var version = "0.0.0-d629c223";
|
|
57012
57012
|
|
|
57013
57013
|
// src/common.ts
|
|
57014
57014
|
var import_fs6 = require("fs");
|
|
@@ -57629,7 +57629,10 @@ async function updateAppCode() {
|
|
|
57629
57629
|
s.start(`Updating application code`);
|
|
57630
57630
|
const appConfigPath = "src/app/app.config.ts";
|
|
57631
57631
|
const appConfig = readFile((0, import_node_path.resolve)(appConfigPath));
|
|
57632
|
-
const newAppConfig = "import { provideClientHydration } from '@angular/platform-browser';\n" + appConfig.replace(
|
|
57632
|
+
const newAppConfig = "import { provideClientHydration } from '@angular/platform-browser';\nimport { provideHttpClient, withFetch } from '@angular/common/http';\n" + appConfig.replace(
|
|
57633
|
+
"providers: [",
|
|
57634
|
+
"providers: [provideHttpClient(withFetch()), provideClientHydration(), "
|
|
57635
|
+
);
|
|
57633
57636
|
writeFile2((0, import_node_path.resolve)(appConfigPath), newAppConfig);
|
|
57634
57637
|
await (0, import_promises2.rm)((0, import_node_path.resolve)("server.ts"));
|
|
57635
57638
|
s.stop(`${brandColor(`updated`)} ${dim(appConfigPath)}`);
|
|
@@ -58131,7 +58134,7 @@ var svelte_default = config12;
|
|
|
58131
58134
|
|
|
58132
58135
|
// src/frameworks/versionMap.json
|
|
58133
58136
|
var versionMap_default = {
|
|
58134
|
-
angular: "16.
|
|
58137
|
+
angular: "16.1.x",
|
|
58135
58138
|
astro: "3.1.5",
|
|
58136
58139
|
docusaurus: "2.4.1",
|
|
58137
58140
|
gatsby: "5.10.0",
|