Skip to content

Create-react-app overrides dependencies in my custom react-scripts template #2462

Closed
@just-boris

Description

@just-boris

I am maintaining fork with a custom react-scripts package, which is based on Preact.
After the change, #1253 has been released the create-react-app command always installs the fixed set of packages do not use package.json from template folder anymore.

Sorry that I did not report it before because usually the update for global command create-react-app is not required and I had stuck at some old version. Recently I have got a report from users, just-boris#17 about that problem.
As a workaround, I have recommended installing preact manually, but it doesn't seem like a good solution.

Can I ask to change the behavior and pick up dependencies from project template folder instead of the hard-coded list with react and react-dom?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions