Skip to content

Commit 3b864fb

Browse files
committed
fix: remove Skia
1 parent 8947785 commit 3b864fb

File tree

4 files changed

+14
-27
lines changed

4 files changed

+14
-27
lines changed

bun.lock

Lines changed: 2 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@
4242
"@gullerya/object-observer": "^6.1.4",
4343
"@revenge-mod/devtools-client": "^1.1.3",
4444
"@revenge-mod/devtools-shared": "^1.0.2",
45-
"@shopify/react-native-skia": "^1.12.4",
4645
"@tanstack/react-query": "^5.83.0",
4746
"@types/chroma-js": "~2.4.5",
4847
"@types/lodash": "~4.17.20",

shims/depsModule.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,5 @@ module.exports = {
66
"util": findByPropsLazy("inspect", "isNullOrUndefined"),
77
"moment": findByPropsLazy("isMoment"),
88
"chroma-js": findByPropsLazy("brewer"),
9-
"lodash": findByPropsLazy("forEachRight"),
10-
"@shopify/react-native-skia": findByPropsLazy("useFont")
9+
"lodash": findByPropsLazy("forEachRight")
1110
};

src/global.d.ts

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,17 @@
11
declare global {
2-
type React = typeof import("react");
3-
var SkiaApi: typeof import("@shopify/react-native-skia").Skia;
2+
type React = typeof import("react");
43

5-
// ReactNative/Hermes globals
6-
var globalEvalWithSourceUrl: (script: string, sourceURL: string) => any;
7-
var nativePerformanceNow: typeof performance.now;
8-
var nativeModuleProxy: Record<string, any>;
9-
var __turboModuleProxy: (name: string) => any;
4+
// ReactNative/Hermes globals
5+
var globalEvalWithSourceUrl: (script: string, sourceURL: string) => any;
6+
var nativePerformanceNow: typeof performance.now;
7+
var nativeModuleProxy: Record<string, any>;
8+
var __turboModuleProxy: (name: string) => any;
109

11-
interface Window {
12-
[key: string]: any;
13-
vendetta: any;
14-
bunny: typeof import("@lib");
15-
}
10+
interface Window {
11+
[key: string]: any;
12+
vendetta: any;
13+
bunny: typeof import("@lib");
14+
}
1615
}
1716

1817
export { };

0 commit comments

Comments
 (0)