From 8109ba39bb6ced06fdb1dac4a856efd0b45fa3fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Behmo?= Date: Wed, 2 Apr 2025 12:48:48 +0200 Subject: [PATCH 1/3] =?UTF-8?q?chore:=20remove=20husky=20=F0=9F=AA=93?= =?UTF-8?q?=F0=9F=90=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We remove husky, which is triggering pre-push git hooks, including running "npm lint". This is causing failures when building Docker images, because "npm clean-install --omit=dev" automatically triggers "npm prepare", which attemps to run "husky". But husky is not listed in the build dependencies, only in devDependencies. As a consequence, package installation is failing with the following error: 14.13 > @edx/frontend-app-ora-grading@0.0.1 prepare 14.13 > husky install 14.13 14.15 sh: 1: husky: not found Similar to: https://github.com/openedx/frontend-app-learning/pull/1622 --- package-lock.json | 17 ----------------- package.json | 6 ------ 2 files changed, 23 deletions(-) diff --git a/package-lock.json b/package-lock.json index e27a877b..73fa09de 100644 --- a/package-lock.json +++ b/package-lock.json @@ -31,7 +31,6 @@ "@testing-library/jest-dom": "^5.16.4", "@testing-library/react": "^16.2.0", "@testing-library/user-event": "^14.6.1", - "husky": "8.0.3", "prop-types": "15.8.1", "react": "^18.3.1", "react-dom": "^18.3.1", @@ -13813,22 +13812,6 @@ "node": ">=10.17.0" } }, - "node_modules/husky": { - "version": "8.0.3", - "resolved": "https://registry.npmjs.org/husky/-/husky-8.0.3.tgz", - "integrity": "sha512-+dQSyqPh4x1hlO1swXBiNb2HzTDN1I2IGLQx1GrBuiqFJfoMrnZWwVmatvSiO+Iz8fBUnf+lekwNo4c2LlXItg==", - "dev": true, - "license": "MIT", - "bin": { - "husky": "lib/bin.js" - }, - "engines": { - "node": ">=14" - }, - "funding": { - "url": "https://github.com/sponsors/typicode" - } - }, "node_modules/hyperdyperid": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/hyperdyperid/-/hyperdyperid-1.2.0.tgz", diff --git a/package.json b/package.json index f1236224..cf3bc066 100644 --- a/package.json +++ b/package.json @@ -19,11 +19,6 @@ "files": [ "/dist" ], - "husky": { - "hooks": { - "pre-commit": "npm run lint" - } - }, "repository": { "type": "git", "url": "git+https://github.com/openedx/frontend-component-footer.git" @@ -46,7 +41,6 @@ "@testing-library/react": "^16.2.0", "@testing-library/dom": "^10.4.0", "@testing-library/user-event": "^14.6.1", - "husky": "8.0.3", "prop-types": "15.8.1", "react": "^18.3.1", "react-dom": "^18.3.1", From c5d83f658a1e9e568b6716d9db14957ad5d089f5 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 7 Apr 2025 07:10:41 +0000 Subject: [PATCH 2/3] chore(deps): update dependency @edx/frontend-platform to v8.3.4 (#518) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- package-lock.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index e27a877b..d15d6d5a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2369,9 +2369,9 @@ } }, "node_modules/@edx/frontend-platform": { - "version": "8.3.3", - "resolved": "https://registry.npmjs.org/@edx/frontend-platform/-/frontend-platform-8.3.3.tgz", - "integrity": "sha512-xj8uKY4k9DgScYWsBFx8B1cngZ6HTPHvmd7W+NpBB4Kqw9yCT1OUii4p8/8khF68vb7hcTQuu13A9hM0lkE5bw==", + "version": "8.3.4", + "resolved": "https://registry.npmjs.org/@edx/frontend-platform/-/frontend-platform-8.3.4.tgz", + "integrity": "sha512-V3XtTo3KP8QSmId+Vvi4+qzpOVkxvTMNA6jH/i3Bfz+/jHjHBRnmp/Cc2pjTxiTgGNoKX4D1twiZkOBO+kWw1Q==", "dev": true, "license": "AGPL-3.0", "dependencies": { From 0ef407458ceb14c5931c7a9a29d3df6323a54ef6 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 7 Apr 2025 13:21:50 +0000 Subject: [PATCH 3/3] chore(deps): update dependency @openedx/frontend-build to v14.4.2 (#519) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- package-lock.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index d15d6d5a..6ba08690 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4071,9 +4071,9 @@ } }, "node_modules/@openedx/frontend-build": { - "version": "14.4.1", - "resolved": "https://registry.npmjs.org/@openedx/frontend-build/-/frontend-build-14.4.1.tgz", - "integrity": "sha512-/YjSSF2JgEZJe7MnvOWDVm3M45pp00b1vjSO3Wu62awb7El2MzQeUos5ylTyjSNAsJL/33zNQ5pvoOo8wAZ21A==", + "version": "14.4.2", + "resolved": "https://registry.npmjs.org/@openedx/frontend-build/-/frontend-build-14.4.2.tgz", + "integrity": "sha512-RWAsaYq88cGlqO4eDDo/ylY6dJsbeBsI+4LxmKPrW4MPh0rIFZILvH+X3z/t9SVTlGTx4UkUQV9LXPGLKdcA1g==", "dev": true, "license": "AGPL-3.0", "dependencies": {