4 Commits
main ... main

Author SHA1 Message Date
Felipe Cardoso
0646c96b19 Add semicolons to mockServiceWorker.js for consistent style compliance
- Updated `mockServiceWorker.js` by adding missing semicolons across the file for improved code consistency and adherence to style guidelines.
- Refactored multi-line logical expressions into single-line where applicable, maintaining readability.
2026-01-01 13:21:31 +01:00
Felipe Cardoso
62afb328fe Upgrade dependencies in package-lock.json
- Upgraded various dependencies across `@esbuild`, `@eslint`, `@hey-api`, and `@img` packages to their latest versions.
- Removed unused `json5` dependency under `@babel/core`.
- Ensured integrity hashes are updated to reflect changes.
2026-01-01 13:21:23 +01:00
Felipe Cardoso
b9a746bc16 Refactor component props formatting for consistency in extends usage across UI and documentation files 2026-01-01 13:19:36 +01:00
Felipe Cardoso
de8e18e97d Update GitHub repository URLs across components and tests
- Replaced all occurrences of the previous repository URL (`your-org/fast-next-template`) with the updated repository URL (`cardosofelipe/pragma-stack.git`) in both frontend components and test files.
- Adjusted related test assertions and documentation links accordingly.
2026-01-01 13:15:08 +01:00
17 changed files with 1378 additions and 1147 deletions

View File

@@ -231,8 +231,7 @@ const componentVariants = cva(
); );
interface MyComponentProps interface MyComponentProps
extends React.HTMLAttributes<HTMLDivElement>, extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof componentVariants> {
VariantProps<typeof componentVariants> {
// Additional props here // Additional props here
} }

View File

@@ -244,8 +244,7 @@ const componentVariants = cva(
); );
interface ComponentProps interface ComponentProps
extends React.HTMLAttributes<HTMLDivElement>, extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof componentVariants> {}
VariantProps<typeof componentVariants> {}
export function Component({ variant, size, className, ...props }: ComponentProps) { export function Component({ variant, size, className, ...props }: ComponentProps) {
return <div className={cn(componentVariants({ variant, size, className }))} {...props} />; return <div className={cn(componentVariants({ variant, size, className }))} {...props} />;

2478
frontend/package-lock.json generated Executable file → Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -97,5 +97,9 @@
"workerDirectory": [ "workerDirectory": [
"public" "public"
] ]
},
"overrides": {
"glob": "^10.4.1",
"inflight": "npm:lru-cache@^10.0.0"
} }
} }

View File

@@ -7,7 +7,7 @@
* - Please do NOT modify this file. * - Please do NOT modify this file.
*/ */
const PACKAGE_VERSION = '2.12.3'; const PACKAGE_VERSION = '2.12.7';
const INTEGRITY_CHECKSUM = '4db4a41e972cec1b64cc569c66952d82'; const INTEGRITY_CHECKSUM = '4db4a41e972cec1b64cc569c66952d82';
const IS_MOCKED_RESPONSE = Symbol('isMockedResponse'); const IS_MOCKED_RESPONSE = Symbol('isMockedResponse');
const activeClientIds = new Set(); const activeClientIds = new Set();

View File

@@ -14,7 +14,7 @@ import { Link } from '@/lib/i18n/routing';
const commands = [ const commands = [
{ text: '# Clone the repository', delay: 0 }, { text: '# Clone the repository', delay: 0 },
{ text: '$ git clone https://github.com/your-org/fast-next-template.git', delay: 800 }, { text: '$ git clone https://github.com/cardosofelipe/pragma-stack.git.git', delay: 800 },
{ text: '$ cd fast-next-template', delay: 1600 }, { text: '$ cd fast-next-template', delay: 1600 },
{ text: '', delay: 2200 }, { text: '', delay: 2200 },
{ text: '# Start with Docker (one command)', delay: 2400 }, { text: '# Start with Docker (one command)', delay: 2400 },

View File

@@ -49,7 +49,7 @@ export function CTASection({ onOpenDemoModal }: CTASectionProps) {
<div className="flex flex-col sm:flex-row items-center justify-center gap-4 pt-4"> <div className="flex flex-col sm:flex-row items-center justify-center gap-4 pt-4">
<Button asChild size="lg" className="gap-2 text-base group"> <Button asChild size="lg" className="gap-2 text-base group">
<a <a
href="https://github.com/your-org/fast-next-template" href="https://github.com/cardosofelipe/pragma-stack.git"
target="_blank" target="_blank"
rel="noopener noreferrer" rel="noopener noreferrer"
> >
@@ -75,7 +75,7 @@ export function CTASection({ onOpenDemoModal }: CTASectionProps) {
</Button> </Button>
<Button asChild size="lg" variant="ghost" className="gap-2 text-base group"> <Button asChild size="lg" variant="ghost" className="gap-2 text-base group">
<a <a
href="https://github.com/your-org/fast-next-template#documentation" href="https://github.com/cardosofelipe/pragma-stack.git#documentation"
target="_blank" target="_blank"
rel="noopener noreferrer" rel="noopener noreferrer"
> >

View File

@@ -44,7 +44,7 @@ const features = [
'12+ documentation guides covering architecture, design system, testing patterns, deployment, and AI code generation guidelines. Interactive API docs with Swagger and ReDoc', '12+ documentation guides covering architecture, design system, testing patterns, deployment, and AI code generation guidelines. Interactive API docs with Swagger and ReDoc',
highlight: 'Developer-first docs', highlight: 'Developer-first docs',
ctaText: 'Browse Docs', ctaText: 'Browse Docs',
ctaHref: 'https://github.com/your-org/fast-next-template#documentation', ctaHref: 'https://github.com/cardosofelipe/pragma-stack.git#documentation',
}, },
{ {
icon: Server, icon: Server,
@@ -53,7 +53,7 @@ const features = [
'Docker deployment configs, database migrations with Alembic helpers, connection pooling, health checks, monitoring setup, and production security headers', 'Docker deployment configs, database migrations with Alembic helpers, connection pooling, health checks, monitoring setup, and production security headers',
highlight: 'Deploy with confidence', highlight: 'Deploy with confidence',
ctaText: 'Deployment Guide', ctaText: 'Deployment Guide',
ctaHref: 'https://github.com/your-org/fast-next-template#deployment', ctaHref: 'https://github.com/cardosofelipe/pragma-stack.git#deployment',
}, },
{ {
icon: Code, icon: Code,

View File

@@ -72,7 +72,7 @@ export function Header({ onOpenDemoModal }: HeaderProps) {
{/* GitHub Link with Star */} {/* GitHub Link with Star */}
<a <a
href="https://github.com/your-org/fast-next-template" href="https://github.com/cardosofelipe/pragma-stack.git"
target="_blank" target="_blank"
rel="noopener noreferrer" rel="noopener noreferrer"
className="flex items-center gap-2 text-sm font-medium text-muted-foreground hover:text-foreground transition-colors" className="flex items-center gap-2 text-sm font-medium text-muted-foreground hover:text-foreground transition-colors"
@@ -135,7 +135,7 @@ export function Header({ onOpenDemoModal }: HeaderProps) {
{/* GitHub Link */} {/* GitHub Link */}
<a <a
href="https://github.com/your-org/fast-next-template" href="https://github.com/cardosofelipe/pragma-stack.git"
target="_blank" target="_blank"
rel="noopener noreferrer" rel="noopener noreferrer"
onClick={() => setMobileMenuOpen(false)} onClick={() => setMobileMenuOpen(false)}

View File

@@ -93,7 +93,7 @@ export function HeroSection({ onOpenDemoModal }: HeroSectionProps) {
</Button> </Button>
<Button asChild size="lg" variant="outline" className="gap-2 text-base group"> <Button asChild size="lg" variant="outline" className="gap-2 text-base group">
<a <a
href="https://github.com/your-org/fast-next-template" href="https://github.com/cardosofelipe/pragma-stack.git"
target="_blank" target="_blank"
rel="noopener noreferrer" rel="noopener noreferrer"
> >

View File

@@ -13,7 +13,7 @@ import { vscDarkPlus } from 'react-syntax-highlighter/dist/esm/styles/prism';
import { Button } from '@/components/ui/button'; import { Button } from '@/components/ui/button';
const codeString = `# Clone and start with Docker const codeString = `# Clone and start with Docker
git clone https://github.com/your-org/fast-next-template.git git clone https://github.com/cardosofelipe/pragma-stack.git.git
cd fast-next-template cd fast-next-template
docker-compose up docker-compose up

View File

@@ -23,8 +23,7 @@ const badgeVariants = cva(
); );
export interface BadgeProps export interface BadgeProps
extends React.HTMLAttributes<HTMLDivElement>, extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {}
VariantProps<typeof badgeVariants> {}
function Badge({ className, variant, ...props }: BadgeProps) { function Badge({ className, variant, ...props }: BadgeProps) {
return <div className={cn(badgeVariants({ variant }), className)} {...props} />; return <div className={cn(badgeVariants({ variant }), className)} {...props} />;

View File

@@ -32,8 +32,7 @@ const buttonVariants = cva(
); );
export interface ButtonProps export interface ButtonProps
extends React.ButtonHTMLAttributes<HTMLButtonElement>, extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
VariantProps<typeof buttonVariants> {
asChild?: boolean; asChild?: boolean;
} }

View File

@@ -49,7 +49,8 @@ const sheetVariants = cva(
); );
interface SheetContentProps interface SheetContentProps
extends React.ComponentPropsWithoutRef<typeof SheetPrimitive.Content>, extends
React.ComponentPropsWithoutRef<typeof SheetPrimitive.Content>,
VariantProps<typeof sheetVariants> {} VariantProps<typeof sheetVariants> {}
const SheetContent = React.forwardRef< const SheetContent = React.forwardRef<

View File

@@ -71,7 +71,7 @@ describe('CTASection', () => {
); );
const githubLink = screen.getByRole('link', { name: /get started on github/i }); const githubLink = screen.getByRole('link', { name: /get started on github/i });
expect(githubLink).toHaveAttribute('href', 'https://github.com/your-org/fast-next-template'); expect(githubLink).toHaveAttribute('href', 'https://github.com/cardosofelipe/pragma-stack.git');
expect(githubLink).toHaveAttribute('target', '_blank'); expect(githubLink).toHaveAttribute('target', '_blank');
expect(githubLink).toHaveAttribute('rel', 'noopener noreferrer'); expect(githubLink).toHaveAttribute('rel', 'noopener noreferrer');
}); });
@@ -101,7 +101,7 @@ describe('CTASection', () => {
const docsLink = screen.getByRole('link', { name: /read documentation/i }); const docsLink = screen.getByRole('link', { name: /read documentation/i });
expect(docsLink).toHaveAttribute( expect(docsLink).toHaveAttribute(
'href', 'href',
'https://github.com/your-org/fast-next-template#documentation' 'https://github.com/cardosofelipe/pragma-stack.git#documentation'
); );
expect(docsLink).toHaveAttribute('target', '_blank'); expect(docsLink).toHaveAttribute('target', '_blank');
expect(docsLink).toHaveAttribute('rel', 'noopener noreferrer'); expect(docsLink).toHaveAttribute('rel', 'noopener noreferrer');

View File

@@ -102,7 +102,7 @@ describe('Header', () => {
expect(desktopGithubLink).toHaveAttribute( expect(desktopGithubLink).toHaveAttribute(
'href', 'href',
'https://github.com/your-org/fast-next-template' 'https://github.com/cardosofelipe/pragma-stack.git'
); );
expect(desktopGithubLink).toHaveAttribute('target', '_blank'); expect(desktopGithubLink).toHaveAttribute('target', '_blank');
expect(desktopGithubLink).toHaveAttribute('rel', 'noopener noreferrer'); expect(desktopGithubLink).toHaveAttribute('rel', 'noopener noreferrer');

View File

@@ -100,7 +100,7 @@ describe('HeroSection', () => {
); );
const githubLink = screen.getByRole('link', { name: /view on github/i }); const githubLink = screen.getByRole('link', { name: /view on github/i });
expect(githubLink).toHaveAttribute('href', 'https://github.com/your-org/fast-next-template'); expect(githubLink).toHaveAttribute('href', 'https://github.com/cardosofelipe/pragma-stack.git');
expect(githubLink).toHaveAttribute('target', '_blank'); expect(githubLink).toHaveAttribute('target', '_blank');
expect(githubLink).toHaveAttribute('rel', 'noopener noreferrer'); expect(githubLink).toHaveAttribute('rel', 'noopener noreferrer');
}); });