Details
-
Task
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
None
-
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 engine-strict so npm install will fail if a dependency specifies it does not work on the current node engine
- 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
- clones
-
HIPPOTHEME-122 Backport: Improve node/npm build stability
- Closed