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

Feature: fnc new should let user select package manager #4

Open
seppwc opened this issue Jul 15, 2020 · 0 comments
Open

Feature: fnc new should let user select package manager #4

seppwc opened this issue Jul 15, 2020 · 0 comments
Assignees

Comments

@seppwc
Copy link
Owner

seppwc commented Jul 15, 2020

from: #3

fnc new should ask whether user wishes to use yarn or npm and change project files accordingly

  1. give user either/or option of NPM or Yarn
  2. when selection is given, package.json scripts need to changes to the correct version (eg. "npm run start" or "yarn start")

Test:

fnc new [directory]
// project should ask "Initialise with which package manger?"
// options: "npm", "yarn"
cd [directory]
npm/yarn install //should install dependancies
npm run / yarn start //should start development server
// check package.json, scripts should use correct package manager


@seppwc seppwc self-assigned this Jul 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant