npm package: @leonardofirme/deploy-nextjs16
Description: Estruturas profissionais de ERP e SaaS - Leonardo Firme
Latest version: 1.2.5

# Deploy NextJS 16+ | Leonardo Firme

Estrutura profissional (Scaffold) para desenvolvimento de SaaS e ERPs dinâmicos, utilizando NextJS 16+, React 19 e Tailwind CSS v4.

![Leonardo Firme](https://img.shields.io/badge/Leonardo_Firme-fff1f0?style=for-the-badge&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAtGVYSWZJSSoACAAAAAYAEgEDAAEAAAABAAAAGgEFAAEAAABWAAAAGwEFAAEAAABeAAAAKAEDAAEAAAACAAAAEwIDAAEAAAABAAAAaYcEAAEAAABmAAAAAAAAADAAAAABAAAAMAAAAAEAAAAGAACQBwAEAAAAMDIxMAGRBwAEAAAAAQIDAACgBwAEAAAAMDEwMAGgAwABAAAA//8AAAKgBAABAAAAFAAAAAOgBAABAAAAFAAAAAAAAABI3lMXAAAACXBIWXMAAAdiAAAHYgE4epnbAAAFTmlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSfvu78nIGlkPSdXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQnPz4KPHg6eG1wbWV0YSB4bWxuczp4PSdhZG9iZTpuczptZXRhLyc+CjxyZGY6UkRGIHhtbG5zOnJkZj0naHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyc+CgogPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9JycKICB4bWxuczpBdHRyaWI9J2h0dHA6Ly9ucy5hdHRyaWJ1dGlvbi5jb20vYWRzLzEuMC8nPgogIDxBdHRyaWI6QWRzPgogICA8cmRmOlNlcT4KICAgIDxyZGY6bGkgcmRmOnBhcnNlVHlwZT0nUmVzb3VyY2UnPgogICAgIDxBdHRyaWI6Q3JlYXRlZD4yMDI2LTAyLTI0PC9BdHRyaWI6Q3JlYXRlZD4KICAgICA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FUetfGYjsvipBE4Jrg/n7e9yWwWnbdFEBS+123i2LanNF1icvtxl6PDo4w7oTZfLbjvZqv1YI/hNR3TddMBfnlmaUzE+AvVDE4b7z1mcvnGtrBRn6UxTnrcP1n6EHUUp5/WZ9KEPyoZLnwpYrrcZV58V+C/xTF9GaHLZe7wKeP+9hDIwSk1S1pWvWnBq3Xu7zpuVJUSpoUsqBfj9d/MY2DXbiVwj4jhlVI5WMxmybHRyLZXV0nfarNJxfFPVk29Jziet0Uq5gxe+/vEkQfuqe52qDH3R3Uuf06SXVmMX5cQPm7C7qQMHP9PdduB0wifFiE8JwN80jxP35rHYlVgl45e/P+B1TOvETqsI/yJ6duXavPeC/YPs8xznmb7DmIAAAAASUVORK5CYII=&logoColor=white)
![Next.js](https://img.shields.io/badge/Next.js_16+-000000?style=for-the-badge&logo=next.js&logoColor=white)
![TypeScript](https://img.shields.io/badge/TypeScript-3178C6?style=for-the-badge&logo=typescript&logoColor=white)
![Tailwind CSS](https://img.shields.io/badge/Tailwind_CSS_v4-06B6D4?style=for-the-badge&logo=tailwindcss&logoColor=white)

---

## 🚀 Inicialização Instantânea (Zero Config)

Para criar um novo projeto com toda a arquitetura de pastas, componentes de UI e configurações de ambiente prontos para uso, execute:

```bash
npx @leonardofirme/deploy-nextjs16@latest meu-novo-projeto

```

> **O que este comando faz:** Clona o repositório oficial, remove arquivos de infraestrutura desnecessários, instala todas as dependências do ecossistema e entrega o projeto pronto para o `npm run dev`.

---

## 📂 Arquitetura do Ecossistema

### 📁 UI System (`src/components/ui`)

Biblioteca de componentes atômicos construída sob o padrão **Tailwind v4**, com suporte nativo a `dark:mode` e layouts responsivos para ERPs.

* **Core:** Button, Input, Select, Table, Modal e Form Elements (sem restrição de case).
* **Visuals:** Backgrounds animados (`Starfield`, `Fireworks`) e controle de tema dinâmico.

### 📁 Core & Security (`src/core` & `src/proxy.ts`)

* **Proxy.ts:** Camada de segurança e redirecionamento moderno (substituindo middlewares descontinuados).
* **Node-Resolver:** Gerenciamento de hidratação para estabilidade entre Client e Server side.
* **Centralização:** Tipagens globais e configurações de animação (Framer Motion) padronizadas.

---

## 🛠️ Comandos de Operação

Após a inicialização via `npx`, utilize os comandos padrão:

```bash
# Iniciar servidor de desenvolvimento (Turbo)
npm run dev

# Gerar build de produção otimizado
npm run build

# Iniciar projeto em produção
npm run start

```

---

## 👨‍💻 Autor e Mantenedor

Desenvolvido por **Leonardo Firme**. Focado em entregar estruturas escaláveis para o mercado de plataformas SaaS e sistemas de gestão.

* **GitHub Pessoal:** [LeonardoFirme](https://github.com/LeonardoFirme)
* **V0 Digital:** [v0digital](https://github.com/v0digital)
* **NPM Profile:** [@leonardofirme](https://www.npmjs.com/~leonardofirme)

---

## 📄 Licença

Uso disponível para a comunidade sob os termos de desenvolvimento de plataformas do ecossistema Leonardo Firme.

---