-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding option to patch "all" files, including package.json #2
Comments
I will look into this problem, give me some time. |
Can you try the new version? I have added an |
Thanks you for the enchantment.
Pathcing Index: /reactotron-core-client/package.json
===================================================================
--- /reactotron-core-client/package.json
+++ /reactotron-core-client/package.json
@@ -18,9 +18,9 @@
<...>
- "react-native": "./src/index.ts",
+ "react-native": "./dist/index.ts",
<...>
-
-,"_resolved": ""
-,"_integrity": ""
-,"_from": "https://registry.npmjs.org/reactotron-core-client/-/reactotron-core-client-2.9.4.tgz"
}
\ No newline at end of file The changes were done on Not sure if related, but I'm also getting I am using Full patch: Index: /reactotron-core-client/package.json
===================================================================
--- /reactotron-core-client/package.json
+++ /reactotron-core-client/package.json
@@ -18,9 +18,9 @@
"types": "dist/types/src/index.d.ts",
"react-native": "src/index.ts",
"exports": {
"import": "./dist/index.esm.js",
- "react-native": "./src/index.ts",
+ "react-native": "./dist/index.ts",
"types": "./dist/types/src/index.d.ts",
"default": "./dist/index.js"
},
"scripts": {
@@ -102,9 +102,5 @@
},
"dependencies": {
"reactotron-core-contract": "0.2.4"
}
-
-,"_resolved": ""
-,"_integrity": ""
-,"_from": "https://registry.npmjs.org/reactotron-core-client/-/reactotron-core-client-2.9.4.tgz"
}
\ No newline at end of file
Index: /reactotron-core-client/src/client-options.ts
===================================================================
--- /reactotron-core-client/src/client-options.ts
+++ /reactotron-core-client/src/client-options.ts
@@ -12,9 +12,9 @@
*
* This is over-engineered because we need the ability to create different
* types of websockets for React Native, React, and NodeJS. :|
*/
- createSocket?: ((path: string) => BrowserWebSocket) | ((path: string) => NodeWebSocket)
+ createSocket?: ((path?: string) => BrowserWebSocket) | ((path: string) => NodeWebSocket)
/**
* The hostname or ip address of the server. Default: localhost.
*/
|
Indeed, the issue that you're observing was the primary cause that I originally did not include |
It seem
custompatch
is ignoring package.json files at the moment. Could we get an options something like--all
to be able to patch packages package.json files, similar way--exclude 'all'
works for patch-package ?The text was updated successfully, but these errors were encountered: