create-huenei-template 0.2.6 → 0.2.8
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/dist/config/templates.js +7 -0
- package/dist/templates/README.md +162 -0
- package/dist/templates/backend/README.md +118 -0
- package/dist/templates/backend/nestjs-api-mysql/.cursor/agents/nestjs-code-reviewer.md +54 -0
- package/dist/templates/backend/nestjs-api-mysql/.cursor/agents/prisma-guardian.md +67 -0
- package/dist/templates/backend/nestjs-api-mysql/.cursor/agents/test-runner.md +57 -0
- package/dist/templates/backend/nestjs-api-mysql/.cursor/hooks/autoTestOnStop.ts +127 -0
- package/dist/templates/backend/nestjs-api-mysql/.cursor/hooks/blockDangerous.ts +98 -0
- package/dist/templates/backend/nestjs-api-mysql/.cursor/hooks/ensureTestsExist.ts +405 -0
- package/dist/templates/backend/nestjs-api-mysql/.cursor/hooks/formatOnEdit.ts +70 -0
- package/dist/templates/backend/nestjs-api-mysql/.cursor/hooks/protectSecrets.ts +101 -0
- package/dist/templates/backend/nestjs-api-mysql/.cursor/hooks/sessionInit.ts +104 -0
- package/dist/templates/backend/nestjs-api-mysql/.cursor/hooks/validatePrisma.ts +121 -0
- package/dist/templates/backend/nestjs-api-mysql/.cursor/hooks.json +46 -0
- package/dist/templates/backend/nestjs-api-mysql/README.md +26 -0
- package/dist/templates/backend/nestjs-api-mysql/eslint.config.mjs +1 -1
- package/dist/templates/backend/nestjs-api-mysql/package.json +106 -106
- package/dist/templates/backend/nestjs-api-postgres/.cursor/agents/nestjs-code-reviewer.md +54 -0
- package/dist/templates/backend/nestjs-api-postgres/.cursor/agents/prisma-guardian.md +62 -0
- package/dist/templates/backend/nestjs-api-postgres/.cursor/agents/security-auditor.md +71 -0
- package/dist/templates/backend/nestjs-api-postgres/.cursor/agents/test-runner.md +58 -0
- package/dist/templates/backend/nestjs-api-postgres/.cursor/hooks/auto-retry.ts +62 -0
- package/dist/templates/backend/nestjs-api-postgres/.cursor/hooks/block-dangerous.ts +202 -0
- package/dist/templates/backend/nestjs-api-postgres/.cursor/hooks/format-and-validate.ts +124 -0
- package/dist/templates/backend/nestjs-api-postgres/.cursor/hooks/protect-secrets.ts +105 -0
- package/dist/templates/backend/nestjs-api-postgres/.cursor/hooks/session-context.ts +130 -0
- package/dist/templates/backend/nestjs-api-postgres/.cursor/hooks.json +36 -0
- package/dist/templates/backend/nestjs-api-postgres/eslint.config.mjs +1 -1
- package/dist/templates/backend/nestjs-api-postgres/package.json +106 -106
- package/dist/templates/backend/nestjs-api-sqlite/.cursor/agents/code-reviewer.md +153 -0
- package/dist/templates/backend/nestjs-api-sqlite/.cursor/agents/nestjs-architect.md +138 -0
- package/dist/templates/backend/nestjs-api-sqlite/.cursor/agents/prisma-analyst.md +164 -0
- package/dist/templates/backend/nestjs-api-sqlite/.cursor/agents/security-auditor.md +150 -0
- package/dist/templates/backend/nestjs-api-sqlite/.cursor/agents/test-engineer.md +290 -0
- package/dist/templates/backend/nestjs-api-sqlite/.cursor/hooks/auto-format.ts +80 -0
- package/dist/templates/backend/nestjs-api-sqlite/.cursor/hooks/block-dangerous-commands.ts +144 -0
- package/dist/templates/backend/nestjs-api-sqlite/.cursor/hooks/prisma-schema-watcher.ts +64 -0
- package/dist/templates/backend/nestjs-api-sqlite/.cursor/hooks/protect-sensitive-files.ts +122 -0
- package/dist/templates/backend/nestjs-api-sqlite/.cursor/hooks/session-context.ts +105 -0
- package/dist/templates/backend/nestjs-api-sqlite/.cursor/hooks.json +18 -0
- package/dist/templates/backend/nestjs-api-sqlite/.cursor/skills/conventional-commits/SKILL.md +318 -0
- package/dist/templates/backend/nestjs-api-sqlite/.cursor/skills/docker/SKILL.md +82 -0
- package/dist/templates/backend/nestjs-api-sqlite/.cursor/skills/jest/SKILL.md +72 -0
- package/dist/templates/backend/nestjs-api-sqlite/.cursor/skills/logging-best-practices/SKILL.md +127 -0
- package/dist/templates/backend/nestjs-api-sqlite/.cursor/skills/prisma-database-setup/SKILL.md +186 -0
- package/dist/templates/backend/nestjs-api-sqlite/.cursor/skills/quality-gates-enforcer/SKILL.md +301 -0
- package/dist/templates/backend/nestjs-api-sqlite/README.md +34 -1
- package/dist/templates/backend/nestjs-api-sqlite/eslint.config.mjs +1 -1
- package/dist/templates/backend/nestjs-api-sqlite/package.json +104 -104
- package/dist/templates/backend/nestjs-api-sqlite/prisma/schema.prisma +1 -0
- package/dist/templates/backend/nestjs-api-sqlite/prisma/seed.ts +2 -2
- package/dist/templates/backend/nestjs-api-sqlite/src/posts/dto/post-response.dto.ts +5 -1
- package/dist/templates/backend/nestjs-api-sqlite/src/users/dto/profile-response.dto.ts +1 -1
- package/dist/templates/backend/nestjs-api-sqlite/src/users/dto/update-profile.dto.ts +1 -1
- package/dist/templates/backend/nestjs-api-sqlite/src/users/dto/user-response.dto.ts +4 -0
- package/dist/templates/backend/nestjs-api-sqlite/src/users/profile.service.ts +24 -8
- package/dist/templates/backend/nestjs-api-sqlite/src/users/users.service.ts +1 -0
- package/dist/templates/backend/nestjs-api-sqlserver/.cursor/agents/nestjs-code-reviewer.md +54 -0
- package/dist/templates/backend/nestjs-api-sqlserver/.cursor/agents/prisma-guardian.md +67 -0
- package/dist/templates/backend/nestjs-api-sqlserver/.cursor/agents/test-runner.md +57 -0
- package/dist/templates/backend/nestjs-api-sqlserver/.cursor/commands/new-endpoint.md +209 -0
- package/dist/templates/backend/nestjs-api-sqlserver/.cursor/commands/new-model.md +201 -0
- package/dist/templates/backend/nestjs-api-sqlserver/.cursor/hooks/autoTestOnStop.ts +127 -0
- package/dist/templates/backend/nestjs-api-sqlserver/.cursor/hooks/blockDangerous.ts +98 -0
- package/dist/templates/backend/nestjs-api-sqlserver/.cursor/hooks/ensureTestsExist.ts +405 -0
- package/dist/templates/backend/nestjs-api-sqlserver/.cursor/hooks/formatOnEdit.ts +70 -0
- package/dist/templates/backend/nestjs-api-sqlserver/.cursor/hooks/protectSecrets.ts +101 -0
- package/dist/templates/backend/nestjs-api-sqlserver/.cursor/hooks/sessionInit.ts +104 -0
- package/dist/templates/backend/nestjs-api-sqlserver/.cursor/hooks/validatePrisma.ts +121 -0
- package/dist/templates/backend/nestjs-api-sqlserver/.cursor/hooks.json +46 -0
- package/dist/templates/backend/nestjs-api-sqlserver/.cursor/rules/api-rest.mdc +126 -0
- package/dist/templates/backend/nestjs-api-sqlserver/.cursor/rules/authentication-security.mdc +86 -0
- package/dist/templates/backend/nestjs-api-sqlserver/.cursor/rules/dto-validation.mdc +93 -0
- package/dist/templates/backend/nestjs-api-sqlserver/.cursor/rules/general-rules.mdc +126 -0
- package/dist/templates/backend/nestjs-api-sqlserver/.cursor/rules/nestjs-architecture.mdc +83 -0
- package/dist/templates/backend/nestjs-api-sqlserver/.cursor/rules/prisma-standards.mdc +111 -0
- package/dist/templates/backend/nestjs-api-sqlserver/.cursor/rules/swagger-documentation.mdc +90 -0
- package/dist/templates/backend/nestjs-api-sqlserver/.cursor/skills/api-security-best-practices/SKILL.md +907 -0
- package/dist/templates/backend/nestjs-api-sqlserver/.cursor/skills/docker-expert/SKILL.md +409 -0
- package/dist/templates/backend/nestjs-api-sqlserver/.cursor/skills/nestjs-expert/SKILL.md +552 -0
- package/dist/templates/backend/nestjs-api-sqlserver/.cursor/skills/nestjs-the-best-practices/AGENTS.md +5958 -0
- package/dist/templates/backend/nestjs-api-sqlserver/.cursor/skills/nestjs-the-best-practices/SKILL.md +130 -0
- package/dist/templates/backend/nestjs-api-sqlserver/.cursor/skills/nodejs-best-practices/SKILL.md +333 -0
- package/dist/templates/backend/nestjs-api-sqlserver/.cursor/skills/prisma-expert/SKILL.md +355 -0
- package/dist/templates/backend/nestjs-api-sqlserver/.cursor/skills/sqlserver-table-design/SKILL.md +125 -0
- package/dist/templates/backend/nestjs-api-sqlserver/.dockerignore +50 -0
- package/dist/templates/backend/nestjs-api-sqlserver/.env.example +17 -0
- package/dist/templates/backend/nestjs-api-sqlserver/.env.test +17 -0
- package/dist/templates/backend/nestjs-api-sqlserver/.prettierrc +4 -0
- package/dist/templates/backend/nestjs-api-sqlserver/README.md +587 -0
- package/dist/templates/backend/nestjs-api-sqlserver/docker-compose.yml +24 -0
- package/dist/templates/backend/nestjs-api-sqlserver/eslint.config.mjs +41 -0
- package/dist/templates/backend/nestjs-api-sqlserver/nest-cli.json +8 -0
- package/dist/templates/backend/nestjs-api-sqlserver/package.json +107 -0
- package/dist/templates/backend/nestjs-api-sqlserver/prisma/schema.prisma +70 -0
- package/dist/templates/backend/nestjs-api-sqlserver/prisma/seed.ts +215 -0
- package/dist/templates/backend/nestjs-api-sqlserver/prisma.config.ts +12 -0
- package/dist/templates/backend/nestjs-api-sqlserver/scripts/check-docker.js +64 -0
- package/dist/templates/backend/nestjs-api-sqlserver/src/app.module.ts +39 -0
- package/dist/templates/backend/nestjs-api-sqlserver/src/app.service.ts +8 -0
- package/dist/templates/backend/nestjs-api-sqlserver/src/auth/auth.controller.ts +36 -0
- package/dist/templates/backend/nestjs-api-sqlserver/src/auth/auth.module.ts +22 -0
- package/dist/templates/backend/nestjs-api-sqlserver/src/auth/auth.service.ts +64 -0
- package/dist/templates/backend/nestjs-api-sqlserver/src/auth/decorators/roles.decorator.ts +5 -0
- package/dist/templates/backend/nestjs-api-sqlserver/src/auth/dto/login-response.dto.ts +23 -0
- package/dist/templates/backend/nestjs-api-sqlserver/src/auth/dto/login.dto.ts +27 -0
- package/dist/templates/backend/nestjs-api-sqlserver/src/auth/enums/role.enum.ts +5 -0
- package/dist/templates/backend/nestjs-api-sqlserver/src/auth/guards/jwt-auth.guard.ts +20 -0
- package/dist/templates/backend/nestjs-api-sqlserver/src/auth/guards/roles.guard.ts +23 -0
- package/dist/templates/backend/nestjs-api-sqlserver/src/auth/strategies/jwt.strategy.ts +32 -0
- package/dist/templates/backend/nestjs-api-sqlserver/src/auth/types.ts +18 -0
- package/dist/templates/backend/nestjs-api-sqlserver/src/common/dto/paginated-response.dto.ts +16 -0
- package/dist/templates/backend/nestjs-api-sqlserver/src/common/dto/pagination.dto.ts +31 -0
- package/dist/templates/backend/nestjs-api-sqlserver/src/common/filters/http-exception.filter.ts +53 -0
- package/dist/templates/backend/nestjs-api-sqlserver/src/config/env.validation.ts +41 -0
- package/dist/templates/backend/nestjs-api-sqlserver/src/health/health.controller.ts +35 -0
- package/dist/templates/backend/nestjs-api-sqlserver/src/health/health.module.ts +7 -0
- package/dist/templates/backend/nestjs-api-sqlserver/src/main.ts +87 -0
- package/dist/templates/backend/nestjs-api-sqlserver/src/posts/dto/create-post.dto.ts +32 -0
- package/dist/templates/backend/nestjs-api-sqlserver/src/posts/dto/post-response.dto.ts +41 -0
- package/dist/templates/backend/nestjs-api-sqlserver/src/posts/dto/update-post.dto.ts +31 -0
- package/dist/templates/backend/nestjs-api-sqlserver/src/posts/posts.controller.ts +161 -0
- package/dist/templates/backend/nestjs-api-sqlserver/src/posts/posts.module.ts +12 -0
- package/dist/templates/backend/nestjs-api-sqlserver/src/posts/posts.service.ts +171 -0
- package/dist/templates/backend/nestjs-api-sqlserver/src/prisma/prisma.module.ts +9 -0
- package/dist/templates/backend/nestjs-api-sqlserver/src/prisma/prisma.service.ts +62 -0
- package/dist/templates/backend/nestjs-api-sqlserver/src/users/constants/settings.constants.ts +9 -0
- package/dist/templates/backend/nestjs-api-sqlserver/src/users/dto/profile-response.dto.ts +39 -0
- package/dist/templates/backend/nestjs-api-sqlserver/src/users/dto/settings-response.dto.ts +18 -0
- package/dist/templates/backend/nestjs-api-sqlserver/src/users/dto/update-profile.dto.ts +48 -0
- package/dist/templates/backend/nestjs-api-sqlserver/src/users/dto/update-settings.dto.ts +40 -0
- package/dist/templates/backend/nestjs-api-sqlserver/src/users/dto/user-response.dto.ts +18 -0
- package/dist/templates/backend/nestjs-api-sqlserver/src/users/profile.service.ts +67 -0
- package/dist/templates/backend/nestjs-api-sqlserver/src/users/settings.service.ts +77 -0
- package/dist/templates/backend/nestjs-api-sqlserver/src/users/users.controller.ts +102 -0
- package/dist/templates/backend/nestjs-api-sqlserver/src/users/users.module.ts +14 -0
- package/dist/templates/backend/nestjs-api-sqlserver/src/users/users.service.ts +27 -0
- package/dist/templates/backend/nestjs-api-sqlserver/test/README.md +412 -0
- package/dist/templates/backend/nestjs-api-sqlserver/test/e2e/auth.e2e-spec.ts +147 -0
- package/dist/templates/backend/nestjs-api-sqlserver/test/e2e/health.e2e-spec.ts +62 -0
- package/dist/templates/backend/nestjs-api-sqlserver/test/e2e/posts.e2e-spec.ts +407 -0
- package/dist/templates/backend/nestjs-api-sqlserver/test/e2e/users.e2e-spec.ts +287 -0
- package/dist/templates/backend/nestjs-api-sqlserver/test/fixtures/test-data.ts +109 -0
- package/dist/templates/backend/nestjs-api-sqlserver/test/helpers/auth.helper.ts +54 -0
- package/dist/templates/backend/nestjs-api-sqlserver/test/helpers/db.helper.ts +68 -0
- package/dist/templates/backend/nestjs-api-sqlserver/test/jest-e2e.json +12 -0
- package/dist/templates/backend/nestjs-api-sqlserver/test/setup-e2e.ts +8 -0
- package/dist/templates/backend/nestjs-api-sqlserver/test/unit/app.service.spec.ts +24 -0
- package/dist/templates/backend/nestjs-api-sqlserver/test/unit/auth.controller.spec.ts +91 -0
- package/dist/templates/backend/nestjs-api-sqlserver/test/unit/auth.service.spec.ts +161 -0
- package/dist/templates/backend/nestjs-api-sqlserver/test/unit/health.controller.spec.ts +78 -0
- package/dist/templates/backend/nestjs-api-sqlserver/test/unit/http-exception.filter.spec.ts +150 -0
- package/dist/templates/backend/nestjs-api-sqlserver/test/unit/jwt-auth.guard.spec.ts +50 -0
- package/dist/templates/backend/nestjs-api-sqlserver/test/unit/jwt.strategy.spec.ts +41 -0
- package/dist/templates/backend/nestjs-api-sqlserver/test/unit/posts.controller.spec.ts +249 -0
- package/dist/templates/backend/nestjs-api-sqlserver/test/unit/posts.service.spec.ts +328 -0
- package/dist/templates/backend/nestjs-api-sqlserver/test/unit/profile.service.spec.ts +146 -0
- package/dist/templates/backend/nestjs-api-sqlserver/test/unit/settings.service.spec.ts +242 -0
- package/dist/templates/backend/nestjs-api-sqlserver/test/unit/users.controller.spec.ts +178 -0
- package/dist/templates/backend/nestjs-api-sqlserver/test/unit/users.service.spec.ts +96 -0
- package/dist/templates/backend/nestjs-api-sqlserver/tsconfig.build.json +4 -0
- package/dist/templates/backend/nestjs-api-sqlserver/tsconfig.json +28 -0
- package/dist/templates/frontend/README.md +69 -0
- package/dist/templates/frontend/angular-base/.cursor/agents/accessibility-reviewer.md +67 -0
- package/dist/templates/frontend/angular-base/.cursor/agents/angular-code-reviewer.md +60 -0
- package/dist/templates/frontend/angular-base/.cursor/agents/qa-test-expert.md +70 -0
- package/dist/templates/frontend/angular-base/.cursor/agents/security-auditor.md +58 -0
- package/dist/templates/frontend/angular-base/.cursor/hooks/auto-format.ts +70 -0
- package/dist/templates/frontend/angular-base/.cursor/hooks/auto-test-on-stop.ts +113 -0
- package/dist/templates/frontend/angular-base/.cursor/hooks/block-dangerous-commands.ts +160 -0
- package/dist/templates/frontend/angular-base/.cursor/hooks/ensure-tests-exist.ts +363 -0
- package/dist/templates/frontend/angular-base/.cursor/hooks/protect-sensitive-files.ts +118 -0
- package/dist/templates/frontend/angular-base/.cursor/hooks/session-context.ts +110 -0
- package/dist/templates/frontend/angular-base/.cursor/hooks.json +41 -0
- package/dist/templates/frontend/angular-base/README.md +188 -192
- package/dist/templates/frontend/angular-base/package.json +92 -92
- package/dist/templates/frontend/angular-nx/.cursor/agents/angular-code-reviewer.md +64 -0
- package/dist/templates/frontend/angular-nx/.cursor/agents/nx-architecture-guardian.md +69 -0
- package/dist/templates/frontend/angular-nx/.cursor/agents/qa-test-expert.md +75 -0
- package/dist/templates/frontend/angular-nx/.cursor/agents/security-auditor.md +61 -0
- package/dist/templates/frontend/angular-nx/.cursor/hooks/auto-format.ts +70 -0
- package/dist/templates/frontend/angular-nx/.cursor/hooks/auto-test-on-stop.ts +115 -0
- package/dist/templates/frontend/angular-nx/.cursor/hooks/block-dangerous-commands.ts +188 -0
- package/dist/templates/frontend/angular-nx/.cursor/hooks/ensure-tests-exist.ts +399 -0
- package/dist/templates/frontend/angular-nx/.cursor/hooks/protect-sensitive-files.ts +128 -0
- package/dist/templates/frontend/angular-nx/.cursor/hooks/session-context.ts +121 -0
- package/dist/templates/frontend/angular-nx/.cursor/hooks.json +41 -0
- package/dist/templates/frontend/angular-nx/package.json +102 -102
- package/dist/templates/frontend/react-vite/.cursor/agents/frontend-senior.agent.md +49 -0
- package/dist/templates/frontend/react-vite/.cursor/agents/qa-test-expert.agent.md +126 -0
- package/dist/templates/frontend/react-vite/.cursor/agents/security-expert.agent.md +39 -0
- package/dist/templates/frontend/react-vite/.cursor/agents/ux-ui-expert.agent.md +45 -0
- package/dist/templates/frontend/react-vite/.cursor/hooks/autoTestOnStop.ts +117 -0
- package/dist/templates/frontend/react-vite/.cursor/hooks/blockDangerous.ts +75 -0
- package/dist/templates/frontend/react-vite/.cursor/hooks/ensureTestsExist.ts +306 -0
- package/dist/templates/frontend/react-vite/.cursor/hooks/formatOnEdit.ts +49 -0
- package/dist/templates/frontend/react-vite/.cursor/hooks/protectSecrets.ts +88 -0
- package/dist/templates/frontend/react-vite/.cursor/hooks/sessionInit.ts +77 -0
- package/dist/templates/frontend/react-vite/.cursor/hooks.json +41 -0
- package/dist/templates/frontend/react-vite/.cursor/rules/architech.mdc +35 -20
- package/dist/templates/frontend/react-vite/.cursor/settings.json +13 -0
- package/dist/templates/frontend/react-vite/.husky/pre-commit +1 -0
- package/dist/templates/frontend/react-vite/.vscode/settings.json +31 -0
- package/dist/templates/frontend/react-vite/README.md +238 -61
- package/dist/templates/frontend/react-vite/package.json +22 -2
- package/dist/templates/frontend/react-vite/pnpm-lock.yaml +6575 -4487
- package/dist/templates/frontend/react-vite/pnpm-workspace.yaml +5 -2
- package/dist/templates/frontend/react-vite/src/__tests__/components/layout/navbar.test.tsx +63 -0
- package/dist/templates/frontend/react-vite/src/__tests__/components/ui/avatar.test.tsx +74 -0
- package/dist/templates/frontend/react-vite/src/__tests__/components/ui/badge.test.tsx +55 -0
- package/dist/templates/frontend/react-vite/src/__tests__/components/ui/breadcrumb.test.tsx +140 -0
- package/dist/templates/frontend/react-vite/src/__tests__/components/ui/button.test.tsx +121 -0
- package/dist/templates/frontend/react-vite/src/__tests__/components/ui/card.test.tsx +144 -0
- package/dist/templates/frontend/react-vite/src/__tests__/components/ui/dialog.test.tsx +121 -0
- package/dist/templates/frontend/react-vite/src/__tests__/components/ui/form.test.tsx +165 -0
- package/dist/templates/frontend/react-vite/src/__tests__/components/ui/input.test.tsx +52 -0
- package/dist/templates/frontend/react-vite/src/__tests__/components/ui/label.test.tsx +40 -0
- package/dist/templates/frontend/react-vite/src/__tests__/components/ui/password-input.test.tsx +59 -0
- package/dist/templates/frontend/react-vite/src/__tests__/components/ui/separator.test.tsx +40 -0
- package/dist/templates/frontend/react-vite/src/__tests__/components/ui/table.test.tsx +254 -0
- package/dist/templates/frontend/react-vite/src/__tests__/components/ui/tabs.test.tsx +82 -0
- package/dist/templates/frontend/react-vite/src/__tests__/components/ui/textarea.test.tsx +47 -0
- package/dist/templates/frontend/react-vite/src/__tests__/helpers/render.tsx +114 -0
- package/dist/templates/frontend/react-vite/src/__tests__/hooks/useLocalStorage.test.ts +95 -0
- package/dist/templates/frontend/react-vite/src/__tests__/lib/queryClient.test.ts +24 -0
- package/dist/templates/frontend/react-vite/src/__tests__/lib/utils.test.ts +43 -0
- package/dist/templates/frontend/react-vite/src/__tests__/routes/index.test.tsx +111 -0
- package/dist/templates/frontend/react-vite/src/__tests__/routes/otra-ruta.test.tsx +126 -0
- package/dist/templates/frontend/react-vite/src/__tests__/routes/root.test.tsx +78 -0
- package/dist/templates/frontend/react-vite/src/__tests__/routes/ui-components.test.tsx +286 -0
- package/dist/templates/frontend/react-vite/src/components/layout/navbar.tsx +38 -0
- package/dist/templates/frontend/react-vite/src/components/ui/avatar.tsx +42 -0
- package/dist/templates/frontend/react-vite/src/components/ui/dialog.tsx +122 -0
- package/dist/templates/frontend/react-vite/src/components/ui/table.tsx +229 -0
- package/dist/templates/frontend/react-vite/src/hooks/useLocalStorage.ts +32 -0
- package/dist/templates/frontend/react-vite/src/index.css +27 -27
- package/dist/templates/frontend/react-vite/src/routes/__root.tsx +48 -82
- package/dist/templates/frontend/react-vite/src/routes/ui-components.tsx +1305 -0
- package/dist/templates/frontend/react-vite/src/test/setup.ts +61 -1
- package/dist/templates/frontend/react-vite/vite.config.ts +6 -1
- package/dist/templates/frontend/react-vite/vitest.config.ts +38 -0
- package/dist/templates/frontend/react-vite-help/.cursor/agents/frontend-senior.agent.md +49 -0
- package/dist/templates/frontend/react-vite-help/.cursor/agents/qa-test-expert.agent.md +49 -0
- package/dist/templates/frontend/react-vite-help/.cursor/agents/security-expert.agent.md +39 -0
- package/dist/templates/frontend/react-vite-help/.cursor/agents/ux-ui-expert.agent.md +45 -0
- package/dist/templates/frontend/react-vite-help/.cursor/hooks/ensureTestsExist.ts +220 -0
- package/dist/templates/frontend/react-vite-help/.cursor/hooks.json +10 -0
- package/dist/templates/frontend/react-vite-help/.cursor/mcp.json +1 -1
- package/dist/templates/frontend/react-vite-help/.cursor/rules/architech.mdc +33 -23
- package/dist/templates/frontend/react-vite-help/.cursor/settings.json +13 -0
- package/dist/templates/frontend/react-vite-help/.husky/pre-commit +1 -0
- package/dist/templates/frontend/react-vite-help/README.md +287 -61
- package/dist/templates/frontend/react-vite-help/package.json +82 -62
- package/dist/templates/frontend/react-vite-help/pnpm-lock.yaml +6319 -4487
- package/dist/templates/frontend/react-vite-help/pnpm-workspace.yaml +5 -2
- package/dist/templates/frontend/react-vite-help/src/__tests__/components/documentacion/tabs.test.tsx +95 -0
- package/dist/templates/frontend/react-vite-help/src/__tests__/components/layout/navbar.test.tsx +96 -0
- package/dist/templates/frontend/react-vite-help/src/__tests__/components/layout/sidebar.test.tsx +68 -0
- package/dist/templates/frontend/react-vite-help/src/__tests__/components/ui/avatar.test.tsx +53 -0
- package/dist/templates/frontend/react-vite-help/src/__tests__/components/ui/badge.test.tsx +50 -0
- package/dist/templates/frontend/react-vite-help/src/__tests__/components/ui/breadcrumb.test.tsx +95 -0
- package/dist/templates/frontend/react-vite-help/src/__tests__/components/ui/button.test.tsx +76 -0
- package/dist/templates/frontend/react-vite-help/src/__tests__/components/ui/card.test.tsx +95 -0
- package/dist/templates/frontend/react-vite-help/src/__tests__/components/ui/dialog.test.tsx +83 -0
- package/dist/templates/frontend/react-vite-help/src/__tests__/components/ui/form.test.tsx +130 -0
- package/dist/templates/frontend/react-vite-help/src/__tests__/components/ui/input.test.tsx +39 -0
- package/dist/templates/frontend/react-vite-help/src/__tests__/components/ui/label.test.tsx +25 -0
- package/dist/templates/frontend/react-vite-help/src/__tests__/components/ui/password-input.test.tsx +45 -0
- package/dist/templates/frontend/react-vite-help/src/__tests__/components/ui/separator.test.tsx +35 -0
- package/dist/templates/frontend/react-vite-help/src/__tests__/components/ui/table.test.tsx +126 -0
- package/dist/templates/frontend/react-vite-help/src/__tests__/components/ui/tabs.test.tsx +66 -0
- package/dist/templates/frontend/react-vite-help/src/__tests__/components/ui/textarea.test.tsx +34 -0
- package/dist/templates/frontend/react-vite-help/src/__tests__/data/dashboard.test.ts +100 -0
- package/dist/templates/frontend/react-vite-help/src/__tests__/data/proyectos-seed.test.ts +51 -0
- package/dist/templates/frontend/react-vite-help/src/__tests__/hooks/useAuth.test.tsx +135 -0
- package/dist/templates/frontend/react-vite-help/src/__tests__/hooks/useLocalStorage.test.ts +89 -0
- package/dist/templates/frontend/react-vite-help/src/__tests__/lib/auth.test.ts +102 -0
- package/dist/templates/frontend/react-vite-help/src/__tests__/lib/queryClient.test.ts +24 -0
- package/dist/templates/frontend/react-vite-help/src/__tests__/lib/utils.test.ts +31 -0
- package/dist/templates/frontend/react-vite-help/src/__tests__/routes/__root.test.tsx +72 -0
- package/dist/templates/frontend/react-vite-help/src/__tests__/routes/_authenticated/dashboard.test.tsx +106 -0
- package/dist/templates/frontend/react-vite-help/src/__tests__/routes/_authenticated/perfil.test.tsx +54 -0
- package/dist/templates/frontend/react-vite-help/src/__tests__/routes/_authenticated/proyectos-crud.test.tsx +272 -0
- package/dist/templates/frontend/react-vite-help/src/__tests__/routes/_authenticated/ui-components.test.tsx +150 -0
- package/dist/templates/frontend/react-vite-help/src/__tests__/routes/_authenticated.test.tsx +58 -0
- package/dist/templates/frontend/react-vite-help/src/__tests__/routes/auth/iniciar-sesion.test.tsx +107 -0
- package/dist/templates/frontend/react-vite-help/src/__tests__/routes/auth/recuperar-password.test.tsx +56 -0
- package/dist/templates/frontend/react-vite-help/src/__tests__/routes/auth/registro.test.tsx +106 -0
- package/dist/templates/frontend/react-vite-help/src/__tests__/routes/contacto.test.tsx +219 -0
- package/dist/templates/frontend/react-vite-help/src/__tests__/routes/documentacion.test.tsx +81 -0
- package/dist/templates/frontend/react-vite-help/src/__tests__/routes/index.test.tsx +69 -0
- package/dist/templates/frontend/react-vite-help/src/__tests__/routes/proyectos-detalle.test.tsx +90 -0
- package/dist/templates/frontend/react-vite-help/src/__tests__/routes/proyectos.test.tsx +74 -0
- package/dist/templates/frontend/react-vite-help/src/components/documentacion/inicio.tsx +1 -0
- package/dist/templates/frontend/react-vite-help/src/components/documentacion/stack.tsx +100 -1
- package/dist/templates/frontend/react-vite-help/src/components/layout/navbar.tsx +75 -0
- package/dist/templates/frontend/react-vite-help/src/components/layout/sidebar.tsx +101 -0
- package/dist/templates/frontend/react-vite-help/src/components/ui/avatar.tsx +42 -0
- package/dist/templates/frontend/react-vite-help/src/components/ui/breadcrumb.tsx +106 -106
- package/dist/templates/frontend/react-vite-help/src/components/ui/dialog.tsx +122 -0
- package/dist/templates/frontend/react-vite-help/src/components/ui/table.tsx +244 -0
- package/dist/templates/frontend/react-vite-help/src/data/dashboard.ts +255 -0
- package/dist/templates/frontend/react-vite-help/src/data/proyectos-seed.ts +87 -0
- package/dist/templates/frontend/react-vite-help/src/hooks/useAuth.tsx +73 -0
- package/dist/templates/frontend/react-vite-help/src/hooks/useLocalStorage.ts +32 -0
- package/dist/templates/frontend/react-vite-help/src/index.css +104 -104
- package/dist/templates/frontend/react-vite-help/src/lib/auth.ts +126 -0
- package/dist/templates/frontend/react-vite-help/src/main.tsx +54 -33
- package/dist/templates/frontend/react-vite-help/src/router.tsx +8 -0
- package/dist/templates/frontend/react-vite-help/src/routes/__root.tsx +21 -59
- package/dist/templates/frontend/react-vite-help/src/routes/_authenticated/dashboard.tsx +413 -0
- package/dist/templates/frontend/react-vite-help/src/routes/_authenticated/perfil.tsx +71 -0
- package/dist/templates/frontend/react-vite-help/src/routes/_authenticated/proyectos-crud.tsx +559 -0
- package/dist/templates/frontend/react-vite-help/src/routes/_authenticated/ui-components.tsx +1054 -0
- package/dist/templates/frontend/react-vite-help/src/routes/_authenticated.tsx +39 -0
- package/dist/templates/frontend/react-vite-help/src/routes/auth/iniciar-sesion.tsx +50 -26
- package/dist/templates/frontend/react-vite-help/src/routes/auth/recuperar-password.tsx +107 -0
- package/dist/templates/frontend/react-vite-help/src/routes/contacto.tsx +839 -37
- package/dist/templates/frontend/react-vite-help/src/routes/index.tsx +16 -13
- package/dist/templates/frontend/react-vite-help/src/routes/proyectos.$proyectoId.tsx +11 -14
- package/dist/templates/frontend/react-vite-help/src/routes/proyectos.tsx +16 -20
- package/dist/templates/frontend/react-vite-help/src/test/mocks/recharts.tsx +35 -0
- package/dist/templates/frontend/react-vite-help/src/test/mocks/router.ts +27 -0
- package/dist/templates/frontend/react-vite-help/src/test/setup.ts +61 -1
- package/dist/templates/frontend/react-vite-help/src/test/utils.tsx +57 -0
- package/dist/templates/frontend/react-vite-help/vite.config.ts +30 -22
- package/dist/templates/frontend/react-vite-help/vitest.config.ts +44 -9
- package/dist/templates/mobile/README.md +83 -0
- package/dist/templates/mobile/expo-base/.cursor/agents/api-integration.md +139 -0
- package/dist/templates/mobile/expo-base/.cursor/agents/feature-architect.md +131 -0
- package/dist/templates/mobile/expo-base/.cursor/agents/i18n-manager.md +147 -0
- package/dist/templates/mobile/expo-base/.cursor/agents/quality-reviewer.md +137 -0
- package/dist/templates/mobile/expo-base/.cursor/agents/testing-specialist.md +123 -0
- package/dist/templates/mobile/expo-base/.cursor/agents/theme-engineer.md +106 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/accessibility-compliance/SKILL.md +420 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/accessibility-compliance/references/aria-patterns.md +567 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/accessibility-compliance/references/mobile-accessibility.md +538 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/accessibility-compliance/references/wcag-guidelines.md +645 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/auth-implementation-patterns/SKILL.md +647 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/code-review-excellence/SKILL.md +538 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/design-system-patterns/SKILL.md +337 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/design-system-patterns/references/component-architecture.md +617 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/design-system-patterns/references/design-tokens.md +420 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/design-system-patterns/references/theming-architecture.md +521 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/error-handling-patterns/SKILL.md +641 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/eslint-prettier-config/SKILL.md +540 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/expo-deployment/SKILL.md +190 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/expo-deployment/references/app-store-metadata.md +479 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/expo-deployment/references/ios-app-store.md +355 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/expo-deployment/references/play-store.md +246 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/expo-deployment/references/testflight.md +58 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/expo-deployment/references/workflows.md +200 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/github-actions-templates/SKILL.md +334 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/i18n-localization/SKILL.md +154 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/i18n-localization/scripts/i18n_checker.py +241 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/jest-typescript/SKILL.md +1092 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/maestro-mobile-testing/SKILL.md +982 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/mobile-security-coder/SKILL.md +184 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/pnpm/GENERATION.md +5 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/pnpm/SKILL.md +42 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/pnpm/references/best-practices-ci.md +285 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/pnpm/references/best-practices-migration.md +291 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/pnpm/references/best-practices-performance.md +284 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/pnpm/references/core-cli.md +229 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/pnpm/references/core-config.md +188 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/pnpm/references/core-store.md +179 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/pnpm/references/core-workspaces.md +205 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/pnpm/references/features-aliases.md +168 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/pnpm/references/features-catalogs.md +159 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/pnpm/references/features-hooks.md +233 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/pnpm/references/features-overrides.md +184 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/pnpm/references/features-patches.md +201 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/pnpm/references/features-peer-deps.md +250 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/react-native-architecture/SKILL.md +673 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/react-native-design/SKILL.md +440 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/react-native-design/references/navigation-patterns.md +832 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/react-native-design/references/reanimated-patterns.md +775 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/react-native-design/references/styling-patterns.md +871 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/react-state-management/SKILL.md +437 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/reanimated-skia-performance/SKILL.md +190 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/reanimated-skia-performance/references/dev-tuning.md +167 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/reanimated-skia-performance/references/perf-checklist.md +40 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/reanimated-skia-performance/references/reanimated-v4.md +108 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/reanimated-skia-performance/references/skia-shaders.md +66 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/systematic-debugging/CREATION-LOG.md +119 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/systematic-debugging/SKILL.md +296 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/systematic-debugging/condition-based-waiting-example.ts +158 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/systematic-debugging/condition-based-waiting.md +115 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/systematic-debugging/defense-in-depth.md +122 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/systematic-debugging/find-polluter.sh +63 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/systematic-debugging/root-cause-tracing.md +169 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/systematic-debugging/test-academic.md +14 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/systematic-debugging/test-pressure-1.md +58 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/systematic-debugging/test-pressure-2.md +68 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/systematic-debugging/test-pressure-3.md +69 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/tanstack-query/.claude-plugin/plugin.json +12 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/tanstack-query/README.md +228 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/tanstack-query/SKILL.md +1585 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/test-driven-development/SKILL.md +371 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/test-driven-development/testing-anti-patterns.md +299 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/typescript-advanced-types/SKILL.md +724 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/vercel-composition-patterns/AGENTS.md +946 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/vercel-composition-patterns/SKILL.md +89 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/vercel-composition-patterns/rules/architecture-avoid-boolean-props.md +100 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/vercel-composition-patterns/rules/architecture-compound-components.md +112 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/vercel-composition-patterns/rules/patterns-children-over-render-props.md +87 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/vercel-composition-patterns/rules/patterns-explicit-variants.md +100 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/vercel-composition-patterns/rules/react19-no-forwardref.md +42 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/vercel-composition-patterns/rules/state-context-interface.md +191 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/vercel-composition-patterns/rules/state-decouple-implementation.md +113 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/vercel-composition-patterns/rules/state-lift-state.md +125 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/AGENTS.md +2897 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/README.md +165 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/SKILL.md +121 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/animation-derived-value.md +53 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/animation-gesture-detector-press.md +95 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/animation-gpu-properties.md +65 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/design-system-compound-components.md +66 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/fonts-config-plugin.md +71 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/imports-design-system-folder.md +68 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/js-hoist-intl.md +61 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/list-performance-callbacks.md +44 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/list-performance-function-references.md +132 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/list-performance-images.md +53 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/list-performance-inline-objects.md +97 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/list-performance-item-expensive.md +94 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/list-performance-item-memo.md +82 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/list-performance-item-types.md +104 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/list-performance-virtualize.md +67 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/monorepo-native-deps-in-app.md +46 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/monorepo-single-dependency-versions.md +63 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/navigation-native-navigators.md +188 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/react-compiler-destructure-functions.md +50 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/react-compiler-reanimated-shared-values.md +48 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/react-state-dispatcher.md +91 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/react-state-fallback.md +56 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/react-state-minimize.md +65 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/rendering-no-falsy-and.md +74 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/rendering-text-in-text-component.md +36 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/scroll-position-no-state.md +82 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/state-ground-truth.md +80 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/ui-expo-image.md +66 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/ui-image-gallery.md +104 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/ui-measure-views.md +78 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/ui-menus.md +174 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/ui-native-modals.md +77 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/ui-pressable.md +61 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/ui-safe-area-scroll.md +65 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/ui-scrollview-content-inset.md +45 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/ui-styling.md +87 -0
- package/dist/templates/mobile/expo-base/README.md +112 -2
- package/dist/templates/mobile/expo-base/package.json +74 -74
- package/dist/templates/mobile/expo-base/pnpm-workspace.yaml +7 -4
- package/package.json +26 -25
- package/templates/README.md +162 -0
- package/templates/backend/README.md +118 -0
- package/templates/backend/nestjs-api-mysql/.cursor/agents/nestjs-code-reviewer.md +54 -0
- package/templates/backend/nestjs-api-mysql/.cursor/agents/prisma-guardian.md +67 -0
- package/templates/backend/nestjs-api-mysql/.cursor/agents/test-runner.md +57 -0
- package/templates/backend/nestjs-api-mysql/.cursor/hooks/autoTestOnStop.ts +127 -0
- package/templates/backend/nestjs-api-mysql/.cursor/hooks/blockDangerous.ts +98 -0
- package/templates/backend/nestjs-api-mysql/.cursor/hooks/ensureTestsExist.ts +405 -0
- package/templates/backend/nestjs-api-mysql/.cursor/hooks/formatOnEdit.ts +70 -0
- package/templates/backend/nestjs-api-mysql/.cursor/hooks/protectSecrets.ts +101 -0
- package/templates/backend/nestjs-api-mysql/.cursor/hooks/sessionInit.ts +104 -0
- package/templates/backend/nestjs-api-mysql/.cursor/hooks/validatePrisma.ts +121 -0
- package/templates/backend/nestjs-api-mysql/.cursor/hooks.json +46 -0
- package/templates/backend/nestjs-api-mysql/README.md +26 -0
- package/templates/backend/nestjs-api-mysql/dist/tsconfig.build.tsbuildinfo +1 -1
- package/templates/backend/nestjs-api-mysql/eslint.config.mjs +1 -1
- package/templates/backend/nestjs-api-mysql/package.json +106 -106
- package/templates/backend/nestjs-api-postgres/.cursor/agents/nestjs-code-reviewer.md +54 -0
- package/templates/backend/nestjs-api-postgres/.cursor/agents/prisma-guardian.md +62 -0
- package/templates/backend/nestjs-api-postgres/.cursor/agents/security-auditor.md +71 -0
- package/templates/backend/nestjs-api-postgres/.cursor/agents/test-runner.md +58 -0
- package/templates/backend/nestjs-api-postgres/.cursor/hooks/auto-retry.ts +62 -0
- package/templates/backend/nestjs-api-postgres/.cursor/hooks/block-dangerous.ts +202 -0
- package/templates/backend/nestjs-api-postgres/.cursor/hooks/format-and-validate.ts +124 -0
- package/templates/backend/nestjs-api-postgres/.cursor/hooks/protect-secrets.ts +105 -0
- package/templates/backend/nestjs-api-postgres/.cursor/hooks/session-context.ts +130 -0
- package/templates/backend/nestjs-api-postgres/.cursor/hooks.json +36 -0
- package/templates/backend/nestjs-api-postgres/eslint.config.mjs +1 -1
- package/templates/backend/nestjs-api-postgres/package.json +106 -106
- package/templates/backend/nestjs-api-sqlite/.cursor/agents/code-reviewer.md +153 -0
- package/templates/backend/nestjs-api-sqlite/.cursor/agents/nestjs-architect.md +138 -0
- package/templates/backend/nestjs-api-sqlite/.cursor/agents/prisma-analyst.md +164 -0
- package/templates/backend/nestjs-api-sqlite/.cursor/agents/security-auditor.md +150 -0
- package/templates/backend/nestjs-api-sqlite/.cursor/agents/test-engineer.md +290 -0
- package/templates/backend/nestjs-api-sqlite/.cursor/hooks/auto-format.ts +80 -0
- package/templates/backend/nestjs-api-sqlite/.cursor/hooks/block-dangerous-commands.ts +144 -0
- package/templates/backend/nestjs-api-sqlite/.cursor/hooks/prisma-schema-watcher.ts +64 -0
- package/templates/backend/nestjs-api-sqlite/.cursor/hooks/protect-sensitive-files.ts +122 -0
- package/templates/backend/nestjs-api-sqlite/.cursor/hooks/session-context.ts +105 -0
- package/templates/backend/nestjs-api-sqlite/.cursor/hooks.json +18 -0
- package/templates/backend/nestjs-api-sqlite/.cursor/skills/conventional-commits/SKILL.md +318 -0
- package/templates/backend/nestjs-api-sqlite/.cursor/skills/docker/SKILL.md +82 -0
- package/templates/backend/nestjs-api-sqlite/.cursor/skills/jest/SKILL.md +72 -0
- package/templates/backend/nestjs-api-sqlite/.cursor/skills/logging-best-practices/SKILL.md +127 -0
- package/templates/backend/nestjs-api-sqlite/.cursor/skills/prisma-database-setup/SKILL.md +186 -0
- package/templates/backend/nestjs-api-sqlite/.cursor/skills/quality-gates-enforcer/SKILL.md +301 -0
- package/templates/backend/nestjs-api-sqlite/README.md +34 -1
- package/templates/backend/nestjs-api-sqlite/eslint.config.mjs +1 -1
- package/templates/backend/nestjs-api-sqlite/package.json +104 -104
- package/templates/backend/nestjs-api-sqlite/prisma/schema.prisma +1 -0
- package/templates/backend/nestjs-api-sqlite/prisma/seed.ts +2 -2
- package/templates/backend/nestjs-api-sqlite/src/posts/dto/post-response.dto.ts +5 -1
- package/templates/backend/nestjs-api-sqlite/src/users/dto/profile-response.dto.ts +1 -1
- package/templates/backend/nestjs-api-sqlite/src/users/dto/update-profile.dto.ts +1 -1
- package/templates/backend/nestjs-api-sqlite/src/users/dto/user-response.dto.ts +4 -0
- package/templates/backend/nestjs-api-sqlite/src/users/profile.service.ts +24 -8
- package/templates/backend/nestjs-api-sqlite/src/users/users.service.ts +1 -0
- package/templates/backend/nestjs-api-sqlserver/.cursor/agents/nestjs-code-reviewer.md +54 -0
- package/templates/backend/nestjs-api-sqlserver/.cursor/agents/prisma-guardian.md +67 -0
- package/templates/backend/nestjs-api-sqlserver/.cursor/agents/test-runner.md +57 -0
- package/templates/backend/nestjs-api-sqlserver/.cursor/commands/new-endpoint.md +209 -0
- package/templates/backend/nestjs-api-sqlserver/.cursor/commands/new-model.md +201 -0
- package/templates/backend/nestjs-api-sqlserver/.cursor/hooks/autoTestOnStop.ts +127 -0
- package/templates/backend/nestjs-api-sqlserver/.cursor/hooks/blockDangerous.ts +98 -0
- package/templates/backend/nestjs-api-sqlserver/.cursor/hooks/ensureTestsExist.ts +405 -0
- package/templates/backend/nestjs-api-sqlserver/.cursor/hooks/formatOnEdit.ts +70 -0
- package/templates/backend/nestjs-api-sqlserver/.cursor/hooks/protectSecrets.ts +101 -0
- package/templates/backend/nestjs-api-sqlserver/.cursor/hooks/sessionInit.ts +104 -0
- package/templates/backend/nestjs-api-sqlserver/.cursor/hooks/validatePrisma.ts +121 -0
- package/templates/backend/nestjs-api-sqlserver/.cursor/hooks.json +46 -0
- package/templates/backend/nestjs-api-sqlserver/.cursor/rules/api-rest.mdc +126 -0
- package/templates/backend/nestjs-api-sqlserver/.cursor/rules/authentication-security.mdc +86 -0
- package/templates/backend/nestjs-api-sqlserver/.cursor/rules/dto-validation.mdc +93 -0
- package/templates/backend/nestjs-api-sqlserver/.cursor/rules/general-rules.mdc +126 -0
- package/templates/backend/nestjs-api-sqlserver/.cursor/rules/nestjs-architecture.mdc +83 -0
- package/templates/backend/nestjs-api-sqlserver/.cursor/rules/prisma-standards.mdc +111 -0
- package/templates/backend/nestjs-api-sqlserver/.cursor/rules/swagger-documentation.mdc +90 -0
- package/templates/backend/nestjs-api-sqlserver/.cursor/skills/api-security-best-practices/SKILL.md +907 -0
- package/templates/backend/nestjs-api-sqlserver/.cursor/skills/docker-expert/SKILL.md +409 -0
- package/templates/backend/nestjs-api-sqlserver/.cursor/skills/nestjs-expert/SKILL.md +552 -0
- package/templates/backend/nestjs-api-sqlserver/.cursor/skills/nestjs-the-best-practices/AGENTS.md +5958 -0
- package/templates/backend/nestjs-api-sqlserver/.cursor/skills/nestjs-the-best-practices/SKILL.md +130 -0
- package/templates/backend/nestjs-api-sqlserver/.cursor/skills/nodejs-best-practices/SKILL.md +333 -0
- package/templates/backend/nestjs-api-sqlserver/.cursor/skills/prisma-expert/SKILL.md +355 -0
- package/templates/backend/nestjs-api-sqlserver/.cursor/skills/sqlserver-table-design/SKILL.md +125 -0
- package/templates/backend/nestjs-api-sqlserver/.dockerignore +50 -0
- package/templates/backend/nestjs-api-sqlserver/.env.example +17 -0
- package/templates/backend/nestjs-api-sqlserver/.env.test +17 -0
- package/templates/backend/nestjs-api-sqlserver/.prettierrc +4 -0
- package/templates/backend/nestjs-api-sqlserver/README.md +587 -0
- package/templates/backend/nestjs-api-sqlserver/docker-compose.yml +24 -0
- package/templates/backend/nestjs-api-sqlserver/eslint.config.mjs +41 -0
- package/templates/backend/nestjs-api-sqlserver/nest-cli.json +8 -0
- package/templates/backend/nestjs-api-sqlserver/package.json +107 -0
- package/templates/backend/nestjs-api-sqlserver/prisma/schema.prisma +70 -0
- package/templates/backend/nestjs-api-sqlserver/prisma/seed.ts +215 -0
- package/templates/backend/nestjs-api-sqlserver/prisma.config.ts +12 -0
- package/templates/backend/nestjs-api-sqlserver/scripts/check-docker.js +64 -0
- package/templates/backend/nestjs-api-sqlserver/src/app.module.ts +39 -0
- package/templates/backend/nestjs-api-sqlserver/src/app.service.ts +8 -0
- package/templates/backend/nestjs-api-sqlserver/src/auth/auth.controller.ts +36 -0
- package/templates/backend/nestjs-api-sqlserver/src/auth/auth.module.ts +22 -0
- package/templates/backend/nestjs-api-sqlserver/src/auth/auth.service.ts +64 -0
- package/templates/backend/nestjs-api-sqlserver/src/auth/decorators/roles.decorator.ts +5 -0
- package/templates/backend/nestjs-api-sqlserver/src/auth/dto/login-response.dto.ts +23 -0
- package/templates/backend/nestjs-api-sqlserver/src/auth/dto/login.dto.ts +27 -0
- package/templates/backend/nestjs-api-sqlserver/src/auth/enums/role.enum.ts +5 -0
- package/templates/backend/nestjs-api-sqlserver/src/auth/guards/jwt-auth.guard.ts +20 -0
- package/templates/backend/nestjs-api-sqlserver/src/auth/guards/roles.guard.ts +23 -0
- package/templates/backend/nestjs-api-sqlserver/src/auth/strategies/jwt.strategy.ts +32 -0
- package/templates/backend/nestjs-api-sqlserver/src/auth/types.ts +18 -0
- package/templates/backend/nestjs-api-sqlserver/src/common/dto/paginated-response.dto.ts +16 -0
- package/templates/backend/nestjs-api-sqlserver/src/common/dto/pagination.dto.ts +31 -0
- package/templates/backend/nestjs-api-sqlserver/src/common/filters/http-exception.filter.ts +53 -0
- package/templates/backend/nestjs-api-sqlserver/src/config/env.validation.ts +41 -0
- package/templates/backend/nestjs-api-sqlserver/src/health/health.controller.ts +35 -0
- package/templates/backend/nestjs-api-sqlserver/src/health/health.module.ts +7 -0
- package/templates/backend/nestjs-api-sqlserver/src/main.ts +87 -0
- package/templates/backend/nestjs-api-sqlserver/src/posts/dto/create-post.dto.ts +32 -0
- package/templates/backend/nestjs-api-sqlserver/src/posts/dto/post-response.dto.ts +41 -0
- package/templates/backend/nestjs-api-sqlserver/src/posts/dto/update-post.dto.ts +31 -0
- package/templates/backend/nestjs-api-sqlserver/src/posts/posts.controller.ts +161 -0
- package/templates/backend/nestjs-api-sqlserver/src/posts/posts.module.ts +12 -0
- package/templates/backend/nestjs-api-sqlserver/src/posts/posts.service.ts +171 -0
- package/templates/backend/nestjs-api-sqlserver/src/prisma/prisma.module.ts +9 -0
- package/templates/backend/nestjs-api-sqlserver/src/prisma/prisma.service.ts +62 -0
- package/templates/backend/nestjs-api-sqlserver/src/users/constants/settings.constants.ts +9 -0
- package/templates/backend/nestjs-api-sqlserver/src/users/dto/profile-response.dto.ts +39 -0
- package/templates/backend/nestjs-api-sqlserver/src/users/dto/settings-response.dto.ts +18 -0
- package/templates/backend/nestjs-api-sqlserver/src/users/dto/update-profile.dto.ts +48 -0
- package/templates/backend/nestjs-api-sqlserver/src/users/dto/update-settings.dto.ts +40 -0
- package/templates/backend/nestjs-api-sqlserver/src/users/dto/user-response.dto.ts +18 -0
- package/templates/backend/nestjs-api-sqlserver/src/users/profile.service.ts +67 -0
- package/templates/backend/nestjs-api-sqlserver/src/users/settings.service.ts +77 -0
- package/templates/backend/nestjs-api-sqlserver/src/users/users.controller.ts +102 -0
- package/templates/backend/nestjs-api-sqlserver/src/users/users.module.ts +14 -0
- package/templates/backend/nestjs-api-sqlserver/src/users/users.service.ts +27 -0
- package/templates/backend/nestjs-api-sqlserver/test/README.md +412 -0
- package/templates/backend/nestjs-api-sqlserver/test/e2e/auth.e2e-spec.ts +147 -0
- package/templates/backend/nestjs-api-sqlserver/test/e2e/health.e2e-spec.ts +62 -0
- package/templates/backend/nestjs-api-sqlserver/test/e2e/posts.e2e-spec.ts +407 -0
- package/templates/backend/nestjs-api-sqlserver/test/e2e/users.e2e-spec.ts +287 -0
- package/templates/backend/nestjs-api-sqlserver/test/fixtures/test-data.ts +109 -0
- package/templates/backend/nestjs-api-sqlserver/test/helpers/auth.helper.ts +54 -0
- package/templates/backend/nestjs-api-sqlserver/test/helpers/db.helper.ts +68 -0
- package/templates/backend/nestjs-api-sqlserver/test/jest-e2e.json +12 -0
- package/templates/backend/nestjs-api-sqlserver/test/setup-e2e.ts +8 -0
- package/templates/backend/nestjs-api-sqlserver/test/unit/app.service.spec.ts +24 -0
- package/templates/backend/nestjs-api-sqlserver/test/unit/auth.controller.spec.ts +91 -0
- package/templates/backend/nestjs-api-sqlserver/test/unit/auth.service.spec.ts +161 -0
- package/templates/backend/nestjs-api-sqlserver/test/unit/health.controller.spec.ts +78 -0
- package/templates/backend/nestjs-api-sqlserver/test/unit/http-exception.filter.spec.ts +150 -0
- package/templates/backend/nestjs-api-sqlserver/test/unit/jwt-auth.guard.spec.ts +50 -0
- package/templates/backend/nestjs-api-sqlserver/test/unit/jwt.strategy.spec.ts +41 -0
- package/templates/backend/nestjs-api-sqlserver/test/unit/posts.controller.spec.ts +249 -0
- package/templates/backend/nestjs-api-sqlserver/test/unit/posts.service.spec.ts +328 -0
- package/templates/backend/nestjs-api-sqlserver/test/unit/profile.service.spec.ts +146 -0
- package/templates/backend/nestjs-api-sqlserver/test/unit/settings.service.spec.ts +242 -0
- package/templates/backend/nestjs-api-sqlserver/test/unit/users.controller.spec.ts +178 -0
- package/templates/backend/nestjs-api-sqlserver/test/unit/users.service.spec.ts +96 -0
- package/templates/backend/nestjs-api-sqlserver/tsconfig.build.json +4 -0
- package/templates/backend/nestjs-api-sqlserver/tsconfig.json +28 -0
- package/templates/frontend/README.md +69 -0
- package/templates/frontend/angular-base/.cursor/agents/accessibility-reviewer.md +67 -0
- package/templates/frontend/angular-base/.cursor/agents/angular-code-reviewer.md +60 -0
- package/templates/frontend/angular-base/.cursor/agents/qa-test-expert.md +70 -0
- package/templates/frontend/angular-base/.cursor/agents/security-auditor.md +58 -0
- package/templates/frontend/angular-base/.cursor/hooks/auto-format.ts +70 -0
- package/templates/frontend/angular-base/.cursor/hooks/auto-test-on-stop.ts +113 -0
- package/templates/frontend/angular-base/.cursor/hooks/block-dangerous-commands.ts +160 -0
- package/templates/frontend/angular-base/.cursor/hooks/ensure-tests-exist.ts +363 -0
- package/templates/frontend/angular-base/.cursor/hooks/protect-sensitive-files.ts +118 -0
- package/templates/frontend/angular-base/.cursor/hooks/session-context.ts +110 -0
- package/templates/frontend/angular-base/.cursor/hooks.json +41 -0
- package/templates/frontend/angular-base/README.md +188 -192
- package/templates/frontend/angular-base/package.json +92 -92
- package/templates/frontend/angular-nx/.cursor/agents/angular-code-reviewer.md +64 -0
- package/templates/frontend/angular-nx/.cursor/agents/nx-architecture-guardian.md +69 -0
- package/templates/frontend/angular-nx/.cursor/agents/qa-test-expert.md +75 -0
- package/templates/frontend/angular-nx/.cursor/agents/security-auditor.md +61 -0
- package/templates/frontend/angular-nx/.cursor/hooks/auto-format.ts +70 -0
- package/templates/frontend/angular-nx/.cursor/hooks/auto-test-on-stop.ts +115 -0
- package/templates/frontend/angular-nx/.cursor/hooks/block-dangerous-commands.ts +188 -0
- package/templates/frontend/angular-nx/.cursor/hooks/ensure-tests-exist.ts +399 -0
- package/templates/frontend/angular-nx/.cursor/hooks/protect-sensitive-files.ts +128 -0
- package/templates/frontend/angular-nx/.cursor/hooks/session-context.ts +121 -0
- package/templates/frontend/angular-nx/.cursor/hooks.json +41 -0
- package/templates/frontend/angular-nx/package.json +102 -102
- package/templates/frontend/react-vite/.cursor/agents/frontend-senior.agent.md +49 -0
- package/templates/frontend/react-vite/.cursor/agents/qa-test-expert.agent.md +126 -0
- package/templates/frontend/react-vite/.cursor/agents/security-expert.agent.md +39 -0
- package/templates/frontend/react-vite/.cursor/agents/ux-ui-expert.agent.md +45 -0
- package/templates/frontend/react-vite/.cursor/hooks/autoTestOnStop.ts +117 -0
- package/templates/frontend/react-vite/.cursor/hooks/blockDangerous.ts +75 -0
- package/templates/frontend/react-vite/.cursor/hooks/ensureTestsExist.ts +306 -0
- package/templates/frontend/react-vite/.cursor/hooks/formatOnEdit.ts +49 -0
- package/templates/frontend/react-vite/.cursor/hooks/protectSecrets.ts +88 -0
- package/templates/frontend/react-vite/.cursor/hooks/sessionInit.ts +77 -0
- package/templates/frontend/react-vite/.cursor/hooks.json +41 -0
- package/templates/frontend/react-vite/.cursor/rules/architech.mdc +35 -20
- package/templates/frontend/react-vite/.cursor/settings.json +13 -0
- package/templates/frontend/react-vite/.husky/pre-commit +1 -0
- package/templates/frontend/react-vite/.vscode/settings.json +31 -0
- package/templates/frontend/react-vite/README.md +238 -61
- package/templates/frontend/react-vite/package.json +22 -2
- package/templates/frontend/react-vite/pnpm-lock.yaml +6575 -4487
- package/templates/frontend/react-vite/pnpm-workspace.yaml +5 -2
- package/templates/frontend/react-vite/src/__tests__/components/layout/navbar.test.tsx +63 -0
- package/templates/frontend/react-vite/src/__tests__/components/ui/avatar.test.tsx +74 -0
- package/templates/frontend/react-vite/src/__tests__/components/ui/badge.test.tsx +55 -0
- package/templates/frontend/react-vite/src/__tests__/components/ui/breadcrumb.test.tsx +140 -0
- package/templates/frontend/react-vite/src/__tests__/components/ui/button.test.tsx +121 -0
- package/templates/frontend/react-vite/src/__tests__/components/ui/card.test.tsx +144 -0
- package/templates/frontend/react-vite/src/__tests__/components/ui/dialog.test.tsx +121 -0
- package/templates/frontend/react-vite/src/__tests__/components/ui/form.test.tsx +165 -0
- package/templates/frontend/react-vite/src/__tests__/components/ui/input.test.tsx +52 -0
- package/templates/frontend/react-vite/src/__tests__/components/ui/label.test.tsx +40 -0
- package/templates/frontend/react-vite/src/__tests__/components/ui/password-input.test.tsx +59 -0
- package/templates/frontend/react-vite/src/__tests__/components/ui/separator.test.tsx +40 -0
- package/templates/frontend/react-vite/src/__tests__/components/ui/table.test.tsx +254 -0
- package/templates/frontend/react-vite/src/__tests__/components/ui/tabs.test.tsx +82 -0
- package/templates/frontend/react-vite/src/__tests__/components/ui/textarea.test.tsx +47 -0
- package/templates/frontend/react-vite/src/__tests__/helpers/render.tsx +114 -0
- package/templates/frontend/react-vite/src/__tests__/hooks/useLocalStorage.test.ts +95 -0
- package/templates/frontend/react-vite/src/__tests__/lib/queryClient.test.ts +24 -0
- package/templates/frontend/react-vite/src/__tests__/lib/utils.test.ts +43 -0
- package/templates/frontend/react-vite/src/__tests__/routes/index.test.tsx +111 -0
- package/templates/frontend/react-vite/src/__tests__/routes/otra-ruta.test.tsx +126 -0
- package/templates/frontend/react-vite/src/__tests__/routes/root.test.tsx +78 -0
- package/templates/frontend/react-vite/src/__tests__/routes/ui-components.test.tsx +286 -0
- package/templates/frontend/react-vite/src/components/layout/navbar.tsx +38 -0
- package/templates/frontend/react-vite/src/components/ui/avatar.tsx +42 -0
- package/templates/frontend/react-vite/src/components/ui/dialog.tsx +122 -0
- package/templates/frontend/react-vite/src/components/ui/table.tsx +229 -0
- package/templates/frontend/react-vite/src/hooks/useLocalStorage.ts +32 -0
- package/templates/frontend/react-vite/src/index.css +27 -27
- package/templates/frontend/react-vite/src/routes/__root.tsx +48 -82
- package/templates/frontend/react-vite/src/routes/ui-components.tsx +1305 -0
- package/templates/frontend/react-vite/src/test/setup.ts +61 -1
- package/templates/frontend/react-vite/vite.config.ts +6 -1
- package/templates/frontend/react-vite/vitest.config.ts +38 -0
- package/templates/frontend/react-vite-help/.cursor/agents/frontend-senior.agent.md +49 -0
- package/templates/frontend/react-vite-help/.cursor/agents/qa-test-expert.agent.md +49 -0
- package/templates/frontend/react-vite-help/.cursor/agents/security-expert.agent.md +39 -0
- package/templates/frontend/react-vite-help/.cursor/agents/ux-ui-expert.agent.md +45 -0
- package/templates/frontend/react-vite-help/.cursor/hooks/ensureTestsExist.ts +220 -0
- package/templates/frontend/react-vite-help/.cursor/hooks.json +10 -0
- package/templates/frontend/react-vite-help/.cursor/mcp.json +1 -1
- package/templates/frontend/react-vite-help/.cursor/rules/architech.mdc +33 -23
- package/templates/frontend/react-vite-help/.cursor/settings.json +13 -0
- package/templates/frontend/react-vite-help/.husky/pre-commit +1 -0
- package/templates/frontend/react-vite-help/README.md +287 -61
- package/templates/frontend/react-vite-help/package.json +82 -62
- package/templates/frontend/react-vite-help/pnpm-lock.yaml +6319 -4487
- package/templates/frontend/react-vite-help/pnpm-workspace.yaml +5 -2
- package/templates/frontend/react-vite-help/src/__tests__/components/documentacion/tabs.test.tsx +95 -0
- package/templates/frontend/react-vite-help/src/__tests__/components/layout/navbar.test.tsx +96 -0
- package/templates/frontend/react-vite-help/src/__tests__/components/layout/sidebar.test.tsx +68 -0
- package/templates/frontend/react-vite-help/src/__tests__/components/ui/avatar.test.tsx +53 -0
- package/templates/frontend/react-vite-help/src/__tests__/components/ui/badge.test.tsx +50 -0
- package/templates/frontend/react-vite-help/src/__tests__/components/ui/breadcrumb.test.tsx +95 -0
- package/templates/frontend/react-vite-help/src/__tests__/components/ui/button.test.tsx +76 -0
- package/templates/frontend/react-vite-help/src/__tests__/components/ui/card.test.tsx +95 -0
- package/templates/frontend/react-vite-help/src/__tests__/components/ui/dialog.test.tsx +83 -0
- package/templates/frontend/react-vite-help/src/__tests__/components/ui/form.test.tsx +130 -0
- package/templates/frontend/react-vite-help/src/__tests__/components/ui/input.test.tsx +39 -0
- package/templates/frontend/react-vite-help/src/__tests__/components/ui/label.test.tsx +25 -0
- package/templates/frontend/react-vite-help/src/__tests__/components/ui/password-input.test.tsx +45 -0
- package/templates/frontend/react-vite-help/src/__tests__/components/ui/separator.test.tsx +35 -0
- package/templates/frontend/react-vite-help/src/__tests__/components/ui/table.test.tsx +126 -0
- package/templates/frontend/react-vite-help/src/__tests__/components/ui/tabs.test.tsx +66 -0
- package/templates/frontend/react-vite-help/src/__tests__/components/ui/textarea.test.tsx +34 -0
- package/templates/frontend/react-vite-help/src/__tests__/data/dashboard.test.ts +100 -0
- package/templates/frontend/react-vite-help/src/__tests__/data/proyectos-seed.test.ts +51 -0
- package/templates/frontend/react-vite-help/src/__tests__/hooks/useAuth.test.tsx +135 -0
- package/templates/frontend/react-vite-help/src/__tests__/hooks/useLocalStorage.test.ts +89 -0
- package/templates/frontend/react-vite-help/src/__tests__/lib/auth.test.ts +102 -0
- package/templates/frontend/react-vite-help/src/__tests__/lib/queryClient.test.ts +24 -0
- package/templates/frontend/react-vite-help/src/__tests__/lib/utils.test.ts +31 -0
- package/templates/frontend/react-vite-help/src/__tests__/routes/__root.test.tsx +72 -0
- package/templates/frontend/react-vite-help/src/__tests__/routes/_authenticated/dashboard.test.tsx +106 -0
- package/templates/frontend/react-vite-help/src/__tests__/routes/_authenticated/perfil.test.tsx +54 -0
- package/templates/frontend/react-vite-help/src/__tests__/routes/_authenticated/proyectos-crud.test.tsx +272 -0
- package/templates/frontend/react-vite-help/src/__tests__/routes/_authenticated/ui-components.test.tsx +150 -0
- package/templates/frontend/react-vite-help/src/__tests__/routes/_authenticated.test.tsx +58 -0
- package/templates/frontend/react-vite-help/src/__tests__/routes/auth/iniciar-sesion.test.tsx +107 -0
- package/templates/frontend/react-vite-help/src/__tests__/routes/auth/recuperar-password.test.tsx +56 -0
- package/templates/frontend/react-vite-help/src/__tests__/routes/auth/registro.test.tsx +106 -0
- package/templates/frontend/react-vite-help/src/__tests__/routes/contacto.test.tsx +219 -0
- package/templates/frontend/react-vite-help/src/__tests__/routes/documentacion.test.tsx +81 -0
- package/templates/frontend/react-vite-help/src/__tests__/routes/index.test.tsx +69 -0
- package/templates/frontend/react-vite-help/src/__tests__/routes/proyectos-detalle.test.tsx +90 -0
- package/templates/frontend/react-vite-help/src/__tests__/routes/proyectos.test.tsx +74 -0
- package/templates/frontend/react-vite-help/src/components/documentacion/inicio.tsx +1 -0
- package/templates/frontend/react-vite-help/src/components/documentacion/stack.tsx +100 -1
- package/templates/frontend/react-vite-help/src/components/layout/navbar.tsx +75 -0
- package/templates/frontend/react-vite-help/src/components/layout/sidebar.tsx +101 -0
- package/templates/frontend/react-vite-help/src/components/ui/avatar.tsx +42 -0
- package/templates/frontend/react-vite-help/src/components/ui/breadcrumb.tsx +106 -106
- package/templates/frontend/react-vite-help/src/components/ui/dialog.tsx +122 -0
- package/templates/frontend/react-vite-help/src/components/ui/table.tsx +244 -0
- package/templates/frontend/react-vite-help/src/data/dashboard.ts +255 -0
- package/templates/frontend/react-vite-help/src/data/proyectos-seed.ts +87 -0
- package/templates/frontend/react-vite-help/src/hooks/useAuth.tsx +73 -0
- package/templates/frontend/react-vite-help/src/hooks/useLocalStorage.ts +32 -0
- package/templates/frontend/react-vite-help/src/index.css +104 -104
- package/templates/frontend/react-vite-help/src/lib/auth.ts +126 -0
- package/templates/frontend/react-vite-help/src/main.tsx +54 -33
- package/templates/frontend/react-vite-help/src/router.tsx +8 -0
- package/templates/frontend/react-vite-help/src/routes/__root.tsx +21 -59
- package/templates/frontend/react-vite-help/src/routes/_authenticated/dashboard.tsx +413 -0
- package/templates/frontend/react-vite-help/src/routes/_authenticated/perfil.tsx +71 -0
- package/templates/frontend/react-vite-help/src/routes/_authenticated/proyectos-crud.tsx +559 -0
- package/templates/frontend/react-vite-help/src/routes/_authenticated/ui-components.tsx +1054 -0
- package/templates/frontend/react-vite-help/src/routes/_authenticated.tsx +39 -0
- package/templates/frontend/react-vite-help/src/routes/auth/iniciar-sesion.tsx +50 -26
- package/templates/frontend/react-vite-help/src/routes/auth/recuperar-password.tsx +107 -0
- package/templates/frontend/react-vite-help/src/routes/contacto.tsx +839 -37
- package/templates/frontend/react-vite-help/src/routes/index.tsx +16 -13
- package/templates/frontend/react-vite-help/src/routes/proyectos.$proyectoId.tsx +11 -14
- package/templates/frontend/react-vite-help/src/routes/proyectos.tsx +16 -20
- package/templates/frontend/react-vite-help/src/test/mocks/recharts.tsx +35 -0
- package/templates/frontend/react-vite-help/src/test/mocks/router.ts +27 -0
- package/templates/frontend/react-vite-help/src/test/setup.ts +61 -1
- package/templates/frontend/react-vite-help/src/test/utils.tsx +57 -0
- package/templates/frontend/react-vite-help/vite.config.ts +30 -22
- package/templates/frontend/react-vite-help/vitest.config.ts +44 -9
- package/templates/mobile/README.md +83 -0
- package/templates/mobile/expo-base/.cursor/agents/api-integration.md +139 -0
- package/templates/mobile/expo-base/.cursor/agents/feature-architect.md +131 -0
- package/templates/mobile/expo-base/.cursor/agents/i18n-manager.md +147 -0
- package/templates/mobile/expo-base/.cursor/agents/quality-reviewer.md +137 -0
- package/templates/mobile/expo-base/.cursor/agents/testing-specialist.md +123 -0
- package/templates/mobile/expo-base/.cursor/agents/theme-engineer.md +106 -0
- package/templates/mobile/expo-base/.cursor/skills/accessibility-compliance/SKILL.md +420 -0
- package/templates/mobile/expo-base/.cursor/skills/accessibility-compliance/references/aria-patterns.md +567 -0
- package/templates/mobile/expo-base/.cursor/skills/accessibility-compliance/references/mobile-accessibility.md +538 -0
- package/templates/mobile/expo-base/.cursor/skills/accessibility-compliance/references/wcag-guidelines.md +645 -0
- package/templates/mobile/expo-base/.cursor/skills/auth-implementation-patterns/SKILL.md +647 -0
- package/templates/mobile/expo-base/.cursor/skills/code-review-excellence/SKILL.md +538 -0
- package/templates/mobile/expo-base/.cursor/skills/design-system-patterns/SKILL.md +337 -0
- package/templates/mobile/expo-base/.cursor/skills/design-system-patterns/references/component-architecture.md +617 -0
- package/templates/mobile/expo-base/.cursor/skills/design-system-patterns/references/design-tokens.md +420 -0
- package/templates/mobile/expo-base/.cursor/skills/design-system-patterns/references/theming-architecture.md +521 -0
- package/templates/mobile/expo-base/.cursor/skills/error-handling-patterns/SKILL.md +641 -0
- package/templates/mobile/expo-base/.cursor/skills/eslint-prettier-config/SKILL.md +540 -0
- package/templates/mobile/expo-base/.cursor/skills/expo-deployment/SKILL.md +190 -0
- package/templates/mobile/expo-base/.cursor/skills/expo-deployment/references/app-store-metadata.md +479 -0
- package/templates/mobile/expo-base/.cursor/skills/expo-deployment/references/ios-app-store.md +355 -0
- package/templates/mobile/expo-base/.cursor/skills/expo-deployment/references/play-store.md +246 -0
- package/templates/mobile/expo-base/.cursor/skills/expo-deployment/references/testflight.md +58 -0
- package/templates/mobile/expo-base/.cursor/skills/expo-deployment/references/workflows.md +200 -0
- package/templates/mobile/expo-base/.cursor/skills/github-actions-templates/SKILL.md +334 -0
- package/templates/mobile/expo-base/.cursor/skills/i18n-localization/SKILL.md +154 -0
- package/templates/mobile/expo-base/.cursor/skills/i18n-localization/scripts/i18n_checker.py +241 -0
- package/templates/mobile/expo-base/.cursor/skills/jest-typescript/SKILL.md +1092 -0
- package/templates/mobile/expo-base/.cursor/skills/maestro-mobile-testing/SKILL.md +982 -0
- package/templates/mobile/expo-base/.cursor/skills/mobile-security-coder/SKILL.md +184 -0
- package/templates/mobile/expo-base/.cursor/skills/pnpm/GENERATION.md +5 -0
- package/templates/mobile/expo-base/.cursor/skills/pnpm/SKILL.md +42 -0
- package/templates/mobile/expo-base/.cursor/skills/pnpm/references/best-practices-ci.md +285 -0
- package/templates/mobile/expo-base/.cursor/skills/pnpm/references/best-practices-migration.md +291 -0
- package/templates/mobile/expo-base/.cursor/skills/pnpm/references/best-practices-performance.md +284 -0
- package/templates/mobile/expo-base/.cursor/skills/pnpm/references/core-cli.md +229 -0
- package/templates/mobile/expo-base/.cursor/skills/pnpm/references/core-config.md +188 -0
- package/templates/mobile/expo-base/.cursor/skills/pnpm/references/core-store.md +179 -0
- package/templates/mobile/expo-base/.cursor/skills/pnpm/references/core-workspaces.md +205 -0
- package/templates/mobile/expo-base/.cursor/skills/pnpm/references/features-aliases.md +168 -0
- package/templates/mobile/expo-base/.cursor/skills/pnpm/references/features-catalogs.md +159 -0
- package/templates/mobile/expo-base/.cursor/skills/pnpm/references/features-hooks.md +233 -0
- package/templates/mobile/expo-base/.cursor/skills/pnpm/references/features-overrides.md +184 -0
- package/templates/mobile/expo-base/.cursor/skills/pnpm/references/features-patches.md +201 -0
- package/templates/mobile/expo-base/.cursor/skills/pnpm/references/features-peer-deps.md +250 -0
- package/templates/mobile/expo-base/.cursor/skills/react-native-architecture/SKILL.md +673 -0
- package/templates/mobile/expo-base/.cursor/skills/react-native-design/SKILL.md +440 -0
- package/templates/mobile/expo-base/.cursor/skills/react-native-design/references/navigation-patterns.md +832 -0
- package/templates/mobile/expo-base/.cursor/skills/react-native-design/references/reanimated-patterns.md +775 -0
- package/templates/mobile/expo-base/.cursor/skills/react-native-design/references/styling-patterns.md +871 -0
- package/templates/mobile/expo-base/.cursor/skills/react-state-management/SKILL.md +437 -0
- package/templates/mobile/expo-base/.cursor/skills/reanimated-skia-performance/SKILL.md +190 -0
- package/templates/mobile/expo-base/.cursor/skills/reanimated-skia-performance/references/dev-tuning.md +167 -0
- package/templates/mobile/expo-base/.cursor/skills/reanimated-skia-performance/references/perf-checklist.md +40 -0
- package/templates/mobile/expo-base/.cursor/skills/reanimated-skia-performance/references/reanimated-v4.md +108 -0
- package/templates/mobile/expo-base/.cursor/skills/reanimated-skia-performance/references/skia-shaders.md +66 -0
- package/templates/mobile/expo-base/.cursor/skills/systematic-debugging/CREATION-LOG.md +119 -0
- package/templates/mobile/expo-base/.cursor/skills/systematic-debugging/SKILL.md +296 -0
- package/templates/mobile/expo-base/.cursor/skills/systematic-debugging/condition-based-waiting-example.ts +158 -0
- package/templates/mobile/expo-base/.cursor/skills/systematic-debugging/condition-based-waiting.md +115 -0
- package/templates/mobile/expo-base/.cursor/skills/systematic-debugging/defense-in-depth.md +122 -0
- package/templates/mobile/expo-base/.cursor/skills/systematic-debugging/find-polluter.sh +63 -0
- package/templates/mobile/expo-base/.cursor/skills/systematic-debugging/root-cause-tracing.md +169 -0
- package/templates/mobile/expo-base/.cursor/skills/systematic-debugging/test-academic.md +14 -0
- package/templates/mobile/expo-base/.cursor/skills/systematic-debugging/test-pressure-1.md +58 -0
- package/templates/mobile/expo-base/.cursor/skills/systematic-debugging/test-pressure-2.md +68 -0
- package/templates/mobile/expo-base/.cursor/skills/systematic-debugging/test-pressure-3.md +69 -0
- package/templates/mobile/expo-base/.cursor/skills/tanstack-query/.claude-plugin/plugin.json +12 -0
- package/templates/mobile/expo-base/.cursor/skills/tanstack-query/README.md +228 -0
- package/templates/mobile/expo-base/.cursor/skills/tanstack-query/SKILL.md +1585 -0
- package/templates/mobile/expo-base/.cursor/skills/test-driven-development/SKILL.md +371 -0
- package/templates/mobile/expo-base/.cursor/skills/test-driven-development/testing-anti-patterns.md +299 -0
- package/templates/mobile/expo-base/.cursor/skills/typescript-advanced-types/SKILL.md +724 -0
- package/templates/mobile/expo-base/.cursor/skills/vercel-composition-patterns/AGENTS.md +946 -0
- package/templates/mobile/expo-base/.cursor/skills/vercel-composition-patterns/SKILL.md +89 -0
- package/templates/mobile/expo-base/.cursor/skills/vercel-composition-patterns/rules/architecture-avoid-boolean-props.md +100 -0
- package/templates/mobile/expo-base/.cursor/skills/vercel-composition-patterns/rules/architecture-compound-components.md +112 -0
- package/templates/mobile/expo-base/.cursor/skills/vercel-composition-patterns/rules/patterns-children-over-render-props.md +87 -0
- package/templates/mobile/expo-base/.cursor/skills/vercel-composition-patterns/rules/patterns-explicit-variants.md +100 -0
- package/templates/mobile/expo-base/.cursor/skills/vercel-composition-patterns/rules/react19-no-forwardref.md +42 -0
- package/templates/mobile/expo-base/.cursor/skills/vercel-composition-patterns/rules/state-context-interface.md +191 -0
- package/templates/mobile/expo-base/.cursor/skills/vercel-composition-patterns/rules/state-decouple-implementation.md +113 -0
- package/templates/mobile/expo-base/.cursor/skills/vercel-composition-patterns/rules/state-lift-state.md +125 -0
- package/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/AGENTS.md +2897 -0
- package/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/README.md +165 -0
- package/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/SKILL.md +121 -0
- package/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/animation-derived-value.md +53 -0
- package/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/animation-gesture-detector-press.md +95 -0
- package/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/animation-gpu-properties.md +65 -0
- package/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/design-system-compound-components.md +66 -0
- package/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/fonts-config-plugin.md +71 -0
- package/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/imports-design-system-folder.md +68 -0
- package/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/js-hoist-intl.md +61 -0
- package/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/list-performance-callbacks.md +44 -0
- package/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/list-performance-function-references.md +132 -0
- package/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/list-performance-images.md +53 -0
- package/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/list-performance-inline-objects.md +97 -0
- package/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/list-performance-item-expensive.md +94 -0
- package/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/list-performance-item-memo.md +82 -0
- package/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/list-performance-item-types.md +104 -0
- package/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/list-performance-virtualize.md +67 -0
- package/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/monorepo-native-deps-in-app.md +46 -0
- package/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/monorepo-single-dependency-versions.md +63 -0
- package/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/navigation-native-navigators.md +188 -0
- package/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/react-compiler-destructure-functions.md +50 -0
- package/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/react-compiler-reanimated-shared-values.md +48 -0
- package/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/react-state-dispatcher.md +91 -0
- package/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/react-state-fallback.md +56 -0
- package/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/react-state-minimize.md +65 -0
- package/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/rendering-no-falsy-and.md +74 -0
- package/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/rendering-text-in-text-component.md +36 -0
- package/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/scroll-position-no-state.md +82 -0
- package/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/state-ground-truth.md +80 -0
- package/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/ui-expo-image.md +66 -0
- package/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/ui-image-gallery.md +104 -0
- package/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/ui-measure-views.md +78 -0
- package/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/ui-menus.md +174 -0
- package/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/ui-native-modals.md +77 -0
- package/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/ui-pressable.md +61 -0
- package/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/ui-safe-area-scroll.md +65 -0
- package/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/ui-scrollview-content-inset.md +45 -0
- package/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/ui-styling.md +87 -0
- package/templates/mobile/expo-base/README.md +112 -2
- package/templates/mobile/expo-base/package.json +74 -74
- package/templates/mobile/expo-base/pnpm-workspace.yaml +7 -4
- package/dist/templates/frontend/angular-base/.agents/skills/angular-component/SKILL.md +0 -288
- package/dist/templates/frontend/angular-base/.agents/skills/angular-component/references/component-patterns.md +0 -358
- package/dist/templates/frontend/angular-base/.agents/skills/angular-di/SKILL.md +0 -387
- package/dist/templates/frontend/angular-base/.agents/skills/angular-di/references/di-patterns.md +0 -519
- package/dist/templates/frontend/angular-base/.agents/skills/angular-directives/SKILL.md +0 -437
- package/dist/templates/frontend/angular-base/.agents/skills/angular-directives/references/directive-patterns.md +0 -570
- package/dist/templates/frontend/angular-base/.agents/skills/angular-forms/SKILL.md +0 -434
- package/dist/templates/frontend/angular-base/.agents/skills/angular-forms/references/form-patterns.md +0 -398
- package/dist/templates/frontend/angular-base/.agents/skills/angular-http/SKILL.md +0 -366
- package/dist/templates/frontend/angular-base/.agents/skills/angular-http/references/http-patterns.md +0 -448
- package/dist/templates/frontend/angular-base/.agents/skills/angular-routing/SKILL.md +0 -395
- package/dist/templates/frontend/angular-base/.agents/skills/angular-routing/references/routing-patterns.md +0 -472
- package/dist/templates/frontend/angular-base/.agents/skills/angular-signals/SKILL.md +0 -302
- package/dist/templates/frontend/angular-base/.agents/skills/angular-signals/references/signal-patterns.md +0 -404
- package/dist/templates/frontend/angular-base/.agents/skills/angular-ssr/SKILL.md +0 -435
- package/dist/templates/frontend/angular-base/.agents/skills/angular-ssr/references/ssr-patterns.md +0 -497
- package/dist/templates/frontend/angular-base/.agents/skills/angular-testing/SKILL.md +0 -660
- package/dist/templates/frontend/angular-base/.agents/skills/angular-testing/references/testing-patterns.md +0 -707
- package/dist/templates/frontend/angular-base/.agents/skills/angular-tooling/SKILL.md +0 -352
- package/dist/templates/frontend/angular-base/.agents/skills/angular-tooling/references/tooling-patterns.md +0 -448
- package/dist/templates/frontend/angular-base/.agents/skills/tailwindcss-accessibility/SKILL.md +0 -780
- package/dist/templates/frontend/angular-base/.agents/skills/tailwindcss-advanced-components/SKILL.md +0 -718
- package/dist/templates/frontend/angular-base/.agents/skills/tailwindcss-advanced-design-systems/SKILL.md +0 -612
- package/dist/templates/frontend/angular-base/.agents/skills/tailwindcss-advanced-layouts/SKILL.md +0 -594
- package/dist/templates/frontend/angular-base/.agents/skills/tailwindcss-animations/SKILL.md +0 -432
- package/dist/templates/frontend/angular-base/.agents/skills/tailwindcss-animations/references/animation-patterns.md +0 -427
- package/dist/templates/frontend/angular-base/.agents/skills/tailwindcss-debugging/SKILL.md +0 -354
- package/dist/templates/frontend/angular-base/.agents/skills/tailwindcss-debugging/references/troubleshooting-guide.md +0 -306
- package/dist/templates/frontend/angular-base/.agents/skills/tailwindcss-framework-integration/SKILL.md +0 -578
- package/dist/templates/frontend/angular-base/.agents/skills/tailwindcss-framework-integration/references/react-patterns.md +0 -353
- package/dist/templates/frontend/angular-base/.agents/skills/tailwindcss-fundamentals-v4/SKILL.md +0 -608
- package/dist/templates/frontend/angular-base/.agents/skills/tailwindcss-fundamentals-v4/references/advanced-theme-patterns.md +0 -215
- package/dist/templates/frontend/angular-base/.agents/skills/tailwindcss-fundamentals-v4/references/custom-utilities-guide.md +0 -281
- package/dist/templates/frontend/angular-base/.agents/skills/tailwindcss-mobile-first/SKILL.md +0 -768
- package/dist/templates/frontend/angular-base/.agents/skills/tailwindcss-performance/SKILL.md +0 -374
- package/dist/templates/frontend/angular-base/.agents/skills/tailwindcss-performance/references/bundle-optimization.md +0 -244
- package/dist/templates/frontend/angular-base/.agents/skills/tailwindcss-plugins/SKILL.md +0 -505
- package/dist/templates/frontend/angular-base/.agents/skills/tailwindcss-responsive-darkmode/SKILL.md +0 -601
- package/dist/templates/frontend/angular-base/.agents/skills/tailwindcss-responsive-darkmode/references/advanced-responsive-patterns.md +0 -485
- package/dist/templates/frontend/angular-base/.agents/skills/web-design-guidelines/SKILL.md +0 -39
- package/dist/templates/frontend/angular-nx/.agents/skills/angular-component/SKILL.md +0 -288
- package/dist/templates/frontend/angular-nx/.agents/skills/angular-component/references/component-patterns.md +0 -358
- package/dist/templates/frontend/angular-nx/.agents/skills/angular-di/SKILL.md +0 -387
- package/dist/templates/frontend/angular-nx/.agents/skills/angular-di/references/di-patterns.md +0 -519
- package/dist/templates/frontend/angular-nx/.agents/skills/angular-directives/SKILL.md +0 -437
- package/dist/templates/frontend/angular-nx/.agents/skills/angular-directives/references/directive-patterns.md +0 -570
- package/dist/templates/frontend/angular-nx/.agents/skills/angular-forms/SKILL.md +0 -434
- package/dist/templates/frontend/angular-nx/.agents/skills/angular-forms/references/form-patterns.md +0 -398
- package/dist/templates/frontend/angular-nx/.agents/skills/angular-http/SKILL.md +0 -366
- package/dist/templates/frontend/angular-nx/.agents/skills/angular-http/references/http-patterns.md +0 -448
- package/dist/templates/frontend/angular-nx/.agents/skills/angular-routing/SKILL.md +0 -395
- package/dist/templates/frontend/angular-nx/.agents/skills/angular-routing/references/routing-patterns.md +0 -472
- package/dist/templates/frontend/angular-nx/.agents/skills/angular-signals/SKILL.md +0 -302
- package/dist/templates/frontend/angular-nx/.agents/skills/angular-signals/references/signal-patterns.md +0 -404
- package/dist/templates/frontend/angular-nx/.agents/skills/angular-ssr/SKILL.md +0 -435
- package/dist/templates/frontend/angular-nx/.agents/skills/angular-ssr/references/ssr-patterns.md +0 -497
- package/dist/templates/frontend/angular-nx/.agents/skills/angular-testing/SKILL.md +0 -660
- package/dist/templates/frontend/angular-nx/.agents/skills/angular-testing/references/testing-patterns.md +0 -707
- package/dist/templates/frontend/angular-nx/.agents/skills/angular-tooling/SKILL.md +0 -352
- package/dist/templates/frontend/angular-nx/.agents/skills/angular-tooling/references/tooling-patterns.md +0 -448
- package/dist/templates/frontend/angular-nx/.agents/skills/nx-workspace-patterns/SKILL.md +0 -457
- package/dist/templates/frontend/angular-nx/.agents/skills/tailwindcss-accessibility/SKILL.md +0 -780
- package/dist/templates/frontend/angular-nx/.agents/skills/tailwindcss-advanced-components/SKILL.md +0 -718
- package/dist/templates/frontend/angular-nx/.agents/skills/tailwindcss-advanced-design-systems/SKILL.md +0 -612
- package/dist/templates/frontend/angular-nx/.agents/skills/tailwindcss-advanced-layouts/SKILL.md +0 -594
- package/dist/templates/frontend/angular-nx/.agents/skills/tailwindcss-animations/SKILL.md +0 -432
- package/dist/templates/frontend/angular-nx/.agents/skills/tailwindcss-animations/references/animation-patterns.md +0 -427
- package/dist/templates/frontend/angular-nx/.agents/skills/tailwindcss-debugging/SKILL.md +0 -354
- package/dist/templates/frontend/angular-nx/.agents/skills/tailwindcss-debugging/references/troubleshooting-guide.md +0 -306
- package/dist/templates/frontend/angular-nx/.agents/skills/tailwindcss-framework-integration/SKILL.md +0 -578
- package/dist/templates/frontend/angular-nx/.agents/skills/tailwindcss-framework-integration/references/react-patterns.md +0 -353
- package/dist/templates/frontend/angular-nx/.agents/skills/tailwindcss-fundamentals-v4/SKILL.md +0 -608
- package/dist/templates/frontend/angular-nx/.agents/skills/tailwindcss-fundamentals-v4/references/advanced-theme-patterns.md +0 -215
- package/dist/templates/frontend/angular-nx/.agents/skills/tailwindcss-fundamentals-v4/references/custom-utilities-guide.md +0 -281
- package/dist/templates/frontend/angular-nx/.agents/skills/tailwindcss-mobile-first/SKILL.md +0 -768
- package/dist/templates/frontend/angular-nx/.agents/skills/tailwindcss-performance/SKILL.md +0 -374
- package/dist/templates/frontend/angular-nx/.agents/skills/tailwindcss-performance/references/bundle-optimization.md +0 -244
- package/dist/templates/frontend/angular-nx/.agents/skills/tailwindcss-plugins/SKILL.md +0 -505
- package/dist/templates/frontend/angular-nx/.agents/skills/tailwindcss-responsive-darkmode/SKILL.md +0 -601
- package/dist/templates/frontend/angular-nx/.agents/skills/tailwindcss-responsive-darkmode/references/advanced-responsive-patterns.md +0 -485
- package/dist/templates/frontend/angular-nx/.agents/skills/web-design-guidelines/SKILL.md +0 -39
- package/dist/templates/frontend/react-vite/.agents/skills/daisyui/SKILL.md +0 -1374
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/AGENTS.md +0 -97
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/SKILL.md +0 -116
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/adv-devtools-performance.md +0 -69
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/adv-formprovider-memo.md +0 -78
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/adv-testing-wrapper.md +0 -63
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/array-complete-default-objects.md +0 -66
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/array-separate-crud-operations.md +0 -76
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/array-unique-fieldarray-per-name.md +0 -58
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/array-use-field-id-as-key.md +0 -54
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/array-virtualization-formprovider.md +0 -64
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/ctrl-avoid-double-registration.md +0 -46
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/ctrl-controller-field-props.md +0 -56
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/ctrl-local-state-combination.md +0 -69
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/ctrl-single-usecontroller-per-component.md +0 -62
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/ctrl-usecontroller-isolation.md +0 -64
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/formcfg-async-default-values.md +0 -69
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/formcfg-default-values.md +0 -57
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/formcfg-revalidate-mode.md +0 -48
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/formcfg-should-unregister.md +0 -62
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/formcfg-useeffect-dependency.md +0 -54
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/formcfg-validation-mode.md +0 -51
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/formstate-avoid-isvalid-with-onsubmit.md +0 -58
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/formstate-destructure-formstate.md +0 -48
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/formstate-getfieldstate-for-single-field.md +0 -49
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/formstate-subscribe-to-specific-fields.md +0 -54
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/formstate-useformstate-isolation.md +0 -62
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/integ-mui-controller-pattern.md +0 -59
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/integ-shadcn-form-import.md +0 -64
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/integ-shadcn-select-wiring.md +0 -64
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/integ-value-transform.md +0 -59
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/sub-avoid-watch-in-render.md +0 -48
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/sub-deep-subscription.md +0 -62
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/sub-useformcontext-sparingly.md +0 -58
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/sub-usewatch-default-value.md +0 -50
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/sub-usewatch-over-watch.md +0 -58
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/sub-usewatch-with-getvalues.md +0 -54
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/sub-watch-specific-fields.md +0 -54
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/valid-delay-error.md +0 -52
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/valid-dynamic-schema-factory.md +0 -57
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/valid-error-message-strategy.md +0 -65
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/valid-inline-vs-resolver.md +0 -63
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/valid-native-validation.md +0 -60
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/valid-resolver-caching.md +0 -58
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/.claude-plugin/plugin.json +0 -12
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/SKILL.md +0 -412
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/references/accessibility.md +0 -359
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/references/error-handling.md +0 -255
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/references/links-to-official-docs.md +0 -197
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/references/performance-optimization.md +0 -355
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/references/rhf-api-reference.md +0 -420
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/references/shadcn-integration.md +0 -390
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/references/top-errors.md +0 -381
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/references/zod-schemas-guide.md +0 -396
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/rules/react-hook-form-zod.md +0 -138
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/scripts/check-versions.sh +0 -51
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/templates/advanced-form.tsx +0 -427
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/templates/async-validation.tsx +0 -402
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/templates/basic-form.tsx +0 -285
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/templates/custom-error-display.tsx +0 -303
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/templates/dynamic-fields.tsx +0 -308
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/templates/multi-step-form.tsx +0 -367
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/templates/package.json +0 -35
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/templates/server-validation.ts +0 -313
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/templates/shadcn-form.tsx +0 -351
- package/dist/templates/frontend/react-vite/.agents/skills/responsive-images/.claude-plugin/plugin.json +0 -12
- package/dist/templates/frontend/react-vite/.agents/skills/responsive-images/SKILL.md +0 -412
- package/dist/templates/frontend/react-vite/.agents/skills/responsive-images/references/aspect-ratio.md +0 -513
- package/dist/templates/frontend/react-vite/.agents/skills/responsive-images/references/lazy-loading.md +0 -397
- package/dist/templates/frontend/react-vite/.agents/skills/responsive-images/references/modern-formats.md +0 -526
- package/dist/templates/frontend/react-vite/.agents/skills/responsive-images/references/picture-element.md +0 -593
- package/dist/templates/frontend/react-vite/.agents/skills/responsive-images/references/srcset-sizes.md +0 -295
- package/dist/templates/frontend/react-vite/.agents/skills/responsive-images/rules/responsive-images.md +0 -418
- package/dist/templates/frontend/react-vite/.agents/skills/responsive-images/templates/image-component.tsx +0 -231
- package/dist/templates/frontend/react-vite/.agents/skills/seo-meta/.claude-plugin/plugin.json +0 -13
- package/dist/templates/frontend/react-vite/.agents/skills/seo-meta/SKILL.md +0 -487
- package/dist/templates/frontend/react-vite/.agents/skills/seo-meta/agents/seo-generator.md +0 -290
- package/dist/templates/frontend/react-vite/.agents/skills/seo-meta/references/canonical-urls.md +0 -429
- package/dist/templates/frontend/react-vite/.agents/skills/seo-meta/references/json-ld.md +0 -599
- package/dist/templates/frontend/react-vite/.agents/skills/seo-meta/references/meta-description.md +0 -426
- package/dist/templates/frontend/react-vite/.agents/skills/seo-meta/references/open-graph.md +0 -443
- package/dist/templates/frontend/react-vite/.agents/skills/seo-meta/references/title-patterns.md +0 -333
- package/dist/templates/frontend/react-vite/.agents/skills/seo-meta/references/twitter-cards.md +0 -423
- package/dist/templates/frontend/react-vite/.agents/skills/seo-meta/rules/seo-meta.md +0 -157
- package/dist/templates/frontend/react-vite/.agents/skills/seo-meta/templates/json-ld-schemas/faq.json +0 -46
- package/dist/templates/frontend/react-vite/.agents/skills/seo-meta/templates/json-ld-schemas/local-business.json +0 -58
- package/dist/templates/frontend/react-vite/.agents/skills/seo-meta/templates/json-ld-schemas/service.json +0 -41
- package/dist/templates/frontend/react-vite/.agents/skills/seo-meta/templates/meta-component.tsx +0 -275
- package/dist/templates/frontend/react-vite/.agents/skills/shadcn-ui/SKILL.md +0 -1677
- package/dist/templates/frontend/react-vite/.agents/skills/shadcn-ui/references/learn.md +0 -145
- package/dist/templates/frontend/react-vite/.agents/skills/shadcn-ui/references/official-ui-reference.md +0 -1725
- package/dist/templates/frontend/react-vite/.agents/skills/shadcn-ui/references/reference.md +0 -586
- package/dist/templates/frontend/react-vite/.agents/skills/shadcn-ui/references/ui-reference.md +0 -1578
- package/dist/templates/frontend/react-vite/.agents/skills/tailwind-patterns/.claude-plugin/plugin.json +0 -12
- package/dist/templates/frontend/react-vite/.agents/skills/tailwind-patterns/SKILL.md +0 -508
- package/dist/templates/frontend/react-vite/.agents/skills/tailwind-patterns/references/button-patterns.md +0 -234
- package/dist/templates/frontend/react-vite/.agents/skills/tailwind-patterns/references/card-patterns.md +0 -533
- package/dist/templates/frontend/react-vite/.agents/skills/tailwind-patterns/references/dark-mode-patterns.md +0 -309
- package/dist/templates/frontend/react-vite/.agents/skills/tailwind-patterns/references/form-patterns.md +0 -403
- package/dist/templates/frontend/react-vite/.agents/skills/tailwind-patterns/references/layout-patterns.md +0 -542
- package/dist/templates/frontend/react-vite/.agents/skills/tailwind-patterns/references/navigation-patterns.md +0 -634
- package/dist/templates/frontend/react-vite/.agents/skills/tailwind-patterns/references/typography-patterns.md +0 -338
- package/dist/templates/frontend/react-vite/.agents/skills/tailwind-patterns/rules/tailwind-patterns.md +0 -371
- package/dist/templates/frontend/react-vite/.agents/skills/tailwind-patterns/templates/components/contact-form.tsx +0 -265
- package/dist/templates/frontend/react-vite/.agents/skills/tailwind-patterns/templates/components/feature-grid.tsx +0 -141
- package/dist/templates/frontend/react-vite/.agents/skills/tailwind-patterns/templates/components/footer.tsx +0 -258
- package/dist/templates/frontend/react-vite/.agents/skills/tailwind-patterns/templates/components/hero-section.tsx +0 -105
- package/dist/templates/frontend/react-vite/.agents/skills/tailwind-v4-shadcn/.claude-plugin/plugin.json +0 -13
- package/dist/templates/frontend/react-vite/.agents/skills/tailwind-v4-shadcn/SKILL.md +0 -665
- package/dist/templates/frontend/react-vite/.agents/skills/tailwind-v4-shadcn/commands/setup.md +0 -200
- package/dist/templates/frontend/react-vite/.agents/skills/tailwind-v4-shadcn/references/architecture.md +0 -206
- package/dist/templates/frontend/react-vite/.agents/skills/tailwind-v4-shadcn/references/common-gotchas.md +0 -469
- package/dist/templates/frontend/react-vite/.agents/skills/tailwind-v4-shadcn/references/dark-mode.md +0 -239
- package/dist/templates/frontend/react-vite/.agents/skills/tailwind-v4-shadcn/references/migration-guide.md +0 -313
- package/dist/templates/frontend/react-vite/.agents/skills/tailwind-v4-shadcn/rules/tailwind-v4-shadcn.md +0 -118
- package/dist/templates/frontend/react-vite/.agents/skills/tailwind-v4-shadcn/templates/components.json +0 -20
- package/dist/templates/frontend/react-vite/.agents/skills/tailwind-v4-shadcn/templates/index.css +0 -140
- package/dist/templates/frontend/react-vite/.agents/skills/tailwind-v4-shadcn/templates/theme-provider.tsx +0 -92
- package/dist/templates/frontend/react-vite/.agents/skills/tailwind-v4-shadcn/templates/tsconfig.app.json +0 -31
- package/dist/templates/frontend/react-vite/.agents/skills/tailwind-v4-shadcn/templates/utils.ts +0 -6
- package/dist/templates/frontend/react-vite/.agents/skills/tailwind-v4-shadcn/templates/vite.config.ts +0 -17
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-query/.claude-plugin/plugin.json +0 -12
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-query/SKILL.md +0 -1058
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-query/rules/tanstack-query.md +0 -126
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-router/.claude-plugin/plugin.json +0 -12
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-router/SKILL.md +0 -663
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-router/references/common-errors.md +0 -77
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-router/rules/tanstack-router.md +0 -125
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-router/templates/package.json +0 -26
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-router/templates/route-examples.tsx +0 -126
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-router/templates/vite.config.ts +0 -16
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-start/.claude-plugin/plugin.json +0 -12
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-start/REVIEW_REPORT.md +0 -299
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-start/SKILL.md +0 -781
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-start/planning/stability-tracker.md +0 -49
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-table/.claude-plugin/plugin.json +0 -12
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-table/SKILL.md +0 -573
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-table/references/cloudflare-d1-examples.md +0 -131
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-table/references/common-errors.md +0 -208
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-table/references/performance-virtualization.md +0 -106
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-table/references/query-integration.md +0 -195
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-table/references/server-side-patterns.md +0 -357
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-table/rules/tanstack-table.md +0 -151
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-table/templates/basic-client-table.tsx +0 -101
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-table/templates/column-configuration.tsx +0 -177
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-table/templates/d1-database-example.tsx +0 -336
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-table/templates/package.json +0 -25
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-table/templates/server-paginated-table.tsx +0 -218
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-table/templates/shadcn-styled-table.tsx +0 -123
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-table/templates/virtualized-large-dataset.tsx +0 -164
- package/dist/templates/frontend/react-vite/.agents/skills/testing-library/.claude-plugin/plugin.json +0 -12
- package/dist/templates/frontend/react-vite/.agents/skills/testing-library/SKILL.md +0 -504
- package/dist/templates/frontend/react-vite/.agents/skills/testing-library/rules/testing-library-patterns.md +0 -97
- package/dist/templates/frontend/react-vite/.agents/skills/testing-library/templates/msw-handlers.ts +0 -117
- package/dist/templates/frontend/react-vite/.agents/skills/testing-library/templates/setup.ts +0 -57
- package/dist/templates/frontend/react-vite/.agents/skills/testing-patterns/.claude-plugin/plugin.json +0 -13
- package/dist/templates/frontend/react-vite/.agents/skills/testing-patterns/SKILL.md +0 -400
- package/dist/templates/frontend/react-vite/.agents/skills/testing-patterns/commands/coverage.md +0 -458
- package/dist/templates/frontend/react-vite/.agents/skills/testing-patterns/commands/create-tests.md +0 -362
- package/dist/templates/frontend/react-vite/.agents/skills/testing-patterns/commands/run-tests.md +0 -336
- package/dist/templates/frontend/react-vite/.agents/skills/testing-patterns/references/validation-rules.md +0 -222
- package/dist/templates/frontend/react-vite/.agents/skills/testing-patterns/templates/test-agent.md +0 -132
- package/dist/templates/frontend/react-vite/.agents/skills/testing-patterns/templates/test-spec.yaml +0 -69
- package/dist/templates/frontend/react-vite/.agents/skills/vitest/.claude-plugin/plugin.json +0 -12
- package/dist/templates/frontend/react-vite/.agents/skills/vitest/SKILL.md +0 -493
- package/dist/templates/frontend/react-vite/.agents/skills/vitest/rules/vitest-patterns.md +0 -100
- package/dist/templates/frontend/react-vite/.agents/skills/vitest/templates/test-utils.ts +0 -86
- package/dist/templates/frontend/react-vite/.agents/skills/vitest/templates/vitest.config.ts +0 -39
- package/dist/templates/frontend/react-vite/.agents/skills/zod/AGENTS.md +0 -97
- package/dist/templates/frontend/react-vite/.agents/skills/zod/SKILL.md +0 -127
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/compose-intersection.md +0 -144
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/compose-lazy-recursive.md +0 -143
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/compose-pipe.md +0 -113
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/compose-preprocess.md +0 -142
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/compose-shared-schemas.md +0 -137
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/error-avoid-throwing-in-refine.md +0 -127
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/error-custom-messages.md +0 -118
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/error-i18n.md +0 -145
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/error-path-for-nested.md +0 -130
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/error-use-flatten.md +0 -131
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/object-discriminated-unions.md +0 -138
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/object-extend-for-composition.md +0 -147
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/object-optional-vs-nullable.md +0 -117
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/object-partial-for-updates.md +0 -123
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/object-pick-omit.md +0 -146
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/object-strict-vs-strip.md +0 -109
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/parse-async-for-async-refinements.md +0 -118
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/parse-avoid-double-validation.md +0 -129
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/parse-handle-all-issues.md +0 -125
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/parse-never-trust-json.md +0 -113
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/parse-use-safeparse.md +0 -102
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/parse-validate-early.md +0 -120
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/perf-arrays.md +0 -153
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/perf-avoid-dynamic-creation.md +0 -139
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/perf-cache-schemas.md +0 -138
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/perf-lazy-loading.md +0 -135
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/perf-zod-mini.md +0 -117
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/refine-add-path.md +0 -141
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/refine-catch.md +0 -143
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/refine-defaults.md +0 -131
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/refine-transform-coerce.md +0 -105
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/refine-vs-superrefine.md +0 -152
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/schema-avoid-optional-abuse.md +0 -93
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/schema-coercion-for-form-data.md +0 -88
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/schema-string-validations.md +0 -90
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/schema-use-enums.md +0 -107
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/schema-use-primitives-correctly.md +0 -61
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/schema-use-unknown-not-any.md +0 -88
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/type-branded-types.md +0 -102
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/type-enable-strict-mode.md +0 -130
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/type-export-schemas-and-types.md +0 -116
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/type-input-vs-output.md +0 -116
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/type-use-z-infer.md +0 -110
- package/dist/templates/frontend/react-vite/.tanstack/tmp/c28007bb-2319511cf318e28129c8d8eb723db5fd +0 -9
- package/dist/templates/frontend/react-vite/.tanstack/tmp/c28007bb-bcef89e9e4593777e1c15ec4b4f32eea +0 -9
- package/dist/templates/frontend/react-vite/src/routeTree.gen.ts +0 -77
- package/dist/templates/frontend/react-vite-help/.tanstack/tmp/c28007bb-2319511cf318e28129c8d8eb723db5fd +0 -9
- package/dist/templates/frontend/react-vite-help/.tanstack/tmp/c28007bb-bcef89e9e4593777e1c15ec4b4f32eea +0 -9
- package/dist/templates/frontend/react-vite-help/src/routeTree.gen.ts +0 -241
- package/templates/backend/nestjs-api-mysql/DOCKER-VALIDATION.md +0 -275
- package/templates/frontend/angular-base/.agents/skills/angular-component/SKILL.md +0 -288
- package/templates/frontend/angular-base/.agents/skills/angular-component/references/component-patterns.md +0 -358
- package/templates/frontend/angular-base/.agents/skills/angular-di/SKILL.md +0 -387
- package/templates/frontend/angular-base/.agents/skills/angular-di/references/di-patterns.md +0 -519
- package/templates/frontend/angular-base/.agents/skills/angular-directives/SKILL.md +0 -437
- package/templates/frontend/angular-base/.agents/skills/angular-directives/references/directive-patterns.md +0 -570
- package/templates/frontend/angular-base/.agents/skills/angular-forms/SKILL.md +0 -434
- package/templates/frontend/angular-base/.agents/skills/angular-forms/references/form-patterns.md +0 -398
- package/templates/frontend/angular-base/.agents/skills/angular-http/SKILL.md +0 -366
- package/templates/frontend/angular-base/.agents/skills/angular-http/references/http-patterns.md +0 -448
- package/templates/frontend/angular-base/.agents/skills/angular-routing/SKILL.md +0 -395
- package/templates/frontend/angular-base/.agents/skills/angular-routing/references/routing-patterns.md +0 -472
- package/templates/frontend/angular-base/.agents/skills/angular-signals/SKILL.md +0 -302
- package/templates/frontend/angular-base/.agents/skills/angular-signals/references/signal-patterns.md +0 -404
- package/templates/frontend/angular-base/.agents/skills/angular-ssr/SKILL.md +0 -435
- package/templates/frontend/angular-base/.agents/skills/angular-ssr/references/ssr-patterns.md +0 -497
- package/templates/frontend/angular-base/.agents/skills/angular-testing/SKILL.md +0 -660
- package/templates/frontend/angular-base/.agents/skills/angular-testing/references/testing-patterns.md +0 -707
- package/templates/frontend/angular-base/.agents/skills/angular-tooling/SKILL.md +0 -352
- package/templates/frontend/angular-base/.agents/skills/angular-tooling/references/tooling-patterns.md +0 -448
- package/templates/frontend/angular-base/.agents/skills/tailwindcss-accessibility/SKILL.md +0 -780
- package/templates/frontend/angular-base/.agents/skills/tailwindcss-advanced-components/SKILL.md +0 -718
- package/templates/frontend/angular-base/.agents/skills/tailwindcss-advanced-design-systems/SKILL.md +0 -612
- package/templates/frontend/angular-base/.agents/skills/tailwindcss-advanced-layouts/SKILL.md +0 -594
- package/templates/frontend/angular-base/.agents/skills/tailwindcss-animations/SKILL.md +0 -432
- package/templates/frontend/angular-base/.agents/skills/tailwindcss-animations/references/animation-patterns.md +0 -427
- package/templates/frontend/angular-base/.agents/skills/tailwindcss-debugging/SKILL.md +0 -354
- package/templates/frontend/angular-base/.agents/skills/tailwindcss-debugging/references/troubleshooting-guide.md +0 -306
- package/templates/frontend/angular-base/.agents/skills/tailwindcss-framework-integration/SKILL.md +0 -578
- package/templates/frontend/angular-base/.agents/skills/tailwindcss-framework-integration/references/react-patterns.md +0 -353
- package/templates/frontend/angular-base/.agents/skills/tailwindcss-fundamentals-v4/SKILL.md +0 -608
- package/templates/frontend/angular-base/.agents/skills/tailwindcss-fundamentals-v4/references/advanced-theme-patterns.md +0 -215
- package/templates/frontend/angular-base/.agents/skills/tailwindcss-fundamentals-v4/references/custom-utilities-guide.md +0 -281
- package/templates/frontend/angular-base/.agents/skills/tailwindcss-mobile-first/SKILL.md +0 -768
- package/templates/frontend/angular-base/.agents/skills/tailwindcss-performance/SKILL.md +0 -374
- package/templates/frontend/angular-base/.agents/skills/tailwindcss-performance/references/bundle-optimization.md +0 -244
- package/templates/frontend/angular-base/.agents/skills/tailwindcss-plugins/SKILL.md +0 -505
- package/templates/frontend/angular-base/.agents/skills/tailwindcss-responsive-darkmode/SKILL.md +0 -601
- package/templates/frontend/angular-base/.agents/skills/tailwindcss-responsive-darkmode/references/advanced-responsive-patterns.md +0 -485
- package/templates/frontend/angular-base/.agents/skills/web-design-guidelines/SKILL.md +0 -39
- package/templates/frontend/angular-nx/.agents/skills/angular-component/SKILL.md +0 -288
- package/templates/frontend/angular-nx/.agents/skills/angular-component/references/component-patterns.md +0 -358
- package/templates/frontend/angular-nx/.agents/skills/angular-di/SKILL.md +0 -387
- package/templates/frontend/angular-nx/.agents/skills/angular-di/references/di-patterns.md +0 -519
- package/templates/frontend/angular-nx/.agents/skills/angular-directives/SKILL.md +0 -437
- package/templates/frontend/angular-nx/.agents/skills/angular-directives/references/directive-patterns.md +0 -570
- package/templates/frontend/angular-nx/.agents/skills/angular-forms/SKILL.md +0 -434
- package/templates/frontend/angular-nx/.agents/skills/angular-forms/references/form-patterns.md +0 -398
- package/templates/frontend/angular-nx/.agents/skills/angular-http/SKILL.md +0 -366
- package/templates/frontend/angular-nx/.agents/skills/angular-http/references/http-patterns.md +0 -448
- package/templates/frontend/angular-nx/.agents/skills/angular-routing/SKILL.md +0 -395
- package/templates/frontend/angular-nx/.agents/skills/angular-routing/references/routing-patterns.md +0 -472
- package/templates/frontend/angular-nx/.agents/skills/angular-signals/SKILL.md +0 -302
- package/templates/frontend/angular-nx/.agents/skills/angular-signals/references/signal-patterns.md +0 -404
- package/templates/frontend/angular-nx/.agents/skills/angular-ssr/SKILL.md +0 -435
- package/templates/frontend/angular-nx/.agents/skills/angular-ssr/references/ssr-patterns.md +0 -497
- package/templates/frontend/angular-nx/.agents/skills/angular-testing/SKILL.md +0 -660
- package/templates/frontend/angular-nx/.agents/skills/angular-testing/references/testing-patterns.md +0 -707
- package/templates/frontend/angular-nx/.agents/skills/angular-tooling/SKILL.md +0 -352
- package/templates/frontend/angular-nx/.agents/skills/angular-tooling/references/tooling-patterns.md +0 -448
- package/templates/frontend/angular-nx/.agents/skills/nx-workspace-patterns/SKILL.md +0 -457
- package/templates/frontend/angular-nx/.agents/skills/tailwindcss-accessibility/SKILL.md +0 -780
- package/templates/frontend/angular-nx/.agents/skills/tailwindcss-advanced-components/SKILL.md +0 -718
- package/templates/frontend/angular-nx/.agents/skills/tailwindcss-advanced-design-systems/SKILL.md +0 -612
- package/templates/frontend/angular-nx/.agents/skills/tailwindcss-advanced-layouts/SKILL.md +0 -594
- package/templates/frontend/angular-nx/.agents/skills/tailwindcss-animations/SKILL.md +0 -432
- package/templates/frontend/angular-nx/.agents/skills/tailwindcss-animations/references/animation-patterns.md +0 -427
- package/templates/frontend/angular-nx/.agents/skills/tailwindcss-debugging/SKILL.md +0 -354
- package/templates/frontend/angular-nx/.agents/skills/tailwindcss-debugging/references/troubleshooting-guide.md +0 -306
- package/templates/frontend/angular-nx/.agents/skills/tailwindcss-framework-integration/SKILL.md +0 -578
- package/templates/frontend/angular-nx/.agents/skills/tailwindcss-framework-integration/references/react-patterns.md +0 -353
- package/templates/frontend/angular-nx/.agents/skills/tailwindcss-fundamentals-v4/SKILL.md +0 -608
- package/templates/frontend/angular-nx/.agents/skills/tailwindcss-fundamentals-v4/references/advanced-theme-patterns.md +0 -215
- package/templates/frontend/angular-nx/.agents/skills/tailwindcss-fundamentals-v4/references/custom-utilities-guide.md +0 -281
- package/templates/frontend/angular-nx/.agents/skills/tailwindcss-mobile-first/SKILL.md +0 -768
- package/templates/frontend/angular-nx/.agents/skills/tailwindcss-performance/SKILL.md +0 -374
- package/templates/frontend/angular-nx/.agents/skills/tailwindcss-performance/references/bundle-optimization.md +0 -244
- package/templates/frontend/angular-nx/.agents/skills/tailwindcss-plugins/SKILL.md +0 -505
- package/templates/frontend/angular-nx/.agents/skills/tailwindcss-responsive-darkmode/SKILL.md +0 -601
- package/templates/frontend/angular-nx/.agents/skills/tailwindcss-responsive-darkmode/references/advanced-responsive-patterns.md +0 -485
- package/templates/frontend/angular-nx/.agents/skills/web-design-guidelines/SKILL.md +0 -39
- package/templates/frontend/react-vite/.agents/skills/daisyui/SKILL.md +0 -1374
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/AGENTS.md +0 -97
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/SKILL.md +0 -116
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/adv-devtools-performance.md +0 -69
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/adv-formprovider-memo.md +0 -78
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/adv-testing-wrapper.md +0 -63
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/array-complete-default-objects.md +0 -66
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/array-separate-crud-operations.md +0 -76
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/array-unique-fieldarray-per-name.md +0 -58
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/array-use-field-id-as-key.md +0 -54
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/array-virtualization-formprovider.md +0 -64
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/ctrl-avoid-double-registration.md +0 -46
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/ctrl-controller-field-props.md +0 -56
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/ctrl-local-state-combination.md +0 -69
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/ctrl-single-usecontroller-per-component.md +0 -62
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/ctrl-usecontroller-isolation.md +0 -64
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/formcfg-async-default-values.md +0 -69
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/formcfg-default-values.md +0 -57
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/formcfg-revalidate-mode.md +0 -48
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/formcfg-should-unregister.md +0 -62
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/formcfg-useeffect-dependency.md +0 -54
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/formcfg-validation-mode.md +0 -51
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/formstate-avoid-isvalid-with-onsubmit.md +0 -58
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/formstate-destructure-formstate.md +0 -48
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/formstate-getfieldstate-for-single-field.md +0 -49
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/formstate-subscribe-to-specific-fields.md +0 -54
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/formstate-useformstate-isolation.md +0 -62
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/integ-mui-controller-pattern.md +0 -59
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/integ-shadcn-form-import.md +0 -64
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/integ-shadcn-select-wiring.md +0 -64
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/integ-value-transform.md +0 -59
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/sub-avoid-watch-in-render.md +0 -48
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/sub-deep-subscription.md +0 -62
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/sub-useformcontext-sparingly.md +0 -58
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/sub-usewatch-default-value.md +0 -50
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/sub-usewatch-over-watch.md +0 -58
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/sub-usewatch-with-getvalues.md +0 -54
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/sub-watch-specific-fields.md +0 -54
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/valid-delay-error.md +0 -52
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/valid-dynamic-schema-factory.md +0 -57
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/valid-error-message-strategy.md +0 -65
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/valid-inline-vs-resolver.md +0 -63
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/valid-native-validation.md +0 -60
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/valid-resolver-caching.md +0 -58
- package/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/.claude-plugin/plugin.json +0 -12
- package/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/SKILL.md +0 -412
- package/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/references/accessibility.md +0 -359
- package/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/references/error-handling.md +0 -255
- package/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/references/links-to-official-docs.md +0 -197
- package/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/references/performance-optimization.md +0 -355
- package/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/references/rhf-api-reference.md +0 -420
- package/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/references/shadcn-integration.md +0 -390
- package/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/references/top-errors.md +0 -381
- package/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/references/zod-schemas-guide.md +0 -396
- package/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/rules/react-hook-form-zod.md +0 -138
- package/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/scripts/check-versions.sh +0 -51
- package/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/templates/advanced-form.tsx +0 -427
- package/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/templates/async-validation.tsx +0 -402
- package/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/templates/basic-form.tsx +0 -285
- package/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/templates/custom-error-display.tsx +0 -303
- package/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/templates/dynamic-fields.tsx +0 -308
- package/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/templates/multi-step-form.tsx +0 -367
- package/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/templates/package.json +0 -35
- package/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/templates/server-validation.ts +0 -313
- package/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/templates/shadcn-form.tsx +0 -351
- package/templates/frontend/react-vite/.agents/skills/responsive-images/.claude-plugin/plugin.json +0 -12
- package/templates/frontend/react-vite/.agents/skills/responsive-images/SKILL.md +0 -412
- package/templates/frontend/react-vite/.agents/skills/responsive-images/references/aspect-ratio.md +0 -513
- package/templates/frontend/react-vite/.agents/skills/responsive-images/references/lazy-loading.md +0 -397
- package/templates/frontend/react-vite/.agents/skills/responsive-images/references/modern-formats.md +0 -526
- package/templates/frontend/react-vite/.agents/skills/responsive-images/references/picture-element.md +0 -593
- package/templates/frontend/react-vite/.agents/skills/responsive-images/references/srcset-sizes.md +0 -295
- package/templates/frontend/react-vite/.agents/skills/responsive-images/rules/responsive-images.md +0 -418
- package/templates/frontend/react-vite/.agents/skills/responsive-images/templates/image-component.tsx +0 -231
- package/templates/frontend/react-vite/.agents/skills/seo-meta/.claude-plugin/plugin.json +0 -13
- package/templates/frontend/react-vite/.agents/skills/seo-meta/SKILL.md +0 -487
- package/templates/frontend/react-vite/.agents/skills/seo-meta/agents/seo-generator.md +0 -290
- package/templates/frontend/react-vite/.agents/skills/seo-meta/references/canonical-urls.md +0 -429
- package/templates/frontend/react-vite/.agents/skills/seo-meta/references/json-ld.md +0 -599
- package/templates/frontend/react-vite/.agents/skills/seo-meta/references/meta-description.md +0 -426
- package/templates/frontend/react-vite/.agents/skills/seo-meta/references/open-graph.md +0 -443
- package/templates/frontend/react-vite/.agents/skills/seo-meta/references/title-patterns.md +0 -333
- package/templates/frontend/react-vite/.agents/skills/seo-meta/references/twitter-cards.md +0 -423
- package/templates/frontend/react-vite/.agents/skills/seo-meta/rules/seo-meta.md +0 -157
- package/templates/frontend/react-vite/.agents/skills/seo-meta/templates/json-ld-schemas/faq.json +0 -46
- package/templates/frontend/react-vite/.agents/skills/seo-meta/templates/json-ld-schemas/local-business.json +0 -58
- package/templates/frontend/react-vite/.agents/skills/seo-meta/templates/json-ld-schemas/service.json +0 -41
- package/templates/frontend/react-vite/.agents/skills/seo-meta/templates/meta-component.tsx +0 -275
- package/templates/frontend/react-vite/.agents/skills/shadcn-ui/SKILL.md +0 -1677
- package/templates/frontend/react-vite/.agents/skills/shadcn-ui/references/learn.md +0 -145
- package/templates/frontend/react-vite/.agents/skills/shadcn-ui/references/official-ui-reference.md +0 -1725
- package/templates/frontend/react-vite/.agents/skills/shadcn-ui/references/reference.md +0 -586
- package/templates/frontend/react-vite/.agents/skills/shadcn-ui/references/ui-reference.md +0 -1578
- package/templates/frontend/react-vite/.agents/skills/tailwind-patterns/.claude-plugin/plugin.json +0 -12
- package/templates/frontend/react-vite/.agents/skills/tailwind-patterns/SKILL.md +0 -508
- package/templates/frontend/react-vite/.agents/skills/tailwind-patterns/references/button-patterns.md +0 -234
- package/templates/frontend/react-vite/.agents/skills/tailwind-patterns/references/card-patterns.md +0 -533
- package/templates/frontend/react-vite/.agents/skills/tailwind-patterns/references/dark-mode-patterns.md +0 -309
- package/templates/frontend/react-vite/.agents/skills/tailwind-patterns/references/form-patterns.md +0 -403
- package/templates/frontend/react-vite/.agents/skills/tailwind-patterns/references/layout-patterns.md +0 -542
- package/templates/frontend/react-vite/.agents/skills/tailwind-patterns/references/navigation-patterns.md +0 -634
- package/templates/frontend/react-vite/.agents/skills/tailwind-patterns/references/typography-patterns.md +0 -338
- package/templates/frontend/react-vite/.agents/skills/tailwind-patterns/rules/tailwind-patterns.md +0 -371
- package/templates/frontend/react-vite/.agents/skills/tailwind-patterns/templates/components/contact-form.tsx +0 -265
- package/templates/frontend/react-vite/.agents/skills/tailwind-patterns/templates/components/feature-grid.tsx +0 -141
- package/templates/frontend/react-vite/.agents/skills/tailwind-patterns/templates/components/footer.tsx +0 -258
- package/templates/frontend/react-vite/.agents/skills/tailwind-patterns/templates/components/hero-section.tsx +0 -105
- package/templates/frontend/react-vite/.agents/skills/tailwind-v4-shadcn/.claude-plugin/plugin.json +0 -13
- package/templates/frontend/react-vite/.agents/skills/tailwind-v4-shadcn/SKILL.md +0 -665
- package/templates/frontend/react-vite/.agents/skills/tailwind-v4-shadcn/commands/setup.md +0 -200
- package/templates/frontend/react-vite/.agents/skills/tailwind-v4-shadcn/references/architecture.md +0 -206
- package/templates/frontend/react-vite/.agents/skills/tailwind-v4-shadcn/references/common-gotchas.md +0 -469
- package/templates/frontend/react-vite/.agents/skills/tailwind-v4-shadcn/references/dark-mode.md +0 -239
- package/templates/frontend/react-vite/.agents/skills/tailwind-v4-shadcn/references/migration-guide.md +0 -313
- package/templates/frontend/react-vite/.agents/skills/tailwind-v4-shadcn/rules/tailwind-v4-shadcn.md +0 -118
- package/templates/frontend/react-vite/.agents/skills/tailwind-v4-shadcn/templates/components.json +0 -20
- package/templates/frontend/react-vite/.agents/skills/tailwind-v4-shadcn/templates/index.css +0 -140
- package/templates/frontend/react-vite/.agents/skills/tailwind-v4-shadcn/templates/theme-provider.tsx +0 -92
- package/templates/frontend/react-vite/.agents/skills/tailwind-v4-shadcn/templates/tsconfig.app.json +0 -31
- package/templates/frontend/react-vite/.agents/skills/tailwind-v4-shadcn/templates/utils.ts +0 -6
- package/templates/frontend/react-vite/.agents/skills/tailwind-v4-shadcn/templates/vite.config.ts +0 -17
- package/templates/frontend/react-vite/.agents/skills/tanstack-query/.claude-plugin/plugin.json +0 -12
- package/templates/frontend/react-vite/.agents/skills/tanstack-query/SKILL.md +0 -1058
- package/templates/frontend/react-vite/.agents/skills/tanstack-query/rules/tanstack-query.md +0 -126
- package/templates/frontend/react-vite/.agents/skills/tanstack-router/.claude-plugin/plugin.json +0 -12
- package/templates/frontend/react-vite/.agents/skills/tanstack-router/SKILL.md +0 -663
- package/templates/frontend/react-vite/.agents/skills/tanstack-router/references/common-errors.md +0 -77
- package/templates/frontend/react-vite/.agents/skills/tanstack-router/rules/tanstack-router.md +0 -125
- package/templates/frontend/react-vite/.agents/skills/tanstack-router/templates/package.json +0 -26
- package/templates/frontend/react-vite/.agents/skills/tanstack-router/templates/route-examples.tsx +0 -126
- package/templates/frontend/react-vite/.agents/skills/tanstack-router/templates/vite.config.ts +0 -16
- package/templates/frontend/react-vite/.agents/skills/tanstack-start/.claude-plugin/plugin.json +0 -12
- package/templates/frontend/react-vite/.agents/skills/tanstack-start/REVIEW_REPORT.md +0 -299
- package/templates/frontend/react-vite/.agents/skills/tanstack-start/SKILL.md +0 -781
- package/templates/frontend/react-vite/.agents/skills/tanstack-start/planning/stability-tracker.md +0 -49
- package/templates/frontend/react-vite/.agents/skills/tanstack-table/.claude-plugin/plugin.json +0 -12
- package/templates/frontend/react-vite/.agents/skills/tanstack-table/SKILL.md +0 -573
- package/templates/frontend/react-vite/.agents/skills/tanstack-table/references/cloudflare-d1-examples.md +0 -131
- package/templates/frontend/react-vite/.agents/skills/tanstack-table/references/common-errors.md +0 -208
- package/templates/frontend/react-vite/.agents/skills/tanstack-table/references/performance-virtualization.md +0 -106
- package/templates/frontend/react-vite/.agents/skills/tanstack-table/references/query-integration.md +0 -195
- package/templates/frontend/react-vite/.agents/skills/tanstack-table/references/server-side-patterns.md +0 -357
- package/templates/frontend/react-vite/.agents/skills/tanstack-table/rules/tanstack-table.md +0 -151
- package/templates/frontend/react-vite/.agents/skills/tanstack-table/templates/basic-client-table.tsx +0 -101
- package/templates/frontend/react-vite/.agents/skills/tanstack-table/templates/column-configuration.tsx +0 -177
- package/templates/frontend/react-vite/.agents/skills/tanstack-table/templates/d1-database-example.tsx +0 -336
- package/templates/frontend/react-vite/.agents/skills/tanstack-table/templates/package.json +0 -25
- package/templates/frontend/react-vite/.agents/skills/tanstack-table/templates/server-paginated-table.tsx +0 -218
- package/templates/frontend/react-vite/.agents/skills/tanstack-table/templates/shadcn-styled-table.tsx +0 -123
- package/templates/frontend/react-vite/.agents/skills/tanstack-table/templates/virtualized-large-dataset.tsx +0 -164
- package/templates/frontend/react-vite/.agents/skills/testing-library/.claude-plugin/plugin.json +0 -12
- package/templates/frontend/react-vite/.agents/skills/testing-library/SKILL.md +0 -504
- package/templates/frontend/react-vite/.agents/skills/testing-library/rules/testing-library-patterns.md +0 -97
- package/templates/frontend/react-vite/.agents/skills/testing-library/templates/msw-handlers.ts +0 -117
- package/templates/frontend/react-vite/.agents/skills/testing-library/templates/setup.ts +0 -57
- package/templates/frontend/react-vite/.agents/skills/testing-patterns/.claude-plugin/plugin.json +0 -13
- package/templates/frontend/react-vite/.agents/skills/testing-patterns/SKILL.md +0 -400
- package/templates/frontend/react-vite/.agents/skills/testing-patterns/commands/coverage.md +0 -458
- package/templates/frontend/react-vite/.agents/skills/testing-patterns/commands/create-tests.md +0 -362
- package/templates/frontend/react-vite/.agents/skills/testing-patterns/commands/run-tests.md +0 -336
- package/templates/frontend/react-vite/.agents/skills/testing-patterns/references/validation-rules.md +0 -222
- package/templates/frontend/react-vite/.agents/skills/testing-patterns/templates/test-agent.md +0 -132
- package/templates/frontend/react-vite/.agents/skills/testing-patterns/templates/test-spec.yaml +0 -69
- package/templates/frontend/react-vite/.agents/skills/vitest/.claude-plugin/plugin.json +0 -12
- package/templates/frontend/react-vite/.agents/skills/vitest/SKILL.md +0 -493
- package/templates/frontend/react-vite/.agents/skills/vitest/rules/vitest-patterns.md +0 -100
- package/templates/frontend/react-vite/.agents/skills/vitest/templates/test-utils.ts +0 -86
- package/templates/frontend/react-vite/.agents/skills/vitest/templates/vitest.config.ts +0 -39
- package/templates/frontend/react-vite/.agents/skills/zod/AGENTS.md +0 -97
- package/templates/frontend/react-vite/.agents/skills/zod/SKILL.md +0 -127
- package/templates/frontend/react-vite/.agents/skills/zod/references/compose-intersection.md +0 -144
- package/templates/frontend/react-vite/.agents/skills/zod/references/compose-lazy-recursive.md +0 -143
- package/templates/frontend/react-vite/.agents/skills/zod/references/compose-pipe.md +0 -113
- package/templates/frontend/react-vite/.agents/skills/zod/references/compose-preprocess.md +0 -142
- package/templates/frontend/react-vite/.agents/skills/zod/references/compose-shared-schemas.md +0 -137
- package/templates/frontend/react-vite/.agents/skills/zod/references/error-avoid-throwing-in-refine.md +0 -127
- package/templates/frontend/react-vite/.agents/skills/zod/references/error-custom-messages.md +0 -118
- package/templates/frontend/react-vite/.agents/skills/zod/references/error-i18n.md +0 -145
- package/templates/frontend/react-vite/.agents/skills/zod/references/error-path-for-nested.md +0 -130
- package/templates/frontend/react-vite/.agents/skills/zod/references/error-use-flatten.md +0 -131
- package/templates/frontend/react-vite/.agents/skills/zod/references/object-discriminated-unions.md +0 -138
- package/templates/frontend/react-vite/.agents/skills/zod/references/object-extend-for-composition.md +0 -147
- package/templates/frontend/react-vite/.agents/skills/zod/references/object-optional-vs-nullable.md +0 -117
- package/templates/frontend/react-vite/.agents/skills/zod/references/object-partial-for-updates.md +0 -123
- package/templates/frontend/react-vite/.agents/skills/zod/references/object-pick-omit.md +0 -146
- package/templates/frontend/react-vite/.agents/skills/zod/references/object-strict-vs-strip.md +0 -109
- package/templates/frontend/react-vite/.agents/skills/zod/references/parse-async-for-async-refinements.md +0 -118
- package/templates/frontend/react-vite/.agents/skills/zod/references/parse-avoid-double-validation.md +0 -129
- package/templates/frontend/react-vite/.agents/skills/zod/references/parse-handle-all-issues.md +0 -125
- package/templates/frontend/react-vite/.agents/skills/zod/references/parse-never-trust-json.md +0 -113
- package/templates/frontend/react-vite/.agents/skills/zod/references/parse-use-safeparse.md +0 -102
- package/templates/frontend/react-vite/.agents/skills/zod/references/parse-validate-early.md +0 -120
- package/templates/frontend/react-vite/.agents/skills/zod/references/perf-arrays.md +0 -153
- package/templates/frontend/react-vite/.agents/skills/zod/references/perf-avoid-dynamic-creation.md +0 -139
- package/templates/frontend/react-vite/.agents/skills/zod/references/perf-cache-schemas.md +0 -138
- package/templates/frontend/react-vite/.agents/skills/zod/references/perf-lazy-loading.md +0 -135
- package/templates/frontend/react-vite/.agents/skills/zod/references/perf-zod-mini.md +0 -117
- package/templates/frontend/react-vite/.agents/skills/zod/references/refine-add-path.md +0 -141
- package/templates/frontend/react-vite/.agents/skills/zod/references/refine-catch.md +0 -143
- package/templates/frontend/react-vite/.agents/skills/zod/references/refine-defaults.md +0 -131
- package/templates/frontend/react-vite/.agents/skills/zod/references/refine-transform-coerce.md +0 -105
- package/templates/frontend/react-vite/.agents/skills/zod/references/refine-vs-superrefine.md +0 -152
- package/templates/frontend/react-vite/.agents/skills/zod/references/schema-avoid-optional-abuse.md +0 -93
- package/templates/frontend/react-vite/.agents/skills/zod/references/schema-coercion-for-form-data.md +0 -88
- package/templates/frontend/react-vite/.agents/skills/zod/references/schema-string-validations.md +0 -90
- package/templates/frontend/react-vite/.agents/skills/zod/references/schema-use-enums.md +0 -107
- package/templates/frontend/react-vite/.agents/skills/zod/references/schema-use-primitives-correctly.md +0 -61
- package/templates/frontend/react-vite/.agents/skills/zod/references/schema-use-unknown-not-any.md +0 -88
- package/templates/frontend/react-vite/.agents/skills/zod/references/type-branded-types.md +0 -102
- package/templates/frontend/react-vite/.agents/skills/zod/references/type-enable-strict-mode.md +0 -130
- package/templates/frontend/react-vite/.agents/skills/zod/references/type-export-schemas-and-types.md +0 -116
- package/templates/frontend/react-vite/.agents/skills/zod/references/type-input-vs-output.md +0 -116
- package/templates/frontend/react-vite/.agents/skills/zod/references/type-use-z-infer.md +0 -110
- package/templates/frontend/react-vite/.tanstack/tmp/c28007bb-2319511cf318e28129c8d8eb723db5fd +0 -9
- package/templates/frontend/react-vite/.tanstack/tmp/c28007bb-bcef89e9e4593777e1c15ec4b4f32eea +0 -9
- package/templates/frontend/react-vite/src/routeTree.gen.ts +0 -77
- package/templates/frontend/react-vite-help/.tanstack/tmp/c28007bb-2319511cf318e28129c8d8eb723db5fd +0 -9
- package/templates/frontend/react-vite-help/.tanstack/tmp/c28007bb-bcef89e9e4593777e1c15ec4b4f32eea +0 -9
- package/templates/frontend/react-vite-help/src/routeTree.gen.ts +0 -241
- package/templates/frontend/react-vite-help/src/routes/dashbord.tsx +0 -9
- package/templates/frontend/react-vite-help/src/routes/index.test.tsx +0 -42
- package/templates/frontend/react-vite-help/src/routes/perfil.tsx +0 -9
- package/templates/mobile/expo-base/IMPLEMENTATION_SUMMARY.md +0 -413
- package/templates/mobile/expo-base/SETUP_NOTES.md +0 -233
- package/templates/mobile/expo-base/TEMPLATE_USAGE.md +0 -623
- package/templates/mobile/expo-base/WARP.md +0 -123
- package/templates/mobile/expo-base/docs/ARCHITECTURE.md +0 -565
- package/templates/mobile/expo-base/docs/CI_CD.md +0 -461
- package/templates/mobile/expo-base/docs/COMPONENTS.md +0 -1103
- package/templates/mobile/expo-base/docs/CONTRIBUTING.md +0 -733
- package/templates/mobile/expo-base/docs/DESIGN_TOKENS.md +0 -832
- package/templates/mobile/expo-base/docs/GIT_CONVENTIONS.md +0 -411
- package/templates/mobile/expo-base/docs/I18N.md +0 -701
- package/templates/mobile/expo-base/docs/TESTING.md +0 -565
- package/templates/mobile/expo-base/docs/THEMING.md +0 -753
- package/templates/mobile/expo-base/docs/VERSIONING.md +0 -518
- /package/dist/templates/{frontend/react-vite/.agents → mobile/expo-base/.cursor}/skills/tanstack-query/assets/example-template.txt +0 -0
- /package/dist/templates/{frontend/react-vite/.agents → mobile/expo-base/.cursor}/skills/tanstack-query/references/best-practices.md +0 -0
- /package/dist/templates/{frontend/react-vite/.agents → mobile/expo-base/.cursor}/skills/tanstack-query/references/common-patterns.md +0 -0
- /package/dist/templates/{frontend/react-vite/.agents → mobile/expo-base/.cursor}/skills/tanstack-query/references/example-reference.md +0 -0
- /package/dist/templates/{frontend/react-vite/.agents → mobile/expo-base/.cursor}/skills/tanstack-query/references/testing.md +0 -0
- /package/dist/templates/{frontend/react-vite/.agents → mobile/expo-base/.cursor}/skills/tanstack-query/references/top-errors.md +0 -0
- /package/dist/templates/{frontend/react-vite/.agents → mobile/expo-base/.cursor}/skills/tanstack-query/references/typescript-patterns.md +0 -0
- /package/dist/templates/{frontend/react-vite/.agents → mobile/expo-base/.cursor}/skills/tanstack-query/references/v4-to-v5-migration.md +0 -0
- /package/dist/templates/{frontend/react-vite/.agents → mobile/expo-base/.cursor}/skills/tanstack-query/scripts/example-script.sh +0 -0
- /package/dist/templates/{frontend/react-vite/.agents → mobile/expo-base/.cursor}/skills/tanstack-query/templates/custom-hooks-pattern.tsx +0 -0
- /package/dist/templates/{frontend/react-vite/.agents → mobile/expo-base/.cursor}/skills/tanstack-query/templates/devtools-setup.tsx +0 -0
- /package/dist/templates/{frontend/react-vite/.agents → mobile/expo-base/.cursor}/skills/tanstack-query/templates/error-boundary.tsx +0 -0
- /package/dist/templates/{frontend/react-vite/.agents → mobile/expo-base/.cursor}/skills/tanstack-query/templates/package.json +0 -0
- /package/dist/templates/{frontend/react-vite/.agents → mobile/expo-base/.cursor}/skills/tanstack-query/templates/provider-setup.tsx +0 -0
- /package/dist/templates/{frontend/react-vite/.agents → mobile/expo-base/.cursor}/skills/tanstack-query/templates/query-client-config.ts +0 -0
- /package/dist/templates/{frontend/react-vite/.agents → mobile/expo-base/.cursor}/skills/tanstack-query/templates/use-infinite-query.tsx +0 -0
- /package/dist/templates/{frontend/react-vite/.agents → mobile/expo-base/.cursor}/skills/tanstack-query/templates/use-mutation-basic.tsx +0 -0
- /package/dist/templates/{frontend/react-vite/.agents → mobile/expo-base/.cursor}/skills/tanstack-query/templates/use-mutation-optimistic.tsx +0 -0
- /package/dist/templates/{frontend/react-vite/.agents → mobile/expo-base/.cursor}/skills/tanstack-query/templates/use-query-basic.tsx +0 -0
- /package/templates/{frontend/react-vite/.agents → mobile/expo-base/.cursor}/skills/tanstack-query/assets/example-template.txt +0 -0
- /package/templates/{frontend/react-vite/.agents → mobile/expo-base/.cursor}/skills/tanstack-query/references/best-practices.md +0 -0
- /package/templates/{frontend/react-vite/.agents → mobile/expo-base/.cursor}/skills/tanstack-query/references/common-patterns.md +0 -0
- /package/templates/{frontend/react-vite/.agents → mobile/expo-base/.cursor}/skills/tanstack-query/references/example-reference.md +0 -0
- /package/templates/{frontend/react-vite/.agents → mobile/expo-base/.cursor}/skills/tanstack-query/references/testing.md +0 -0
- /package/templates/{frontend/react-vite/.agents → mobile/expo-base/.cursor}/skills/tanstack-query/references/top-errors.md +0 -0
- /package/templates/{frontend/react-vite/.agents → mobile/expo-base/.cursor}/skills/tanstack-query/references/typescript-patterns.md +0 -0
- /package/templates/{frontend/react-vite/.agents → mobile/expo-base/.cursor}/skills/tanstack-query/references/v4-to-v5-migration.md +0 -0
- /package/templates/{frontend/react-vite/.agents → mobile/expo-base/.cursor}/skills/tanstack-query/scripts/example-script.sh +0 -0
- /package/templates/{frontend/react-vite/.agents → mobile/expo-base/.cursor}/skills/tanstack-query/templates/custom-hooks-pattern.tsx +0 -0
- /package/templates/{frontend/react-vite/.agents → mobile/expo-base/.cursor}/skills/tanstack-query/templates/devtools-setup.tsx +0 -0
- /package/templates/{frontend/react-vite/.agents → mobile/expo-base/.cursor}/skills/tanstack-query/templates/error-boundary.tsx +0 -0
- /package/templates/{frontend/react-vite/.agents → mobile/expo-base/.cursor}/skills/tanstack-query/templates/package.json +0 -0
- /package/templates/{frontend/react-vite/.agents → mobile/expo-base/.cursor}/skills/tanstack-query/templates/provider-setup.tsx +0 -0
- /package/templates/{frontend/react-vite/.agents → mobile/expo-base/.cursor}/skills/tanstack-query/templates/query-client-config.ts +0 -0
- /package/templates/{frontend/react-vite/.agents → mobile/expo-base/.cursor}/skills/tanstack-query/templates/use-infinite-query.tsx +0 -0
- /package/templates/{frontend/react-vite/.agents → mobile/expo-base/.cursor}/skills/tanstack-query/templates/use-mutation-basic.tsx +0 -0
- /package/templates/{frontend/react-vite/.agents → mobile/expo-base/.cursor}/skills/tanstack-query/templates/use-mutation-optimistic.tsx +0 -0
- /package/templates/{frontend/react-vite/.agents → mobile/expo-base/.cursor}/skills/tanstack-query/templates/use-query-basic.tsx +0 -0
|
@@ -1,1578 +0,0 @@
|
|
|
1
|
-
### Add All shadcn/ui Components using CLI
|
|
2
|
-
|
|
3
|
-
Source: https://ui.shadcn.com/docs/installation/tanstack
|
|
4
|
-
|
|
5
|
-
This command installs all available shadcn/ui components into your TanStack Start project using the shadcn/ui CLI. It requires a package manager like pnpm, npm, yarn, or bun.
|
|
6
|
-
|
|
7
|
-
```shell
|
|
8
|
-
pnpm dlx shadcn@latest add --all
|
|
9
|
-
```
|
|
10
|
-
|
|
11
|
-
--------------------------------
|
|
12
|
-
|
|
13
|
-
### Create TanStack Start Project with shadcn/ui
|
|
14
|
-
|
|
15
|
-
Source: https://ui.shadcn.com/docs/installation/tanstack
|
|
16
|
-
|
|
17
|
-
This command initializes a new TanStack Start project and integrates shadcn/ui, including Tailwind CSS. It requires pnpm, npm, yarn, or bun to run.
|
|
18
|
-
|
|
19
|
-
```shell
|
|
20
|
-
pnpm create @tanstack/start@latest --tailwind --add-ons shadcn
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
--------------------------------
|
|
24
|
-
|
|
25
|
-
### Custom Block Installation
|
|
26
|
-
|
|
27
|
-
Source: https://ui.shadcn.com/docs/registry/examples
|
|
28
|
-
|
|
29
|
-
Specifies a custom block to be installed from the shadcn/ui registry. In this example, it installs the 'login-01' block.
|
|
30
|
-
|
|
31
|
-
```json
|
|
32
|
-
{
|
|
33
|
-
"$schema": "https://u"
|
|
34
|
-
}
|
|
35
|
-
```
|
|
36
|
-
|
|
37
|
-
--------------------------------
|
|
38
|
-
|
|
39
|
-
### Example: Multiple Registry Setup in components.json
|
|
40
|
-
|
|
41
|
-
Source: https://ui.shadcn.com/docs/components-json
|
|
42
|
-
|
|
43
|
-
Demonstrates a complex `components.json` configuration with multiple registries, including public, private with authentication, and team-specific resources. This setup allows for flexible installation of components and utilities from diverse sources.
|
|
44
|
-
|
|
45
|
-
```json
|
|
46
|
-
{
|
|
47
|
-
"registries": {
|
|
48
|
-
"@shadcn": "https://ui.shadcn.com/r/{name}.json",
|
|
49
|
-
"@company-ui": {
|
|
50
|
-
"url": "https://registry.company.com/ui/{name}.json",
|
|
51
|
-
"headers": {
|
|
52
|
-
"Authorization": "Bearer ${COMPANY_TOKEN}"
|
|
53
|
-
}
|
|
54
|
-
},
|
|
55
|
-
"@team": {
|
|
56
|
-
"url": "https://team.company.com/{name}.json",
|
|
57
|
-
"params": {
|
|
58
|
-
"team": "frontend",
|
|
59
|
-
"version": "${REGISTRY_VERSION}"
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
```
|
|
65
|
-
|
|
66
|
-
--------------------------------
|
|
67
|
-
|
|
68
|
-
### Universal Item with Multiple Files (JSON)
|
|
69
|
-
|
|
70
|
-
Source: https://ui.shadcn.com/docs/registry/examples
|
|
71
|
-
|
|
72
|
-
An example of a universal registry item that installs multiple files, including dependencies. This is useful for starter templates or comprehensive configurations, with explicit `target` paths for each file.
|
|
73
|
-
|
|
74
|
-
```json
|
|
75
|
-
{
|
|
76
|
-
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
|
|
77
|
-
"name": "my-custom-start-template",
|
|
78
|
-
"type": "registry:item",
|
|
79
|
-
"dependencies": [
|
|
80
|
-
"better-auth"
|
|
81
|
-
],
|
|
82
|
-
"files": [
|
|
83
|
-
{
|
|
84
|
-
"path": "/path/to/file-01.json",
|
|
85
|
-
"type": "registry:file",
|
|
86
|
-
"target": "~/file-01.json",
|
|
87
|
-
"content": "..."
|
|
88
|
-
},
|
|
89
|
-
{
|
|
90
|
-
"path": "/path/to/file-02.vue",
|
|
91
|
-
"type": "registry:file",
|
|
92
|
-
"target": "~/pages/file-02.vue",
|
|
93
|
-
"content": "..."
|
|
94
|
-
}
|
|
95
|
-
]
|
|
96
|
-
}
|
|
97
|
-
```
|
|
98
|
-
|
|
99
|
-
--------------------------------
|
|
100
|
-
|
|
101
|
-
### Create Gatsby Project using npm
|
|
102
|
-
|
|
103
|
-
Source: https://ui.shadcn.com/docs/installation/gatsby
|
|
104
|
-
|
|
105
|
-
Initializes a new Gatsby project using the npm command. This command is the starting point for setting up a new Gatsby application.
|
|
106
|
-
|
|
107
|
-
```bash
|
|
108
|
-
npm init gatsby
|
|
109
|
-
```
|
|
110
|
-
|
|
111
|
-
--------------------------------
|
|
112
|
-
|
|
113
|
-
### Create React Project with Vite (TypeScript)
|
|
114
|
-
|
|
115
|
-
Source: https://ui.shadcn.com/docs/installation/vite
|
|
116
|
-
|
|
117
|
-
Command to create a new React project using Vite with the TypeScript template. This is the initial step for setting up the project.
|
|
118
|
-
|
|
119
|
-
```bash
|
|
120
|
-
pnpm create vite@latest
|
|
121
|
-
--template react-ts
|
|
122
|
-
```
|
|
123
|
-
|
|
124
|
-
--------------------------------
|
|
125
|
-
|
|
126
|
-
### Install Component from Private Registry
|
|
127
|
-
|
|
128
|
-
Source: https://ui.shadcn.com/docs/components-json
|
|
129
|
-
|
|
130
|
-
Command-line instruction to install a component from a private registry using its alias. This example, `@private/button`, demonstrates fetching resources from a protected registry defined in `components.json`.
|
|
131
|
-
|
|
132
|
-
```bash
|
|
133
|
-
npx shadcn@latest add @private/button
|
|
134
|
-
```
|
|
135
|
-
|
|
136
|
-
--------------------------------
|
|
137
|
-
|
|
138
|
-
### Install Component from Configured Registry
|
|
139
|
-
|
|
140
|
-
Source: https://ui.shadcn.com/docs/components-json
|
|
141
|
-
|
|
142
|
-
Command-line instruction to install a component using a configured registry alias. The `@v0/dashboard` syntax specifies the registry and the resource name, leveraging the `components.json` setup.
|
|
143
|
-
|
|
144
|
-
```bash
|
|
145
|
-
npx shadcn@latest add @v0/dashboard
|
|
146
|
-
```
|
|
147
|
-
|
|
148
|
-
--------------------------------
|
|
149
|
-
|
|
150
|
-
### Install Tailwind CSS
|
|
151
|
-
|
|
152
|
-
Source: https://ui.shadcn.com/docs/installation/remix
|
|
153
|
-
|
|
154
|
-
Commands to install Tailwind CSS and Autoprefixer as development dependencies in a Remix project using pnpm, npm, or yarn.
|
|
155
|
-
|
|
156
|
-
```bash
|
|
157
|
-
pnpm add -D tailwindcss@latest autoprefixer@latest
|
|
158
|
-
```
|
|
159
|
-
|
|
160
|
-
--------------------------------
|
|
161
|
-
|
|
162
|
-
### Universal Item for ESLint Configuration (JSON)
|
|
163
|
-
|
|
164
|
-
Source: https://ui.shadcn.com/docs/registry/examples
|
|
165
|
-
|
|
166
|
-
This example shows a universal registry item for installing a custom ESLint configuration. It uses an explicit `target` to place the `.eslintrc.json` file in the user's home directory, ensuring framework independence.
|
|
167
|
-
|
|
168
|
-
```json
|
|
169
|
-
{
|
|
170
|
-
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
|
|
171
|
-
"name": "my-eslint-config",
|
|
172
|
-
"type": "registry:item",
|
|
173
|
-
"files": [
|
|
174
|
-
{
|
|
175
|
-
"path": "/path/to/your/registry/default/custom-eslint.json",
|
|
176
|
-
"type": "registry:file",
|
|
177
|
-
"target": "~/.eslintrc.json",
|
|
178
|
-
"content": "..."
|
|
179
|
-
}
|
|
180
|
-
]
|
|
181
|
-
}
|
|
182
|
-
```
|
|
183
|
-
|
|
184
|
-
--------------------------------
|
|
185
|
-
|
|
186
|
-
### Install Switch Component (Manual)
|
|
187
|
-
|
|
188
|
-
Source: https://ui.shadcn.com/docs/components/switch
|
|
189
|
-
|
|
190
|
-
Manual installation instructions for the Switch component, providing alternative methods using pnpm, npm, or yarn. This approach is useful if the CLI method is not preferred or feasible.
|
|
191
|
-
|
|
192
|
-
```bash
|
|
193
|
-
pnpm add switch
|
|
194
|
-
npm install switch
|
|
195
|
-
yarn add switch
|
|
196
|
-
```
|
|
197
|
-
|
|
198
|
-
--------------------------------
|
|
199
|
-
|
|
200
|
-
### Installing shadcn/ui Spinner Component
|
|
201
|
-
|
|
202
|
-
Source: https://ui.shadcn.com/docs/components/spinner
|
|
203
|
-
|
|
204
|
-
Shows how to add the Spinner component to your project using the shadcn-ui CLI. This command-line installation method simplifies dependency management and setup.
|
|
205
|
-
|
|
206
|
-
```bash
|
|
207
|
-
pnpm dlx shadcn@latest add spinner
|
|
208
|
-
```
|
|
209
|
-
|
|
210
|
-
--------------------------------
|
|
211
|
-
|
|
212
|
-
### Install Switch Component (CLI)
|
|
213
|
-
|
|
214
|
-
Source: https://ui.shadcn.com/docs/components/switch
|
|
215
|
-
|
|
216
|
-
Instructions for installing the Switch component using the shadcn-ui CLI. This is the recommended method for adding components to your project. Ensure you have the shadcn-ui CLI installed and configured.
|
|
217
|
-
|
|
218
|
-
```bash
|
|
219
|
-
pnpm dlx shadcn@latest add switch
|
|
220
|
-
```
|
|
221
|
-
|
|
222
|
-
--------------------------------
|
|
223
|
-
|
|
224
|
-
### shadcn/ui Select Component Installation (CLI)
|
|
225
|
-
|
|
226
|
-
Source: https://ui.shadcn.com/docs/components/select
|
|
227
|
-
|
|
228
|
-
Instructions for installing the shadcn/ui Select component using the pnpm, npm, or yarn package managers. This command-line interface method simplifies the process of adding the component to your project. Ensure you have the shadcn/ui CLI installed globally.
|
|
229
|
-
|
|
230
|
-
```bash
|
|
231
|
-
pnpm dlx shadcn@latest add select
|
|
232
|
-
npx shadcn@latest add select
|
|
233
|
-
yarn dlx shadcn@latest add select
|
|
234
|
-
```
|
|
235
|
-
|
|
236
|
-
--------------------------------
|
|
237
|
-
|
|
238
|
-
### Installing Components from Namespaced Registries
|
|
239
|
-
|
|
240
|
-
Source: https://ui.shadcn.com/docs/changelog
|
|
241
|
-
|
|
242
|
-
Demonstrates how to install components using the shadcn CLI from different registered namespaces. This enables decentralized component distribution and management.
|
|
243
|
-
|
|
244
|
-
```shell
|
|
245
|
-
pnpm dlx shadcn add @acme/button @internal/auth-system
|
|
246
|
-
```
|
|
247
|
-
|
|
248
|
-
--------------------------------
|
|
249
|
-
|
|
250
|
-
### Custom Style from Scratch
|
|
251
|
-
|
|
252
|
-
Source: https://ui.shadcn.com/docs/registry/examples
|
|
253
|
-
|
|
254
|
-
Creates a custom style from scratch without extending shadcn/ui. It installs specific npm packages and registry items, and defines new CSS variables for theme colors.
|
|
255
|
-
|
|
256
|
-
```json
|
|
257
|
-
{
|
|
258
|
-
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
|
|
259
|
-
"extends": "none",
|
|
260
|
-
"name": "new-style",
|
|
261
|
-
"type": "registry:style",
|
|
262
|
-
"dependencies": [
|
|
263
|
-
"tailwind-merge",
|
|
264
|
-
"clsx"
|
|
265
|
-
],
|
|
266
|
-
"registryDependencies": [
|
|
267
|
-
"utils",
|
|
268
|
-
"https://example.com/r/button.json",
|
|
269
|
-
"https://example.com/r/input.json",
|
|
270
|
-
"https://example.com/r/label.json",
|
|
271
|
-
"https://example.com/r/select.json"
|
|
272
|
-
],
|
|
273
|
-
"cssVars": {
|
|
274
|
-
"theme": {
|
|
275
|
-
"font-sans": "Inter, sans-serif"
|
|
276
|
-
},
|
|
277
|
-
"light": {
|
|
278
|
-
"main": "#88aaee",
|
|
279
|
-
"bg": "#dfe5f2",
|
|
280
|
-
"border": "#000",
|
|
281
|
-
"text": "#000",
|
|
282
|
-
"ring": "#000"
|
|
283
|
-
},
|
|
284
|
-
"dark": {
|
|
285
|
-
"main": "#88aaee",
|
|
286
|
-
"bg": "#272933",
|
|
287
|
-
"border": "#000",
|
|
288
|
-
"text": "#e6e6e6",
|
|
289
|
-
"ring": "#fff"
|
|
290
|
-
}
|
|
291
|
-
}
|
|
292
|
-
}
|
|
293
|
-
```
|
|
294
|
-
|
|
295
|
-
--------------------------------
|
|
296
|
-
|
|
297
|
-
### Import and Use Button Component in React
|
|
298
|
-
|
|
299
|
-
Source: https://ui.shadcn.com/docs/installation/vite
|
|
300
|
-
|
|
301
|
-
Example of importing the 'Button' component from shadcn/ui and using it within a React component. Assumes the Button component has been added via the CLI.
|
|
302
|
-
|
|
303
|
-
```typescript
|
|
304
|
-
import { Button } from "@/components/ui/button"
|
|
305
|
-
|
|
306
|
-
function App() {
|
|
307
|
-
return (
|
|
308
|
-
Click me
|
|
309
|
-
)
|
|
310
|
-
}
|
|
311
|
-
|
|
312
|
-
export default App
|
|
313
|
-
```
|
|
314
|
-
|
|
315
|
-
--------------------------------
|
|
316
|
-
|
|
317
|
-
### Add Dependencies to Project (npm, pnpm, yarn, bun)
|
|
318
|
-
|
|
319
|
-
Source: https://ui.shadcn.com/docs/installation/manual
|
|
320
|
-
|
|
321
|
-
Installs the required dependencies for shadcn/ui using package managers. Ensure Tailwind CSS is already set up in your project.
|
|
322
|
-
|
|
323
|
-
```bash
|
|
324
|
-
pnpm add class-variance-authority clsx tailwind-merge lucide-react tw-animate-css
|
|
325
|
-
```
|
|
326
|
-
|
|
327
|
-
--------------------------------
|
|
328
|
-
|
|
329
|
-
### shadcn/ui Tooltip Installation (CLI)
|
|
330
|
-
|
|
331
|
-
Source: https://ui.shadcn.com/docs/components/tooltip
|
|
332
|
-
|
|
333
|
-
This command installs the shadcn/ui Tooltip component using the shadcn CLI. This is the recommended method for adding components to your project, ensuring proper dependency management.
|
|
334
|
-
|
|
335
|
-
```bash
|
|
336
|
-
pnpm dlx shadcn@latest add tooltip
|
|
337
|
-
```
|
|
338
|
-
|
|
339
|
-
--------------------------------
|
|
340
|
-
|
|
341
|
-
### Install Multiple Resources from Different Registries
|
|
342
|
-
|
|
343
|
-
Source: https://ui.shadcn.com/docs/components-json
|
|
344
|
-
|
|
345
|
-
Command-line instruction to install multiple resources from various configured registries simultaneously. This showcases the flexibility of installing components like `@acme/header` and `@internal/auth-utils` in one go.
|
|
346
|
-
|
|
347
|
-
```bash
|
|
348
|
-
npx shadcn@latest add @acme/header @internal/auth-utils
|
|
349
|
-
```
|
|
350
|
-
|
|
351
|
-
--------------------------------
|
|
352
|
-
|
|
353
|
-
### shadcn/ui Alert Component Import Example
|
|
354
|
-
|
|
355
|
-
Source: https://ui.shadcn.com/docs/components/alert
|
|
356
|
-
|
|
357
|
-
Example of how to import the Alert, AlertDescription, and AlertTitle components from shadcn/ui after installation. This allows you to use them in your React components.
|
|
358
|
-
|
|
359
|
-
```jsx
|
|
360
|
-
import { Alert, AlertDescription, AlertTitle } from "@/components/ui/alert"
|
|
361
|
-
```
|
|
362
|
-
|
|
363
|
-
--------------------------------
|
|
364
|
-
|
|
365
|
-
### Initialize shadcn/ui Project with CLI
|
|
366
|
-
|
|
367
|
-
Source: https://ui.shadcn.com/docs/cli
|
|
368
|
-
|
|
369
|
-
Initializes your project with shadcn/ui, installing necessary dependencies and configuring the project. This command sets up the `cn` utility and CSS variables.
|
|
370
|
-
|
|
371
|
-
```bash
|
|
372
|
-
pnpm dlx shadcn@latest init
|
|
373
|
-
```
|
|
374
|
-
|
|
375
|
-
--------------------------------
|
|
376
|
-
|
|
377
|
-
### shadcn/ui CLI Installation Commands
|
|
378
|
-
|
|
379
|
-
Source: https://ui.shadcn.com/docs/cli
|
|
380
|
-
|
|
381
|
-
Shows the commands for installing shadcn/ui dependencies using different package managers (PNPM, NPM, Yarn, Bun).
|
|
382
|
-
|
|
383
|
-
```bash
|
|
384
|
-
pnpm dlx shadcn@latest init
|
|
385
|
-
```
|
|
386
|
-
|
|
387
|
-
```bash
|
|
388
|
-
npm dlx shadcn@latest init
|
|
389
|
-
```
|
|
390
|
-
|
|
391
|
-
```bash
|
|
392
|
-
yarn dlx shadcn@latest init
|
|
393
|
-
```
|
|
394
|
-
|
|
395
|
-
```bash
|
|
396
|
-
bun dlx shadcn@latest init
|
|
397
|
-
```
|
|
398
|
-
|
|
399
|
-
--------------------------------
|
|
400
|
-
|
|
401
|
-
### shadcn/ui Empty Component Installation (CLI)
|
|
402
|
-
|
|
403
|
-
Source: https://ui.shadcn.com/docs/components/empty
|
|
404
|
-
|
|
405
|
-
Shows how to install the Empty component using the shadcn/ui CLI. This involves running a specific command to add the component to your project.
|
|
406
|
-
|
|
407
|
-
```bash
|
|
408
|
-
pnpm dlx shadcn@latest add empty
|
|
409
|
-
```
|
|
410
|
-
|
|
411
|
-
--------------------------------
|
|
412
|
-
|
|
413
|
-
### Add Tailwind CSS and Vite Plugin
|
|
414
|
-
|
|
415
|
-
Source: https://ui.shadcn.com/docs/installation/vite
|
|
416
|
-
|
|
417
|
-
Installs Tailwind CSS and its Vite plugin. These are necessary for styling components with Tailwind utility classes.
|
|
418
|
-
|
|
419
|
-
```bash
|
|
420
|
-
pnpm add -D tailwindcss postcss autoprefixer
|
|
421
|
-
pnpm add -D @tailwindcss/vite
|
|
422
|
-
```
|
|
423
|
-
|
|
424
|
-
--------------------------------
|
|
425
|
-
|
|
426
|
-
### Import and Use 'Button' Component in React
|
|
427
|
-
|
|
428
|
-
Source: https://ui.shadcn.com/docs/installation/tanstack
|
|
429
|
-
|
|
430
|
-
Demonstrates how to import and use the 'Button' component from shadcn/ui within a React component in a TanStack Start application. Assumes the 'Button' component has been added via the CLI.
|
|
431
|
-
|
|
432
|
-
```jsx
|
|
433
|
-
import { Button } from "@/components/ui/button"
|
|
434
|
-
|
|
435
|
-
function App() {
|
|
436
|
-
return (
|
|
437
|
-
Click me
|
|
438
|
-
)
|
|
439
|
-
}
|
|
440
|
-
```
|
|
441
|
-
|
|
442
|
-
--------------------------------
|
|
443
|
-
|
|
444
|
-
### shadcn/ui Alert Component Installation (CLI)
|
|
445
|
-
|
|
446
|
-
Source: https://ui.shadcn.com/docs/components/alert
|
|
447
|
-
|
|
448
|
-
Instructions for installing the Alert component using the shadcn/ui CLI. This command adds the necessary dependencies and component files to your project.
|
|
449
|
-
|
|
450
|
-
```bash
|
|
451
|
-
pnpm dlx shadcn@latest add alert
|
|
452
|
-
```
|
|
453
|
-
|
|
454
|
-
--------------------------------
|
|
455
|
-
|
|
456
|
-
### Universal Item for Python Rules (JSON)
|
|
457
|
-
|
|
458
|
-
Source: https://ui.shadcn.com/docs/registry/examples
|
|
459
|
-
|
|
460
|
-
An example of a universal registry item designed to install custom Python rules for the Cursor editor. It specifies an explicit target path for the rule file, making it framework-agnostic.
|
|
461
|
-
|
|
462
|
-
```json
|
|
463
|
-
{
|
|
464
|
-
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
|
|
465
|
-
"name": "python-rules",
|
|
466
|
-
"type": "registry:item",
|
|
467
|
-
"files": [
|
|
468
|
-
{
|
|
469
|
-
"path": "/path/to/your/registry/default/custom-python.mdc",
|
|
470
|
-
"type": "registry:file",
|
|
471
|
-
"target": "~/.cursor/rules/custom-python.mdc",
|
|
472
|
-
"content": "..."
|
|
473
|
-
}
|
|
474
|
-
]
|
|
475
|
-
}
|
|
476
|
-
```
|
|
477
|
-
|
|
478
|
-
--------------------------------
|
|
479
|
-
|
|
480
|
-
### Calendar Installation (CLI)
|
|
481
|
-
|
|
482
|
-
Source: https://ui.shadcn.com/docs/components/calendar
|
|
483
|
-
|
|
484
|
-
Provides commands for installing the Calendar component using different package managers like pnpm, npm, yarn, and bun. This is a prerequisite for using the component in your project.
|
|
485
|
-
|
|
486
|
-
```bash
|
|
487
|
-
pnpm dlx shadcn@latest add calendar
|
|
488
|
-
```
|
|
489
|
-
|
|
490
|
-
--------------------------------
|
|
491
|
-
|
|
492
|
-
### Dropdown Menu Basic Usage (JavaScript/React)
|
|
493
|
-
|
|
494
|
-
Source: https://ui.shadcn.com/docs/components/dropdown-menu
|
|
495
|
-
|
|
496
|
-
This snippet shows the minimal setup for a dropdown menu component. It requires importing the necessary components from shadcn/ui and defining a trigger and content. This is a foundational example for integrating dropdown menus.
|
|
497
|
-
|
|
498
|
-
```javascript
|
|
499
|
-
import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuTrigger, } from "@/components/ui/dropdown-menu"
|
|
500
|
-
|
|
501
|
-
```
|
|
502
|
-
|
|
503
|
-
```javascript
|
|
504
|
-
OpenMy Account
|
|
505
|
-
Profile
|
|
506
|
-
⇧⌘P
|
|
507
|
-
Billing
|
|
508
|
-
⌘B
|
|
509
|
-
Settings
|
|
510
|
-
⌘S
|
|
511
|
-
Keyboard shortcuts
|
|
512
|
-
⌘K
|
|
513
|
-
Team
|
|
514
|
-
|
|
515
|
-
Invite users
|
|
516
|
-
|
|
517
|
-
New Team...
|
|
518
|
-
⌘+T
|
|
519
|
-
GitHub
|
|
520
|
-
|
|
521
|
-
Support
|
|
522
|
-
|
|
523
|
-
API
|
|
524
|
-
|
|
525
|
-
Log out
|
|
526
|
-
⇧⌘Q
|
|
527
|
-
|
|
528
|
-
```
|
|
529
|
-
|
|
530
|
-
--------------------------------
|
|
531
|
-
|
|
532
|
-
### Install Progress Component using CLI
|
|
533
|
-
|
|
534
|
-
Source: https://ui.shadcn.com/docs/components/progress
|
|
535
|
-
|
|
536
|
-
Command to add the Progress component to your project using the shadcn-ui CLI. This is the recommended way to install components.
|
|
537
|
-
|
|
538
|
-
```bash
|
|
539
|
-
pnpm dlx shadcn@latest add progress
|
|
540
|
-
```
|
|
541
|
-
|
|
542
|
-
--------------------------------
|
|
543
|
-
|
|
544
|
-
### Separator Component Installation (CLI)
|
|
545
|
-
|
|
546
|
-
Source: https://ui.shadcn.com/docs/components/separator
|
|
547
|
-
|
|
548
|
-
Shows the command to install the Separator component using the shadcn-ui CLI. This is the recommended method for adding components.
|
|
549
|
-
|
|
550
|
-
```bash
|
|
551
|
-
pnpm dlx shadcn@latest add separator
|
|
552
|
-
```
|
|
553
|
-
|
|
554
|
-
--------------------------------
|
|
555
|
-
|
|
556
|
-
### Add CSS Import with URL Syntax
|
|
557
|
-
|
|
558
|
-
Source: https://ui.shadcn.com/docs/registry/examples
|
|
559
|
-
|
|
560
|
-
This example demonstrates importing CSS files using the `url()` syntax, including importing from external sources like Google Fonts and local files.
|
|
561
|
-
|
|
562
|
-
```json
|
|
563
|
-
{
|
|
564
|
-
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
|
|
565
|
-
"name": "font-import",
|
|
566
|
-
"type": "registry:item",
|
|
567
|
-
"css": {
|
|
568
|
-
"@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap")": {},
|
|
569
|
-
"@import url('./local-styles.css')": {}
|
|
570
|
-
}
|
|
571
|
-
}
|
|
572
|
-
```
|
|
573
|
-
|
|
574
|
-
--------------------------------
|
|
575
|
-
|
|
576
|
-
### React Card Component Example (shadcn/ui)
|
|
577
|
-
|
|
578
|
-
Source: https://ui.shadcn.com/docs/components/card
|
|
579
|
-
|
|
580
|
-
This code snippet demonstrates how to use the Card component from shadcn/ui in a React application. It includes examples for header, title, description, content, footer, and action elements. Ensure you have the 'card' component installed via the shadcn/ui CLI or manually imported.
|
|
581
|
-
|
|
582
|
-
```jsx
|
|
583
|
-
import { Button } from "@/components/ui/button"
|
|
584
|
-
import { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, } from "@/components/ui/card"
|
|
585
|
-
import { Input } from "@/components/ui/input"
|
|
586
|
-
import { Label } from "@/components/ui/label"
|
|
587
|
-
|
|
588
|
-
export function CardDemo() {
|
|
589
|
-
return (
|
|
590
|
-
Login to your accountEnter your email below to login to your account
|
|
591
|
-
|
|
592
|
-
Name
|
|
593
|
-
|
|
594
|
-
Framework
|
|
595
|
-
|
|
596
|
-
CancelDeploy
|
|
597
|
-
)
|
|
598
|
-
}
|
|
599
|
-
```
|
|
600
|
-
|
|
601
|
-
--------------------------------
|
|
602
|
-
|
|
603
|
-
### Install shadcn/ui Toggle Component
|
|
604
|
-
|
|
605
|
-
Source: https://ui.shadcn.com/docs/components/toggle
|
|
606
|
-
|
|
607
|
-
Instructions for installing the shadcn/ui Toggle component using pnpm. This command adds the necessary package and dependencies to your project.
|
|
608
|
-
|
|
609
|
-
```bash
|
|
610
|
-
pnpm dlx shadcn@latest add toggle
|
|
611
|
-
```
|
|
612
|
-
|
|
613
|
-
--------------------------------
|
|
614
|
-
|
|
615
|
-
### Create a Simple Component (TypeScript/React)
|
|
616
|
-
|
|
617
|
-
Source: https://ui.shadcn.com/docs/registry/getting-started
|
|
618
|
-
|
|
619
|
-
An example of a basic component file, `hello-world.tsx`, intended to be part of a registry. This component uses a Button from `@/components/ui/button`. It should be placed within a structured directory like `registry/[NAME]/[COMPONENT_NAME]/`.
|
|
620
|
-
|
|
621
|
-
```tsx
|
|
622
|
-
import { Button } from "@/components/ui/button"
|
|
623
|
-
|
|
624
|
-
export function HelloWorld() {
|
|
625
|
-
return (
|
|
626
|
-
Hello World
|
|
627
|
-
)
|
|
628
|
-
}
|
|
629
|
-
```
|
|
630
|
-
|
|
631
|
-
--------------------------------
|
|
632
|
-
|
|
633
|
-
### shadcn/ui Alert Dialog Installation
|
|
634
|
-
|
|
635
|
-
Source: https://ui.shadcn.com/docs/components/alert-dialog
|
|
636
|
-
|
|
637
|
-
Instructions for installing the Alert Dialog component using the shadcn-ui CLI. This command adds the necessary component files to your project, allowing you to import and use them.
|
|
638
|
-
|
|
639
|
-
```bash
|
|
640
|
-
pnpm dlx shadcn@latest add alert-dialog
|
|
641
|
-
```
|
|
642
|
-
|
|
643
|
-
--------------------------------
|
|
644
|
-
|
|
645
|
-
### Install Remote Component using URL (CLI)
|
|
646
|
-
|
|
647
|
-
Source: https://ui.shadcn.com/docs/changelog
|
|
648
|
-
|
|
649
|
-
Installs a remote component by providing its registry URL to the shadcn CLI. This allows for easy integration of components from external sources. It requires the shadcn CLI to be installed.
|
|
650
|
-
|
|
651
|
-
```bash
|
|
652
|
-
npx shadcn add https://acme.com/registry/navbar.json
|
|
653
|
-
```
|
|
654
|
-
|
|
655
|
-
--------------------------------
|
|
656
|
-
|
|
657
|
-
### Add Functional CSS Utilities
|
|
658
|
-
|
|
659
|
-
Source: https://ui.shadcn.com/docs/registry/examples
|
|
660
|
-
|
|
661
|
-
This example demonstrates functional CSS utilities using a wildcard. The 'tab-*' utility allows for dynamic application of 'tab-size' based on the value provided.
|
|
662
|
-
|
|
663
|
-
```json
|
|
664
|
-
{
|
|
665
|
-
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
|
|
666
|
-
"name": "custom-component",
|
|
667
|
-
"type": "registry:component",
|
|
668
|
-
"css": {
|
|
669
|
-
"@utility tab-*": {
|
|
670
|
-
"tab-size": "var(--tab-size-)"
|
|
671
|
-
}
|
|
672
|
-
}
|
|
673
|
-
}
|
|
674
|
-
```
|
|
675
|
-
|
|
676
|
-
--------------------------------
|
|
677
|
-
|
|
678
|
-
### Install shadcn/ui Registry Item via CLI
|
|
679
|
-
|
|
680
|
-
Source: https://ui.shadcn.com/docs/registry/getting-started
|
|
681
|
-
|
|
682
|
-
Installs a registry item using the shadcn CLI by providing the URL of the registry item. This command allows developers to easily add components from a remote registry to their project.
|
|
683
|
-
|
|
684
|
-
```Shell
|
|
685
|
-
pnpm dlx shadcn@latest add http://localhost:3000/r/hello-world.json
|
|
686
|
-
```
|
|
687
|
-
|
|
688
|
-
--------------------------------
|
|
689
|
-
|
|
690
|
-
### shadcn/ui Drawer Component Usage Example
|
|
691
|
-
|
|
692
|
-
Source: https://ui.shadcn.com/docs/components/drawer
|
|
693
|
-
|
|
694
|
-
Provides a basic import statement for using the Drawer component and its associated sub-components from shadcn/ui. This snippet is intended for developers who have installed the component and need to integrate it into their React application.
|
|
695
|
-
|
|
696
|
-
```javascript
|
|
697
|
-
import { Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerTitle, DrawerTrigger, } from "@/components/ui/drawer"
|
|
698
|
-
|
|
699
|
-
```
|
|
700
|
-
|
|
701
|
-
--------------------------------
|
|
702
|
-
|
|
703
|
-
### Toggle Group Component Documentation
|
|
704
|
-
|
|
705
|
-
Source: https://ui.shadcn.com/docs/components/toggle-group
|
|
706
|
-
|
|
707
|
-
This section details the Toggle Group component, its installation, usage, and various examples demonstrating its functionality and appearance.
|
|
708
|
-
|
|
709
|
-
```APIDOC
|
|
710
|
-
## Toggle Group Component
|
|
711
|
-
|
|
712
|
-
### Description
|
|
713
|
-
A set of two-state buttons that can be toggled on or off. Provides "single" and "multiple" selection modes.
|
|
714
|
-
|
|
715
|
-
### Installation
|
|
716
|
-
Use the shadcn-ui CLI to add the component to your project:
|
|
717
|
-
```bash
|
|
718
|
-
pnpm dlx shadcn@latest add toggle-group
|
|
719
|
-
```
|
|
720
|
-
|
|
721
|
-
### Usage
|
|
722
|
-
Import the necessary components and use them in your React application.
|
|
723
|
-
|
|
724
|
-
```javascript
|
|
725
|
-
import { ToggleGroup, ToggleGroupItem } from "@/components/ui/toggle-group";
|
|
726
|
-
|
|
727
|
-
function MyToggleGroup() {
|
|
728
|
-
return (
|
|
729
|
-
|
|
730
|
-
A
|
|
731
|
-
|
|
732
|
-
B
|
|
733
|
-
|
|
734
|
-
C
|
|
735
|
-
|
|
736
|
-
);
|
|
737
|
-
}
|
|
738
|
-
```
|
|
739
|
-
|
|
740
|
-
### Examples
|
|
741
|
-
|
|
742
|
-
#### Outline
|
|
743
|
-
```javascript
|
|
744
|
-
import { Bold, Italic, Underline } from "lucide-react";
|
|
745
|
-
import { ToggleGroup, ToggleGroupItem } from "@/components/ui/toggle-group";
|
|
746
|
-
|
|
747
|
-
export function ToggleGroupOutline() {
|
|
748
|
-
return (
|
|
749
|
-
|
|
750
|
-
);
|
|
751
|
-
}
|
|
752
|
-
```
|
|
753
|
-
|
|
754
|
-
#### Single
|
|
755
|
-
```javascript
|
|
756
|
-
import { Bold, Italic, Underline } from "lucide-react";
|
|
757
|
-
import { ToggleGroup, ToggleGroupItem } from "@/components/ui/toggle-group";
|
|
758
|
-
|
|
759
|
-
export function ToggleGroupSingle() {
|
|
760
|
-
return (
|
|
761
|
-
|
|
762
|
-
);
|
|
763
|
-
}
|
|
764
|
-
```
|
|
765
|
-
|
|
766
|
-
#### Small
|
|
767
|
-
```javascript
|
|
768
|
-
import { Bold, Italic, Underline } from "lucide-react";
|
|
769
|
-
import { ToggleGroup, ToggleGroupItem } from "@/components/ui/toggle-group";
|
|
770
|
-
|
|
771
|
-
export function ToggleGroupSmall() {
|
|
772
|
-
return (
|
|
773
|
-
|
|
774
|
-
);
|
|
775
|
-
}
|
|
776
|
-
```
|
|
777
|
-
|
|
778
|
-
#### Large
|
|
779
|
-
```javascript
|
|
780
|
-
import { Bold, Italic, Underline } from "lucide-react";
|
|
781
|
-
import { ToggleGroup, ToggleGroupItem } from "@/components/ui/toggle-group";
|
|
782
|
-
|
|
783
|
-
export function ToggleGroupLarge() {
|
|
784
|
-
return (
|
|
785
|
-
|
|
786
|
-
);
|
|
787
|
-
}
|
|
788
|
-
```
|
|
789
|
-
|
|
790
|
-
#### Disabled
|
|
791
|
-
```javascript
|
|
792
|
-
import { Bold, Italic, Underline } from "lucide-react";
|
|
793
|
-
import { ToggleGroup, ToggleGroupItem } from "@/components/ui/toggle-group";
|
|
794
|
-
|
|
795
|
-
export function ToggleGroupDisabled() {
|
|
796
|
-
return (
|
|
797
|
-
|
|
798
|
-
);
|
|
799
|
-
}
|
|
800
|
-
```
|
|
801
|
-
|
|
802
|
-
#### Spacing
|
|
803
|
-
Use `spacing={2}` to add spacing between toggle group items.
|
|
804
|
-
```javascript
|
|
805
|
-
import { BookmarkIcon, HeartIcon, StarIcon } from "lucide-react";
|
|
806
|
-
import { ToggleGroup, ToggleGroupItem } from "@/components/ui/toggle-group";
|
|
807
|
-
|
|
808
|
-
export function ToggleGroupSpacing() {
|
|
809
|
-
return (
|
|
810
|
-
|
|
811
|
-
);
|
|
812
|
-
}
|
|
813
|
-
```
|
|
814
|
-
|
|
815
|
-
### API Reference
|
|
816
|
-
|
|
817
|
-
#### ToggleGroup
|
|
818
|
-
The main component that wraps toggle group items.
|
|
819
|
-
|
|
820
|
-
| Prop | Type | Default |
|
|
821
|
-
|------------|-------------------------------------|-------------|
|
|
822
|
-
| `type` | `"single" | "multiple"` | `"single"` |
|
|
823
|
-
| `variant` | `"default" | "outline"` | `"default"` |
|
|
824
|
-
| `size` | `"default" | "sm" | "lg"` | `"default"` |
|
|
825
|
-
| `spacing` | `number` | `0` |
|
|
826
|
-
| `className`| `string` | `''` |
|
|
827
|
-
|
|
828
|
-
#### ToggleGroupItem
|
|
829
|
-
Individual toggle items within a toggle group. Remember to add an `aria-label` to each item for accessibility.
|
|
830
|
-
|
|
831
|
-
| Prop | Type | Default |
|
|
832
|
-
|------------|----------|-----------|
|
|
833
|
-
| `value` | `string` | Required |
|
|
834
|
-
| `className`| `string` | `''` |
|
|
835
|
-
```
|
|
836
|
-
|
|
837
|
-
--------------------------------
|
|
838
|
-
|
|
839
|
-
### Use shadcn/ui Button Component in Remix
|
|
840
|
-
|
|
841
|
-
Source: https://ui.shadcn.com/docs/installation/remix
|
|
842
|
-
|
|
843
|
-
Example of importing and using the shadcn/ui Button component within a Remix route component. Demonstrates basic component integration.
|
|
844
|
-
|
|
845
|
-
```typescript
|
|
846
|
-
import { Button } from "~/components/ui/button"
|
|
847
|
-
|
|
848
|
-
export default function Home() {
|
|
849
|
-
return (
|
|
850
|
-
Click me
|
|
851
|
-
)
|
|
852
|
-
}
|
|
853
|
-
```
|
|
854
|
-
|
|
855
|
-
--------------------------------
|
|
856
|
-
|
|
857
|
-
### Override Primitives with a Block
|
|
858
|
-
|
|
859
|
-
Source: https://ui.shadcn.com/docs/registry/examples
|
|
860
|
-
|
|
861
|
-
Demonstrates how to define a custom login block that overrides existing primitives like 'button', 'input', and 'label' with remote versions. This allows for customization during installation.
|
|
862
|
-
|
|
863
|
-
```json
|
|
864
|
-
{
|
|
865
|
-
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
|
|
866
|
-
"name": "custom-login",
|
|
867
|
-
"type": "registry:block",
|
|
868
|
-
"registryDependencies": [
|
|
869
|
-
"login-01",
|
|
870
|
-
"https://example.com/r/button.json",
|
|
871
|
-
"https://example.com/r/input.json",
|
|
872
|
-
"https://example.com/r/label.json"
|
|
873
|
-
]
|
|
874
|
-
}
|
|
875
|
-
```
|
|
876
|
-
|
|
877
|
-
--------------------------------
|
|
878
|
-
|
|
879
|
-
### Initialize Project with shadcn CLI
|
|
880
|
-
|
|
881
|
-
Source: https://ui.shadcn.com/docs/changelog
|
|
882
|
-
|
|
883
|
-
Initializes a new project with shadcn/ui components. The command automatically detects the project's framework and can even set up a new Next.js application. It is a convenient way to start integrating shadcn/ui.
|
|
884
|
-
|
|
885
|
-
```bash
|
|
886
|
-
npx shadcn init
|
|
887
|
-
pnpm dlx shadcn init sidebar-01 login-01
|
|
888
|
-
```
|
|
889
|
-
|
|
890
|
-
--------------------------------
|
|
891
|
-
|
|
892
|
-
### shadcn CLI Commands
|
|
893
|
-
|
|
894
|
-
Source: https://ui.shadcn.com/docs/changelog
|
|
895
|
-
|
|
896
|
-
Demonstrates the usage of the shadcn CLI for managing UI components. The commands shown are 'init' for project setup and 'add' for incorporating new components, along with an experimental 'diff' command. These are essential for integrating and managing shadcn/ui within a project.
|
|
897
|
-
|
|
898
|
-
```bash
|
|
899
|
-
npx shadcn-ui@latest init
|
|
900
|
-
npx shadcn-ui@latest add
|
|
901
|
-
npx shadcn-ui@latest diff (experimental)
|
|
902
|
-
```
|
|
903
|
-
|
|
904
|
-
--------------------------------
|
|
905
|
-
|
|
906
|
-
### Install shadcn/ui Tabs Component
|
|
907
|
-
|
|
908
|
-
Source: https://ui.shadcn.com/docs/components/tabs
|
|
909
|
-
|
|
910
|
-
Instructions for installing the Tabs component using pnpm and the shadcn-ui CLI. This ensures the component is correctly added to your project's dependencies and configuration.
|
|
911
|
-
|
|
912
|
-
```bash
|
|
913
|
-
pnpm dlx shadcn@latest add tabs
|
|
914
|
-
```
|
|
915
|
-
|
|
916
|
-
--------------------------------
|
|
917
|
-
|
|
918
|
-
### Install shadcn/ui Badge Component (CLI)
|
|
919
|
-
|
|
920
|
-
Source: https://ui.shadcn.com/docs/components/badge
|
|
921
|
-
|
|
922
|
-
Command-line instructions for adding the shadcn/ui Badge component to your project using pnpm. This command fetches and installs the necessary component files.
|
|
923
|
-
|
|
924
|
-
```bash
|
|
925
|
-
pnpm dlx shadcn@latest add badge
|
|
926
|
-
```
|
|
927
|
-
|
|
928
|
-
--------------------------------
|
|
929
|
-
|
|
930
|
-
### Define a Login Block
|
|
931
|
-
|
|
932
|
-
Source: https://ui.shadcn.com/docs/registry/examples
|
|
933
|
-
|
|
934
|
-
This example shows how to define a 'login-01' block, specifying its type, description, dependencies, and the files it comprises. The 'page.tsx' and 'login-form.tsx' are included as part of the block.
|
|
935
|
-
|
|
936
|
-
```json
|
|
937
|
-
{
|
|
938
|
-
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
|
|
939
|
-
"name": "login-01",
|
|
940
|
-
"type": "registry:block",
|
|
941
|
-
"description": "A simple login form.",
|
|
942
|
-
"registryDependencies": [
|
|
943
|
-
"button",
|
|
944
|
-
"card",
|
|
945
|
-
"input",
|
|
946
|
-
"label"
|
|
947
|
-
],
|
|
948
|
-
"files": [
|
|
949
|
-
{
|
|
950
|
-
"path": "blocks/login-01/page.tsx",
|
|
951
|
-
"content": "import { LoginForm } ...",
|
|
952
|
-
"type": "registry:page",
|
|
953
|
-
"target": "app/login/page.tsx"
|
|
954
|
-
},
|
|
955
|
-
{
|
|
956
|
-
"path": "blocks/login-01/components/login-form.tsx",
|
|
957
|
-
"content": "...",
|
|
958
|
-
"type": "registry:component"
|
|
959
|
-
}
|
|
960
|
-
]
|
|
961
|
-
}
|
|
962
|
-
```
|
|
963
|
-
|
|
964
|
-
--------------------------------
|
|
965
|
-
|
|
966
|
-
### Menubar Component Installation (pnpm)
|
|
967
|
-
|
|
968
|
-
Source: https://ui.shadcn.com/docs/components/menubar
|
|
969
|
-
|
|
970
|
-
Instructions for installing the Menubar component from shadcn/ui using the pnpm package manager. This command-line interface (CLI) command fetches and adds the necessary component files to your project.
|
|
971
|
-
|
|
972
|
-
```bash
|
|
973
|
-
pnpm dlx shadcn@latest add menubar
|
|
974
|
-
```
|
|
975
|
-
|
|
976
|
-
--------------------------------
|
|
977
|
-
|
|
978
|
-
### shadcn/ui Card Component - Installation
|
|
979
|
-
|
|
980
|
-
Source: https://ui.shadcn.com/docs/components/card
|
|
981
|
-
|
|
982
|
-
Instructions for installing the Card component in your project using the shadcn/ui CLI. This command automates the process of adding the necessary files to your components directory.
|
|
983
|
-
|
|
984
|
-
```bash
|
|
985
|
-
pnpm dlx shadcn@latest add card
|
|
986
|
-
```
|
|
987
|
-
|
|
988
|
-
--------------------------------
|
|
989
|
-
|
|
990
|
-
### Custom Theme Example
|
|
991
|
-
|
|
992
|
-
Source: https://ui.shadcn.com/docs/registry/examples
|
|
993
|
-
|
|
994
|
-
Defines a custom theme with specific color variables for both light and dark modes. This allows for a unique color palette across the application.
|
|
995
|
-
|
|
996
|
-
```json
|
|
997
|
-
{
|
|
998
|
-
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
|
|
999
|
-
"name": "custom-theme",
|
|
1000
|
-
"type": "registry:theme",
|
|
1001
|
-
"cssVars": {
|
|
1002
|
-
"light": {
|
|
1003
|
-
"background": "oklch(1 0 0)",
|
|
1004
|
-
"foreground": "oklch(0.141 0.005 285.823)",
|
|
1005
|
-
"primary": "oklch(0.546 0.245 262.881)",
|
|
1006
|
-
"primary-foreground": "oklch(0.97 0.014 254.604)",
|
|
1007
|
-
"ring": "oklch(0.746 0.16 232.661)",
|
|
1008
|
-
"sidebar-primary": "oklch(0.546 0.245 262.881)",
|
|
1009
|
-
"sidebar-primary-foreground": "oklch(0.97 0.014 254.604)",
|
|
1010
|
-
"sidebar-ring": "oklch(0.746 0.16 232.661)"
|
|
1011
|
-
},
|
|
1012
|
-
"dark": {
|
|
1013
|
-
"background": "oklch(1 0 0)",
|
|
1014
|
-
"foreground": "oklch(0.141 0.005 285.823)",
|
|
1015
|
-
"primary": "oklch(0.707 0.165 254.624)",
|
|
1016
|
-
"primary-foreground": "oklch(0.97 0.014 254.604)",
|
|
1017
|
-
"ring": "oklch(0.707 0.165 254.624)",
|
|
1018
|
-
"sidebar-primary": "oklch(0.707 0.165 254.624)",
|
|
1019
|
-
"sidebar-primary-foreground": "oklch(0.97 0.014 254.604)",
|
|
1020
|
-
"sidebar-ring": "oklch(0.707 0.165 254.624)"
|
|
1021
|
-
}
|
|
1022
|
-
}
|
|
1023
|
-
}
|
|
1024
|
-
```
|
|
1025
|
-
|
|
1026
|
-
--------------------------------
|
|
1027
|
-
|
|
1028
|
-
### Install Form Component - CLI
|
|
1029
|
-
|
|
1030
|
-
Source: https://ui.shadcn.com/docs/components/form
|
|
1031
|
-
|
|
1032
|
-
Command to add the Form component to your project using the shadcn-ui CLI. This command installs the necessary dependencies and component files.
|
|
1033
|
-
|
|
1034
|
-
```bash
|
|
1035
|
-
pnpm dlx shadcn@latest add form
|
|
1036
|
-
```
|
|
1037
|
-
|
|
1038
|
-
--------------------------------
|
|
1039
|
-
|
|
1040
|
-
### Navigation Menu Installation (CLI)
|
|
1041
|
-
|
|
1042
|
-
Source: https://ui.shadcn.com/docs/components/navigation-menu
|
|
1043
|
-
|
|
1044
|
-
Provides instructions for adding the Navigation Menu component to your project using the shadcn/ui CLI with pnpm, npm, or yarn package managers.
|
|
1045
|
-
|
|
1046
|
-
```bash
|
|
1047
|
-
pnpm dlx shadcn@latest add navigation-menu
|
|
1048
|
-
```
|
|
1049
|
-
|
|
1050
|
-
--------------------------------
|
|
1051
|
-
|
|
1052
|
-
### shadcn/ui Popover Installation Commands
|
|
1053
|
-
|
|
1054
|
-
Source: https://ui.shadcn.com/docs/components/popover
|
|
1055
|
-
|
|
1056
|
-
Provides commands for installing the shadcn/ui Popover component. It includes instructions for pnpm, npm, and yarn package managers, as well as a command to add the Popover component using the shadcn CLI.
|
|
1057
|
-
|
|
1058
|
-
```bash
|
|
1059
|
-
pnpm
|
|
1060
|
-
npm
|
|
1061
|
-
yarn
|
|
1062
|
-
bun
|
|
1063
|
-
```
|
|
1064
|
-
|
|
1065
|
-
```bash
|
|
1066
|
-
pnpm dlx shadcn@latest add popover
|
|
1067
|
-
```
|
|
1068
|
-
|
|
1069
|
-
--------------------------------
|
|
1070
|
-
|
|
1071
|
-
### Install Calendar Blocks using shadcn-ui CLI
|
|
1072
|
-
|
|
1073
|
-
Source: https://ui.shadcn.com/docs/components/calendar
|
|
1074
|
-
|
|
1075
|
-
Instructions to install the latest version of the calendar blocks using the shadcn-ui CLI. This command fetches and adds the necessary calendar components to your project.
|
|
1076
|
-
|
|
1077
|
-
```bash
|
|
1078
|
-
pnpm dlx shadcn@latest add calendar-02
|
|
1079
|
-
```
|
|
1080
|
-
|
|
1081
|
-
--------------------------------
|
|
1082
|
-
|
|
1083
|
-
### Initialize Project from Local File using shadcn CLI
|
|
1084
|
-
|
|
1085
|
-
Source: https://ui.shadcn.com/docs/changelog
|
|
1086
|
-
|
|
1087
|
-
This command initializes a project using a local JSON file as a template. It's useful for zero-setup workflows and testing registry items locally.
|
|
1088
|
-
|
|
1089
|
-
```bash
|
|
1090
|
-
npx shadcn init ./template.json
|
|
1091
|
-
```
|
|
1092
|
-
|
|
1093
|
-
--------------------------------
|
|
1094
|
-
|
|
1095
|
-
### Avatar Component Installation
|
|
1096
|
-
|
|
1097
|
-
Source: https://ui.shadcn.com/docs/components/avatar
|
|
1098
|
-
|
|
1099
|
-
Provides instructions for installing the Avatar component using the shadcn/ui CLI. This typically involves running a command like 'pnpm dlx shadcn@latest add avatar' after setting up the project.
|
|
1100
|
-
|
|
1101
|
-
```bash
|
|
1102
|
-
pnpm dlx shadcn@latest add avatar
|
|
1103
|
-
```
|
|
1104
|
-
|
|
1105
|
-
--------------------------------
|
|
1106
|
-
|
|
1107
|
-
### shadcn/ui Slider Component Installation
|
|
1108
|
-
|
|
1109
|
-
Source: https://ui.shadcn.com/docs/components/slider
|
|
1110
|
-
|
|
1111
|
-
Instructions for installing the shadcn/ui Slider component. This includes methods using pnpm, npm, yarn, and bun, as well as a command-line instruction to add the slider dependency using the shadcn CLI.
|
|
1112
|
-
|
|
1113
|
-
```bash
|
|
1114
|
-
pnpm dlx shadcn@latest add slider
|
|
1115
|
-
```
|
|
1116
|
-
|
|
1117
|
-
--------------------------------
|
|
1118
|
-
|
|
1119
|
-
### Install shadcn/ui Button Component
|
|
1120
|
-
|
|
1121
|
-
Source: https://ui.shadcn.com/docs/components/button
|
|
1122
|
-
|
|
1123
|
-
Instructions for installing the shadcn/ui Button component using package managers like pnpm, npm, or yarn. It also includes the command to add the button component to your project.
|
|
1124
|
-
|
|
1125
|
-
```bash
|
|
1126
|
-
pnpm dlx shadcn@latest add button
|
|
1127
|
-
```
|
|
1128
|
-
|
|
1129
|
-
--------------------------------
|
|
1130
|
-
|
|
1131
|
-
### Install Sidebar Component using PNPM
|
|
1132
|
-
|
|
1133
|
-
Source: https://ui.shadcn.com/docs/components/sidebar
|
|
1134
|
-
|
|
1135
|
-
Installs the 'sidebar.tsx' component using the pnpm package manager. This is the recommended method for adding the component to your project.
|
|
1136
|
-
|
|
1137
|
-
```bash
|
|
1138
|
-
pnpm dlx shadcn@latest add sidebar
|
|
1139
|
-
```
|
|
1140
|
-
|
|
1141
|
-
--------------------------------
|
|
1142
|
-
|
|
1143
|
-
### Custom Style Extending shadcn/ui
|
|
1144
|
-
|
|
1145
|
-
Source: https://ui.shadcn.com/docs/registry/examples
|
|
1146
|
-
|
|
1147
|
-
Defines a custom style that extends shadcn/ui, installing specific dependencies and components. It also sets custom CSS variables for fonts and a brand color in both light and dark modes.
|
|
1148
|
-
|
|
1149
|
-
```json
|
|
1150
|
-
{
|
|
1151
|
-
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
|
|
1152
|
-
"name": "example-style",
|
|
1153
|
-
"type": "registry:style",
|
|
1154
|
-
"dependencies": [
|
|
1155
|
-
"@tabler/icons-react"
|
|
1156
|
-
],
|
|
1157
|
-
"registryDependencies": [
|
|
1158
|
-
"login-01",
|
|
1159
|
-
"calendar",
|
|
1160
|
-
"https://example.com/r/editor.json"
|
|
1161
|
-
],
|
|
1162
|
-
"cssVars": {
|
|
1163
|
-
"theme": {
|
|
1164
|
-
"font-sans": "Inter, sans-serif"
|
|
1165
|
-
},
|
|
1166
|
-
"light": {
|
|
1167
|
-
"brand": "20 14.3% 4.1%"
|
|
1168
|
-
},
|
|
1169
|
-
"dark": {
|
|
1170
|
-
"brand": "20 14.3% 4.1%"
|
|
1171
|
-
}
|
|
1172
|
-
}
|
|
1173
|
-
}
|
|
1174
|
-
```
|
|
1175
|
-
|
|
1176
|
-
--------------------------------
|
|
1177
|
-
|
|
1178
|
-
### Install shadcn/ui Table Component (CLI)
|
|
1179
|
-
|
|
1180
|
-
Source: https://ui.shadcn.com/docs/components/table
|
|
1181
|
-
|
|
1182
|
-
This command installs the Table component and its dependencies into your shadcn/ui project using the pnpm package manager. Ensure you have shadcn/ui CLI set up.
|
|
1183
|
-
|
|
1184
|
-
```bash
|
|
1185
|
-
pnpm dlx shadcn@latest add table
|
|
1186
|
-
```
|
|
1187
|
-
|
|
1188
|
-
--------------------------------
|
|
1189
|
-
|
|
1190
|
-
### Install Textarea Component with shadcn/ui
|
|
1191
|
-
|
|
1192
|
-
Source: https://ui.shadcn.com/docs/components/textarea
|
|
1193
|
-
|
|
1194
|
-
Instructions for installing the Textarea component using different package managers (pnpm, npm, yarn, bun). This is a prerequisite for using the Textarea component in your project.
|
|
1195
|
-
|
|
1196
|
-
```bash
|
|
1197
|
-
pnpm dlx shadcn@latest add textarea
|
|
1198
|
-
```
|
|
1199
|
-
|
|
1200
|
-
--------------------------------
|
|
1201
|
-
|
|
1202
|
-
### Create Remix Project
|
|
1203
|
-
|
|
1204
|
-
Source: https://ui.shadcn.com/docs/installation/remix
|
|
1205
|
-
|
|
1206
|
-
Command to create a new Remix project using pnpm, npm, or yarn. Ensures a fresh project structure for integration.
|
|
1207
|
-
|
|
1208
|
-
```bash
|
|
1209
|
-
pnpm dlx create-remix@latest my-app
|
|
1210
|
-
```
|
|
1211
|
-
|
|
1212
|
-
--------------------------------
|
|
1213
|
-
|
|
1214
|
-
### Sheet Component Installation (CLI)
|
|
1215
|
-
|
|
1216
|
-
Source: https://ui.shadcn.com/docs/components/sheet
|
|
1217
|
-
|
|
1218
|
-
Provides instructions for installing the Sheet component using the shadcn-ui CLI. This command-line approach simplifies the process of adding the component to your project, ensuring all necessary dependencies are handled.
|
|
1219
|
-
|
|
1220
|
-
```bash
|
|
1221
|
-
pnpm dlx shadcn@latest add sheet
|
|
1222
|
-
```
|
|
1223
|
-
|
|
1224
|
-
--------------------------------
|
|
1225
|
-
|
|
1226
|
-
### SidebarHeader Component Example
|
|
1227
|
-
|
|
1228
|
-
Source: https://ui.shadcn.com/docs/components/sidebar
|
|
1229
|
-
|
|
1230
|
-
Shows how to incorporate the SidebarHeader component to add a sticky header. The example includes a dropdown menu for workspace selection.
|
|
1231
|
-
|
|
1232
|
-
```typescript
|
|
1233
|
-
import { SidebarHeader } from "@/components/ui/sidebar"
|
|
1234
|
-
|
|
1235
|
-
export function AppSidebar() {
|
|
1236
|
-
return (
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
Acme Inc.
|
|
1243
|
-
Acme Corp.
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
)
|
|
1247
|
-
}
|
|
1248
|
-
```
|
|
1249
|
-
|
|
1250
|
-
--------------------------------
|
|
1251
|
-
|
|
1252
|
-
### shadcn/ui Drawer Component Installation Command
|
|
1253
|
-
|
|
1254
|
-
Source: https://ui.shadcn.com/docs/components/drawer
|
|
1255
|
-
|
|
1256
|
-
Shows the command-line interface (CLI) command to install the Drawer component into a shadcn/ui project. This command uses `pnpm dlx` to execute the `shadcn@latest add drawer` command, ensuring the latest version is added.
|
|
1257
|
-
|
|
1258
|
-
```bash
|
|
1259
|
-
pnpm dlx shadcn@latest add drawer
|
|
1260
|
-
|
|
1261
|
-
```
|
|
1262
|
-
|
|
1263
|
-
--------------------------------
|
|
1264
|
-
|
|
1265
|
-
### Add CSS Import with Media Queries
|
|
1266
|
-
|
|
1267
|
-
Source: https://ui.shadcn.com/docs/registry/examples
|
|
1268
|
-
|
|
1269
|
-
This configuration shows how to use CSS imports with media queries, allowing for conditional loading of styles based on print or screen size.
|
|
1270
|
-
|
|
1271
|
-
```json
|
|
1272
|
-
{
|
|
1273
|
-
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
|
|
1274
|
-
"name": "responsive-import",
|
|
1275
|
-
"type": "registry:item",
|
|
1276
|
-
"css": {
|
|
1277
|
-
"@import "print-styles.css" print": {},
|
|
1278
|
-
"@import url("mobile.css") screen and (max-width: 768px)": {}
|
|
1279
|
-
}
|
|
1280
|
-
}
|
|
1281
|
-
```
|
|
1282
|
-
|
|
1283
|
-
--------------------------------
|
|
1284
|
-
|
|
1285
|
-
### SidebarFooter Component Example
|
|
1286
|
-
|
|
1287
|
-
Source: https://ui.shadcn.com/docs/components/sidebar
|
|
1288
|
-
|
|
1289
|
-
Demonstrates the use of the SidebarFooter component for adding a sticky footer. This example includes user account and billing links, and a sign-out option.
|
|
1290
|
-
|
|
1291
|
-
```typescript
|
|
1292
|
-
import { SidebarFooter } from "@/components/ui/sidebar"
|
|
1293
|
-
|
|
1294
|
-
export function AppSidebar() {
|
|
1295
|
-
return (
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
CN
|
|
1299
|
-
|
|
1300
|
-
shadcnm@example.com
|
|
1301
|
-
|
|
1302
|
-
More optionsAccountBillingSettingsSign out
|
|
1303
|
-
)
|
|
1304
|
-
}
|
|
1305
|
-
```
|
|
1306
|
-
|
|
1307
|
-
--------------------------------
|
|
1308
|
-
|
|
1309
|
-
### shadcn/ui Dialog Component Installation (CLI)
|
|
1310
|
-
|
|
1311
|
-
Source: https://ui.shadcn.com/docs/components/dialog
|
|
1312
|
-
|
|
1313
|
-
Provides the command to install the Dialog component using the shadcn/ui CLI with pnpm. This command adds the necessary files and dependencies for the Dialog component to your project. It's a prerequisite for using the component in your application.
|
|
1314
|
-
|
|
1315
|
-
```bash
|
|
1316
|
-
pnpm dlx shadcn@latest add dialog
|
|
1317
|
-
```
|
|
1318
|
-
|
|
1319
|
-
--------------------------------
|
|
1320
|
-
|
|
1321
|
-
### shadcn CLI init Command Usage
|
|
1322
|
-
|
|
1323
|
-
Source: https://ui.shadcn.com/docs/cli
|
|
1324
|
-
|
|
1325
|
-
Illustrates the usage of the `shadcn init` command, including its arguments for specifying component names, URLs, or local paths, and available options like `--template`. This command is crucial for setting up the project's components and configuration.
|
|
1326
|
-
|
|
1327
|
-
```bash
|
|
1328
|
-
Usage: shadcn init [options] [components...]
|
|
1329
|
-
|
|
1330
|
-
initialize your project and install dependencies
|
|
1331
|
-
|
|
1332
|
-
Arguments:
|
|
1333
|
-
components name, url or local path to component
|
|
1334
|
-
|
|
1335
|
-
Options:
|
|
1336
|
-
-t, --template
|
|
1337
|
-
```
|
|
1338
|
-
|
|
1339
|
-
--------------------------------
|
|
1340
|
-
|
|
1341
|
-
### Install shadcn/ui Accordion Component
|
|
1342
|
-
|
|
1343
|
-
Source: https://ui.shadcn.com/docs/components/accordion
|
|
1344
|
-
|
|
1345
|
-
Provides commands for installing the Accordion component using different package managers (pnpm, yarn, bun). It also shows the command to add the component using the shadcn-ui CLI.
|
|
1346
|
-
|
|
1347
|
-
```bash
|
|
1348
|
-
pnpm dlx shadcn@latest add accordion
|
|
1349
|
-
```
|
|
1350
|
-
|
|
1351
|
-
--------------------------------
|
|
1352
|
-
|
|
1353
|
-
### SidebarMenuAction - DropdownMenu Example
|
|
1354
|
-
|
|
1355
|
-
Source: https://ui.shadcn.com/docs/components/sidebar
|
|
1356
|
-
|
|
1357
|
-
An example of integrating a DropdownMenu with the SidebarMenuAction component. This allows for contextual actions or sub-options.
|
|
1358
|
-
|
|
1359
|
-
```javascript
|
|
1360
|
-
[Home](#)
|
|
1361
|
-
Edit Project
|
|
1362
|
-
Delete Project
|
|
1363
|
-
```
|
|
1364
|
-
|
|
1365
|
-
--------------------------------
|
|
1366
|
-
|
|
1367
|
-
### shadcn/ui Checkbox Installation
|
|
1368
|
-
|
|
1369
|
-
Source: https://ui.shadcn.com/docs/components/checkbox
|
|
1370
|
-
|
|
1371
|
-
Provides instructions for installing the Checkbox component using different package managers (pnpm, npm, yarn, bun). It also includes the command to add the component using the shadcn-ui CLI.
|
|
1372
|
-
|
|
1373
|
-
```bash
|
|
1374
|
-
pnpm dlx shadcn@latest add checkbox
|
|
1375
|
-
```
|
|
1376
|
-
|
|
1377
|
-
--------------------------------
|
|
1378
|
-
|
|
1379
|
-
### Install Hover Card Component using pnpm
|
|
1380
|
-
|
|
1381
|
-
Source: https://ui.shadcn.com/docs/components/hover-card
|
|
1382
|
-
|
|
1383
|
-
Command to install the Hover Card component and its dependencies into your project using pnpm and the shadcn-ui CLI.
|
|
1384
|
-
|
|
1385
|
-
```bash
|
|
1386
|
-
pnpm dlx shadcn@latest add hover-card
|
|
1387
|
-
```
|
|
1388
|
-
|
|
1389
|
-
--------------------------------
|
|
1390
|
-
|
|
1391
|
-
### Create React Router Project
|
|
1392
|
-
|
|
1393
|
-
Source: https://ui.shadcn.com/docs/installation/react-router
|
|
1394
|
-
|
|
1395
|
-
This command initializes a new React Router project using pnpm. It's the first step in setting up your application before integrating shadcn/ui.
|
|
1396
|
-
|
|
1397
|
-
```bash
|
|
1398
|
-
pnpm dlx create-react-router@latest my-app
|
|
1399
|
-
```
|
|
1400
|
-
|
|
1401
|
-
--------------------------------
|
|
1402
|
-
|
|
1403
|
-
### Create Astro Project with Tailwind CSS
|
|
1404
|
-
|
|
1405
|
-
Source: https://ui.shadcn.com/docs/installation/astro
|
|
1406
|
-
|
|
1407
|
-
Command to create a new Astro project with Tailwind CSS, React integration, package installation, and Git initialization.
|
|
1408
|
-
|
|
1409
|
-
```bash
|
|
1410
|
-
pnpm dlx create-astro@latest astro-app --template with-tailwindcss --install --add react --git
|
|
1411
|
-
```
|
|
1412
|
-
|
|
1413
|
-
--------------------------------
|
|
1414
|
-
|
|
1415
|
-
### Express.js Example for Registry Authentication
|
|
1416
|
-
|
|
1417
|
-
Source: https://ui.shadcn.com/docs/registry/authentication
|
|
1418
|
-
|
|
1419
|
-
Example of an Express.js route handler for registry authentication, checking the Authorization header for a Bearer token.
|
|
1420
|
-
|
|
1421
|
-
```APIDOC
|
|
1422
|
-
## Express.js Example
|
|
1423
|
-
|
|
1424
|
-
### Description
|
|
1425
|
-
This Express.js example demonstrates a basic route handler for authenticating requests to your component registry. It checks the `Authorization` header for a Bearer token.
|
|
1426
|
-
|
|
1427
|
-
### Method
|
|
1428
|
-
GET
|
|
1429
|
-
|
|
1430
|
-
### Endpoint
|
|
1431
|
-
`/registry/:name.json`
|
|
1432
|
-
|
|
1433
|
-
### Parameters
|
|
1434
|
-
#### Path Parameters
|
|
1435
|
-
- **name** (string) - Required - The name of the component to retrieve.
|
|
1436
|
-
|
|
1437
|
-
#### Query Parameters
|
|
1438
|
-
N/A
|
|
1439
|
-
|
|
1440
|
-
#### Request Body
|
|
1441
|
-
N/A
|
|
1442
|
-
|
|
1443
|
-
### Request Example
|
|
1444
|
-
N/A (GET request)
|
|
1445
|
-
|
|
1446
|
-
### Response
|
|
1447
|
-
#### Success Response (200)
|
|
1448
|
-
- **component** (object) - The requested component data.
|
|
1449
|
-
|
|
1450
|
-
#### Error Responses
|
|
1451
|
-
- **401 Unauthorized**: If the provided token is invalid.
|
|
1452
|
-
- **404 Not Found**: If the component is not found.
|
|
1453
|
-
|
|
1454
|
-
### Code Example
|
|
1455
|
-
```javascript
|
|
1456
|
-
app.get("/registry/:name.json", (req, res) => {
|
|
1457
|
-
const token = req.headers.authorization?.replace("Bearer ", "")
|
|
1458
|
-
|
|
1459
|
-
if (!isValidToken(token)) {
|
|
1460
|
-
return res.status(401).json({ error: "Unauthorized" })
|
|
1461
|
-
}
|
|
1462
|
-
|
|
1463
|
-
const component = getComponent(req.params.name)
|
|
1464
|
-
if (!component) {
|
|
1465
|
-
return res.status(404).json({ error: "Component not found" })
|
|
1466
|
-
}
|
|
1467
|
-
|
|
1468
|
-
res.json(component)
|
|
1469
|
-
})
|
|
1470
|
-
|
|
1471
|
-
function isValidToken(token) {
|
|
1472
|
-
// Add your token validation logic here.
|
|
1473
|
-
// Example: return token === process.env.VALID_TOKEN;
|
|
1474
|
-
return true; // Placeholder
|
|
1475
|
-
}
|
|
1476
|
-
|
|
1477
|
-
function getComponent(componentName) {
|
|
1478
|
-
// Replace with your actual logic to fetch the component.
|
|
1479
|
-
// Example: return { name: componentName, data: "component data" };
|
|
1480
|
-
return null; // Placeholder
|
|
1481
|
-
}
|
|
1482
|
-
```
|
|
1483
|
-
```
|
|
1484
|
-
|
|
1485
|
-
--------------------------------
|
|
1486
|
-
|
|
1487
|
-
### shadcn/ui Context Menu Installation (CLI)
|
|
1488
|
-
|
|
1489
|
-
Source: https://ui.shadcn.com/docs/components/context-menu
|
|
1490
|
-
|
|
1491
|
-
Instructions for adding the shadcn/ui Context Menu component to your project using the command-line interface. This command will automatically download and update the necessary dependencies for the component.
|
|
1492
|
-
|
|
1493
|
-
```bash
|
|
1494
|
-
pnpm dlx shadcn@latest add context-menu
|
|
1495
|
-
```
|
|
1496
|
-
|
|
1497
|
-
--------------------------------
|
|
1498
|
-
|
|
1499
|
-
### Add Complex CSS Utility
|
|
1500
|
-
|
|
1501
|
-
Source: https://ui.shadcn.com/docs/registry/examples
|
|
1502
|
-
|
|
1503
|
-
This example defines a more complex CSS utility called 'scrollbar-hidden'. It targets the scrollbar pseudo-elements to hide them.
|
|
1504
|
-
|
|
1505
|
-
```json
|
|
1506
|
-
{
|
|
1507
|
-
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
|
|
1508
|
-
"name": "custom-component",
|
|
1509
|
-
"type": "registry:component",
|
|
1510
|
-
"css": {
|
|
1511
|
-
"@utility scrollbar-hidden": {
|
|
1512
|
-
"scrollbar-hidden": {
|
|
1513
|
-
"&::-webkit-scrollbar": {
|
|
1514
|
-
"display": "none"
|
|
1515
|
-
}
|
|
1516
|
-
}
|
|
1517
|
-
}
|
|
1518
|
-
}
|
|
1519
|
-
}
|
|
1520
|
-
```
|
|
1521
|
-
|
|
1522
|
-
--------------------------------
|
|
1523
|
-
|
|
1524
|
-
### shadcn/ui Label Component Installation
|
|
1525
|
-
|
|
1526
|
-
Source: https://ui.shadcn.com/docs/components/label
|
|
1527
|
-
|
|
1528
|
-
Provides instructions for installing the Label component into a shadcn/ui project using different package managers like pnpm, npm, yarn, and bun. It also shows the command to add the component using the shadcn CLI.
|
|
1529
|
-
|
|
1530
|
-
```bash
|
|
1531
|
-
pnpm dlx shadcn@latest add label
|
|
1532
|
-
```
|
|
1533
|
-
|
|
1534
|
-
--------------------------------
|
|
1535
|
-
|
|
1536
|
-
### Install Aspect Ratio Component using pnpm
|
|
1537
|
-
|
|
1538
|
-
Source: https://ui.shadcn.com/docs/components/aspect-ratio
|
|
1539
|
-
|
|
1540
|
-
Command to install the Aspect Ratio component using the pnpm package manager. This command adds the component to your project, making it available for use.
|
|
1541
|
-
|
|
1542
|
-
```bash
|
|
1543
|
-
pnpm dlx shadcn@latest add aspect-ratio
|
|
1544
|
-
```
|
|
1545
|
-
|
|
1546
|
-
--------------------------------
|
|
1547
|
-
|
|
1548
|
-
### React ButtonGroup Installation using pnpm
|
|
1549
|
-
|
|
1550
|
-
Source: https://ui.shadcn.com/docs/components/button-group
|
|
1551
|
-
|
|
1552
|
-
Provides the command to install the 'button-group' component from shadcn/ui using the pnpm package manager. This command downloads and integrates the necessary files into your project.
|
|
1553
|
-
|
|
1554
|
-
```bash
|
|
1555
|
-
pnpm dlx shadcn@latest add button-group
|
|
1556
|
-
```
|
|
1557
|
-
|
|
1558
|
-
--------------------------------
|
|
1559
|
-
|
|
1560
|
-
### Switch Component Usage Example (React)
|
|
1561
|
-
|
|
1562
|
-
Source: https://ui.shadcn.com/docs/components/switch
|
|
1563
|
-
|
|
1564
|
-
This code snippet demonstrates how to use the Switch component in a React application. It requires the Label and Switch components from '@/components/ui/label' and '@/components/ui/switch' respectively. The example shows a basic implementation with a label and the switch itself.
|
|
1565
|
-
|
|
1566
|
-
```jsx
|
|
1567
|
-
import { Label } from "@/components/ui/label"
|
|
1568
|
-
import { Switch } from "@/components/ui/switch"
|
|
1569
|
-
|
|
1570
|
-
export function SwitchDemo() {
|
|
1571
|
-
return (
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
Airplane Mode
|
|
1575
|
-
|
|
1576
|
-
)
|
|
1577
|
-
}
|
|
1578
|
-
```
|