Skip to content

Commit a4ffeec

Browse files
committed
added code
1 parent 6dbe91b commit a4ffeec

File tree

6 files changed

+49
-64
lines changed

6 files changed

+49
-64
lines changed

.eslintrc.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"extends": "next/core-web-vitals"
2+
"extends": "next/core-web-vitals"
33
}

.prettierrc

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
{
2-
"tabWidth": 4,
3-
"plugins": [
4-
"prettier-plugin-tailwindcss"
5-
]
2+
"tabWidth": 4,
3+
"plugins": ["prettier-plugin-tailwindcss"]
64
}

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ optimize and load [Geist](https://vercel.com/font), a new font family for Vercel
2626

2727
To learn more about Next.js, take a look at the following resources:
2828

29-
- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
30-
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.
29+
- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
30+
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.
3131

3232
You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js) - your feedback and contributions
3333
are welcome!

app/_components/initial-nodes.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,4 +73,4 @@ export const initialNodes = [
7373
position: { x: 100, y: 200 },
7474
data: { label: "Node C" },
7575
},
76-
];
76+
];

components.json

+19-19
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
{
2-
"$schema": "https://ui.shadcn.com/schema.json",
3-
"style": "default",
4-
"rsc": true,
5-
"tsx": true,
6-
"tailwind": {
7-
"config": "tailwind.config.ts",
8-
"css": "app/globals.css",
9-
"baseColor": "zinc",
10-
"cssVariables": true,
11-
"prefix": ""
12-
},
13-
"aliases": {
14-
"components": "@/components",
15-
"utils": "@/lib/utils",
16-
"ui": "@/components/ui",
17-
"lib": "@/lib",
18-
"hooks": "@/hooks"
19-
},
20-
"iconLibrary": "lucide"
2+
"$schema": "https://ui.shadcn.com/schema.json",
3+
"style": "default",
4+
"rsc": true,
5+
"tsx": true,
6+
"tailwind": {
7+
"config": "tailwind.config.ts",
8+
"css": "app/globals.css",
9+
"baseColor": "zinc",
10+
"cssVariables": true,
11+
"prefix": ""
12+
},
13+
"aliases": {
14+
"components": "@/components",
15+
"utils": "@/lib/utils",
16+
"ui": "@/components/ui",
17+
"lib": "@/lib",
18+
"hooks": "@/hooks"
19+
},
20+
"iconLibrary": "lucide"
2121
}

tsconfig.json

+24-37
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,26 @@
11
{
2-
"compilerOptions": {
3-
"lib": [
4-
"dom",
5-
"dom.iterable",
6-
"esnext"
7-
],
8-
"allowJs": true,
9-
"skipLibCheck": true,
10-
"strict": true,
11-
"noEmit": true,
12-
"esModuleInterop": true,
13-
"module": "esnext",
14-
"moduleResolution": "bundler",
15-
"resolveJsonModule": true,
16-
"isolatedModules": true,
17-
"jsx": "preserve",
18-
"incremental": true,
19-
"plugins": [
20-
{
21-
"name": "next"
22-
}
23-
],
24-
"paths": {
25-
"@/*": [
26-
"./*"
27-
]
28-
}
29-
},
30-
"include": [
31-
"next-env.d.ts",
32-
"**/*.ts",
33-
"**/*.tsx",
34-
".next/types/**/*.ts"
35-
],
36-
"exclude": [
37-
"node_modules"
38-
]
2+
"compilerOptions": {
3+
"lib": ["dom", "dom.iterable", "esnext"],
4+
"allowJs": true,
5+
"skipLibCheck": true,
6+
"strict": true,
7+
"noEmit": true,
8+
"esModuleInterop": true,
9+
"module": "esnext",
10+
"moduleResolution": "bundler",
11+
"resolveJsonModule": true,
12+
"isolatedModules": true,
13+
"jsx": "preserve",
14+
"incremental": true,
15+
"plugins": [
16+
{
17+
"name": "next"
18+
}
19+
],
20+
"paths": {
21+
"@/*": ["./*"]
22+
}
23+
},
24+
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
25+
"exclude": ["node_modules"]
3926
}

0 commit comments

Comments
 (0)