Uploaded image for project: '[Read Only] - Addon Channel Manager'
  1. [Read Only] - Addon Channel Manager
  2. CHANNELMGR-432

Backport: Improve node/npm build stability

    XMLWordPrintable

Details

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

    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: