We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ae9323 commit c4443b7Copy full SHA for c4443b7
packages/create-cloudflare/src/helpers/packages.ts
@@ -69,7 +69,8 @@ export const installPackages = async (
69
);
70
71
if (npm === "npm") {
72
- // Npm install will update the package.json with a hat-range rather than the exact version/range we asked for.
+ // Npm install will update the package.json with a caret-range rather than the exact version/range we asked for.
73
+ // We can't use `npm install --save-exact` because that always pins to an exact version, and we want to allow ranges too.
74
// So let's just fix that up now by rewriting the package.json.
75
const pkgJsonPath = path.join(process.cwd(), "package.json");
76
const pkgJson = readJSON(pkgJsonPath) as PackageJson;
0 commit comments