Unverified Commit b8161d9e authored by Karl Horky's avatar Karl Horky Committed by GitHub

[cna] Avoid error with out-of-box Netlify config (#88546)

parent c15f0249
...@@ -321,9 +321,9 @@ export const installTemplate = async ({ ...@@ -321,9 +321,9 @@ export const installTemplate = async ({
if (packageManager === "pnpm") { if (packageManager === "pnpm") {
const pnpmWorkspaceYaml = [ const pnpmWorkspaceYaml = [
// required for v9, v10 doesn't need it anymore // required for v9 to avoid "packages field missing or empty", v10 doesn't need it anymore
"packages:", // TODO: remove when v9 no longer supported
" - .", "packages: []",
// v10 setting without counterpart in v9 // v10 setting without counterpart in v9
"ignoredBuiltDependencies:", "ignoredBuiltDependencies:",
// Sharp has prebuilt binaries for the platforms next-swc has binaries. // Sharp has prebuilt binaries for the platforms next-swc has binaries.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment