-
-
Notifications
You must be signed in to change notification settings - Fork 6
chore: patch direct dependency vulnerabilities #145
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -55,7 +55,7 @@ ottabase/ | |
| ## Prerequisites | ||
|
|
||
| - **Node.js**: `>=24.0.0` | ||
| - **pnpm**: `>=10.0.0` | ||
| - **pnpm**: `10.32.1` | ||
| - **Windows Users**: Ensure | ||
| [Visual C++ Redistributable](https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170#latest-supported-redistributable-version) | ||
| is installed for builds to work correctly. | ||
|
|
@@ -64,6 +64,7 @@ ottabase/ | |
|
|
||
| ```bash | ||
| # Install | ||
| corepack enable pnpm | ||
|
||
| pnpm install | ||
|
|
||
| # Build packages (required first time) | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -8,6 +8,7 @@ import Link from 'next/link'; | |
|
|
||
| export default function ThemeDemo() { | ||
| const { config } = useBrand(); | ||
| const themeName = config?.brandName || 'Current theme'; | ||
|
Comment on lines
10
to
+11
|
||
|
|
||
| if (!config) { | ||
| return <div>Loading theme...</div>; | ||
|
|
@@ -31,7 +32,7 @@ export default function ThemeDemo() { | |
| </Button> | ||
| </div> | ||
|
|
||
| <h1 className="font-heading text-4xl font-bold text-foreground">Theme Demo: {config.themeBase}</h1> | ||
| <h1 className="font-heading text-4xl font-bold text-foreground">Theme Demo: {themeName}</h1> | ||
|
||
|
|
||
| {/* Typography Demo */} | ||
| <section className="space-y-4 rounded-lg border border-border bg-card p-6"> | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The README now pins pnpm to an exact version, but the repo metadata still allows a broader range (
engines.pnpmis>=10.0.0). To avoid confusing setup instructions, consider aligning these: either keep README as a minimum requirement (and rely onpackageManagerfor the exact version), or updateengines.pnpmto match the documented/pinned version. Also,corepack enable pnpmenables pnpm but doesn’t ensure the specific pnpm version is activated; consider documenting the Corepack step that activates the repo’spackageManagerversion explicitly.