Skip to content
Draft
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
6 changes: 6 additions & 0 deletions apps/bridge/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ module.exports = (phase, { defaultConfig }) => {
},
reactStrictMode: true,
experimental: {
// TypeScript 7 is the native compiler and ships no JS compiler API, so
// Next has to shell out to `tsc` for the build's type-check step.
useTypeScriptCli: true,
optimizePackageImports: [
'lucide-react',
'@radix-ui/react-checkbox',
Expand All @@ -73,6 +76,9 @@ module.exports = (phase, { defaultConfig }) => {
'@radix-ui/react-tooltip',
],
},
turbopack: {},
// Only reached under `next build --webpack`, which the `analyze` script
// needs because @next/bundle-analyzer skips Turbopack builds.
webpack: config => {
config.resolve.fallback = { fs: false, net: false, tls: false };
return config;
Expand Down
6 changes: 3 additions & 3 deletions apps/bridge/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"dev": "next dev",
"build": "next build",
"start": "next start",
"analyze": "cross-env ANALYZE=true next build",
"analyze": "cross-env ANALYZE=true next build --webpack",
"lint": "next lint",
"check:types": "tsc --noEmit"
},
Expand All @@ -32,7 +32,7 @@
"flags": "^4.2.0",
"framer-motion": "^10.16.15",
"lucide-react": "^0.379.0",
"next": "15.5.22",
"next": "16.2.12",
"posthog-js": "^1.386.6",
"react": "catalog:",
"react-dom": "catalog:",
Expand All @@ -44,7 +44,7 @@
"zustand": "catalog:"
},
"devDependencies": {
"@next/bundle-analyzer": "^15.5.19",
"@next/bundle-analyzer": "^16.2.12",
"@posthog/nextjs-config": "^1.9.66",
"@tailwindcss/forms": "^0.5.0",
"@tailwindcss/postcss": "^4.0.15",
Expand Down
4 changes: 2 additions & 2 deletions apps/bridge/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"moduleResolution": "bundler",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
"jsx": "react-jsx",
"incremental": true,
"plugins": [
{
Expand All @@ -32,4 +32,4 @@
"exclude": [
"node_modules"
]
}
}
1 change: 1 addition & 0 deletions apps/explorer/css.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
declare module '*.css';
5 changes: 5 additions & 0 deletions apps/explorer/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ const REMOTE_PATTERNS = [

const nextConfig = {
reactStrictMode: true,
experimental: {
// TypeScript 7 is the native compiler and ships no JS compiler API, so
// Next has to shell out to `tsc` for the build's type-check step.
useTypeScriptCli: true,
},
images: {
remotePatterns: REMOTE_PATTERNS,
},
Expand Down
4 changes: 2 additions & 2 deletions apps/explorer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"framer-motion": "^10.16.15",
"heroicons": "^2.0.18",
"lucide-react": "^0.379.0",
"next": "15.5.22",
"next": "16.2.12",
"react": "catalog:",
"react-dom": "catalog:",
"swr": "catalog:",
Expand All @@ -38,7 +38,7 @@
"eslint-config-next": "^15.5.19",
"postcss": "^8.5.10",
"tailwindcss": "^4.0.15",
"typescript": "^5"
"typescript": "catalog:"
},
"packageManager": "pnpm@10.20.0"
}
7 changes: 4 additions & 3 deletions apps/explorer/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"moduleResolution": "bundler",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
"jsx": "react-jsx",
"incremental": true,
"plugins": [
{
Expand All @@ -32,9 +32,10 @@
"next-env.d.ts",
"**/*.ts",
"**/*.tsx",
".next/types/**/*.ts"
".next/types/**/*.ts",
".next/dev/types/**/*.ts"
],
"exclude": [
"node_modules"
]
}
}
2 changes: 1 addition & 1 deletion apps/widget-cdn/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"css-loader": "^7.1.2",
"mini-css-extract-plugin": "^2.9.2",
"style-loader": "^4.0.0",
"typescript": "^5.9.2",
"typescript": "catalog:",
"wrangler": "^4.0.0"
}
}
1 change: 1 addition & 0 deletions apps/widget-cdn/src/css.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
declare module '*.css';
1 change: 1 addition & 0 deletions apps/widget-playground/css.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
declare module '*.css';
6 changes: 6 additions & 0 deletions apps/widget-playground/next.config.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,18 @@
import type { NextConfig } from "next";

const nextConfig: NextConfig = {
turbopack: {},
webpack: (config) => {
config.resolve.fallback = { fs: false, net: false, tls: false }
config.externals.push('pino-pretty', 'lokijs', 'encoding')
return config
},
reactStrictMode: true,
experimental: {
// TypeScript 7 is the native compiler and ships no JS compiler API, so
// Next has to shell out to `tsc` for the build's type-check step.
useTypeScriptCli: true,
},
};

export default nextConfig;
4 changes: 2 additions & 2 deletions apps/widget-playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"color": "4.2.3",
"highlight.js": "^11.11.1",
"lucide-react": "^0.379.0",
"next": "15.5.22",
"next": "16.2.12",
"radix-ui": "^1.4.3",
"react": "catalog:",
"react-dom": "catalog:",
Expand All @@ -49,6 +49,6 @@
"postcss": "^8.5.10",
"tailwindcss": "4.0.15",
"tailwindcss-animate": "^1.0.5",
"typescript": "^5"
"typescript": "catalog:"
}
}
9 changes: 5 additions & 4 deletions apps/widget-playground/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"moduleResolution": "bundler",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
"jsx": "react-jsx",
"incremental": true,
"plugins": [
{
Expand All @@ -25,16 +25,17 @@
"paths": {
"@/*": [
"./src/*"
],
]
}
},
"include": [
"next-env.d.ts",
"**/*.ts",
"**/*.tsx",
".next/types/**/*.ts"
".next/types/**/*.ts",
".next/dev/types/**/*.ts"
],
"exclude": [
"node_modules"
]
}
}
2 changes: 1 addition & 1 deletion examples/widget-react-host/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"@types/react": "catalog:",
"@types/react-dom": "catalog:",
"@vitejs/plugin-react": "^5.1.2",
"typescript": "^5.9.3",
"typescript": "catalog:",
"vite": "^7.3.0",
"vite-plugin-node-polyfills": "^0.24.0"
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"tailwindcss-animate": "^1.0.5",
"tsc-alias": "^1.8.16",
"tsc-watch": "^6.2.0",
"typescript": "^5.9.2"
"typescript": "catalog:"
},
"packageManager": "pnpm@10.20.0",
"devEngines": {
Expand Down
3 changes: 2 additions & 1 deletion packages/utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,10 @@
"js-sha3": "^0.8.0"
},
"devDependencies": {
"@types/node": "^24.5.1",
"rimraf": "^5.0.0",
"tsc-alias": "^1.8.16",
"typescript": "^5.9.2"
"typescript": "catalog:"
},
"engines": {
"node": ">=22"
Expand Down
1 change: 1 addition & 0 deletions packages/wallets/bitcoin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
"@bigmi/client": "^0.10.1",
"@bigmi/core": "^0.9.0",
"@layerswap/widget": "workspace:^",
"@types/node": "^24.5.1",
"zustand": "catalog:"
},
"engines": {
Expand Down
1 change: 1 addition & 0 deletions packages/widget/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@
},
"devDependencies": {
"@tailwindcss/postcss": "^4.0.15",
"@types/node": "^24.5.1",
"@types/react": "catalog:",
"chromatic": "^6.24.1",
"esbuild-plugin-path-alias": "^1.0.7",
Expand Down
Loading