devon4ts
devon4ts copied to clipboard
Installing schematics fails with package managers other than yarn
Expected behavior
As a developer using npm I want to be able to install schematics.
Actual behavior
When trying to use the convict schematic, package installation fails when npm is configured as package manager.
Steps to reproduce (bug) / Use Case of feature request (enhancement)
- Create a new nest.js project
- Select npm as the package manager
- install
@devon4node/schematics - run
nest g -c @devon4node/schematics convict
Related/Dependent Issues
Comments/Hints:
yarn is hard-coded in tree-utils in line 90
Affected version:
@devon4node/schematics: 5.0.1 @nestjs/cli: 9.0.0 node: 18.16.12