• Dan Abramov's avatar
    Fix ejecting from a scoped fork (#1727) · 23dc4226
    Dan Abramov authored
    * Read script names from own bin instead of guessing
    
    This fixes ejecting from a fork that uses a different bin script name.
    
    * Fix ejecting for a scoped react-scripts fork
    
    We shouldn't hardcode react-scripts because fork name might differ.
    We also shouldn't rely on it being an immediate child because scoped packages are a level deeper.
    
    * Clarify that own* properties only exist before ejecting
    23dc4226