nps icon indicating copy to clipboard operation
nps copied to clipboard

Scripts that start with "start"are not properly migrated

Open adrianwix opened this issue 2 years ago • 0 comments

  • 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",

adrianwix avatar Feb 06 '23 18:02 adrianwix