Skip to content

Scripts that start with "start"are not properly migrated #239

@adrianwix

Description

@adrianwix
  • nps version: ^5.10.0
  • node version: 18.12.1
  • npm version: 8.19.2

Scripts file (or at least the relevant bits):

{
  "start-engine": "docker compose up",
   "start-console": "hasura console  --skip-update-check",
}

The command executed:

nps init

The output:

default: 'hasura console  --skip-update-check',

Problem description:
I had 2 commands with the "start-"prefix and one of those was completely removed and the other was matched to default script

Suggested solution:
I would expect that instead it created the following commands

startEngine: "docker compose up",
startConsole": "hasura console  --skip-update-check",

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions