create-domis 1.0.2 β 1.0.3
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 +20 -31
- package/package.json +13 -5
package/bin.js
CHANGED
|
@@ -1,44 +1,33 @@
|
|
|
1
1
|
import prompts from 'prompts';
|
|
2
2
|
import pc from 'picocolors';
|
|
3
|
-
import degit from 'degit';
|
|
4
3
|
|
|
5
|
-
console.log(
|
|
6
|
-
console.log(pc.
|
|
7
|
-
console.log(pc.cyan(
|
|
4
|
+
console.log('');
|
|
5
|
+
console.log(pc.bgYellow(pc.black(' π₯ DOMISPACKS TECHNICAL v1.0.3 π₯ ')));
|
|
6
|
+
console.log(pc.cyan('Sales: https://kiwify.app/L2NNYK8'));
|
|
7
|
+
console.log(pc.cyan('Checkout: https://pay.kiwify.com.br/heAmetM'));
|
|
8
|
+
console.log('');
|
|
8
9
|
|
|
9
10
|
const r1 = await prompts({
|
|
10
11
|
type: 'text',
|
|
11
12
|
name: 'proKey',
|
|
12
|
-
message: 'Digite sua PRO_KEY (ou
|
|
13
|
+
message: 'Digite sua PRO_KEY (ou TESTE para ver oferta)',
|
|
13
14
|
});
|
|
14
|
-
const proKey = r1.proKey || '';
|
|
15
|
+
const proKey = (r1.proKey || '').trim();
|
|
15
16
|
|
|
16
17
|
if(!proKey || proKey.toUpperCase() === 'TESTE' || proKey.length < 4){
|
|
17
|
-
console.log(pc.green(
|
|
18
|
-
console.log(
|
|
19
|
-
console.log(pc.
|
|
20
|
-
console.log(pc.
|
|
21
|
-
console.log(
|
|
18
|
+
console.log(pc.green(' π ENTRADA EPICA - OFERTA ATIVA:'));
|
|
19
|
+
console.log('');
|
|
20
|
+
console.log(pc.white(' π Checkout OFICIAL R$49/R$199: https://pay.kiwify.com.br/heAmetM'));
|
|
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'));
|
|
27
|
+
console.log('');
|
|
22
28
|
process.exit(0);
|
|
23
29
|
}
|
|
24
30
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
message: 'Qual pack deseja baixar?',
|
|
29
|
-
choices: [
|
|
30
|
-
{ title: 'domisdocs-firebase-lite (R$49) - Fix 5min', value: 'domisdocs-firebase-lite' },
|
|
31
|
-
{ title: 'domisdocs-firebase-pro (R$199) - Completo', value: 'domisdocs-firebase-pro' },
|
|
32
|
-
]
|
|
33
|
-
});
|
|
34
|
-
|
|
35
|
-
const pack = r2.pack;
|
|
36
|
-
console.log(pc.cyan(`π¦ Baixando ${pack} com PRO_KEY ${proKey.slice(0,4)}****...`));
|
|
37
|
-
try{
|
|
38
|
-
const emitter = degit(`Domisnnet/DomisPacks-Technical/packs/${pack}#main`, { cache:false, force:true, verbose:false });
|
|
39
|
-
await emitter.clone('.');
|
|
40
|
-
console.log(pc.green(`β
${pack} baixado! npm install e bora!`));
|
|
41
|
-
}catch(e){
|
|
42
|
-
console.log(pc.red(`β Erro: ${e.message}`));
|
|
43
|
-
console.log(pc.white(`Verifique convite GitHub + PRO_KEY. Suporte: github.com/Domisnnet/DomisDocs-Technical/discussions`));
|
|
44
|
-
}
|
|
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`));
|
package/package.json
CHANGED
|
@@ -1,13 +1,21 @@
|
|
|
1
1
|
ο»Ώ{
|
|
2
2
|
"name": "create-domis",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "CLI
|
|
3
|
+
"version": "1.0.3",
|
|
4
|
+
"description": "CLI DomisPacks Technical - Fix Angular 17-20 + Firebase 5min - Kiwify https://pay.kiwify.com.br/heAmetM",
|
|
5
5
|
"type": "module",
|
|
6
|
-
"bin":
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
"bin": "./bin.js",
|
|
7
|
+
"files": [
|
|
8
|
+
"bin.js"
|
|
9
|
+
],
|
|
9
10
|
"author": "Domisnnet",
|
|
10
11
|
"license": "MIT",
|
|
12
|
+
"keywords": [
|
|
13
|
+
"angular",
|
|
14
|
+
"firebase",
|
|
15
|
+
"cli",
|
|
16
|
+
"domis",
|
|
17
|
+
"kiwify"
|
|
18
|
+
],
|
|
11
19
|
"dependencies": {
|
|
12
20
|
"degit": "^3.0.4",
|
|
13
21
|
"picocolors": "^1.0.1",
|