create-domis 1.0.58 → 1.0.59

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.
Files changed (3) hide show
  1. package/README.md +16 -16
  2. package/dist/index.js +7 -4
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -1,10 +1,10 @@
1
1
  ![NPM Version](https://img.shields.io/npm/v/create-domis?style=for-the-badge&logo=npm&color=CB3837)
2
2
  ![NPM Downloads](https://img.shields.io/npm/dm/create-domis?style=for-the-badge)
3
- ![Next.Js](https://img.shields.io/badge/Next.Js-15-black?style=for-the-badge&logo=next.js&logoColor=white)
3
+ ![Next.js](https://img.shields.io/badge/Next.js-15-black?style=for-the-badge&logo=next.js&logoColor=white)
4
4
  ![Tailwind](https://img.shields.io/badge/Tailwind-v4-38BDF8?style=for-the-badge&logo=tailwindcss&logoColor=white)
5
5
  ![Status](https://img.shields.io/badge/Status-Validado-brightgreen?style=for-the-badge)
6
6
 
7
- <h2 id="sobre-o-cli">1. 🚀 Create Domis - O Acelerador Next.Js 15 + Firebase Killer 🚀</h2>
7
+ <h2 id="sobre-o-cli">1. 🚀 Create Domis - O Acelerador Next.js 15 + Customer Portal 🚀</h2>
8
8
 
9
9
  ![Status](https://img.shields.io/badge/Status-Online-brightgreen?style=flat-square)
10
10
  ![CLI](https://img.shields.io/badge/CLI-Oficial-26FF00?style=flat-square)
@@ -12,14 +12,14 @@
12
12
  [![License](https://img.shields.io/badge/License-Private_Commercial_V1.3-red?style=flat-square)](https://github.com/Domisnnet/DomisDocs-Legacy-Technical/blob/main/LICENSE)
13
13
  ![Imagem DomisPacks](/src/assets/domispacks-lite.png)
14
14
 
15
- Bem-vindo ao **CLI Oficial Domis**. O `npm create domis@latest` é um acelerador de projetos que elimina 3 horas de configuração de `firebase.json`, `firestore.rules` e `GitHub Actions` . Em 1 comando você elimina a configuração manual de firebase.json, rewrites SPA e headers de cache que quebram a maioria dos deploys Next.Js 15 no Firebase Hosting.
15
+ Bem-vindo ao `CLI Oficial Domis`. O `npm create domis@latest` é um acelerador de projetos que elimina 3 horas de configuração de `firebase.json`, `firestore.rules` e `GitHub Actions` . Em 1 comando você elimina a configuração manual de firebase.json, rewrites SPA e headers de cache que quebram a maioria dos deploys Next.js 15 no Firebase Hosting.
16
16
 
17
17
  ---
18
18
 
19
19
  <h2>📚 Tabela de Conteúdo</h2>
20
20
 
21
21
  | 💻 O CLI | 🛠 Técnico | 🤝 Comercial |
22
- | :------: | :--------: | :----------: |
22
+ | :-------: | :--------: | :----------: |
23
23
  | [![1. Sobre](https://img.shields.io/badge/1%20-%20Sobre-4CAF50)](#sobre-o-cli) | [![5. Techs](https://img.shields.io/badge/5%20-%20Techs-607D8B)](#tecnologias) | [![9. Estrutura](https://img.shields.io/badge/9%20-%20Estrutura-795548)](#estrutura) |
24
24
  | [![2. Instalação](https://img.shields.io/badge/2%20-%20Instalação-2196F3)](#instalacao) | [![6. Packs](https://img.shields.io/badge/6%20-%20Packs-009688)](#templates-inclusos) | [![10. Venda](https://img.shields.io/badge/10%20-%20Venda-FF9800)](#como-funciona-a-venda) |
25
25
  | [![3. Uso Rápido](https://img.shields.io/badge/3%20-%20Uso-FF9800)](#uso-rapido) | [![7. Fluxo](https://img.shields.io/badge/7%20-%20Fluxo-3F51B5)](#fluxo-de-uso) | [![11. Licença](https://img.shields.io/badge/11%20-%20Licença-E91E63)](#licenca) |
@@ -37,7 +37,7 @@ npm create domis@latest
37
37
 
38
38
  <h3><strong>Requisitos:</strong></h3>
39
39
 
40
- - `Node.Js 18+`
40
+ - `Node.js 22+`
41
41
  - Conta Firebase - para o deploy
42
42
 
43
43
  ---
@@ -53,7 +53,7 @@ npm create domis@latest
53
53
  O CLI vai abrir:
54
54
 
55
55
  ```
56
- 🔥 DomisPacks Technical v1.0.58
56
+ 🔥 DomisPacks Technical v1.0.59
57
57
  Qual pack você quer acelerar hoje ❓
58
58
 
59
59
  > 🔥 DomisDocs Free — Firebase
@@ -61,7 +61,7 @@ O CLI vai abrir:
61
61
  🔥 DomisDocs PRO — Stripe + Rules
62
62
  ```
63
63
 
64
- | Você comprou | O que acontece |
64
+ | Você comprou: | O que acontece: |
65
65
  | :------------ | :-------------------------------------------------------------------------------- |
66
66
  | **Lite R$49** | Escolhe `Lite`, cola a `PRO_KEY`, o template é baixado |
67
67
  | **Pro R$197** | Escolhe `Pro`(quando estiver disponível) , cola a `PRO_KEY`, o template é baixado |
@@ -84,16 +84,16 @@ O CLI vai abrir:
84
84
  | **CLI Engine** | `inquirer` + `ora` + `chalk` + `extract-zip` |
85
85
  | **Entrega** | Cloud Function: `verifyProKey` + `Firebase Storage - ZIP` |
86
86
  | **Auth** | `PRO_KEY` gerada via webhook Kiwify |
87
- | **Template** | `Next.Js 15` + `Tailwind v4` + `Firebase Hosting - estático` |
87
+ | **Template** | `Next.js 15` + `Tailwind v4` + `Firebase Hosting - estático` |
88
88
 
89
89
  ---
90
90
 
91
91
  <h2 id="templates-inclusos">6. 📦 Packs</h2>
92
92
 
93
- | Pack | Preço | O que entrega |
94
- | :--------------- | :-------- | :-------------------------------------------------------------------------------------------------- |
95
- | `DomisDocs Lite` | **R$49** | `Next.Js 15` + `Tailwind v4` + `firebase.json otimizado:` rewrites + cache + headers + starter SaaS |
96
- | `DomisDocs Pro` | **R$197** | Tudo do Lite + `rules avançadas` + `CI/CD` + `Functions` + `Stripe` + `Dashboard` - em breve |
93
+ | Pack | Preço | O que entrega |
94
+ | :--------------- | :-------- | :------------ |
95
+ | `DomisDocs Lite` | **R$49** | `Next.js 15` + `Tailwind v4` + `firebase.json otimizado:` rewrites + cache + headers + starter SaaS |
96
+ | `DomisDocs Pro` | **R$197** | Tudo do Lite + `rules avançadas` + `CI/CD` + `Functions` + `Stripe` + `Dashboard` - em breve |
97
97
 
98
98
  ---
99
99
 
@@ -108,8 +108,8 @@ npm create domis@latest
108
108
  <h3>CLI faz :</h3>
109
109
 
110
110
  ```
111
- ✔ DomisPacks Technical v1.0.58
112
- Qual pack você quer acelerar hoje ❓
111
+ ✔ DomisPacks Technical v1.0.59
112
+ Qual pack você quer acelerar hoje ❓
113
113
  ```
114
114
 
115
115
  <h4>Você pode escolher o Pack Free:</h4>
@@ -121,7 +121,7 @@ npm create domis@latest
121
121
  <h4>Ou os Packs Pagos:</h4>
122
122
 
123
123
  ```
124
- ✔ 🔥 DomisDocs Lite — Next.Js 15 + SaaS
124
+ ✔ 🔥 DomisDocs Lite — Next.js 15 + SaaS
125
125
  ```
126
126
 
127
127
  <h4>O CLI valida a key, baixa o ZIP e monta a pasta:</h4>
@@ -231,7 +231,7 @@ meu-app/
231
231
 
232
232
  <h2 id="como-funciona-a-venda">10. 💳 Como Funciona a Venda</h2>
233
233
 
234
- 1. Cliente compra na Kiwify (Lite R$49 ou Pro R$197 - EM BREVE)
234
+ 1. Cliente compra na Kiwify: Lite R$49 ou Pro R$197 - `EM BREVE`
235
235
  2. Kiwify envia PRO_KEY automaticamente por e-mail
236
236
  3. Cliente roda `npm create domis@latest` e cola a key
237
237
  4. Template é baixado e o projeto fica pronto
package/dist/index.js CHANGED
@@ -9,7 +9,7 @@ import path from "path";
9
9
  import os from "os";
10
10
  import extract from "extract-zip";
11
11
  var API_VERIFY = "https://verifyprokey-i23pnpsj6q-uc.a.run.app";
12
- console.log(chalk.green.bold("\n\u{1F525} DomisPacks Technical v1.0.58\n"));
12
+ console.log(chalk.green.bold("\n\u{1F525} DomisPacks Technical v1.0.59\n"));
13
13
  function sanitizeProjectName(name) {
14
14
  const base = path.basename(name.trim());
15
15
  const sanitized = base.replace(/[^a-zA-Z0-9-_]/g, "-").replace(/^-+|-+$/g, "");
@@ -48,7 +48,8 @@ async function main() {
48
48
  {
49
49
  type: "list",
50
50
  name: "pack",
51
- message: "Qual pack voc\xEA quer acelerar hoje \u2753",
51
+ message: "Qual pack voc\xEA quer acelerar hoje",
52
+ prefix: "",
52
53
  choices: [
53
54
  { name: "\u{1F525} DomisPacks Free - Firebase", value: "free" },
54
55
  { name: "\u{1F525} DomisPacks Lite \u2014 Next.js 15 + SaaS", value: "lite" },
@@ -58,7 +59,8 @@ async function main() {
58
59
  {
59
60
  type: "password",
60
61
  name: "proKey",
61
- message: "Digite sua PRO_KEY:",
62
+ message: "Digite sua PRO_KEY",
63
+ prefix: "",
62
64
  mask: "*",
63
65
  when: (a) => a.pack !== "free",
64
66
  validate: (v) => v.trim().toUpperCase().startsWith("DOMIS-") ? true : "Formato: DOMIS-XXXX-XXXX-XXXX"
@@ -66,7 +68,8 @@ async function main() {
66
68
  {
67
69
  type: "input",
68
70
  name: "projectName",
69
- message: "Nome do projeto:",
71
+ message: "Nome do projeto",
72
+ prefix: "",
70
73
  default: "meu-app",
71
74
  validate: (v) => {
72
75
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-domis",
3
- "version": "1.0.58",
3
+ "version": "1.0.59",
4
4
  "description": "CLI Oficial DomisPacks - Acelerador Next.js 15 + SaaS",
5
5
  "type": "module",
6
6
  "files": [