Skip to content

Commit 87eaa74

Browse files
fix: restore missing files from app-router-share-filter and remove temporary files
- Restore __mocks__/remotes/index.js for proper test mocking - Restore missing pages/router-test.tsx files for both Next.js applications - Restore missing button components (classic/button.tsx, rsc/button.tsx) - Restore ui/random.tsx component - Remove temporary pnpm-lock.yaml files and development artifacts - Complete final synchronization between branches 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 1757c9d commit 87eaa74

File tree

11 files changed

+405417
-10564
lines changed

11 files changed

+405417
-10564
lines changed

__mocks__/remotes/index.js

Lines changed: 405324 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
import React from 'react';
2+
import Link from 'next/link';
3+
import Page from 'home_app/pages/index';
4+
console.log(Page);
5+
const RouterTestPage = () => {
6+
return (
7+
<div>
8+
<Page />
9+
<h1>Router Test Page (in Pages Directory)</h1>
10+
<p>
11+
This page exists in the 'pages' directory of an app that primarily uses
12+
the App Router ('app' directory).
13+
</p>
14+
<p>
15+
Below are links demonstrating navigation potentially involving different
16+
router types:
17+
</p>
18+
<ul>
19+
<li>
20+
{/* Link within the current app (likely handled by App Router if root exists there) */}
21+
<Link href="/">Link to App Root</Link>
22+
</li>
23+
<li>
24+
{/* Link to an external app known to use Pages Router */}
25+
<a href="http://localhost:3000/">
26+
Link to Home App (Pages Router via full URL)
27+
</a>
28+
</li>
29+
<li>Placeholder for other routing/federation examples.</li>
30+
</ul>
31+
<p>
32+
Note: The instruction "sets both routers" was interpreted as
33+
demonstrating links to potentially different router contexts.
34+
</p>
35+
</div>
36+
);
37+
};
38+
39+
export default RouterTestPage;

0 commit comments

Comments
 (0)