@ridit/lens 0.4.1 → 0.4.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ridit/lens",
3
- "version": "0.4.1",
3
+ "version": "0.4.3",
4
4
  "description": "Understand your codebase.",
5
5
  "author": "Ridit Jangra <riditjangra09@gmail.com> (https://ridit.space)",
6
6
  "license": "MIT",
@@ -14,26 +14,24 @@
14
14
  },
15
15
  "scripts": {
16
16
  "dev": "bun src/index.tsx",
17
- "build": "bun build src/index.tsx --target node --outfile dist/index.mjs --external react-devtools-core",
17
+ "build": "bun build src/index.tsx --target node --outfile dist/index.mjs",
18
18
  "postbuild": "node -e \"const fs=require('fs');const f='dist/index.mjs';fs.writeFileSync(f,'#!/usr/bin/env node\\n'+fs.readFileSync(f,'utf8'))\"",
19
19
  "prepublishOnly": "bun run build",
20
20
  "test": "bun test"
21
21
  },
22
22
  "dependencies": {
23
- "@ridit/ink-ui": "*",
24
- "@ridit/lens-core": "*",
25
23
  "chalk": "^5.6.2",
26
24
  "commander": "^14.0.3",
27
25
  "figures": "^6.1.0",
28
26
  "ink": "4.4.1",
29
27
  "ink-spinner": "^5.0.0",
30
28
  "ink-text-input": "^6.0.0",
31
- "react": "18.2.0"
29
+ "react": "18.2.0",
30
+ "react-devtools-core": "^7.0.1"
32
31
  },
33
32
  "devDependencies": {
34
33
  "@types/react": "^18.0.0",
35
- "@types/bun": "latest",
36
- "@ridit/typescript-config": "*"
34
+ "@types/bun": "latest"
37
35
  },
38
36
  "peerDependencies": {
39
37
  "typescript": "^5"
@@ -3,7 +3,6 @@ import { Box, Text, Static, useInput } from "ink";
3
3
  import { ACCENT, GREEN, RED } from "../../colors";
4
4
  import { AppHeader, InputBox, ShortcutBar, TypewriterText } from "./StatusBar";
5
5
  import { StaticMessage } from "./Message";
6
- import { MessageBody } from "@ridit/ink-ui";
7
6
  import type { UIMessage } from "./Message";
8
7
  import { ProviderSetup } from "../provider/ProviderSetup";
9
8
  import {
@@ -455,7 +454,7 @@ export function ChatRunner({
455
454
  {currentChunk ? (
456
455
  <Box gap={1}>
457
456
  <Text color={ACCENT}>●</Text>
458
- <MessageBody content={currentChunk} />
457
+ <Text wrap="wrap">{currentChunk}</Text>
459
458
  </Box>
460
459
  ) : (
461
460
  <>