@objectdocs/site 0.2.1 → 0.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +18 -0
- package/app/page.tsx +1 -1
- package/lib/site-config.ts +1 -1
- package/{proxy.ts → middleware.ts} +1 -1
- package/package.json +10 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @objectdocs/site
|
|
2
2
|
|
|
3
|
+
## 0.2.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- fix: rename proxy.ts to middleware.ts to fix Next.js 16 build error
|
|
8
|
+
|
|
9
|
+
## 0.2.3
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- fix: update package metadata for publishing
|
|
14
|
+
|
|
15
|
+
## 0.2.2
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- Updated README documentation with corrected configuration file names and enhanced Quick Start section
|
|
20
|
+
|
|
3
21
|
## 0.2.1
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
package/app/page.tsx
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
import { redirect } from 'next/navigation';
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
|
-
* Root page - redirects are handled by
|
|
12
|
+
* Root page - redirects are handled by middleware.ts
|
|
13
13
|
* This page should never actually render as the middleware intercepts and redirects
|
|
14
14
|
* But Next.js requires a page component for the route to be recognized
|
|
15
15
|
*/
|
package/lib/site-config.ts
CHANGED
|
@@ -13,7 +13,7 @@ import { NextResponse, NextRequest, NextFetchEvent } from 'next/server';
|
|
|
13
13
|
// Create fumadocs middleware
|
|
14
14
|
const fumadocsMiddleware = createI18nMiddleware(i18n);
|
|
15
15
|
|
|
16
|
-
export default function
|
|
16
|
+
export default function middleware(request: NextRequest, event: NextFetchEvent) {
|
|
17
17
|
const path = request.nextUrl.pathname;
|
|
18
18
|
|
|
19
19
|
// Handle root path separately with custom language detection
|
package/package.json
CHANGED
|
@@ -1,6 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@objectdocs/site",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.4",
|
|
4
|
+
"description": "ObjectDocs Site Template",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "https://github.com/steedos/objectdocs.git",
|
|
8
|
+
"directory": "packages/site"
|
|
9
|
+
},
|
|
10
|
+
"publishConfig": {
|
|
11
|
+
"access": "public"
|
|
12
|
+
},
|
|
4
13
|
"dependencies": {
|
|
5
14
|
"@fumadocs/ui": "^16.4.7",
|
|
6
15
|
"@tailwindcss/postcss": "^4.1.18",
|