From 3493b8b53efc98e04c589f312a28e62cad051397 Mon Sep 17 00:00:00 2001 From: Pirate Praveen Date: Tue, 10 May 2022 18:41:43 +0530 Subject: [PATCH] Switch to packaged version of node-postcss --- debian/control | 1 + debian/patches/nodejs/0040-use-packaged-modules.patch | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/debian/control b/debian/control index 8eeedd8948..8631691ce8 100644 --- a/debian/control +++ b/debian/control @@ -480,6 +480,7 @@ Depends: ${shlibs:Depends}, ${misc:Depends}, # Include node-pikaday only after @gitlab/ui is accepted # node-pikaday (>= 1.8.0-2~), node-popper.js (>= 1.16.1~), + node-postcss (>= 8.4.5~), node-prismjs (>= 1.6~), node-prosemirror-markdown (>= 1.5.2~), node-prosemirror-model (>= 1.16.1~), diff --git a/debian/patches/nodejs/0040-use-packaged-modules.patch b/debian/patches/nodejs/0040-use-packaged-modules.patch index 941a3b648e..37c485b82c 100644 --- a/debian/patches/nodejs/0040-use-packaged-modules.patch +++ b/debian/patches/nodejs/0040-use-packaged-modules.patch @@ -172,7 +172,8 @@ Use debian packaged node modules when available - "popper.js": "^1.16.1", + "popper.js": "link:/usr/share/nodejs/popper.js", "portal-vue": "^2.1.7", - "postcss": "8.4.5", +- "postcss": "8.4.5", ++ "postcss": "link:/usr/share/nodejs/postcss", "prismjs": "^1.21.0", - "prosemirror-markdown": "1.7.1", - "prosemirror-model": "^1.16.1",