Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-9633

Use npm shrinkwrap to make sure dependencies of dependencies are also 'fixed'

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Normal
    • Resolution: Duplicate
    • 3.0.1, 3.1.0
    • None
    • None

    Description

      Recently had a problem where we specified a certain version of a npm dependency: grunt-sass. had a version range specified on one of its depenencies, node-sass, and that dependency updated with a change that broke our build.

      We specify a certain version (not a range) to make sure we actually have that same version in a release. However we do not 'protect' ourselves against the dependencies of our dependencies. We can use npm shrinkwrap for this. We should probably use npm shrinkwrap before tagging to ensure we have a working tag.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jdegooijer Joeri de Gooijer
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: