installing a particular version of a package with yarn code example
Example 1: yarn add specific version
// for specific versions
yarn add [email protected]
Example 2: yarn add --save-exact
yarn add <package...> [--exact/-E]
// for specific versions
yarn add [email protected]
yarn add <package...> [--exact/-E]