title: Yarn workspaces detects package but yarn workspace does not
body: <p><code>yarn workspaces info</code> lists 2 packages say <code>react-simple-boilerplate</code> and <code>website</code> but <code>yarn workspace react-simple-boilerplate build</code> says <code>unknown workspace &quot;react-simple-boilerplate&quot;</code>.</p>
  <p>yarn version 1.22.4<br />
  node versions 14.4.0</p>
  <p>Root package.json</p>
  <pre><code>{
    &quot;private&quot;: true,
    &quot;workspaces&quot;: [
      &quot;react-simple-boilerplate&quot;,
      &quot;website&quot;
    ],
    &quot;scripts&quot;: {
      &quot;lint&quot;: &quot;yarn workspace react-simple-boilerplate lint&quot;,
      &quot;build&quot;: &quot;concurrently 'yarn workspace react-simple-boilerplate build' 'yarn workspace website build'&quot;,
      &quot;dev:boilerplate&quot;: &quot;yarn workspace react-simple-boilerplate dev&quot;,
      &quot;dev:website&quot;: &quot;yarn workspace website dev&quot;
    },
    &quot;devDependencies&quot;: {
      &quot;concurrently&quot;: &quot;^5.2.0&quot;
    }
  }
  </code></pre>
  <p>react-simple-boilerplate package.json file</p>
  <pre><code>{
    &quot;name&quot;: &quot;react-simple-boilerplate&quot;,
    &quot;version&quot;: &quot;1.0.0&quot;,
    &quot;description&quot;: &quot;Simple react boilerplate with support for travis ci, webpack, sass etc.&quot;,
    &quot;main&quot;: &quot;index.js&quot;,
    &quot;scripts&quot;: {
      &quot;build&quot;: &quot;npm run build:css &amp;&amp; webpack ---config ./config/webpack.prod.config.js&quot;,
      &quot;dev&quot;: &quot;npm run watch:css &amp;&amp; webpack-dev-server --config ./config/webpack.dev.config.js --open&quot;,
      &quot;lint&quot;: &quot;./node_modules/.bin/eslint --ext .js,.jsx src/&quot;,
      &quot;lint:fix&quot;: &quot;./node_modules/.bin/eslint --ext .js,.jsx src/ --fix&quot;,
      &quot;build:css&quot;: &quot;postcss src/assets/css/styles.css -o src/assets/css/main.css&quot;,
      &quot;watch:css&quot;: &quot;postcss src/assets/css/styles.css -o src/assets/css/main.css&quot;,
      &quot;test&quot;: &quot;cross-env jest --collect-coverage --env=jsdom&quot;,
      &quot;test:watch&quot;: &quot;jest --watch&quot;
    },
    &quot;husky&quot;: {
      &quot;hooks&quot;: {
        &quot;pre-commit&quot;: &quot;lint-staged&quot;
      }
    },
    &quot;lint-staged&quot;: {
      &quot;*.{js,jsx}&quot;: &quot;./node_modules/.bin/eslint --ext .js,.jsx src/ &amp;&amp; cross-env jest --collect-coverage --env=jsdom&quot;
    },
    &quot;keywords&quot;: [
      &quot;react&quot;,
      &quot;boilerplate&quot;,
      &quot;webpack&quot;,
      &quot;webpack hmr&quot;,
      &quot;travis&quot;,
      &quot;react-simple-boilerplate&quot;,
      &quot;react-boilerplate&quot;
    ],
    &quot;author&quot;: &quot;Uday Bhaskhar&quot;,
    &quot;license&quot;: &quot;MIT&quot;,
    &quot;dependencies&quot;: {
      &quot;@babel/core&quot;: &quot;^7.9.0&quot;,
      &quot;@babel/preset-env&quot;: &quot;^7.9.0&quot;,
      &quot;@babel/preset-react&quot;: &quot;^7.9.4&quot;,
      &quot;autoprefixer&quot;: &quot;^9.7.6&quot;,
      &quot;babel-loader&quot;: &quot;^8.1.0&quot;,
      &quot;postcss-cli&quot;: &quot;^7.1.0&quot;,
      &quot;prop-types&quot;: &quot;^15.7.2&quot;,
      &quot;react&quot;: &quot;^16.13.1&quot;,
      &quot;react-dom&quot;: &quot;^16.13.1&quot;,
      &quot;tailwindcss&quot;: &quot;^1.3.4&quot;,
      &quot;webpack&quot;: &quot;^4.42.1&quot;,
      &quot;webpack-cli&quot;: &quot;^3.3.11&quot;
    },
    &quot;devDependencies&quot;: {
      &quot;@testing-library/jest-dom&quot;: &quot;^5.5.0&quot;,
      &quot;@testing-library/react&quot;: &quot;^10.0.2&quot;,
      &quot;clean-webpack-plugin&quot;: &quot;^3.0.0&quot;,
      &quot;cross-env&quot;: &quot;^7.0.2&quot;,
      &quot;css-loader&quot;: &quot;^3.5.2&quot;,
      &quot;eslint&quot;: &quot;^6.8.0&quot;,
      &quot;eslint-config-airbnb&quot;: &quot;^18.1.0&quot;,
      &quot;eslint-plugin-import&quot;: &quot;^2.20.2&quot;,
      &quot;eslint-plugin-jsx-a11y&quot;: &quot;^6.2.3&quot;,
      &quot;eslint-plugin-react&quot;: &quot;^7.19.0&quot;,
      &quot;eslint-plugin-react-hooks&quot;: &quot;^2.5.1&quot;,
      &quot;file-loader&quot;: &quot;^6.0.0&quot;,
      &quot;html-webpack-plugin&quot;: &quot;^4.0.4&quot;,
      &quot;husky&quot;: &quot;^4.2.5&quot;,
      &quot;identity-obj-proxy&quot;: &quot;^3.0.0&quot;,
      &quot;jest&quot;: &quot;^25.3.0&quot;,
      &quot;lint-staged&quot;: &quot;^10.2.10&quot;,
      &quot;mini-css-extract-plugin&quot;: &quot;^0.9.0&quot;,
      &quot;node-sass&quot;: &quot;^4.13.1&quot;,
      &quot;postcss-loader&quot;: &quot;^3.0.0&quot;,
      &quot;sass-loader&quot;: &quot;^8.0.2&quot;,
      &quot;style-loader&quot;: &quot;^1.1.3&quot;,
      &quot;webpack-bundle-analyzer&quot;: &quot;^3.6.1&quot;,
      &quot;webpack-dev-server&quot;: &quot;^3.10.3&quot;
    }
  }
  </code></pre>
  <p>website package.json</p>
  <pre><code>{
    &quot;name&quot;: &quot;website&quot;,
    &quot;version&quot;: &quot;0.1.0&quot;,
    &quot;private&quot;: true,
    &quot;scripts&quot;: {
      &quot;dev&quot;: &quot;next dev&quot;,
      &quot;build&quot;: &quot;next build&quot;,
      &quot;start&quot;: &quot;next start&quot;
    },
    &quot;dependencies&quot;: {
      &quot;@fortawesome/fontawesome-svg-core&quot;: &quot;^1.2.29&quot;,
      &quot;@fortawesome/free-solid-svg-icons&quot;: &quot;^5.13.1&quot;,
      &quot;@fortawesome/react-fontawesome&quot;: &quot;^0.1.11&quot;,
      &quot;bootstrap&quot;: &quot;^4.5.0&quot;,
      &quot;gray-matter&quot;: &quot;^4.0.2&quot;,
      &quot;next&quot;: &quot;9.4.4&quot;,
      &quot;react&quot;: &quot;16.13.1&quot;,
      &quot;react-bootstrap&quot;: &quot;^1.0.1&quot;,
      &quot;react-dom&quot;: &quot;16.13.1&quot;,
      &quot;remark&quot;: &quot;^12.0.0&quot;,
      &quot;remark-html&quot;: &quot;^11.0.2&quot;
    }
  }
  </code></pre>