mirror of
https://github.com/karakeep-app/karakeep.git
synced 2026-01-09 07:44:58 +08:00
Revert "deps: Upgrade nextjs to 15.5"
This reverts commit be420c9aebb0f2d343a0c94327fddc089f56d402.
This commit is contained in:
parent
be420c9aeb
commit
ff33b310e2
@ -30,8 +30,8 @@
|
||||
"clsx": "^2.1.0",
|
||||
"cmdk": "^1.1.1",
|
||||
"lucide-react": "^0.501.0",
|
||||
"react": "19.1.1",
|
||||
"react-dom": "19.1.1",
|
||||
"react": "^19.1.0",
|
||||
"react-dom": "^19.1.0",
|
||||
"react-router-dom": "^6.22.0",
|
||||
"superjson": "^2.2.1",
|
||||
"tailwind-merge": "^2.2.1",
|
||||
@ -44,8 +44,8 @@
|
||||
"@karakeep/tailwind-config": "workspace:^0.1.0",
|
||||
"@karakeep/tsconfig": "workspace:^0.1.0",
|
||||
"@types/chrome": "^0.0.260",
|
||||
"@types/react": "19.1.10",
|
||||
"@types/react-dom": "19.1.7",
|
||||
"@types/react": "^19.1.6",
|
||||
"@types/react-dom": "^19.1.6",
|
||||
"@vitejs/plugin-react-swc": "^3.11.0",
|
||||
"autoprefixer": "^10.4.17",
|
||||
"postcss": "^8.4.35",
|
||||
|
||||
@ -20,8 +20,8 @@
|
||||
"class-variance-authority": "^0.7.0",
|
||||
"clsx": "^2.1.0",
|
||||
"lucide-react": "^0.501.0",
|
||||
"react": "19.1.1",
|
||||
"react-dom": "19.1.1",
|
||||
"react": "^19.1.0",
|
||||
"react-dom": "^19.1.0",
|
||||
"react-router": "^7.7.1",
|
||||
"sharp": "^0.33.3",
|
||||
"tailwind-merge": "^2.2.1",
|
||||
@ -32,8 +32,8 @@
|
||||
"@karakeep/tailwind-config": "workspace:^0.1.0",
|
||||
"@karakeep/tsconfig": "workspace:^0.1.0",
|
||||
"@tailwindcss/typography": "^0.5.10",
|
||||
"@types/react": "19.1.10",
|
||||
"@types/react-dom": "19.1.7",
|
||||
"@types/react": "^19.1.6",
|
||||
"@types/react-dom": "^19.1.6",
|
||||
"@vitejs/plugin-react": "^4.7.0",
|
||||
"autoprefixer": "^10.4.17",
|
||||
"postcss": "^8.4.35",
|
||||
|
||||
@ -44,7 +44,7 @@
|
||||
"expo-web-browser": "^14.1.6",
|
||||
"lucide-react-native": "^0.513.0",
|
||||
"nativewind": "^4.1.23",
|
||||
"react": "19.1.1",
|
||||
"react": "^19.1.0",
|
||||
"react-native": "0.79.3",
|
||||
"react-native-awesome-slider": "^2.5.3",
|
||||
"react-native-blob-util": "^0.21.2",
|
||||
@ -67,7 +67,7 @@
|
||||
"@karakeep/prettier-config": "workspace:^0.1.0",
|
||||
"@karakeep/tailwind-config": "workspace:^0.1.0",
|
||||
"@karakeep/tsconfig": "workspace:^0.1.0",
|
||||
"@types/react": "19.1.10",
|
||||
"@types/react": "^19.1.6",
|
||||
"ajv": "latest",
|
||||
"prettier": "^3.4.2",
|
||||
"tailwindcss": "^3.4.1",
|
||||
|
||||
@ -1,6 +1,24 @@
|
||||
import pwa from "next-pwa";
|
||||
|
||||
const withPWA = pwa({
|
||||
dest: "public",
|
||||
disable: process.env.NODE_ENV != "production",
|
||||
});
|
||||
|
||||
/** @type {import('next').NextConfig} */
|
||||
const nextConfig = {
|
||||
const nextConfig = withPWA({
|
||||
output: "standalone",
|
||||
webpack: (config) => {
|
||||
config.module.rules.push({
|
||||
test: /\.svg$/,
|
||||
use: ["@svgr/webpack"],
|
||||
});
|
||||
return config;
|
||||
},
|
||||
devIndicators: {
|
||||
buildActivity: true,
|
||||
buildActivityPosition: "bottom-left",
|
||||
},
|
||||
async headers() {
|
||||
return [
|
||||
{
|
||||
@ -31,20 +49,12 @@ const nextConfig = {
|
||||
},
|
||||
];
|
||||
},
|
||||
turbopack: {
|
||||
rules: {
|
||||
"*.svg": {
|
||||
loaders: ["@svgr/webpack"],
|
||||
as: "*.js",
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
// transpilePackages: ["@karakeep/shared", "@karakeep/db", "@karakeep/trpc"],
|
||||
|
||||
/** We already do linting and typechecking as separate tasks in CI */
|
||||
eslint: { ignoreDuringBuilds: true },
|
||||
typescript: { ignoreBuildErrors: true },
|
||||
};
|
||||
});
|
||||
|
||||
export default nextConfig;
|
||||
|
||||
@ -5,7 +5,7 @@
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "next dev --turbopack",
|
||||
"dev": "next dev",
|
||||
"clean": "git clean -xdf .next .turbo node_modules",
|
||||
"build": "next build --experimental-build-mode compile",
|
||||
"start": "next start",
|
||||
@ -67,15 +67,16 @@
|
||||
"i18next-resources-to-backend": "^1.2.1",
|
||||
"lexical": "^0.20.2",
|
||||
"lucide-react": "^0.501.0",
|
||||
"next": "15.5.0",
|
||||
"next": "15.3.3",
|
||||
"next-auth": "^4.24.11",
|
||||
"next-i18next": "^15.3.1",
|
||||
"next-pwa": "^5.6.0",
|
||||
"next-themes": "^0.4.0",
|
||||
"nuqs": "^2.4.3",
|
||||
"prettier": "^3.4.2",
|
||||
"react": "19.1.1",
|
||||
"react": "^19.1.0",
|
||||
"react-day-picker": "^9.7.0",
|
||||
"react-dom": "19.1.1",
|
||||
"react-dom": "^19.1.0",
|
||||
"react-draggable": "^4.4.6",
|
||||
"react-dropzone": "^14.2.3",
|
||||
"react-error-boundary": "^5.0.0",
|
||||
@ -102,8 +103,8 @@
|
||||
"@karakeep/tsconfig": "workspace:^0.1.0",
|
||||
"@types/csv-parse": "^1.2.5",
|
||||
"@types/emoji-mart": "^3.0.14",
|
||||
"@types/react": "19.1.10",
|
||||
"@types/react-dom": "19.1.7",
|
||||
"@types/react": "^19.1.6",
|
||||
"@types/react-dom": "^19.1.6",
|
||||
"@types/react-syntax-highlighter": "^15.5.13",
|
||||
"@types/request-ip": "^0.0.41",
|
||||
"autoprefixer": "^10.4.17",
|
||||
|
||||
@ -23,8 +23,8 @@
|
||||
"docusaurus-plugin-openapi-docs": "^4.3.7",
|
||||
"docusaurus-theme-openapi-docs": "^4.4.0",
|
||||
"prism-react-renderer": "^2.4.1",
|
||||
"react": "19.1.1",
|
||||
"react-dom": "19.1.1",
|
||||
"react": "^19.1.0",
|
||||
"react-dom": "^19.1.0",
|
||||
"url": "^0.11.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
3548
pnpm-lock.yaml
generated
3548
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user