Skip to content

Commit

Permalink
chore: cleanup package
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicolas Burtey committed Oct 31, 2024
1 parent 1825a20 commit 6ccc06b
Show file tree
Hide file tree
Showing 4 changed files with 124 additions and 38 deletions.
9 changes: 9 additions & 0 deletions apps/admin-panel/next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,15 @@ const nextConfig = {
},
experimental: {
instrumentationHook: true,
turbo: {
enabled: true,
rules: {
"**/*.svg": {
loaders: ["@svgr/webpack"],
as: "default",
},
},
},
},
output: "standalone",
basePath: process.env.BASE_PATH,
Expand Down
10 changes: 8 additions & 2 deletions apps/admin-panel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"node": "20"
},
"scripts": {
"dev": "next dev --port 3001",
"dev": "next dev --turbo --port 3001",
"build": "next build",
"start": "next start",
"lint": "next lint",
Expand All @@ -31,14 +31,21 @@
"@t3-oss/env-nextjs": "^0.10.1",
"apollo-upload-client": "^18.0.1",
"axios": "^1.7.2",
"chart.js": "^4.4.6",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.1",
"next": "14.2.10",
"next-auth": "^4.24.3",
"nodemailer": "^6.9.16",
"pg": "^8.12.0",
"react": "18",
"react-chartjs-2": "^5.2.0",
"react-dom": "18",
"react-dropzone": "^14.2.3",
"react-icons": "^5.2.1",
"sonner": "^1.5.0",
"tailwind-merge": "^2.5.4",
"tailwindcss-animate": "^1.0.7",
"zod": "^3.23.8"
},
"devDependencies": {
Expand All @@ -59,7 +66,6 @@
"@storybook/test": "^8.1.3",
"@svgr/webpack": "^8.1.0",
"@types/apollo-upload-client": "^18.0.0",
"@types/axios": "^0.14.0",
"@types/node": "20",
"@types/pg": "^8.11.6",
"@types/react": "18",
Expand Down
119 changes: 88 additions & 31 deletions apps/admin-panel/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 19 additions & 5 deletions apps/admin-panel/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
{
"compilerOptions": {
"lib": ["dom", "dom.iterable", "esnext"],
"lib": [
"dom",
"dom.iterable",
"esnext"
],
"allowJs": true,
"skipLibCheck": true,
"strict": true,
Expand All @@ -18,9 +22,19 @@
}
],
"paths": {
"@/*": ["./*"]
}
"@/*": [
"./*"
]
},
"target": "ES2017"
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
"exclude": ["node_modules"]
"include": [
"next-env.d.ts",
"**/*.ts",
"**/*.tsx",
".next/types/**/*.ts"
],
"exclude": [
"node_modules"
]
}

0 comments on commit 6ccc06b

Please sign in to comment.