Use node packages to install Foundation

Since Foundation hasn't released a new gem for years, we haven't been
able to upgrade Foundation to its most recent version.

Thanks to this change, we'll be able to do so.

Note we're using motion-ui version 2.0.3 because version 2.0.5 (the
latest at the moment) requires Dart Sass.
This commit is contained in:
Javi Martín
2023-07-26 00:43:06 +02:00
parent 338cb76127
commit 2fa713c644
6 changed files with 36 additions and 19 deletions

31
package-lock.json generated
View File

@@ -6,12 +6,14 @@
"": {
"name": "consuldemocracy",
"dependencies": {
"foundation-sites": "^6.6.2",
"jquery": "^3.7.1",
"jquery-ui": "^1.13.2",
"jquery-ujs": "^1.2.3",
"leaflet": "^1.9.4",
"leaflet.markercluster": "^1.5.3",
"markdown-it": "^9.0.1"
"markdown-it": "^9.0.1",
"motion-ui": "^2.0.3"
}
},
"node_modules/argparse": {
@@ -27,6 +29,19 @@
"resolved": "https://registry.npmjs.org/entities/-/entities-1.1.2.tgz",
"integrity": "sha512-f2LZMYl1Fzu7YSBKg+RoROelpOaNrcGmE9AZubeDfrCEia483oW4MI4VyFd5VNHIgQ/7qm1I0wUHK1eJnn2y2w=="
},
"node_modules/foundation-sites": {
"version": "6.6.2",
"resolved": "https://registry.npmjs.org/foundation-sites/-/foundation-sites-6.6.2.tgz",
"integrity": "sha512-fGdJVYodUxUCbdNDuNTXFIpEWAD+9yl0uLkkX8/rRHmK8/EYqQnRAGnmPADDhMKLZ+fJuSGheEcnSM2imgk3Wg==",
"engines": {
"node": ">=8.4.0",
"npm": ">=2.14.2"
},
"peerDependencies": {
"jquery": ">=2.2.0",
"what-input": ">=4.1.0"
}
},
"node_modules/jquery": {
"version": "3.7.1",
"resolved": "https://registry.npmjs.org/jquery/-/jquery-3.7.1.tgz",
@@ -89,6 +104,14 @@
"resolved": "https://registry.npmjs.org/mdurl/-/mdurl-1.0.1.tgz",
"integrity": "sha512-/sKlQJCBYVY9Ers9hqzKou4H6V5UWc/M59TH2dvkt+84itfnq7uFOMLpOiOS4ujvHP4etln18fmIxA5R5fll0g=="
},
"node_modules/motion-ui": {
"version": "2.0.3",
"resolved": "https://registry.npmjs.org/motion-ui/-/motion-ui-2.0.3.tgz",
"integrity": "sha512-f9xzh/hbZTUYjk4M7y1aDcsiPTfqUbuvCv/+If05TSIBEJMu3hGBU+YSe9csQPP7WBBHXxjossEygM/TJo2enw==",
"peerDependencies": {
"jquery": ">=2.2.0"
}
},
"node_modules/sprintf-js": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz",
@@ -98,6 +121,12 @@
"version": "1.0.6",
"resolved": "https://registry.npmjs.org/uc.micro/-/uc.micro-1.0.6.tgz",
"integrity": "sha512-8Y75pvTYkLJW2hWQHXxoqRgV7qb9B+9vFEtidML+7koHUFapnVJAZ6cKs+Qjz5Aw3aZWHMC6u0wJE3At+nSGwA=="
},
"node_modules/what-input": {
"version": "5.2.12",
"resolved": "https://registry.npmjs.org/what-input/-/what-input-5.2.12.tgz",
"integrity": "sha512-3yrSa7nGSXGJS6wZeSkO6VNm95pB1mZ9i3wFzC1hhY7mn4/afue/MvXz04OXNdBC8bfo4AB4RRd3Dem9jXM58Q==",
"peer": true
}
}
}