Skip to content

Commit 3fc597a

Browse files
committed
update deps and fix turbopack build?
1 parent aa46e27 commit 3fc597a

File tree

12 files changed

+1328
-1603
lines changed

12 files changed

+1328
-1603
lines changed

apps/dashboard/next.config.js

Lines changed: 60 additions & 83 deletions
Original file line numberDiff line numberDiff line change
@@ -86,21 +86,6 @@ function determineIpfsGateways() {
8686

8787
/** @type {import('next').NextConfig} */
8888
const moduleExports = {
89-
webpack: (config, { dev }) => {
90-
if (config.cache && !dev) {
91-
config.cache = Object.freeze({
92-
type: "memory",
93-
});
94-
config.cache.maxMemoryGenerations = 0;
95-
}
96-
config.externals.push("pino-pretty");
97-
config.module = {
98-
...config.module,
99-
exprContextCritical: false,
100-
};
101-
// Important: return the modified config
102-
return config;
103-
},
10489
async headers() {
10590
return [
10691
{
@@ -152,73 +137,65 @@ const moduleExports = {
152137
],
153138
},
154139
reactStrictMode: true,
155-
experimental: {
156-
scrollRestoration: true,
157-
webpackBuildWorker: true,
158-
serverSourceMaps: false,
159-
},
160-
cacheMaxMemorySize: 0,
161-
compiler: {
162-
emotion: true,
163-
},
164-
productionBrowserSourceMaps: false,
165140
};
166141

167-
const { withSentryConfig } = require("@sentry/nextjs");
168-
const { withPlausibleProxy } = require("next-plausible");
169-
170-
// we only want sentry on production environments
171-
const wSentry =
172-
process.env.NODE_ENV === "production" ? withSentryConfig : (x) => x;
173-
174-
const withBundleAnalyzer = require("@next/bundle-analyzer")({
175-
enabled: process.env.ANALYZE === "true",
176-
});
177-
178-
module.exports = withBundleAnalyzer(
179-
withPlausibleProxy({
180-
customDomain: "https://pl.thirdweb.com",
181-
scriptName: "pl",
182-
})(
183-
wSentry(moduleExports, {
184-
// For all available options, see:
185-
// https://github.com/getsentry/sentry-webpack-plugin#options
186-
187-
org: "thirdweb-dev",
188-
project: "dashboard",
189-
// An auth token is required for uploading source maps.
190-
authToken: process.env.SENTRY_AUTH_TOKEN,
191-
// Suppresses source map uploading logs during build
192-
silent: true,
193-
// For all available options, see:
194-
// https://docs.sentry.io/platforms/javascript/guides/nextjs/manual-setup/
195-
196-
// Upload a larger set of source maps for prettier stack traces (increases build time)
197-
widenClientFileUpload: true,
198-
199-
// Transpiles SDK to be compatible with IE11 (increases bundle size)
200-
transpileClientSDK: false,
201-
202-
// Routes browser requests to Sentry through a Next.js rewrite to circumvent ad-blockers (increases server load)
203-
tunnelRoute: "/err",
204-
205-
// Hides source maps from generated client bundles
206-
hideSourceMaps: true,
207-
208-
// Automatically tree-shake Sentry logger statements to reduce bundle size
209-
disableLogger: true,
210-
211-
// Enables automatic instrumentation of Vercel Cron Monitors.
212-
// See the following for more information:
213-
// https://docs.sentry.io/product/crons/
214-
// https://vercel.com/docs/cron-jobs
215-
automaticVercelMonitors: false,
216-
217-
/**
218-
* Disables the Sentry Webpack plugin on the server.
219-
* See: https://github.com/getsentry/sentry-javascript/issues/10468#issuecomment-2004710692
220-
*/
221-
disableServerWebpackPlugin: true,
222-
}),
223-
),
224-
);
142+
if (process.env.NODE_ENV !== "production") {
143+
// do not add any extra plugins outside of production
144+
module.exports = moduleExports;
145+
} else {
146+
// add plugins for production
147+
148+
const { withSentryConfig } = require("@sentry/nextjs");
149+
const { withPlausibleProxy } = require("next-plausible");
150+
const withBundleAnalyzer = require("@next/bundle-analyzer")({
151+
enabled: process.env.ANALYZE === "true",
152+
});
153+
154+
module.exports = withBundleAnalyzer(
155+
withPlausibleProxy({
156+
customDomain: "https://pl.thirdweb.com",
157+
scriptName: "pl",
158+
})(
159+
withSentryConfig(moduleExports, {
160+
// For all available options, see:
161+
// https://github.com/getsentry/sentry-webpack-plugin#options
162+
163+
org: "thirdweb-dev",
164+
project: "dashboard",
165+
// An auth token is required for uploading source maps.
166+
authToken: process.env.SENTRY_AUTH_TOKEN,
167+
// Suppresses source map uploading logs during build
168+
silent: true,
169+
// For all available options, see:
170+
// https://docs.sentry.io/platforms/javascript/guides/nextjs/manual-setup/
171+
172+
// Upload a larger set of source maps for prettier stack traces (increases build time)
173+
widenClientFileUpload: true,
174+
175+
// Transpiles SDK to be compatible with IE11 (increases bundle size)
176+
transpileClientSDK: false,
177+
178+
// Routes browser requests to Sentry through a Next.js rewrite to circumvent ad-blockers (increases server load)
179+
tunnelRoute: "/err",
180+
181+
// Hides source maps from generated client bundles
182+
hideSourceMaps: true,
183+
184+
// Automatically tree-shake Sentry logger statements to reduce bundle size
185+
disableLogger: true,
186+
187+
// Enables automatic instrumentation of Vercel Cron Monitors.
188+
// See the following for more information:
189+
// https://docs.sentry.io/product/crons/
190+
// https://vercel.com/docs/cron-jobs
191+
automaticVercelMonitors: false,
192+
193+
/**
194+
* Disables the Sentry Webpack plugin on the server.
195+
* See: https://github.com/getsentry/sentry-javascript/issues/10468#issuecomment-2004710692
196+
*/
197+
disableServerWebpackPlugin: true,
198+
}),
199+
),
200+
);
201+
}

apps/dashboard/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"private": true,
55
"scripts": {
66
"preinstall": "npx only-allow pnpm",
7-
"dev": "next dev",
7+
"dev": "next dev --turbopack",
88
"build": "next build",
99
"start": "next start",
1010
"format": "biome format ./src --write",
@@ -50,7 +50,7 @@
5050
"@shazow/whatsabi": "^0.16.0",
5151
"@stripe/react-stripe-js": "^2.8.1",
5252
"@stripe/stripe-js": "^3.5.0",
53-
"@tanstack/react-query": "5.59.19",
53+
"@tanstack/react-query": "5.59.20",
5454
"@tanstack/react-table": "^8.17.3",
5555
"@thirdweb-dev/service-utils": "workspace:*",
5656
"@vercel/functions": "^1.4.2",
@@ -70,7 +70,7 @@
7070
"ipaddr.js": "^2.2.0",
7171
"lottie-react": "^2.4.0",
7272
"lucide-react": "0.454.0",
73-
"next": "15.0.2",
73+
"next": "15.0.3",
7474
"next-plausible": "^3.12.3",
7575
"next-seo": "^6.5.0",
7676
"next-themes": "^0.4.3",
@@ -107,8 +107,8 @@
107107
"devDependencies": {
108108
"@chakra-ui/cli": "^2.4.1",
109109
"@chromatic-com/storybook": "3.2.2",
110-
"@next/bundle-analyzer": "15.0.2",
111-
"@next/eslint-plugin-next": "15.0.2",
110+
"@next/bundle-analyzer": "15.0.3",
111+
"@next/eslint-plugin-next": "15.0.3",
112112
"@playwright/test": "1.48.2",
113113
"@storybook/addon-essentials": "8.4.2",
114114
"@storybook/addon-interactions": "8.4.2",
@@ -137,7 +137,7 @@
137137
"eslint-config-biome": "1.9.3",
138138
"eslint-plugin-react-compiler": "19.0.0-beta-8a03594-20241020",
139139
"eslint-plugin-storybook": "^0.9.0",
140-
"knip": "5.36.2",
140+
"knip": "5.36.3",
141141
"next-sitemap": "^4.2.3",
142142
"postcss": "8.4.47",
143143
"storybook": "8.4.2",

apps/dashboard/src/app/team/[team_slug]/(team)/~/engine/(general)/overview/engine-list.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import {
1313
} from "lucide-react";
1414
import Image from "next/image";
1515
import Link from "next/link";
16-
import emptyStateHeaderImage from "/public/assets/engine/empty-state-header.png";
16+
import emptyStateHeaderImage from "../../../../../../../../../public/assets/engine/empty-state-header.png";
1717
import { EngineInstancesTable } from "./engine-instances-table";
1818

1919
export const EngineInstancesList = (props: {

apps/dashboard/src/components/explore/upsells/publish-submit.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import { Button } from "@/components/ui/button";
22
import { TrackedLinkTW } from "@/components/ui/tracked-link";
33
import Image from "next/image";
4-
import exploreFeatureImage from "/public/assets/landingpage/explore-featured.png";
5-
import heroIcon1 from "/public/assets/product-pages/publish/hero-icon-1.png";
6-
import heroIcon2 from "/public/assets/product-pages/publish/hero-icon-2.png";
4+
import exploreFeatureImage from "../../../../public/assets/landingpage/explore-featured.png";
5+
import heroIcon1 from "../../../../public/assets/product-pages/publish/hero-icon-1.png";
6+
import heroIcon2 from "../../../../public/assets/product-pages/publish/hero-icon-2.png";
77

88
export const PublishUpsellCard: React.FC = () => {
99
return (

apps/dashboard/src/components/product-pages/common/nav/data.ts

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,33 @@
1-
import connectIcon from "/public/assets/landingpage/connect-icon.png";
2-
import contractsIcon from "/public/assets/landingpage/contracts-icon.png";
3-
import engineIcon from "/public/assets/landingpage/engine-icon.png";
4-
import authIcon from "/public/assets/product-icons/auth.png";
5-
import cliIcon from "/public/assets/product-icons/cli.svg";
6-
import contractsProductIcon from "/public/assets/product-icons/contracts.png";
7-
import dashboardProductIcon from "/public/assets/product-icons/dashboard.svg";
8-
import deployIcon from "/public/assets/product-icons/deploy.png";
9-
import embeddedWalletIcon from "/public/assets/product-icons/embedded-wallet.png";
10-
import engineProductIcon from "/public/assets/product-icons/engine.png";
11-
import extensionIcon from "/public/assets/product-icons/extensions.png";
12-
import netIcon from "/public/assets/product-icons/net.svg";
13-
import payIcon from "/public/assets/product-icons/pay.svg";
14-
import publishIcon from "/public/assets/product-icons/publish.png";
15-
import reactIcon from "/public/assets/product-icons/react.svg";
16-
import rpcEdgeIcon from "/public/assets/product-icons/rpc-edge.png";
17-
import smartWalletIcon from "/public/assets/product-icons/smart-wallet.png";
18-
import solidityIcon from "/public/assets/product-icons/solidity.svg";
19-
import storageIcon from "/public/assets/product-icons/storage.png";
20-
import typescriptIcon from "/public/assets/product-icons/typescript.svg";
21-
import unityIcon from "/public/assets/product-icons/unity.svg";
22-
import walletSdkIcon from "/public/assets/product-icons/wallet-sdk.png";
23-
import chainsIcon from "/public/assets/solutions-icons/chains.svg";
24-
import gamingIcon from "/public/assets/solutions-icons/gaming.svg";
25-
import datastoreIcon from "/public/assets/tw-icons/datastore.png";
26-
import docsIcon from "/public/assets/tw-icons/docs.svg";
27-
import guidesIcon from "/public/assets/tw-icons/guides.svg";
28-
import missionIcon from "/public/assets/tw-icons/mission.svg";
29-
import opensourceIcon from "/public/assets/tw-icons/opensource.svg";
30-
import templatesIcon from "/public/assets/tw-icons/templates.svg";
1+
import connectIcon from "../../../../../public/assets/landingpage/connect-icon.png";
2+
import contractsIcon from "../../../../../public/assets/landingpage/contracts-icon.png";
3+
import engineIcon from "../../../../../public/assets/landingpage/engine-icon.png";
4+
import authIcon from "../../../../../public/assets/product-icons/auth.png";
5+
import cliIcon from "../../../../../public/assets/product-icons/cli.svg";
6+
import contractsProductIcon from "../../../../../public/assets/product-icons/contracts.png";
7+
import dashboardProductIcon from "../../../../../public/assets/product-icons/dashboard.svg";
8+
import deployIcon from "../../../../../public/assets/product-icons/deploy.png";
9+
import embeddedWalletIcon from "../../../../../public/assets/product-icons/embedded-wallet.png";
10+
import engineProductIcon from "../../../../../public/assets/product-icons/engine.png";
11+
import extensionIcon from "../../../../../public/assets/product-icons/extensions.png";
12+
import netIcon from "../../../../../public/assets/product-icons/net.svg";
13+
import payIcon from "../../../../../public/assets/product-icons/pay.svg";
14+
import publishIcon from "../../../../../public/assets/product-icons/publish.png";
15+
import reactIcon from "../../../../../public/assets/product-icons/react.svg";
16+
import rpcEdgeIcon from "../../../../../public/assets/product-icons/rpc-edge.png";
17+
import smartWalletIcon from "../../../../../public/assets/product-icons/smart-wallet.png";
18+
import solidityIcon from "../../../../../public/assets/product-icons/solidity.svg";
19+
import storageIcon from "../../../../../public/assets/product-icons/storage.png";
20+
import typescriptIcon from "../../../../../public/assets/product-icons/typescript.svg";
21+
import unityIcon from "../../../../../public/assets/product-icons/unity.svg";
22+
import walletSdkIcon from "../../../../../public/assets/product-icons/wallet-sdk.png";
23+
import chainsIcon from "../../../../../public/assets/solutions-icons/chains.svg";
24+
import gamingIcon from "../../../../../public/assets/solutions-icons/gaming.svg";
25+
import datastoreIcon from "../../../../../public/assets/tw-icons/datastore.png";
26+
import docsIcon from "../../../../../public/assets/tw-icons/docs.svg";
27+
import guidesIcon from "../../../../../public/assets/tw-icons/guides.svg";
28+
import missionIcon from "../../../../../public/assets/tw-icons/mission.svg";
29+
import opensourceIcon from "../../../../../public/assets/tw-icons/opensource.svg";
30+
import templatesIcon from "../../../../../public/assets/tw-icons/templates.svg";
3131
import type { SectionItemProps, SectionProps } from "./types";
3232

3333
export const PRODUCT_SECTIONS: SectionProps[] = [

apps/playground-web/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@
2727
"@radix-ui/react-switch": "^1.1.1",
2828
"@radix-ui/react-tabs": "^1.1.1",
2929
"@radix-ui/react-tooltip": "1.1.3",
30-
"@tanstack/react-query": "5.59.19",
30+
"@tanstack/react-query": "5.59.20",
3131
"class-variance-authority": "^0.7.0",
3232
"clsx": "^2.1.1",
3333
"lucide-react": "0.454.0",
34-
"next": "15.0.2",
34+
"next": "15.0.3",
3535
"next-themes": "^0.4.3",
3636
"prettier": "^3.3.2",
3737
"react": "19.0.0-rc-69d4b800-20241021",
@@ -48,7 +48,7 @@
4848
"@types/react": "npm:[email protected]",
4949
"@types/react-dom": "npm:[email protected]",
5050
"eslint": "8.57.0",
51-
"eslint-config-next": "15.0.2",
51+
"eslint-config-next": "15.0.3",
5252
"eslint-plugin-react-compiler": "19.0.0-beta-8a03594-20241020",
5353
"postcss": "8.4.47",
5454
"tailwindcss": "3.4.14",

apps/portal/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@
1919
"@dirtycajunrice/klee": "^1.0.1",
2020
"@mdx-js/loader": "^2.3.0",
2121
"@mdx-js/react": "^2.3.0",
22-
"@next/mdx": "15.0.2",
22+
"@next/mdx": "15.0.3",
2323
"@radix-ui/react-dialog": "1.1.2",
2424
"@radix-ui/react-dropdown-menu": "^2.1.2",
2525
"@radix-ui/react-slot": "^1.1.0",
2626
"@radix-ui/react-tabs": "^1.1.1",
27-
"@tanstack/react-query": "5.59.19",
27+
"@tanstack/react-query": "5.59.20",
2828
"@tryghost/content-api": "^1.11.21",
2929
"class-variance-authority": "^0.7.0",
3030
"clsx": "^2.1.1",
@@ -33,7 +33,7 @@
3333
"flexsearch": "^0.7.43",
3434
"github-slugger": "^2.0.0",
3535
"lucide-react": "0.454.0",
36-
"next": "15.0.2",
36+
"next": "15.0.3",
3737
"nextjs-toploader": "^1.6.12",
3838
"node-html-parser": "^6.1.13",
3939
"posthog-js": "1.67.1",
@@ -64,7 +64,7 @@
6464
"autoprefixer": "^10.4.19",
6565
"eslint": "8.57.0",
6666
"eslint-config-biome": "1.9.3",
67-
"eslint-config-next": "15.0.2",
67+
"eslint-config-next": "15.0.3",
6868
"eslint-plugin-mdx": "^3.1.5",
6969
"eslint-plugin-svg-jsx": "^1.2.4",
7070
"eslint-plugin-tailwindcss": "^3.17.5",

apps/wallet-ui/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@
1717
"@radix-ui/react-popover": "^1.1.2",
1818
"@radix-ui/react-slot": "^1.1.0",
1919
"@radix-ui/react-toast": "^1.2.2",
20-
"@tanstack/react-query": "5.59.19",
20+
"@tanstack/react-query": "5.59.20",
2121
"class-variance-authority": "^0.7.0",
2222
"clsx": "^2.1.1",
2323
"cmdk": "^1.0.4",
2424
"lucide-react": "0.454.0",
25-
"next": "15.0.2",
25+
"next": "15.0.3",
2626
"next-themes": "^0.4.3",
2727
"react": "19.0.0-rc-69d4b800-20241021",
2828
"react-dom": "19.0.0-rc-69d4b800-20241021",
@@ -39,7 +39,7 @@
3939
"@types/react": "npm:[email protected]",
4040
"@types/react-dom": "npm:[email protected]",
4141
"eslint": "8.57.0",
42-
"eslint-config-next": "15.0.2",
42+
"eslint-config-next": "15.0.3",
4343
"postcss": "8.4.47",
4444
"tailwindcss": "3.4.14",
4545
"typescript": "5.6.3"

packages/react-native-adapter/package.json

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,16 @@
2323
},
2424
"./package.json": "./package.json"
2525
},
26-
"files": ["dist/*", "src/*"],
26+
"files": [
27+
"dist/*",
28+
"src/*"
29+
],
2730
"dependencies": {
28-
"@aws-sdk/client-kms": "3.682.0",
29-
"@aws-sdk/client-lambda": "3.682.0",
30-
"@aws-sdk/credential-providers": "3.685.0",
31+
"@aws-sdk/client-kms": "3.687.0",
32+
"@aws-sdk/client-lambda": "3.687.0",
33+
"@aws-sdk/credential-providers": "3.687.0",
3134
"@mobile-wallet-protocol/client": "0.1.2",
32-
"@walletconnect/react-native-compat": "2.17.1"
35+
"@walletconnect/react-native-compat": "2.17.2"
3336
},
3437
"devDependencies": {
3538
"rimraf": "6.0.1"

packages/service-utils/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
"zod": "3.23.8"
5050
},
5151
"devDependencies": {
52-
"@cloudflare/workers-types": "4.20241022.0",
52+
"@cloudflare/workers-types": "4.20241106.0",
5353
"@types/node": "20.14.9",
5454
"typescript": "5.6.3",
5555
"vitest": "2.1.4"

0 commit comments

Comments
 (0)