diff --git a/.yarn/versions/3bcde5b8.yml b/.yarn/versions/3bcde5b8.yml new file mode 100644 index 000000000000..b9ef967a4a38 --- /dev/null +++ b/.yarn/versions/3bcde5b8.yml @@ -0,0 +1,23 @@ +releases: + "@yarnpkg/cli": patch + "@yarnpkg/plugin-essentials": patch + +declined: + - "@yarnpkg/plugin-compat" + - "@yarnpkg/plugin-constraints" + - "@yarnpkg/plugin-dlx" + - "@yarnpkg/plugin-init" + - "@yarnpkg/plugin-interactive-tools" + - "@yarnpkg/plugin-nm" + - "@yarnpkg/plugin-npm-cli" + - "@yarnpkg/plugin-pack" + - "@yarnpkg/plugin-patch" + - "@yarnpkg/plugin-pnp" + - "@yarnpkg/plugin-pnpm" + - "@yarnpkg/plugin-stage" + - "@yarnpkg/plugin-typescript" + - "@yarnpkg/plugin-version" + - "@yarnpkg/plugin-workspace-tools" + - "@yarnpkg/builder" + - "@yarnpkg/core" + - "@yarnpkg/doctor" diff --git a/packages/plugin-essentials/sources/commands/set/resolution.ts b/packages/plugin-essentials/sources/commands/set/resolution.ts index cc9e11f4ad31..c8e006af2c4a 100644 --- a/packages/plugin-essentials/sources/commands/set/resolution.ts +++ b/packages/plugin-essentials/sources/commands/set/resolution.ts @@ -14,7 +14,7 @@ export default class SetResolutionCommand extends BaseCommand { details: ` This command updates the resolution table so that \`descriptor\` is resolved by \`resolution\`. - Note that by default this command only affect the current resolution table - meaning that this "manual override" will disappear if you remove the lockfile, or if the package disappear from the table. If you wish to make the enforced resolution persist whatever happens, add the \`-s,--save\` flag which will also edit the \`resolutions\` field from your top-level manifest. + Note that by default this command only affect the current resolution table - meaning that this "manual override" will disappear if you remove the lockfile, or if the package disappear from the table. If you wish to make the enforced resolution persist whatever happens, edit the \`resolutions\` field in your top-level manifest. Note that no attempt is made at validating that \`resolution\` is a valid resolution entry for \`descriptor\`. `, @@ -24,10 +24,6 @@ export default class SetResolutionCommand extends BaseCommand { ]], }); - save = Option.Boolean(`-s,--save`, false, { - description: `Persist the resolution inside the top-level manifest`, - }); - descriptor = Option.String(); resolution = Option.String();