solid-devtools
Advanced tools
Comparing version 0.5.0 to 0.6.0
"use strict"; | ||
// src/index.ts | ||
import { attachDebugger, makeCreateRootListener } from "@solid-devtools/debugger"; | ||
import { useExtensionAdapter } from "@solid-devtools/extension-adapter"; | ||
import { | ||
Debugger, | ||
attachDebugger, | ||
attachDebugger as attachDebugger2, | ||
registerDebuggerPlugin, | ||
@@ -12,8 +13,9 @@ makeSolidUpdateListener | ||
export * from "@solid-devtools/locator"; | ||
makeCreateRootListener((root) => attachDebugger(root)); | ||
useExtensionAdapter(); | ||
export { | ||
Debugger, | ||
attachDebugger, | ||
attachDebugger2 as attachDebugger, | ||
makeSolidUpdateListener, | ||
registerDebuggerPlugin | ||
}; |
{ | ||
"name": "solid-devtools", | ||
"version": "0.5.0", | ||
"version": "0.6.0", | ||
"description": "Runtime helpers for hooking up SolidJS application with Solid Devtools", | ||
@@ -47,5 +47,5 @@ "license": "MIT", | ||
"@testing-library/jest-dom": "^5.16.4", | ||
"jest": "^28.1.1", | ||
"jest-environment-jsdom": "^28.1.1", | ||
"solid-js": "^1.4.4", | ||
"jest": "^28.1.2", | ||
"jest-environment-jsdom": "^28.1.2", | ||
"solid-js": "^1.4.5", | ||
"ts-node": "^10.8.1", | ||
@@ -56,8 +56,8 @@ "tsup": "^6.1.2", | ||
"dependencies": { | ||
"@solid-devtools/debugger": "^0.1.0", | ||
"@solid-devtools/extension-adapter": "^0.5.0", | ||
"@solid-devtools/locator": "^0.5.0" | ||
"@solid-devtools/debugger": "^0.2.0", | ||
"@solid-devtools/extension-adapter": "^0.6.0", | ||
"@solid-devtools/locator": "^0.6.0" | ||
}, | ||
"peerDependencies": { | ||
"solid-js": "^1.4.4" | ||
"solid-js": "^1.4.5" | ||
}, | ||
@@ -64,0 +64,0 @@ "optionalDependencies": { |
@@ -27,18 +27,2 @@ <a href="https://github.com/thetarnav/solid-devtools/tree/main/packages/main#readme" target="_blank"> | ||
### Attaching Debugger to your application | ||
Currently you have to manually attach the debugger to the reactive graph of your application logic. | ||
[**Follow this guide of the debugger**](https://github.com/thetarnav/solid-devtools/tree/main/packages/debugger#attaching-debugger-to-your-application) | ||
```tsx | ||
import { attachDebugger } from "solid-devtools" | ||
// simply place the attachDebugger hook in the App component: | ||
function App() { | ||
attachDebugger() | ||
return <>...</> | ||
} | ||
``` | ||
### Using the locator package | ||
@@ -45,0 +29,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
114
0
8636
36
+ Added@solid-devtools/debugger@0.2.3(transitive)
+ Added@solid-devtools/extension-adapter@0.6.0(transitive)
+ Added@solid-devtools/locator@0.6.0(transitive)
+ Added@solid-devtools/ui@0.3.1(transitive)
- Removed@solid-devtools/debugger@0.1.0(transitive)
- Removed@solid-devtools/extension-adapter@0.5.0(transitive)
- Removed@solid-devtools/locator@0.5.0(transitive)
- Removed@solid-devtools/ui@0.3.0(transitive)
- Removed@solid-primitives/set@0.1.0(transitive)
- Removed@solid-primitives/utils@1.5.2(transitive)