Azure / Azure/azure-cli-extensions

[botservice] Prod. environment is polluted with dev. dependencies.

Open
#495 2 comments 0 reactions 0 assignees View on GitHub
Bot Service extension/botservice Service Attention
Dominant language
Python
Stars
454
Forks
1.7k
Avg merge
2d 19h
Merged PRs (30d)
64

Description

### Extension name (the extension in question)
botservice or any extension that installs node dependencies.

### Description of issue (in as much detail as possible)

devDependecies should NOT be installed when running `npm install` in production environment.

[Found here](https://github.com/Azure/azure-cli-extensions/blob/master/src/botservice/azext_bot/custom.py)

nodeinstall

[Solution](https://docs.npmjs.com/cli/install) `npm install --production`.
nodeinstallprod

-----

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.