diff --git a/.yarnrc.yml b/.yarnrc.yml index aa95accce5..ea042794d0 100644 --- a/.yarnrc.yml +++ b/.yarnrc.yml @@ -1,5 +1,4 @@ nmHoistingLimits: workspaces - nodeLinker: node-modules - yarnPath: .yarn/releases/yarn-3.2.4.cjs +defaultSemverRangePrefix: '' \ No newline at end of file diff --git a/scripts/format.ts b/scripts/format.ts index 42d1e43d05..f867cc748a 100644 --- a/scripts/format.ts +++ b/scripts/format.ts @@ -65,6 +65,9 @@ fs.writeFileSync( formatJSON(tsconfig, true) ); +const yarnrc = path.join(ROOT_PATH, '.yarnrc.yml'); +fs.writeFileSync(yarnrc, format(fs.readFileSync(yarnrc).toString(), 'yaml')); + let currentFile = ''; try { let fileCounterJSON = 0;