File: 0013-x-with-npm-avoid-error-from-npm-install.patch

package info (click to toggle)
openqa 5.1764349525.ffb594867-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 18,264 kB
  • sloc: perl: 57,599; sql: 26,462; javascript: 8,466; xml: 2,229; sh: 1,705; makefile: 443; python: 249
file content (31 lines) | stat: -rw-r--r-- 713 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
From: Philip Hands <phil@hands.com>
Date: Tue, 19 Nov 2024 10:47:17 +0100
Subject: x-with-npm: avoid error from 'npm install'

Forwarded: not-needed

When building with DEB_BUILD_PROFILES=x-with-npm, which causes
the debian/rules file to run `npm install` we get an error:

  npm ERR! Invalid comparator: npm:d3

unless this d3 stanza is removed from package.json.
---
 package.json | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/package.json b/package.json
index ca92e01..b1dacb7 100644
--- a/package.json
+++ b/package.json
@@ -29,10 +29,5 @@
     "jquery": "^3.7.1",
     "jquery-ujs": "^1.2.3",
     "timeago": "^1.6.7"
-  },
-  "overrides": {
-    "dagre-d3": {
-      "d3": "npm:d3"
-    }
   }
 }