create-domis 1.0.54 → 1.0.56

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/README.md CHANGED
@@ -44,7 +44,7 @@ npm create domis@latest
44
44
 
45
45
  <h2 id="uso-rapido">3. 🚀 Uso Rápido:</h2>
46
46
 
47
- Todo mundo roda o mesmo comando. O que muda é o seu Pack:
47
+ > Todo mundo roda o mesmo comando. O que muda é o seu Pack:
48
48
 
49
49
  ```bash
50
50
  npm create domis@latest
@@ -53,9 +53,8 @@ npm create domis@latest
53
53
  O CLI vai abrir:
54
54
 
55
55
  ```
56
- 🔥 DomisPacks Technical v1.0.52
57
-
58
- ? Qual pack você quer acelerar hoje?
56
+ 🔥 DomisPacks Technical v1.0.55
57
+ ? Qual pack você quer acelerar hoje ❓
59
58
 
60
59
  > 🔥 DomisDocs Free — Firebase
61
60
  🔥 DomisDocs Lite — Next.Js 15 + SaaS
@@ -109,8 +108,8 @@ npm create domis@latest
109
108
  <h3>CLI faz :</h3>
110
109
 
111
110
  ```
112
- ✔ DomisPacks Technical v1.0.52
113
- ✔ Qual pack você quer acelerar hoje?
111
+ ✔ DomisPacks Technical v1.0.55
112
+ ? Qual pack você quer acelerar hoje ❓
114
113
  ```
115
114
 
116
115
  <h4>Você pode escolher o Pack Free:</h4>
@@ -232,7 +231,7 @@ meu-app/
232
231
 
233
232
  <h2 id="como-funciona-a-venda">10. 💳 Como Funciona a Venda</h2>
234
233
 
235
- 1. Cliente compra na Kiwify (Lite R$49 ou Pro R$197)
234
+ 1. Cliente compra na Kiwify (Lite R$49 ou Pro R$197 - EM BREVE)
236
235
  2. Kiwify envia PRO_KEY automaticamente por e-mail
237
236
  3. Cliente roda `npm create domis@latest` e cola a key
238
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-rk2ogbbeja-uc.a.run.app";
12
- console.log(chalk.green.bold("\n\u{1F525} DomisPacks Technical v1.0.54\n"));
12
+ console.log(chalk.green.bold("\n\u{1F525} DomisPacks Technical v1.0.56\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, "");
@@ -37,7 +37,9 @@ async function getDownloadUrl(pack, proKey) {
37
37
  body: JSON.stringify(body)
38
38
  });
39
39
  const data = await res.json();
40
- if (!res.ok || !data.valid) throw new Error(data.detail || data.reason || data.error || `HTTP ${res.status}`);
40
+ if (!res.ok || !data.valid) throw new Error(
41
+ data.detail || data.reason || data.error || `HTTP ${res.status}`
42
+ );
41
43
  if (!data.downloadUrl) throw new Error("API n\xE3o retornou downloadUrl");
42
44
  return data.downloadUrl;
43
45
  }
@@ -46,11 +48,11 @@ async function main() {
46
48
  {
47
49
  type: "list",
48
50
  name: "pack",
49
- message: "Qual pack voc\xEA quer acelerar hoje?",
51
+ message: "Qual pack voc\xEA quer acelerar hoje \u2753",
50
52
  choices: [
51
- { name: "\u{1F525} DomisDocs Free - Firebase", value: "free" },
52
- { name: "\u{1F525} DomisDocs Lite \u2014 Next.Js 15 + SaaS", value: "lite" },
53
- { name: "\u{1F525} DomisDocs PRO \u2014 Stripe + Rules - R$197 EM BREVE", value: "pro" }
53
+ { name: "\u{1F525} DomisPacks Free - Firebase", value: "free" },
54
+ { name: "\u{1F525} DomisPacks Lite \u2014 Next.js 15 + SaaS", value: "lite" },
55
+ { name: "\u{1F525} DomisPacks PRO \u2014 Stripe + Rules", value: "pro" }
54
56
  ]
55
57
  },
56
58
  {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "create-domis",
3
- "version": "1.0.54",
4
- "description": "CLI Oficial DomisPacks - Acelerador Next.Js 15 + SaaS Boilerplate",
3
+ "version": "1.0.56",
4
+ "description": "CLI Oficial DomisPacks - Acelerador Next.js 15 + SaaS Boilerplate",
5
5
  "type": "module",
6
6
  "files": [ "dist" ],
7
7
  "bin": { "create-domis": "dist/index.js" },