Skip to content

Commit 879b94f

Browse files
committed
wip
1 parent 9be0e6c commit 879b94f

File tree

21 files changed

+808
-350
lines changed

21 files changed

+808
-350
lines changed

examples/node/express-typescript/.napirc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
"out": "napi_dist",
44
"openaiApiKeyFilePath": "../../.OPENAIKEY",
55
"audit": {
6-
"patterns": ["src/**"],
6+
"include": ["src/**"],
7+
"exclude": [],
78
"targetMaxCharInFile": 5000,
89
"targetMaxLineInFile": 500,
910
"targetMaxDepPerFile": 4

examples/node/express/.napirc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
"out": "napi_dist",
44
"openaiApiKeyFilePath": "../../.OPENAIKEY",
55
"audit": {
6-
"patterns": ["src/**"],
6+
"include": ["src/**"],
7+
"exclude": [],
78
"targetMaxCharInFile": 5000,
89
"targetMaxLineInFile": 500,
910
"targetMaxDepPerFile": 4

examples/node/nestjs-typescript/.napirc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
"out": "napi_dist",
44
"openaiApiKeyFilePath": "../../.OPENAIKEY",
55
"audit": {
6-
"patterns": ["src/**"],
6+
"include": ["src/**"],
7+
"exclude": [],
78
"targetMaxCharInFile": 5000,
89
"targetMaxLineInFile": 500,
910
"targetMaxDepPerFile": 4

examples/python/flask/.napirc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
"out": "napi_dist",
44
"openaiApiKeyFilePath": "../../.OPENAIKEY",
55
"audit": {
6-
"patterns": ["app.py", "api/**"],
6+
"include": ["app.py", "api/**"],
7+
"exclude": [],
78
"targetMaxCharInFile": 5000,
89
"targetMaxLineInFile": 500,
910
"targetMaxDepPerFile": 4

package-lock.json

Lines changed: 88 additions & 22 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/app/src/components/ReactFlow/AuditTree/ContainerReferencesNode.tsx renamed to packages/app/src/components/ReactFlow/Audit/AuditFile/ContainerNode.tsx

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,9 @@
11
import { Handle, Node, NodeProps, Position } from "@xyflow/react";
22

3-
export default function ContainerReferencesNode(
4-
props: NodeProps<
5-
Node<
6-
{
7-
containerType: "dependents" | "dependencies";
8-
isBeingDragged: boolean;
9-
} & Record<string, unknown>
10-
>
11-
>,
12-
) {
13-
const className = [
14-
`${props.data.containerType === "dependencies" ? "bg-primary-light/10 dark:bg-primary-dark/30" : "bg-secondary-light/10 dark:bg-secondary-dark/30"}`,
15-
"rounded-xl border border-border-light dark:border-border-dark",
16-
`${props.data.isBeingDragged && "bg-blue-100 dark:bg-blue-900 shadow-lg"}`,
17-
].join(" ");
18-
3+
export default function ContainerNode(props: NodeProps<Node>) {
194
return (
205
<div
21-
className={className}
6+
className="bg-transparent"
227
style={{
238
width: props.width,
249
height: props.height,

0 commit comments

Comments
 (0)