Skip to content

Commit

Permalink
Internalize webnative patch for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Erudition committed Nov 20, 2023
1 parent a5e9b65 commit 9744a43
Show file tree
Hide file tree
Showing 3 changed files with 95 additions and 8 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,9 @@
"native-run": "^1.7.2",
"nativescript": "^8.5.3",
"nativescript-theme-core": "^1.0.6",
"nativescript-wear-os": "link:customized-node-modules/nativescript-wear-os",
"orbit-db": "^0.29.0",
"pnpm": "^8.5.0",
"webnative-elm": "link:../webnative-elm"
"webnative-elm": "^8.1.0"
},
"devDependencies": {
"@capacitor/assets": "^2.0.4",
Expand Down Expand Up @@ -115,7 +114,8 @@
"pnpm": {
"patchedDependencies": {
"[email protected]": "patches/[email protected]",
"@ionic/[email protected]": "patches/@[email protected]"
"@ionic/[email protected]": "patches/@[email protected]",
"[email protected]": "patches/[email protected]"
}
}
}
46 changes: 46 additions & 0 deletions patches/[email protected]
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
diff --git a/lib/index.d.ts b/lib/index.d.ts
index 6691cdaa3e18e502a1f9f35db9adcc3a58ff8eb5..1255d8f1790278becdc47e73e6de1e7d9a0aa71c 100644
--- a/lib/index.d.ts
+++ b/lib/index.d.ts
@@ -1,5 +1,5 @@
-import * as Webnative from "webnative";
-import { Maybe } from "webnative";
+import * as Webnative from "@oddjs/odd";
+import { Maybe } from "@oddjs/odd";
export type Reference = string;
/**
* Create TaskPort namespace.
diff --git a/lib/index.js b/lib/index.js
index 67e7a059c37c2a2e7f332b47c7ed765c10c72fe1..84967fd2b3ef012e283f97e3ffbbc84ecf339c8a 100644
--- a/lib/index.js
+++ b/lib/index.js
@@ -1,5 +1,5 @@
-import * as Webnative from "webnative";
-import { hasProp } from "webnative/common/index";
+import * as Webnative from "@oddjs/odd";
+import { hasProp } from "@oddjs/odd/common/index";
/**
* Create TaskPort namespace.
*/
diff --git a/package.json b/package.json
index 4402b9d7341251fc8a987d3026f2141f3ae94438..36f4081c58f2b214d75eb7bc7da7a0cfd979740d 100644
--- a/package.json
+++ b/package.json
@@ -40,7 +40,7 @@
},
"peerDependencies": {
"elm-taskport": ">=0.2.0",
- "webnative": ">0.35.0"
+ "@oddjs/odd": "^0.37.2"
},
"devDependencies": {
"elm-taskport": "^2.0.1",
@@ -48,7 +48,7 @@
"events": "^3.3.0",
"rimraf": "^3.0.2",
"typescript": "^4.9.3",
- "webnative": "^0.36.0-alpha-3"
+ "@oddjs/odd": "^0.37.2"
},
"files": [
"dist",
51 changes: 46 additions & 5 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9744a43

Please sign in to comment.