uxuimercergroup / evolution

Evolution site: Global framework for digital design and development -- maintained by the Mercer Digital Center of Excellence
https://evolution.mercer.com/
0 stars 0 forks source link

Fix evolution and generator package.json to take correct version of datatables.net-zf to fix jquery version dependency #84

Closed mgholmes closed 8 years ago

mgholmes commented 8 years ago

The package.json file for evolution site and evolution generator (_package.json) need to be updated tp take the version of datatables.net-zf we want for Evolution 4.x.x which is currently v1.10.11 and NOT the latest version from NPM.

The problem has to do with the way its called in the package.json file:

"datatables.net-zf": "^1.10.11",

correction: "datatables.net-zf": "~1.10.11",

The ^ needs to be a ~ to stay at the current version and not download the latest version from NPM. The ^ will download the latest version after 1.10.11.

Version 1.10.12 brings along jQuery 3.0.0 as a dependency which overwrites the jQuery 2.2.4 which is brought in by foundation and breaks Evolution's js. This fix should also fix the jQuery 3.0.0 update problem.