@kickd0wn/react-dev-companion 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -5
- package/package.json +53 -42
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# React Dev Companion
|
|
2
2
|
|
|
3
3
|

|
|
4
|
-

|
|
4
|
+

|
|
5
5
|

|
|
6
6
|

|
|
7
7
|
|
|
@@ -12,9 +12,11 @@ React Dev Companion is an embeddable, zero-dependency developer tools panel for
|
|
|
12
12
|
## Features
|
|
13
13
|
|
|
14
14
|
- **Real-Time API Interception:** Monitors outgoing `window.fetch` calls and logs HTTP methods, request status, and target URLs.
|
|
15
|
+
- **Storage Inspector:** View, inject, and delete keys across `localStorage`, `sessionStorage`, and `cookies` in real time.
|
|
15
16
|
- **Framework Agnostic Support:** Compatible with React SPA setups (Vite, CRA) and SSR frameworks (Next.js client components).
|
|
16
17
|
- **Non-Intrusive Overlay:** Floating UI widget designed to stay out of the way of primary application elements.
|
|
17
18
|
- **Zero Heavy Dependencies:** Lightweight footprint focused on developer experience and minimal bundle impact.
|
|
19
|
+
- **TypeScript Native:** Fully typed with built-in `.d.ts` declarations.
|
|
18
20
|
|
|
19
21
|
---
|
|
20
22
|
|
|
@@ -23,13 +25,19 @@ React Dev Companion is an embeddable, zero-dependency developer tools panel for
|
|
|
23
25
|
Install the package via `npm`, `yarn`, or `pnpm`:
|
|
24
26
|
|
|
25
27
|
```bash
|
|
26
|
-
npm install react-dev-companion
|
|
28
|
+
npm install @kickd0wn/react-dev-companion
|
|
27
29
|
```
|
|
28
30
|
|
|
29
31
|
Or using yarn:
|
|
30
32
|
|
|
31
33
|
```bash
|
|
32
|
-
yarn add react-dev-companion
|
|
34
|
+
yarn add @kickd0wn/react-dev-companion
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
Or using pnpm:
|
|
38
|
+
|
|
39
|
+
```bash
|
|
40
|
+
pnpm add @kickd0wn/react-dev-companion
|
|
33
41
|
```
|
|
34
42
|
|
|
35
43
|
---
|
|
@@ -43,7 +51,7 @@ Import and render the component within your application tree. It is recommended
|
|
|
43
51
|
```tsx
|
|
44
52
|
'use client';
|
|
45
53
|
|
|
46
|
-
import { DevCompanion } from 'react-dev-companion';
|
|
54
|
+
import { DevCompanion } from '@kickd0wn/react-dev-companion';
|
|
47
55
|
|
|
48
56
|
export default function RootLayout({ children }: { children: React.ReactNode }) {
|
|
49
57
|
return (
|
|
@@ -61,7 +69,7 @@ export default function RootLayout({ children }: { children: React.ReactNode })
|
|
|
61
69
|
|
|
62
70
|
```tsx
|
|
63
71
|
import React from 'react';
|
|
64
|
-
import { DevCompanion } from 'react-dev-companion';
|
|
72
|
+
import { DevCompanion } from '@kickd0wn/react-dev-companion';
|
|
65
73
|
|
|
66
74
|
export function App() {
|
|
67
75
|
return (
|
package/package.json
CHANGED
|
@@ -1,42 +1,53 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@kickd0wn/react-dev-companion",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"type": "module",
|
|
5
|
-
"description": "A zero-dependency DevTools overlay for React and Next.js applications.",
|
|
6
|
-
"main": "./dist/index.cjs",
|
|
7
|
-
"module": "./dist/index.js",
|
|
8
|
-
"types": "./dist/index.d.ts",
|
|
9
|
-
"exports": {
|
|
10
|
-
".": {
|
|
11
|
-
"import": "./dist/index.js",
|
|
12
|
-
"require": "./dist/index.cjs",
|
|
13
|
-
"types": "./dist/index.d.ts"
|
|
14
|
-
}
|
|
15
|
-
},
|
|
16
|
-
"files": [
|
|
17
|
-
"dist"
|
|
18
|
-
],
|
|
19
|
-
"scripts": {
|
|
20
|
-
"dev": "vite",
|
|
21
|
-
"build": "tsc && vite build",
|
|
22
|
-
"prepublishOnly": "npm run build"
|
|
23
|
-
},
|
|
24
|
-
"keywords": [
|
|
25
|
-
"react",
|
|
26
|
-
"nextjs",
|
|
27
|
-
"devtools",
|
|
28
|
-
"storage",
|
|
29
|
-
"network-interceptor",
|
|
30
|
-
"typescript"
|
|
31
|
-
],
|
|
32
|
-
"author": "Kickz1nn <https://github.com/Kickz1nn>",
|
|
33
|
-
"license": "MIT",
|
|
34
|
-
"repository": {
|
|
35
|
-
"type": "git",
|
|
36
|
-
"url": "git+https://github.com/Kickz1nn/react-dev-companion.git"
|
|
37
|
-
},
|
|
38
|
-
"peerDependencies": {
|
|
39
|
-
"react": ">=17.0.0",
|
|
40
|
-
"react-dom": ">=17.0.0"
|
|
41
|
-
}
|
|
42
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "@kickd0wn/react-dev-companion",
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"description": "A zero-dependency DevTools overlay for React and Next.js applications.",
|
|
6
|
+
"main": "./dist/index.cjs",
|
|
7
|
+
"module": "./dist/index.js",
|
|
8
|
+
"types": "./dist/index.d.ts",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"import": "./dist/index.js",
|
|
12
|
+
"require": "./dist/index.cjs",
|
|
13
|
+
"types": "./dist/index.d.ts"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"files": [
|
|
17
|
+
"dist"
|
|
18
|
+
],
|
|
19
|
+
"scripts": {
|
|
20
|
+
"dev": "vite",
|
|
21
|
+
"build": "tsc && vite build",
|
|
22
|
+
"prepublishOnly": "npm run build"
|
|
23
|
+
},
|
|
24
|
+
"keywords": [
|
|
25
|
+
"react",
|
|
26
|
+
"nextjs",
|
|
27
|
+
"devtools",
|
|
28
|
+
"storage",
|
|
29
|
+
"network-interceptor",
|
|
30
|
+
"typescript"
|
|
31
|
+
],
|
|
32
|
+
"author": "Kickz1nn <https://github.com/Kickz1nn>",
|
|
33
|
+
"license": "MIT",
|
|
34
|
+
"repository": {
|
|
35
|
+
"type": "git",
|
|
36
|
+
"url": "git+https://github.com/Kickz1nn/react-dev-companion.git"
|
|
37
|
+
},
|
|
38
|
+
"peerDependencies": {
|
|
39
|
+
"react": ">=17.0.0",
|
|
40
|
+
"react-dom": ">=17.0.0"
|
|
41
|
+
},
|
|
42
|
+
"devDependencies": {
|
|
43
|
+
"@commitlint/cli": "^21.2.4",
|
|
44
|
+
"@commitlint/config-conventional": "^21.2.4",
|
|
45
|
+
"@types/node": "^26.6.6",
|
|
46
|
+
"@types/react": "^19.3.0",
|
|
47
|
+
"@types/react-dom": "^19.3.0",
|
|
48
|
+
"@vitejs/plugin-react": "^6.2.1",
|
|
49
|
+
"typescript": "^6.0.3",
|
|
50
|
+
"vite": "^8.3.6",
|
|
51
|
+
"vite-plugin-dts": "^5.1.2"
|
|
52
|
+
}
|
|
53
|
+
}
|