caz icon indicating copy to clipboard operation
caz copied to clipboard

Bug: running caz removes local `node_modules/.bin/caz` entry

Open Nokel81 opened this issue 7 months ago • 5 comments

Prerequisites:

  1. Have caz as a top level devDependency in my workspaces based monorepo
  2. Have a local template that I want to use
  3. run npm exec -- caz .templates/my-template packages/my-new-package
  4. See the weird and slow "Installing template dependencies..." text
  5. Get the first prompt
  6. Cancel
  7. Try step 3 again, failure

Expected behaviour:

  1. It shouldn't install anything
  2. It shouldn't remove any existing dependencies

Nokel81 avatar Nov 09 '23 19:11 Nokel81