@dcupl/cli 0.0.18 → 0.0.19

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 (2) hide show
  1. package/package.json +3 -2
  2. package/postinstall.js +36 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dcupl/cli",
3
- "version": "0.0.18",
3
+ "version": "0.0.19",
4
4
  "description": "A CLI for dcupl",
5
5
  "main": "dist/index.js",
6
6
  "bin": {
@@ -17,7 +17,8 @@
17
17
  "files": [
18
18
  "bin/",
19
19
  "dist/",
20
- "files/"
20
+ "files/",
21
+ "postinstall.js"
21
22
  ],
22
23
  "author": "",
23
24
  "license": "ISC",
package/postinstall.js ADDED
@@ -0,0 +1,36 @@
1
+ const kleur = require('kleur');
2
+ const emoji = require('node-emoji');
3
+ console.log(`${kleur.blue('########################')}`);
4
+ console.log(`${kleur.blue('## ##')}`);
5
+ console.log(`${kleur.blue('## You are awesome! ##')}`);
6
+ console.log(`${kleur.blue('## ##')}`);
7
+ console.log(`${kleur.blue('########################')}`);
8
+ console.log();
9
+ console.log(`Thanks for using the dcupl cli. We are thrilled to welcome you! ${emoji.get('100')}`);
10
+ console.log('If you have any questions or need help you have a few options to choose from:');
11
+ console.log();
12
+ console.log(
13
+ `${emoji.get('question')} type ${kleur.bold(kleur.blue('dcupl help'))} in your terminal to get some info right away.`,
14
+ );
15
+ console.log();
16
+ console.log(
17
+ `${emoji.get('rocket')} Check out our documentation -> ${kleur.underline(kleur.bold(kleur.blue('docs.dcupl.com')))}`,
18
+ );
19
+ console.log();
20
+ console.log(
21
+ `${emoji.get('raised_hands')} Go to ${kleur.underline(
22
+ kleur.bold(kleur.blue('https://github.com/dcupl/dcupl-community')),
23
+ )} to get help from the community`,
24
+ );
25
+
26
+ console.log();
27
+ console.log();
28
+ console.log();
29
+
30
+ console.log(`Your next step might be to initialize a project:`);
31
+ console.log();
32
+ console.log(`run ${kleur.bold(kleur.blue('dcupl init'))} and select one of our starters`);
33
+
34
+ console.log();
35
+ console.log();
36
+ console.log();