Skip to content

Commit 2977053

Browse files
author
Jasham
committed
updating code
1 parent e5a807c commit 2977053

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+1366
-10675
lines changed

next.config.js

Lines changed: 9 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module.exports = {
22
reactStrictMode: false,
3-
output: 'standalone',
3+
// output: 'standalone',
44
webpack: (config, { isServer }) => {
55
if (!isServer) {
66
config.resolve.fallback = {
@@ -10,6 +10,14 @@ module.exports = {
1010
}
1111
return config;
1212
},
13+
async rewrites() {
14+
return [
15+
{
16+
source: '/v3/:path*',
17+
destination: 'https://api.cloud.sciphi.ai/v3/:path*',
18+
},
19+
];
20+
},
1321
images: {
1422
remotePatterns: [
1523
{
@@ -23,44 +31,3 @@ module.exports = {
2331
],
2432
},
2533
};
26-
27-
// Injected content via Sentry wizard below
28-
29-
const { withSentryConfig } = require('@sentry/nextjs');
30-
31-
module.exports = withSentryConfig(module.exports, {
32-
// For all available options, see:
33-
// https://www.npmjs.com/package/@sentry/webpack-plugin#options
34-
35-
org: 'sciphi',
36-
project: 'r2r-dashboard',
37-
38-
// Only print logs for uploading source maps in CI
39-
silent: !process.env.CI,
40-
41-
// For all available options, see:
42-
// https://docs.sentry.io/platforms/javascript/guides/nextjs/manual-setup/
43-
44-
// Upload a larger set of source maps for prettier stack traces (increases build time)
45-
widenClientFileUpload: true,
46-
47-
// Automatically annotate React components to show their full name in breadcrumbs and session replay
48-
reactComponentAnnotation: {
49-
enabled: true,
50-
},
51-
52-
// Route browser requests to Sentry through a Next.js rewrite to circumvent ad-blockers.
53-
// This can increase your server load as well as your hosting bill.
54-
// Note: Check that the configured route will not match with your Next.js middleware, otherwise reporting of client-
55-
// side errors will fail.
56-
tunnelRoute: '/monitoring',
57-
58-
// Automatically tree-shake Sentry logger statements to reduce bundle size
59-
disableLogger: true,
60-
61-
// Enables automatic instrumentation of Vercel Cron Monitors. (Does not yet work with App Router route handlers.)
62-
// See the following for more information:
63-
// https://docs.sentry.io/product/crons/
64-
// https://vercel.com/docs/cron-jobs
65-
automaticVercelMonitors: true,
66-
});

package.json

Lines changed: 24 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -27,28 +27,27 @@
2727
},
2828
"license": "MIT",
2929
"dependencies": {
30-
"@radix-ui/react-accordion": "^1.2.2",
31-
"@radix-ui/react-alert-dialog": "^1.1.5",
32-
"@radix-ui/react-avatar": "^1.1.2",
33-
"@radix-ui/react-checkbox": "^1.1.3",
34-
"@radix-ui/react-collapsible": "^1.1.2",
35-
"@radix-ui/react-dialog": "^1.1.5",
36-
"@radix-ui/react-dropdown-menu": "^2.1.5",
30+
"@radix-ui/react-accordion": "^1.2.3",
31+
"@radix-ui/react-alert-dialog": "^1.1.6",
32+
"@radix-ui/react-avatar": "^1.1.3",
33+
"@radix-ui/react-checkbox": "^1.1.4",
34+
"@radix-ui/react-collapsible": "^1.1.3",
35+
"@radix-ui/react-dialog": "^1.1.6",
36+
"@radix-ui/react-dropdown-menu": "^2.1.6",
3737
"@radix-ui/react-icons": "^1.3.2",
38-
"@radix-ui/react-label": "^2.1.1",
39-
"@radix-ui/react-menubar": "^1.1.5",
40-
"@radix-ui/react-popover": "^1.1.5",
41-
"@radix-ui/react-progress": "^1.1.1",
42-
"@radix-ui/react-select": "^2.1.5",
43-
"@radix-ui/react-slider": "^1.2.2",
44-
"@radix-ui/react-slot": "^1.1.1",
45-
"@radix-ui/react-switch": "^1.1.2",
46-
"@radix-ui/react-tabs": "^1.1.2",
47-
"@radix-ui/react-toast": "^1.2.5",
48-
"@radix-ui/react-tooltip": "^1.1.7",
38+
"@radix-ui/react-label": "^2.1.2",
39+
"@radix-ui/react-menubar": "^1.1.6",
40+
"@radix-ui/react-popover": "^1.1.6",
41+
"@radix-ui/react-progress": "^1.1.2",
42+
"@radix-ui/react-select": "^2.1.6",
43+
"@radix-ui/react-slider": "^1.2.3",
44+
"@radix-ui/react-slot": "^1.1.2",
45+
"@radix-ui/react-switch": "^1.1.3",
46+
"@radix-ui/react-tabs": "^1.1.3",
47+
"@radix-ui/react-toast": "^1.2.6",
48+
"@radix-ui/react-tooltip": "^1.1.8",
4949
"@react-spring/web": "^9.7.5",
50-
"@sentry/nextjs": "^9",
51-
"@supabase/supabase-js": "^2.48.1",
50+
"@supabase/supabase-js": "^2.49.1",
5251
"@tailwindcss/forms": "^0.5.10",
5352
"@types/topojson-specification": "^1.0.5",
5453
"@visx/axis": "^3.12.0",
@@ -65,7 +64,7 @@
6564
"@visx/tooltip": "^3.12.0",
6665
"@visx/vendor": "^3.12.0",
6766
"ansi_up": "^6.0.2",
68-
"chart.js": "^4.4.7",
67+
"chart.js": "^4.4.8",
6968
"class-variance-authority": "^0.7.1",
7069
"clsx": "^2.1.1",
7170
"d3": "^7.9.0",
@@ -83,7 +82,9 @@
8382
"react-dom": "18.3.1",
8483
"react-dropzone": "^14.3.5",
8584
"react-markdown": "^9.0.3",
85+
"react-pdf": "^9.2.1",
8686
"sass": "^1.83.4",
87+
"styled-components": "^6.1.17",
8788
"tailwind-merge": "^2.6.0",
8889
"tailwindcss-animate": "^1.0.7",
8990
"topojson-client": "^3.1.0",
@@ -105,7 +106,8 @@
105106
"eslint-plugin-prettier": "^5.2.3",
106107
"husky": "^9.1.7",
107108
"lint-staged": "^15.4.3",
108-
"prettier": "^3.4.2",
109+
"pnpm": "^10.4.1",
110+
"prettier": "^3.5.2",
109111
"tailwindcss": "^3.4.17",
110112
"typescript": "5.5.2"
111113
}

0 commit comments

Comments
 (0)