sezna / nps

NPM Package Scripts -- All the benefits of npm scripts without the cost of a bloated package.json and limits of json
MIT License
1.43k stars 93 forks source link

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

Open adrianwix opened 1 year ago

adrianwix commented 1 year ago

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