git: 43e3af5f5763 - main - www/remark42: relax npm install dependency requirement.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 25 Feb 2024 00:37:40 UTC
The branch main has been updated by delphij:
URL: https://cgit.FreeBSD.org/ports/commit/?id=43e3af5f5763b43e30442e901dcbf8904785bbb7
commit 43e3af5f5763b43e30442e901dcbf8904785bbb7
Author: Xin LI <delphij@FreeBSD.org>
AuthorDate: 2024-02-25 00:30:45 +0000
Commit: Xin LI <delphij@FreeBSD.org>
CommitDate: 2024-02-25 00:37:27 +0000
www/remark42: relax npm install dependency requirement.
More background at https://github.com/testing-library/preact-hooks-testing-library/issues/18
---
www/remark42/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/www/remark42/Makefile b/www/remark42/Makefile
index 3e2ab7d19e43..0b90dbb45038 100644
--- a/www/remark42/Makefile
+++ b/www/remark42/Makefile
@@ -125,7 +125,7 @@ make-npm-cache: extract
&& ${ECHO} "Please upload the file ${WRKDIR}/${PORTNAME}-npm-cache-${DISTVERSION}${EXTRACT_SUFX}"
pre-build:
- cd ${WRKSRC}/frontend/apps/${PORTNAME} && ${SETENV} HOME=${WRKDIR} npm install --force
+ cd ${WRKSRC}/frontend/apps/${PORTNAME} && ${SETENV} HOME=${WRKDIR} npm install --force --legacy-peer-deps
cd ${WRKSRC}/frontend/apps/${PORTNAME} && ${SETENV} HOME=${WRKDIR} npm run build
${RM} -r ${WRKSRC}/backend/app/cmd/web/
${MV} ${WRKSRC}/frontend/apps/remark42/public ${WRKSRC}/backend/app/cmd/web