Skip to content
This repository was archived by the owner on May 27, 2021. It is now read-only.
This repository was archived by the owner on May 27, 2021. It is now read-only.

contextualize CEA installer when using --yarn flag #79

@thescientist13

Description

@thescientist13

Type of Change

  • New Feature Request
  • Documentation
  • Improvement / Suggestion
  • Bug
  • Other (please clarify below)

Summary

When running

$ npx create-evergreen-app my-app --yarn

The user will see this

Installing project dependencies...
yarn install v1.12.3
warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.

And also

 npx create-evergeen-app my-app --yarn
.
.
.
And then launch your project with: npm start
-------------------------------------------------------

Details

If the --yarn flag is passed, we should delete package-lock.json before running install and make sure the instructional text references Yarn instead of npm.

related to #23

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions