diff --git a/.gitignore b/.gitignore index 7b62fad..a9f6d8d 100644 --- a/.gitignore +++ b/.gitignore @@ -7,7 +7,6 @@ cmake-build-*/ # npm node_modules/ -package-lock.json # ignore doxyconfig files docs/doxyconfig* diff --git a/CMakeLists.txt b/CMakeLists.txt index 3956400..177a0db 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -73,7 +73,7 @@ find_program(NPM npm REQUIRED) add_custom_target(_docs_npm_install COMMENT "Installing node modules" BYPRODUCTS ${SHARED_WEB_FILES_DEPENDS} ${FONT_AWESOME_FILES_DEPENDS} - COMMAND ${NPM} install --ignore-scripts + COMMAND ${NPM} ci --ignore-scripts WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}" VERBATIM ) diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 0000000..46489fe --- /dev/null +++ b/package-lock.json @@ -0,0 +1,65 @@ +{ + "name": "doxyconfig", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "dependencies": { + "@fortawesome/fontawesome-free": "7.2.0", + "@lizardbyte/shared-web": "2026.314.32913" + } + }, + "node_modules/@fortawesome/fontawesome-free": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/@fortawesome/fontawesome-free/-/fontawesome-free-7.2.0.tgz", + "integrity": "sha512-3DguDv/oUE+7vjMeTSOjCSG+KeawgVQOHrKRnvUuqYh1mfArrh7s+s8hXW3e4RerBA1+Wh+hBqf8sJNpqNrBWg==", + "license": "(CC-BY-4.0 AND OFL-1.1 AND MIT)", + "engines": { + "node": ">=6" + } + }, + "node_modules/@lizardbyte/shared-web": { + "version": "2026.314.32913", + "resolved": "https://registry.npmjs.org/@lizardbyte/shared-web/-/shared-web-2026.314.32913.tgz", + "integrity": "sha512-EHnXfAvMKJWJ5rFURmWur6NYxzN+PAv7YNIgtsLyhYLONiNLt58YAnk1iXU/2gN7oQAmQVl5qAjOEGpk4jCz7g==", + "license": "AGPL-3.0-only", + "dependencies": { + "@fortawesome/fontawesome-free": "7.2.0", + "bootstrap": "5.3.8" + }, + "funding": { + "url": "https://app.lizardbyte.dev" + } + }, + "node_modules/@popperjs/core": { + "version": "2.11.8", + "resolved": "https://registry.npmjs.org/@popperjs/core/-/core-2.11.8.tgz", + "integrity": "sha512-P1st0aksCrn9sGZhp8GMYwBnQsbvAWsZAX44oXNNvLHGqAOcoVxmjZiohstwQ7SqKnbR47akdNi+uleWD8+g6A==", + "license": "MIT", + "peer": true, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/popperjs" + } + }, + "node_modules/bootstrap": { + "version": "5.3.8", + "resolved": "https://registry.npmjs.org/bootstrap/-/bootstrap-5.3.8.tgz", + "integrity": "sha512-HP1SZDqaLDPwsNiqRqi5NcP0SSXciX2s9E+RyqJIIqGo+vJeN5AJVM98CXmW/Wux0nQ5L7jeWUdplCEf0Ee+tg==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/twbs" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/bootstrap" + } + ], + "license": "MIT", + "peerDependencies": { + "@popperjs/core": "^2.11.8" + } + } + } +} diff --git a/readthedocs_build.sh b/readthedocs_build.sh index e25d727..4ba4f00 100644 --- a/readthedocs_build.sh +++ b/readthedocs_build.sh @@ -36,7 +36,7 @@ function install_node_modules { echo "Installing node modules" pushd "${DOXYCONFIG_DIR}" - npm install --ignore-scripts + npm ci --ignore-scripts popd echo "Copying FontAwesome files"