chore: format
This commit is contained in:
parent
39ce6ee84b
commit
c67b1f5821
8 changed files with 16 additions and 24 deletions
|
|
@ -3,8 +3,8 @@ import './preinit'
|
|||
import './patches/prevent-immutablize'
|
||||
import './patches/proxy'
|
||||
|
||||
import { getErrorStack } from '@revenge-mod/utils/errors'
|
||||
import { onModuleInitialized } from '@revenge-mod/modules/metro/subscriptions'
|
||||
import { getErrorStack } from '@revenge-mod/utils/errors'
|
||||
|
||||
import { logger } from './shared'
|
||||
|
||||
|
|
|
|||
|
|
@ -22,4 +22,4 @@
|
|||
"default": "./src/metro/_internal.ts"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -13,4 +13,4 @@
|
|||
"default": "./src/index.ts"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
import {
|
||||
type HookNode,
|
||||
type PatchedFunctionProxyState,
|
||||
createPatchedFunctionProxy,
|
||||
patchedFunctionProxyStates,
|
||||
unproxy,
|
||||
type HookNode,
|
||||
type PatchedFunctionProxyState,
|
||||
} from '../_internal'
|
||||
|
||||
function unpatchAfter<T extends UnknownFunction>(
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
import {
|
||||
type HookNode,
|
||||
type PatchedFunctionProxyState,
|
||||
createPatchedFunctionProxy,
|
||||
patchedFunctionProxyStates,
|
||||
unproxy,
|
||||
type HookNode,
|
||||
type PatchedFunctionProxyState,
|
||||
} from '../_internal'
|
||||
|
||||
function unpatchBefore<T extends UnknownFunction>(
|
||||
|
|
|
|||
|
|
@ -1,11 +1,11 @@
|
|||
import {
|
||||
type FunctionProxyState,
|
||||
type InsteadHookNode,
|
||||
type PatchedFunctionProxyState,
|
||||
createPatchedFunctionProxy,
|
||||
patchedFunctionProxyHandler,
|
||||
patchedFunctionProxyStates,
|
||||
unproxy,
|
||||
type FunctionProxyState,
|
||||
type InsteadHookNode,
|
||||
type PatchedFunctionProxyState,
|
||||
} from '../_internal'
|
||||
|
||||
const insteadHookProxyHandler = {
|
||||
|
|
|
|||
13
package.json
13
package.json
|
|
@ -24,13 +24,6 @@
|
|||
"react-native": "0.76.6",
|
||||
"typescript": "^5.7.3"
|
||||
},
|
||||
"workspaces": [
|
||||
"lib/*",
|
||||
"plugins/*"
|
||||
],
|
||||
"trustedDependencies": [
|
||||
"@biomejs/biome",
|
||||
"@parcel/watcher",
|
||||
"@swc/core"
|
||||
]
|
||||
}
|
||||
"workspaces": ["lib/*", "plugins/*"],
|
||||
"trustedDependencies": ["@biomejs/biome", "@parcel/watcher", "@swc/core"]
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,22 +7,21 @@
|
|||
"moduleDetection": "force",
|
||||
"jsx": "react-jsx",
|
||||
"allowJs": true,
|
||||
|
||||
// Bundler mode
|
||||
"moduleResolution": "bundler",
|
||||
"allowImportingTsExtensions": true,
|
||||
"verbatimModuleSyntax": true,
|
||||
"noEmit": true,
|
||||
|
||||
// Best practices
|
||||
"strict": true,
|
||||
"skipLibCheck": true,
|
||||
"noFallthroughCasesInSwitch": true,
|
||||
|
||||
// Some stricter flags (disabled by default)
|
||||
"noUnusedLocals": false,
|
||||
"noUnusedParameters": false,
|
||||
"noPropertyAccessFromIndexSignature": false
|
||||
"noPropertyAccessFromIndexSignature": false,
|
||||
// Other options
|
||||
"types": []
|
||||
},
|
||||
"exclude": ["scripts/**"]
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue