Skip to content

App template generates MIT License file without prompt #1079

@kjdelisle

Description

@kjdelisle

Overview

Generating a new application with the lb4 app command generates a LICENSE file, whose contents are the MIT license template. This happens without user interaction!

Problems

  • Users can't select a different license
  • Users who don't pay attention may end up releasing code to others under a license they never intended (not something we should make possible, however unlikely)
  • Users can't opt-out of selecting a license of any kind

@strongloop/loopback-devs What are your thoughts on this?

Acceptance Criteria

As a result:

  • In package.json, have a license property set to empty string ("").
    • This ensures npm install will give a warning to users about the project not having a license.
  • Not generating LICENSE file at all

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions