sakuraapi / cli

Command Line Interface for Scaffolding and Managing SakuraAPI Projects
BSD 3-Clause "New" or "Revised" License
4 stars 1 forks source link

Re-running sapi init on an existing project with jwt type none adds email dependencies #21

Open etsuo opened 6 years ago

etsuo commented 6 years ago

If you run sapi init over an existing project, it should let you diff changes. If that project was setup with jwt type none, on the second sapi init, it inserts:

    "email-templates": "^3.2.0",
    "nodemailer": "^4.0.1",
    "@types/email-templates": "^3.1.0",

into package.json. It should not unless the user changed the jwt target to auth-authority.