Skip to content
Merged

Dev #23

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion web/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,3 @@ yarn-error.log*
# typescript
*.tsbuildinfo
next-env.d.ts
.prettierrc
39 changes: 20 additions & 19 deletions web/README.md
Original file line number Diff line number Diff line change
@@ -1,35 +1,36 @@
# Casperlens Web Application

This is the documentation of Casperlens Web Application. This is a [Next.js](https://nextjs.org) project bootstrapped with [`create-next-app`](https://nextjs.org/docs/app/api-reference/cli/create-next-app).
This is a [Next.js](https://nextjs.org) project bootstrapped with [`create-next-app`](https://nextjs.org/docs/app/api-reference/cli/create-next-app).

## Getting Started

This project uses [Bun](https://bun.sh/) as the primary package manager.

1. First, install the dependencies:

```bash
bun install
```

2. Copy the example environment file and modify it as needed:

```bash
echo NEXT_PUBLIC_API_URL=http://localhost:8000 >> .env
```

3. Then run the development server:
First, run the development server:

```bash
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
```

4. Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.

You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.

This project uses [`next/font`](https://nextjs.org/docs/app/building-your-application/optimizing/fonts) to automatically optimize and load [Geist](https://vercel.com/font), a new font family for Vercel.

## Learn More

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

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

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

## Deploy on Vercel

The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.

Check out our [Next.js deployment documentation](https://nextjs.org/docs/app/building-your-application/deploying) for more details.
935 changes: 906 additions & 29 deletions web/bun.lock

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions web/components.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
"tailwind": {
"config": "",
"css": "src/app/globals.css",
"baseColor": "neutral",
"baseColor": "gray",
"cssVariables": true,
"prefix": ""
},
"iconLibrary": "lucide",
"iconLibrary": "lucide-react",
"aliases": {
"components": "@/components",
"utils": "@/lib/utils",
Expand Down
4 changes: 3 additions & 1 deletion web/next.config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import type { NextConfig } from "next";

const nextConfig: NextConfig = {
/* config options here */
experimental: {
optimizePackageImports: ["@phosphor-icons/react"],
},
};

export default nextConfig;
31 changes: 26 additions & 5 deletions web/package.json
Original file line number Diff line number Diff line change
@@ -1,34 +1,55 @@
{
"name": "casperlens-web",
"name": "web2",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev",
"devw": "next dev --webpack",
"build": "next build",
"buildw": "next build --webpack",
"start": "next start",
"lint": "biome check",
"format": "biome format --write"
},
"dependencies": {
"@base-ui/react": "^1.0.0",
"@base-ui/react": "^1.1.0",
"@make-software/csprclick-core-client": "^1.11.0",
"@make-software/csprclick-core-types": "^1.12.3",
"@radix-ui/react-accordion": "^1.2.12",
"@radix-ui/react-avatar": "^1.1.11",
"@radix-ui/react-collapsible": "^1.1.12",
"@radix-ui/react-dialog": "^1.1.15",
"@radix-ui/react-label": "^2.1.8",
"@radix-ui/react-scroll-area": "^1.2.10",
"@radix-ui/react-select": "^2.2.6",
"@radix-ui/react-separator": "^1.1.8",
"@radix-ui/react-slot": "^1.2.4",
"@radix-ui/react-tabs": "^1.1.13",
"@radix-ui/react-tooltip": "^1.2.8",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"jotai": "^2.16.1",
"lucide-react": "^0.563.0",
"next": "16.1.1",
"next": "16.1.4",
"next-themes": "^0.4.6",
"react": "19.2.3",
"react-dom": "19.2.3",
"react-markdown": "^10.1.0",
"react-resizable-panels": "^4.4.2",
"recharts": "2.15.4",
"remark-gfm": "^4.0.1",
"shadcn": "^3.7.0",
"sonner": "^2.0.7",
"tailwind-merge": "^3.4.0",
"valibot": "^1.2.0"
"uuid": "^13.0.0",
"vaul": "^1.1.2"
},
"devDependencies": {
"@biomejs/biome": "2.2.0",
"@tailwindcss/postcss": "^4",
"@types/node": "^20",
"@types/react": "^19",
"@types/react-dom": "^19",
"@types/uuid": "^11.0.0",
"tailwindcss": "^4",
"tw-animate-css": "^1.4.0",
"typescript": "^5"
Expand Down
File renamed without changes
File renamed without changes.
165 changes: 0 additions & 165 deletions web/src/app/contracts/[id]/page.tsx

This file was deleted.

Loading