Uploaded image for project: '[Read Only] - Hippo Essentials'
  1. [Read Only] - Hippo Essentials
  2. ESSENTIALS-831

Improve node/npm build stability

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • 2.2.0
    • None

    Description

      For all supported CMS versions that use node:

      • 7.9.x
      • 10.1.x
      • 10.2.x

      to the following modules:

      • Hippo Theme
      • Channelmanager/frontend,
      • Channelmanager/angularjsapi ,
      • Targeting/frontend
      • Essentials

      we should add:

      • Peer dependencies to package.json
      • A .npmrc with specific npm/node version and engineStrict to enforce the latest Stable node version (node 5.x.x currently)
      • A npm shrinkwrap json to lock dependency tree
      • Add npm rebuild command to the maven build in the pom.xml

      Jenkins builds should:

      • Use the latest Stable node version that we require
      • Throw away node_modules folder after upgrading to a new node version

      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: