Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

importing a component into the authored env adds unneeded overrides to package.json #2255

Closed
odedre opened this issue Jan 23, 2020 · 0 comments · Fixed by #2257
Closed

importing a component into the authored env adds unneeded overrides to package.json #2255

odedre opened this issue Jan 23, 2020 · 0 comments · Fixed by #2257
Assignees
Labels

Comments

@odedre
Copy link
Member

odedre commented Jan 23, 2020

Describe the bug

I have a component that I exported from my project. When I import it, there is an overrides object that appears in my package.json.

 "overrides": {
      "bit.web/routes/home": {
        "env": {
          "compiler": "bit.web/compilers/react-flow@0.0.5"
        }
      }
    }

everything in this component is the same as in my project (including the compiler version).

Steps to Reproduce

  1. create a component
  2. export to bit
  3. import the component back into the project

Expected Behavior

bit shouldn't add the overrides object to my package.json

Specifications

Bit version: 14.7.2
Node version: v10.15.3
npm / yarn version: 1.13.0
Platform: macOs
Bit compiler (include version): bit.web/compilers/react-flow@0.0.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants