create-domis 1.0.3 → 1.0.4
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/bin.js +11 -19
- package/package.json +5 -10
package/bin.js
CHANGED
|
@@ -1,33 +1,25 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
1
2
|
import prompts from 'prompts';
|
|
2
3
|
import pc from 'picocolors';
|
|
3
4
|
|
|
4
5
|
console.log('');
|
|
5
|
-
console.log(pc.bgYellow(pc.black(' 🔥 DOMISPACKS TECHNICAL v1.0.
|
|
6
|
-
console.log(pc.cyan('Sales: https://kiwify.app/L2NNYK8'));
|
|
7
|
-
console.log(pc.cyan('Checkout: https://pay.kiwify.com.br/heAmetM'));
|
|
6
|
+
console.log(pc.bgYellow(pc.black(' 🔥 DOMISPACKS TECHNICAL v1.0.4 🔥 ')));
|
|
7
|
+
console.log(pc.cyan(' Sales: https://kiwify.app/L2NNYK8'));
|
|
8
|
+
console.log(pc.cyan(' Checkout: https://pay.kiwify.com.br/heAmetM'));
|
|
8
9
|
console.log('');
|
|
9
10
|
|
|
10
|
-
const
|
|
11
|
+
const { proKey: raw } = await prompts({
|
|
11
12
|
type: 'text',
|
|
12
13
|
name: 'proKey',
|
|
13
|
-
message: 'Digite sua PRO_KEY (ou TESTE
|
|
14
|
+
message: 'Digite sua PRO_KEY (ou TESTE)',
|
|
14
15
|
});
|
|
15
|
-
const proKey = (
|
|
16
|
+
const proKey = (raw || '').trim();
|
|
16
17
|
|
|
17
18
|
if(!proKey || proKey.toUpperCase() === 'TESTE' || proKey.length < 4){
|
|
18
|
-
console.log(pc.green('
|
|
19
|
-
console.log('');
|
|
20
|
-
console.log(pc.white('
|
|
21
|
-
console.log(pc.cyan(' 👉 Sales Page: https://kiwify.app/L2NNYK8'));
|
|
22
|
-
console.log('');
|
|
23
|
-
console.log(pc.yellow(' LITE R$49 -> Fix Angular 17-20 + Firebase em 5min'));
|
|
24
|
-
console.log(pc.yellow(' PRO R$199 -> Rules + Hosting + CI/CD + SSR Completo'));
|
|
25
|
-
console.log('');
|
|
26
|
-
console.log(pc.dim(' Apos pagar voce recebe PRO_KEY por e-mail e roda: npx create-domis@latest'));
|
|
19
|
+
console.log(pc.green(' OFERTA ATIVA:'));
|
|
20
|
+
console.log(pc.white(' Checkout: https://pay.kiwify.com.br/heAmetM'));
|
|
21
|
+
console.log(pc.white(' Sales: https://kiwify.app/L2NNYK8'));
|
|
27
22
|
console.log('');
|
|
28
23
|
process.exit(0);
|
|
29
24
|
}
|
|
30
|
-
|
|
31
|
-
console.log(pc.green(`✅ PRO_KEY recebida: ${proKey.slice(0,4)}****`));
|
|
32
|
-
console.log(pc.yellow('Integracao com repo privado em desenvolvimento - use TESTE para ver oferta'));
|
|
33
|
-
console.log(pc.cyan(`Checkout: https://pay.kiwify.com.br/heAmetM`));
|
|
25
|
+
console.log(' PRO_KEY: ' + proKey.slice(0,4) + '****');
|
package/package.json
CHANGED
|
@@ -1,21 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-domis",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "CLI DomisPacks Technical -
|
|
3
|
+
"version": "1.0.4",
|
|
4
|
+
"description": "CLI DomisPacks Technical - https://pay.kiwify.com.br/heAmetM",
|
|
5
5
|
"type": "module",
|
|
6
|
-
"bin":
|
|
6
|
+
"bin": {
|
|
7
|
+
"create-domis": "bin.js"
|
|
8
|
+
},
|
|
7
9
|
"files": [
|
|
8
10
|
"bin.js"
|
|
9
11
|
],
|
|
10
12
|
"author": "Domisnnet",
|
|
11
13
|
"license": "MIT",
|
|
12
|
-
"keywords": [
|
|
13
|
-
"angular",
|
|
14
|
-
"firebase",
|
|
15
|
-
"cli",
|
|
16
|
-
"domis",
|
|
17
|
-
"kiwify"
|
|
18
|
-
],
|
|
19
14
|
"dependencies": {
|
|
20
15
|
"degit": "^3.0.4",
|
|
21
16
|
"picocolors": "^1.0.1",
|