Uploaded image for project: 'Addon Channel Manager'
  1. Addon Channel Manager
  2. CHANNELMGR-433

Backport: Improve node/npm build stability

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.26.12
    • Labels:
    • Similar issues:
    • Sprint:
      Tiger Sprint 122

      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: