Conversation
…ards, settings Adds apps/example — a Next.js 15 App Router app that exercises every major next-shell feature as a living reference implementation. Pages: - /dashboard — stat cards, LoadingState + EmptyState, toast demos (success / error / promise), SignedIn guard - /data — client-side paginated + filtered table (50 rows, 10/page) - /admin — SignedIn + RoleGate guard demo; ErrorState when role missing - /settings — react-hook-form profile form with toast-promise submit, ThemeToggleDropdown live demo Shell layout (route group `(shell)`): - AppShell + SidebarNav (permission-filtered nav, admin item gated) - TopBar with Breadcrumbs + ThemeToggleDropdown + user display - Custom footer - CommandBar enabled Auth: createMockAuthAdapter with admin user pre-seeded Providers: AppProviders + AuthProvider wired in root layout eslint.config.js: added **/next-env.d.ts to ignores (triple-slash refs in Next.js generated file triggered @typescript-eslint/triple-slash-reference) Closes #12 · Refs #13 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
jonmatumdev
previously approved these changes
Apr 17, 2026
Collaborator
jonmatumdev
left a comment
There was a problem hiding this comment.
All checks passed. AI review found no issues. Auto-approved.
apps/example imports @jonmatum/next-shell subpaths (e.g. /layout, /auth, /primitives) which resolve from dist/ via package.json exports. Without a prior build step dist/ doesn't exist and tsc cannot find the types. Moving `pnpm build` before `pnpm typecheck` ensures the compiled library is present when the example app's typecheck runs. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
jonmatumdev
approved these changes
Apr 17, 2026
Collaborator
jonmatumdev
left a comment
There was a problem hiding this comment.
All checks passed. AI review found no issues. Auto-approved.
jonmatumdev
approved these changes
Apr 17, 2026
Collaborator
jonmatumdev
left a comment
There was a problem hiding this comment.
All checks passed. AI review found no issues. Auto-approved.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #12 · Refs #13
Summary
Adds
apps/example— a Next.js 15 App Router app that exercises every major@jonmatum/next-shellfeature as a living reference implementation.What's in the box
Feature coverage:
adminroute gated)What is intentionally NOT in this PR
Verification
Checklist
next-env.d.tsgitignored inapps/example/**/next-env.d.tsin ESLint ignores (avoids triple-slash-reference warning)