Skip to content
This repository was archived by the owner on Jan 26, 2019. It is now read-only.
This repository was archived by the owner on Jan 26, 2019. It is now read-only.

Ejecting hardcodes your absolute project path in package.json. #379

@macbem

Description

@macbem

In order to reproduce, eject and open package.json :)

Look for the jest.globals['ts-jest'].tsConfigFile key - it should be a relative path, like ./tsconfig.test.json. Instead, it puts an absolute path there, like /Users/user/coding/test-proj/tsconfig.test.json.

This is fine for small projects that you won't share with anyone, but as soon as other people have to work on that project or you want to set up a CI/CD process that runs your tests, you'll get errors related to that path not existing on other people's machines.

So, IMO this is pretty short-sighted. What do you think about it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy