Use packaged version of clipboard node module

This commit is contained in:
Pirate Praveen 2022-04-09 14:40:05 +05:30
parent d842f69759
commit cc70e05ac1
2 changed files with 7 additions and 2 deletions

2
debian/control vendored
View file

@ -436,7 +436,7 @@ Depends: ${shlibs:Depends}, ${misc:Depends},
node-bootstrap,
node-brace-expansion (>= 1.1.8~),
node-cache-loader (>= 4.1~),
node-clipboard,
node-clipboard (>= 2.0.8~),
node-codemirror,
node-compression-webpack-plugin (>= 3.0.1~),
node-copy-webpack-plugin (>= 5.0~),

View file

@ -118,7 +118,7 @@ Use debian packaged node modules when available
"@rails/ujs": "6.1.4-6",
"@sentry/browser": "5.30.0",
"@sourcegraph/code-host-integration": "0.0.60",
@@ -100,7 +100,7 @@
@@ -100,11 +100,11 @@
"aws-sdk": "^2.637.0",
"axios": "^0.24.0",
"babel-loader": "^8.2.2",
@ -127,6 +127,11 @@ Use debian packaged node modules when available
"bootstrap": "4.5.3",
"cache-loader": "^4.1.0",
"canvas-confetti": "^1.4.0",
- "clipboard": "^2.0.8",
+ "clipboard": "link:/usr/share/nodejs/clipboard",
"codemirror": "^5.48.4",
"codesandbox-api": "0.0.23",
"compression-webpack-plugin": "^5.0.2",
@@ -135,31 +135,31 @@
"jed": "^1.1.1",
"jquery": "^3.6.0",