[ ] Regression
[ ] Bug report
[x] Feature request
[ ] Documentation issue or request
[ ] Support request => Please do not submit support request here, instead post your question on Stack Overflow.
Current behavior
I installed dependencies with --ignore-optional for CI Builds
yarn --no-cache --ignore-optional --frozen-lockfile
When try to build got following errors.
ERROR in /Developer/Work/SPA/ngx-starter-kit/node_modules/@nestjs/terminus/dist/health-indicators/database/database-health-indicator.d.ts
ERROR in /Developer/Work/SPA/ngx-starter-kit/node_modules/@nestjs/terminus/dist/health-indicators/database/database-health-indicator.d.ts(1,50):
TS2307: Cannot find module 'mongoose'.
ERROR in /Developer/Work/SPA/ngx-starter-kit/node_modules/@nestjs/terminus/dist/health-indicators/database/mongoose.health.d.ts
ERROR in /Developer/Work/SPA/ngx-starter-kit/node_modules/@nestjs/terminus/dist/health-indicators/database/mongoose.health.d.ts(1,28):
TS2307: Cannot find module 'mongoose'.
ERROR in /Developer/Work/SPA/ngx-starter-kit/node_modules/@nestjs/terminus/dist/health-indicators/databse-ping-check-settings.interface.d.ts
ERROR in /Developer/Work/SPA/ngx-starter-kit/node_modules/@nestjs/terminus/dist/health-indicators/databse-ping-check-settings.interface.d.ts(4,50):
TS2307: Cannot find module 'mongoose'.
ERROR in /Developer/Work/SPA/ngx-starter-kit/node_modules/@nestjs/terminus/dist/health-indicators/microservice/microservice.health.d.ts
ERROR in /Developer/Work/SPA/ngx-starter-kit/node_modules/@nestjs/terminus/dist/health-indicators/microservice/microservice.health.d.ts(3,31):
TS2307: Cannot find module '@nestjs/microservices'.
Expected behavior
since I don't have explicit dependency on mongoose and @nestjs/microservices, I shouldn't be forced to install those dependencies
don't have similar issues with other nestjs modules
Minimal reproduction of the problem with instructions
I'm submitting a...
Current behavior
I installed dependencies with
--ignore-optional
for CI Buildsyarn --no-cache --ignore-optional --frozen-lockfile
When try to build got following errors.
Expected behavior
since I don't have explicit dependency on
mongoose
and@nestjs/microservices
, I shouldn't be forced to install those dependencies don't have similar issues with other nestjs modulesMinimal reproduction of the problem with instructions
https://github.com/xmlking/ngx-starter-kit
What is the motivation / use case for changing the behavior?
i am trying to speedup
npm install
process for CI docker builds by using--ignore-optional
flagEnvironment