summarylogtreecommitdiffstats
path: root/hadron-build-os-dns-native.diff
blob: b38c4c82fa4dab98014ce313c683632058575a0e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/packages/hadron-build/commands/release.js b/packages/hadron-build/commands/release.js
index 465cfce4d..db8ef181f 100644
--- a/packages/hadron-build/commands/release.js
+++ b/packages/hadron-build/commands/release.js
@@ -268,6 +268,10 @@ const transformPackageJson = async(CONFIG, done) => {
     'optionalDependencies'
   ]) {
     for (const depName of Object.keys(contents[depType] || {})) {
+      if (depName === 'os-dns-native') {
+        contents[depType][depName] = 'dpeukert/os-dns-native';
+        continue;
+      }
       const depEdge = packageNode.edgesOut.get(depName);
       if (!depEdge.to && !depEdge.optional) {
         throw new Error(