Skip to content

Commit

Permalink
Upgrade next to v15
Browse files Browse the repository at this point in the history
  • Loading branch information
RoelLeijser committed Oct 23, 2024
1 parent 8b31409 commit 6039e23
Show file tree
Hide file tree
Showing 11 changed files with 533 additions and 525 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"outputFolder": "./src/lib/ontologies",
"outputFolder": "./src/ontologies",
"ontologies": ["<ONTOLOGY>"]
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
import path from 'path';

/** @type {import('next').NextConfig} */
const nextConfig = {
// temporary workaround for using symlinked package with turbopack
outputFileTracingRoot: path.join(import.meta.dirname, '../../../'),
webpack: config => {
config.resolve.extensionAlias = {
'.js': ['.ts', '.tsx', '.js'],
Expand All @@ -8,7 +12,7 @@ const nextConfig = {
return config;
},
experimental: {
instrumentationHook: true,
turbo: {},
},
};

Expand Down
14 changes: 7 additions & 7 deletions browser/create-template/templates/nextjs-site/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev",
"dev": "next dev --turbopack",
"build": "next build",
"start": "next start",
"lint": "next lint",
Expand All @@ -17,9 +17,9 @@
"gray-matter": "^4.0.3",
"lodash": "^4.17.21",
"modern-css-reset": "^1.4.0",
"next": "14.2.15",
"react": "^18",
"react-dom": "^18",
"next": "15.0.1",
"react": "19.0.0-rc-69d4b800-20241021",
"react-dom": "19.0.0-rc-69d4b800-20241021",
"remark": "^15.0.1",
"remark-html": "^16.0.1",
"zod": "^3.23.8"
Expand All @@ -28,10 +28,10 @@
"@tomic/cli": "^0.40.0",
"@types/lodash": "^4.17.10",
"@types/node": "^20",
"@types/react": "^18",
"@types/react-dom": "^18",
"@types/react": "npm:types-react@19.0.0-rc.1",
"@types/react-dom": "npm:types-react-dom@19.0.0-rc.1",
"eslint": "^8",
"eslint-config-next": "14.2.15",
"eslint-config-next": "15.0.1",
"typescript": "^5"
}
}
Loading

0 comments on commit 6039e23

Please sign in to comment.