Changes between Version 8 and Version 10 of Ticket #5559


Ignore:
Timestamp:
08/23/2017 02:07:19 PM (3 years ago)
Author:
kzar
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #5559

    • Property Blocking changed from 5535 to 5535, 5560
  • Ticket #5559 – Description

    v8 v10  
    55 
    66=== What to change === 
    7 - Change the `ensure_dependencies.py` script so that it calls `npm install --only=production` after a dependency is cloned or updated if the dependency contains the `packages.json` file in its root. The command should be called from the dependency's path. 
    8 - If the `SKIP_DEPENDENCY_UPDATES` environment variable is set `npm install` shouldn't be called. 
     7- Change the `ensure_dependencies.py` script so that it calls `npm install --only=production` after a dependency is cloned or updated, but only if the following is true: 
     8  - the dependency has a `packages.json` file in its root 
     9  - the `packages.json` file has a non-empty `"dependencies"` section 
     10  - the `SKIP_DEPENDENCY_UPDATES` environment variable isn't set. 
     11- The command should be called from the dependency's path. 
    912- If the `npm` command doesn't exist a warning should be displayed 'Failed to install Node.js dependencies for DEPENDENCY_NAME, please ensure Node.js is installed.' 
    1013