Skip to content

devDependencies are installed by default #89

Description

@SCKevinO

Describe the bug
The documentation (https://doc.scalingo.com/languages/nodejs/start#install-devdependencies) say that devDependencies are not installed by default unless the NPM_CONFIG_PRODUCTION environment variable is set to false. However, they seem to be installed anyway if the env var is not defined at all.

To Reproduce
Steps to reproduce the behavior:

  1. Create a new app on Scalingo
  2. Deploy a nodejs app containing devDependencies in their package.json
  3. Check the deploy log to see that devDependencies were installed
  4. Connect to the app with a one-off
  5. Notice that the devDependencies are present in the image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions