Skip to content
Open
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
5 changes: 1 addition & 4 deletions apps/api/next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,7 @@ dotenv.config({

/** @type {import('next').NextConfig} */
const config = {
experimental: {
serverComponentsExternalPackages: ['sharp', 'onnxruntime-node'],
instrumentationHook: true,
},
serverExternalPackages: ['sharp', 'onnxruntime-node'],
webpack: (cfg) => {
// In e2e mode, swap the real TipTap client for an in-process mock
// so the API server never makes HTTP calls to TipTap Cloud.
Expand Down
12 changes: 6 additions & 6 deletions apps/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
"license": "SEE LICENSE in /LICENSE",
"type": "module",
"scripts": {
"build": "next build",
"build:prod": "cd ../../services/db && pnpm run migrate && cd ../../apps/api && next build",
"dev": "next dev -p 3300",
"dev:e2e": "next dev -p 4300",
"build": "next build --webpack",
"build:prod": "cd ../../services/db && pnpm run migrate && cd ../../apps/api && next build --webpack",
"dev": "next dev -p 3300 --webpack",
"dev:e2e": "next dev -p 4300 --webpack",
"format:check": "prettier --log-level=warn --check \"**/*.{ts,tsx}\" \"!.next\"",
"start": "next start",
"typecheck": "tsgo --noEmit"
Expand All @@ -23,8 +23,8 @@
"@trpc/server": "11.6.0",
"dotenv": "^16.4.7",
"next": "catalog:",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"react": "^19.2.0",
"react-dom": "^19.2.0",
"zod": "catalog:"
},
"devDependencies": {
Expand Down
6 changes: 1 addition & 5 deletions apps/app/next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,7 @@ const config = {
images: {
minimumCacheTTL: 31536000, // 1 year — assets are content-addressed
},
experimental: {
// reactCompiler: true,
serverComponentsExternalPackages: ['sharp', 'onnxruntime-node'],
instrumentationHook: true,
},
serverExternalPackages: ['sharp', 'onnxruntime-node'],

webpack: (cfg, { isServer }) => {
// In e2e mode, swap the real TipTap client for an in-process mock
Expand Down
16 changes: 8 additions & 8 deletions apps/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
"license": "SEE LICENSE in /LICENSE",
"type": "module",
"scripts": {
"build": "next build",
"build": "next build --webpack",
"check:i18n": "tsx scripts/check-missing-intl-keys.ts",
"dev": "next dev -p 3100",
"dev:e2e": "NEXT_PUBLIC_APP_PORT=4100 NEXT_PUBLIC_API_PORT=4300 next dev -p 4100",
"dev": "next dev -p 3100 --webpack",
"dev:e2e": "NEXT_PUBLIC_APP_PORT=4100 NEXT_PUBLIC_API_PORT=4300 next dev -p 4100 --webpack",
"format:check": "prettier --log-level=warn --check \"**/*.{ts,tsx}\" \"!.next\"",
"start": "next start -p 3100",
"typecheck": "tsgo --noEmit"
Expand All @@ -18,7 +18,7 @@
"@hocuspocus/transformer": "^3.4.3",
"@internationalized/date": "^3.8.2",
"@mailchimp/mailchimp_marketing": "^3.0.80",
"@next/bundle-analyzer": "^15.3.0",
"@next/bundle-analyzer": "^16.0.0",
"@op/analytics": "workspace:^",
"@op/api": "workspace:*",
"@op/cache": "workspace:*",
Expand Down Expand Up @@ -83,13 +83,13 @@
"he": "^1.2.0",
"immer": "^10.1.1",
"next": "catalog:",
"next-intl": "^4.1.0",
"next-intl": "^4.8.3",
"nuqs": "^2.8.5",
"posthog-js": "^1.236.4",
"posthog-node": "^4.13.0",
"react": "^19.0.1",
"react": "^19.2.0",
"react-aria-carousel": "^0.2.0",
"react-dom": "^19.0.1",
"react-dom": "^19.2.0",
"react-error-boundary": "^6.0.0",
"react-icons": "^5.5.0",
"sonner": "^1.7.1",
Expand All @@ -109,7 +109,7 @@
"@testing-library/user-event": "^14.6.1",
"@types/he": "^1.2.3",
"@types/json-schema": "^7.0.15",
"@types/react": "19.0.10",
"@types/react": "19.2.14",
"@types/testing-library__user-event": "^4.2.0",
"postcss": "^8.5.3",
"tailwindcss": "4.1.18",
Expand Down
2 changes: 1 addition & 1 deletion apps/app/src/middleware.ts → apps/app/src/proxy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { i18nConfig, routing } from './lib/i18n';

const useUrl = OPURLConfig('APP');

export async function middleware(request: NextRequest, event: NextFetchEvent) {
export async function proxy(request: NextRequest, event: NextFetchEvent) {
// Log request
logger.info(...transformMiddlewareRequest(request));

Expand Down
2 changes: 1 addition & 1 deletion packages/hooks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"@op/supabase": "workspace:*",
"@tanstack/react-query": "5.66.11",
"js-cookie": "^3.0.5",
"next-intl": "^4.1.0",
"next-intl": "^4.8.3",
"react": "^19.0.1",
"use-debounce": "^10.0.4"
},
Expand Down
449 changes: 315 additions & 134 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pnpm-workspace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ packages:
- 'tools/*'
- 'tests/*'
catalog:
next: 15.3.8
next: 16.1.6
'@rjsf/core': ^5.24.12
'@rjsf/utils': ^5.24.12
'@rjsf/validator-ajv8': ^5.24.12
Expand Down