Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mvp/landing page frontend #159

Closed
1 change: 1 addition & 0 deletions index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
console.log("Hello via Bun!");
22 changes: 10 additions & 12 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,21 @@ const nextConfig = {
images: {
domains: ['avataaars.io'],
},
experimental: {
appDir: true,
},
experimental: {},
// distDir: 'build',
//output: 'export',
reactStrictMode: false,
swcMinify: true,
modularizeImports: {},
async redirects() {
return [
{
source: '/',
destination: '/explore', // Matched parameters can be used in the destination
permanent: false,
},
]
},
// async redirects() {
// return [
// {
// source: '/',
// destination: '/', // Matched parameters can be used in the destination
// permanent: false,
// },
// ]
// },
}

module.exports = nextConfig
140 changes: 140 additions & 0 deletions package copy PW.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,140 @@
{
"name": "app.decenterai.com",
"version": "0.6.0",
"description": "Decenter AI Official App: www.app.decenterai.com",
"author": "[email protected]",
"license": "MIT",
"private": true,
"prisma": {
"seed": "ts-node --transpile-only prisma/seed.ts"
},
"scripts": {
"prebuild": "npm run prisma:generate",
"build": "next build",
"start": "next start",
"start:dev": "concurrently \"pnpm:dev\" \"pnpm:prisma:generate:watch\"",
"dev": "next dev",
"lint": "next lint",
"lint:ts": "tsc --noEmit",
"lint:eslint": "eslint --fix .",
"run-cid-archived": "ts-node utils/archived/cid.ts",
"run-cid": "ts-node utils/cid.ts",
"run-compute": "ts-node utils/compute.ts",
"clean": "rimraf .next build",
"preprisma:seed": "npm run prisma:generate",
"prisma:seed": "prisma db seed",
"prisma:generate": "prisma generate",
"prisma:generate:watch": "prisma generate --watch",
"test": "jest --passWithNoTests",
"test:watch": "MODE=test jest --watch",
"test:cov": "MODE=test jest --coverage",
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
"test:e2e": "MODE=test jest --config ./test/jest-e2e.json --passWithNoTests",
"test:e2e:watch": "MODE=test jest --watch --no-cache --config ./test/jest-e2e.json",
"style": "prettier -w .",
"prepare": "husky install",
"ngrok": "ngrok http 3000"
},
"dependencies": {
"@jest/globals": "^29.7.0",
"@lighthouse-web3/sdk": "^0.2.8",
"@nextui-org/react": "^2.1.13",
"@particle-network/connectkit": "^2.0.9",
"@prisma/client": "^5.5.2",
"@types/node": "20.6.2",
"@types/react": "18.2.21",
"@types/react-dom": "18.2.7",
"argon2": "^0.31.1",
"autoprefixer": "10.4.15",
"axios": "^1.5.1",
"blob-to-buffer": "^1.2.9",
"chalk": "^5.3.0",
"cid": "github:multiformats/cid",
"cids": "^1.1.9",
"encoding": "^0.1.13",
"eslint": "8.49.0",
"eslint-config-next": "13.4.19",
"ethers": "5.7",
"file-saver": "^2.0.5",
"framer-motion": "^10.16.4",
"fs": "0.0.1-security",
"jszip": "^3.10.1",
"lokijs": "^1.5.12",
"moment": "^2.29.4",
"multiformats": "^12.1.2",
"next": "^14.2.15",
"pino-pretty": "^10.2.3",
"postcss": "8.4.29",
"random-avatar-generator": "^2.0.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-icons": "^4.11.0",
"react-intersection-observer": "^9.5.2",
"react-router-dom": "^6.18.0",
"react-spinners": "^0.13.8",
"save-as": "^0.1.8",
"semver": "^7.5.4",
"sharp": "^0.32.6",
"tailwindcss": "3.3.3",
"typescript": "5.2.2",
"unique-username-generator": "^1.2.0",
"web3.storage": "^4.5.5",
"viem": "2",
"zustand": "^4.4.6"
},
"devDependencies": {
"@types/blob-to-buffer": "^1.2.0",
"@types/file-saver": "^2.0.5",
"@types/jest": "^29.5.5",
"@types/mocha": "^10.0.2",
"@typescript-eslint/eslint-plugin": "5.12.1",
"concurrently": "^8.2.1",
"eslint-config-airbnb": "18.2.1",
"eslint-config-prettier": "8.4.0",
"eslint-plugin-jsx-a11y": "6.5.1",
"eslint-plugin-prettier": "4.0.0",
"eslint-plugin-react": "7.27.0",
"eslint-plugin-react-hooks": "4.3.0",
"eslint-plugin-security": "1.4.0",
"eslint-plugin-simple-import-sort": "7.0.0",
"eslint-plugin-sonarjs": "0.12.0",
"husky": "^8.0.3",
"is-ipfs": "^8.0.1",
"jest": "^29.7.0",
"lint-staged": "^15.0.2",
"prisma": "^5.5.2",
"react-devtools": "^4.28.4",
"rimraf": "^5.0.5",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.1"
},
"browser": {
"fs": false,
"path": false,
"os": false,
"net": false,
"tls": false
},
"engines": {
"node": ">=18.0.0",
"npm": ">=6.0.0",
"pnpm": ">=8.6.6"
},
"repository": {
"type": "git",
"url": "https://github.com/Decenter-AI/app.decenterai.com.git"
},
"bugs": {
"url": "https://github.com/Decenter-AI/app.decenterai.com/issues"
},
"homepage": "https://app.decenterai.com",
"packageManager": "[email protected]",
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{ts,tsx}": "eslint --fix"
}
}
144 changes: 144 additions & 0 deletions package copy.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,144 @@
{
"name": "app.decenterai.com",
"version": "0.6.0",
"description": "Decenter AI Official App: www.app.decenterai.com",
"author": "[email protected]",
"license": "MIT",
"private": true,
"prisma": {
"seed": "ts-node --transpile-only prisma/seed.ts"
},
"scripts": {
"postinstall": "npm run build",
"prebuild": "npm run prisma:generate",
"build": "next build",
"start": "next start",
"start:dev": "concurrently \"pnpm:dev\" \"pnpm:prisma:generate:watch\"",
"dev": "next dev",
"lint": "next lint",
"lint:ts": "tsc --noEmit",
"lint:eslint": "eslint --fix .",
"run-cid-archived": "ts-node utils/archived/cid.ts",
"run-cid": "ts-node utils/cid.ts",
"run-compute": "ts-node utils/compute.ts",
"clean": "rimraf .next build",
"preprisma:seed": "npm run prisma:generate",
"prisma:seed": "prisma db seed",
"prisma:generate": "prisma generate",
"prisma:generate:watch": "prisma generate --watch",
"test": "jest --passWithNoTests",
"test:watch": "MODE=test jest --watch",
"test:cov": "MODE=test jest --coverage",
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
"test:e2e": "MODE=test jest --config ./test/jest-e2e.json --passWithNoTests",
"test:e2e:watch": "MODE=test jest --watch --no-cache --config ./test/jest-e2e.json",
"style": "prettier -w .",
"prepare": "husky install",
"ngrok": "ngrok http 3000"
},
"dependencies": {
"@jest/globals": "^29.7.0",
"@lighthouse-web3/sdk": "^0.2.8",
"@nextui-org/react": "^2.1.13",
"@particle-network/auth": "^1.2.2",
"@particle-network/chains": "^1.3.0",
"@particle-network/connect": "^1.2.1",
"@particle-network/connect-react-ui": "^1.2.1",
"@particle-network/provider": "^1.2.1",
"@prisma/client": "^5.5.2",
"@types/node": "20.6.2",
"@types/react": "18.2.21",
"@types/react-dom": "18.2.7",
"argon2": "^0.31.1",
"autoprefixer": "10.4.15",
"axios": "^1.5.1",
"blob-to-buffer": "^1.2.9",
"chalk": "^5.3.0",
"cid": "github:multiformats/cid",
"cids": "^1.1.9",
"encoding": "^0.1.13",
"eslint": "8.49.0",
"eslint-config-next": "13.4.19",
"ethers": "5.7",
"file-saver": "^2.0.5",
"framer-motion": "^10.16.4",
"fs": "0.0.1-security",
"jszip": "^3.10.1",
"lokijs": "^1.5.12",
"moment": "^2.29.4",
"multiformats": "^12.1.2",
"next": "^14.2.15",
"pino-pretty": "^10.2.3",
"postcss": "8.4.29",
"random-avatar-generator": "^2.0.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-icons": "^4.11.0",
"react-intersection-observer": "^9.5.2",
"react-router-dom": "^6.18.0",
"react-spinners": "^0.13.8",
"save-as": "^0.1.8",
"semver": "^7.5.4",
"sharp": "^0.32.6",
"tailwindcss": "3.3.3",
"typescript": "5.2.2",
"unique-username-generator": "^1.2.0",
"web3.storage": "^4.5.5",
"zustand": "^4.4.6"
},
"devDependencies": {
"@types/blob-to-buffer": "^1.2.0",
"@types/file-saver": "^2.0.5",
"@types/jest": "^29.5.5",
"@types/mocha": "^10.0.2",
"@typescript-eslint/eslint-plugin": "5.12.1",
"concurrently": "^8.2.1",
"eslint-config-airbnb": "18.2.1",
"eslint-config-prettier": "8.4.0",
"eslint-plugin-jsx-a11y": "6.5.1",
"eslint-plugin-prettier": "4.0.0",
"eslint-plugin-react": "7.27.0",
"eslint-plugin-react-hooks": "4.3.0",
"eslint-plugin-security": "1.4.0",
"eslint-plugin-simple-import-sort": "7.0.0",
"eslint-plugin-sonarjs": "0.12.0",
"husky": "^8.0.3",
"is-ipfs": "^8.0.1",
"jest": "^29.7.0",
"lint-staged": "^15.0.2",
"prisma": "^5.5.2",
"react-devtools": "^4.28.4",
"rimraf": "^5.0.5",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.1"
},
"browser": {
"fs": false,
"path": false,
"os": false,
"net": false,
"tls": false
},
"engines": {
"node": ">=18.0.0",
"npm": ">=6.0.0",
"pnpm": ">=8.6.6"
},
"repository": {
"type": "git",
"url": "https://github.com/Decenter-AI/app.decenterai.com.git"
},
"bugs": {
"url": "https://github.com/Decenter-AI/app.decenterai.com/issues"
},
"homepage": "https://app.decenterai.com",
"packageManager": "[email protected]",
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{ts,tsx}": "eslint --fix"
}
}
14 changes: 5 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
"seed": "ts-node --transpile-only prisma/seed.ts"
},
"scripts": {
"postinstall": "npm run build",
"prebuild": "npm run prisma:generate",
"build": "next build",
"start": "next start",
Expand Down Expand Up @@ -40,11 +39,7 @@
"@jest/globals": "^29.7.0",
"@lighthouse-web3/sdk": "^0.2.8",
"@nextui-org/react": "^2.1.13",
"@particle-network/auth": "^1.2.2",
"@particle-network/chains": "^1.3.0",
"@particle-network/connect": "^1.2.1",
"@particle-network/connect-react-ui": "^1.2.1",
"@particle-network/provider": "^1.2.1",
"@particle-network/connectkit": "^2.0.9",
"@prisma/client": "^5.5.2",
"@types/node": "20.6.2",
"@types/react": "18.2.21",
Expand All @@ -67,12 +62,12 @@
"lokijs": "^1.5.12",
"moment": "^2.29.4",
"multiformats": "^12.1.2",
"next": "13.4.19",
"next": "^14.2.15",
"pino-pretty": "^10.2.3",
"postcss": "8.4.29",
"random-avatar-generator": "^2.0.0",
"react": "18.2.0",
"react-dom": "18.2.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-icons": "^4.11.0",
"react-intersection-observer": "^9.5.2",
"react-router-dom": "^6.18.0",
Expand All @@ -84,6 +79,7 @@
"typescript": "5.2.2",
"unique-username-generator": "^1.2.0",
"web3.storage": "^4.5.5",
"viem": "2",
"zustand": "^4.4.6"
},
"devDependencies": {
Expand Down
Loading
Loading