Skip to content

The project setup replaces incorrect values in composer.json #2

@MeMattStone

Description

@MeMattStone

Describe the bug
When running the project:core sub-command the composer.json file gets created with the Project Title in the name attribute after the vendor when it should be the Project Slug.

To Reproduce
Steps to reproduce the behavior:

  1. Run nucleus project:core or nucleus project:setup
  2. When you reach the Project Core setup the composer.json gets created with the incorrect name
  3. The next composer command to be run will error

Expected behaviour
After the Project Core setup is complete a composer file with the correct vendor-name/project-slug should be in the name attribute in composer.json and composer commands should run without error

Environment

  • OS: macOS
  • Terminal/Shell: iTerm2 with Starship

Nucleus CLI version:
1.0.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions