reverentgeek 2.1.3 → 2.2.1

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/card.js CHANGED
@@ -11,22 +11,23 @@ import avatar from "../art/avatar.js";
11
11
  import banner from "../art/banner.js";
12
12
 
13
13
  // define custom colors
14
- const pink = "#ff1675";
15
- const orange = "#ff7b01";
16
- const inkyBlue = "#130f25";
17
- const yellow = "#ffc942";
18
- const blue = "#00A3FF";
19
- const green = "#02e088";
20
- const lightBlue = "#99DAFF";
14
+ const colors = {
15
+ blue: "#00A3FF",
16
+ blueSky: "#51D2FB",
17
+ mintGreen: "#42F0CD",
18
+ inkyBlue: "#130f25",
19
+ lightBlue: "#99DAFF",
20
+ orange: "#ff7b01",
21
+ pink: "#ff1675",
22
+ yellow: "#ffc942"
23
+ };
21
24
 
22
25
  // set up chalk and gradients
23
- const yellowChalk = chalk.hex( yellow );
24
- const lbChalk = chalk.hex( lightBlue );
25
- const blueChalk = chalk.hex( blue );
26
- const greenChalk = chalk.hex( green );
27
- const orangeChalk = chalk.hex( orange );
28
- // const pinkChalk = chalk.hex( pink );
29
- const ps = gs( [ pink, orange ] );
26
+ const yellowChalk = chalk.hex( colors.yellow );
27
+ const lbChalk = chalk.hex( colors.lightBlue );
28
+ const blueChalk = chalk.hex( colors.blue );
29
+ const orangeChalk = chalk.hex( colors.orange );
30
+ const gradient = gs( [ colors.mintGreen, colors.blueSky ] );
30
31
 
31
32
  const newline = "\n";
32
33
 
@@ -35,16 +36,16 @@ const options = {
35
36
  padding: 1,
36
37
  margin: 1,
37
38
  borderStyle: "round",
38
- borderColor: pink,
39
- backgroundColor: inkyBlue
39
+ borderColor: colors.blueSky,
40
+ backgroundColor: colors.inkyBlue
40
41
  };
41
42
 
42
43
  // Text + chalk definitions
43
44
  const data = {
44
45
  name: yellowChalk.bold( " DAVID NEAL" ),
45
46
  handle: yellowChalk( "reverentgeek" ),
46
- // work: ps( "Principal Developer Advocate" ),
47
- // workUrl: ps( "https://pluralsight.com" ),
47
+ work: gradient( "Developer Relations Engineer" ),
48
+ workUrl: gradient( " https://plaid.com" ),
48
49
  twitter: yellowChalk( "https://x.com/reverentgeek" ),
49
50
  instagram: yellowChalk( "https://instagram.com/reverentgeek" ),
50
51
  mastodon: yellowChalk( "@reverentgeek@reverentgeek.com" ),
@@ -55,7 +56,7 @@ const data = {
55
56
  web: yellowChalk( "https://reverentgeek.com" ),
56
57
  email: yellowChalk( "david@reverentgeek.com" ),
57
58
  npx: orangeChalk( "npx reverentgeek" ),
58
- labelWork: blueChalk( " Work:" ),
59
+ labelWork: blueChalk( " Work:" ),
59
60
  labelWorkUrl: blueChalk( " " ),
60
61
  labelTwitter: blueChalk( " X:" ),
61
62
  labelInstagram: blueChalk( " Instagram:" ),
@@ -67,20 +68,20 @@ const data = {
67
68
  labelWeb: blueChalk( " Web:" ),
68
69
  labelCard: blueChalk( " Card:" ),
69
70
  labelEmail: blueChalk( " Email:" ),
70
- bio: lbChalk( `I am a family man, geek, musician, illustrator,
71
+ bio: lbChalk( `David is a family man, geek, musician, illustrator,
71
72
  speaker, software developer, and Microsoft MVP
72
- living in North GA. I run on a high-octane
73
+ living in North GA. He runs on a high-octane
73
74
  mixture of caffeine and JavaScript, and
74
- I'm entirely made of bacon.` ),
75
- msg: greenChalk( `If there's anything I can help you with,
76
- reach out anytime!` )
75
+ is entirely made of bacon.` )
76
+ // msg: greenChalk( `If there's anything I can help you with,
77
+ // reach out anytime!` )
77
78
  };
78
79
 
79
80
  // Actual strings we're going to output
80
- const hr = ps( "----------~~~~~~~~~==========~~~~~~~~~-----------" );
81
+ const hr = gradient( "----------~~~~~~~~~==========~~~~~~~~~-----------" );
81
82
  const heading = data.name;
82
- // const working = `\n${ data.labelWork } ${ data.work }`;
83
- // const workingUrl = `${ data.labelWorkUrl } ${ data.workUrl }`;
83
+ const working = `\n${ data.labelWork } ${ data.work }`;
84
+ const workingUrl = `${ data.labelWorkUrl } ${ data.workUrl }`;
84
85
  const twittering = `${ data.labelTwitter } ${ data.twitter }`;
85
86
  const instagramming = `${ data.labelInstagram } ${ data.instagram }`;
86
87
  const tooting = `${ data.labelMastodon } ${ data.mastodon }`;
@@ -92,18 +93,20 @@ const webing = `${ data.labelWeb } ${ data.web }`;
92
93
  const emailing = `${ data.labelEmail } ${ data.email }`;
93
94
  const carding = `\n${ data.labelCard } ${ data.npx }`;
94
95
  const bio = `\n${ data.bio }`;
95
- const msg = `\n${ data.msg }`;
96
+ // const msg = `\n${ data.msg }`;
96
97
 
97
98
  const card = [
98
- ps.multiline( avatar ), ps.multiline( banner ),
99
+ gradient.multiline( avatar ), gradient.multiline( banner ),
99
100
  hr, heading, hr,
101
+ working, workingUrl,
100
102
  webing, emailing,
101
103
  linkedining,
102
104
  githubing,
103
105
  instagramming,
104
106
  tooting, skeeting, threading,
105
107
  twittering,
106
- carding, bio, msg
108
+ carding, bio
109
+ // , msg
107
110
  ];
108
111
 
109
112
  // Put all our output together into a single variable so we can use boxen effectively
package/eslint.config.js CHANGED
@@ -1,6 +1,8 @@
1
- /* eslint-disable-next-line n/no-unpublished-import */
2
- import rg from "eslint-config-reverentgeek";
1
+ import { defineConfig } from "eslint/config"; // eslint-disable-line n/no-unpublished-import
2
+ import rg from "eslint-config-reverentgeek"; // eslint-disable-line n/no-unpublished-import
3
3
 
4
- export default [
5
- rg.configs["node-esm"]
6
- ];
4
+ export default defineConfig( {
5
+ extends: [ rg.configs["node-esm"] ],
6
+ rules: {
7
+ }
8
+ } );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "reverentgeek",
3
- "version": "2.1.3",
3
+ "version": "2.2.1",
4
4
  "description": "My personal calling card.",
5
5
  "main": "./bin/card.js",
6
6
  "bin": {
@@ -23,11 +23,11 @@
23
23
  },
24
24
  "dependencies": {
25
25
  "boxen": "^8.0.1",
26
- "chalk": "^5.3.0",
26
+ "chalk": "^5.6.2",
27
27
  "gradient-string": "^3.0.0"
28
28
  },
29
29
  "devDependencies": {
30
- "eslint": "^9.14.0",
31
- "eslint-config-reverentgeek": "^6.0.2"
30
+ "eslint": "^9.36.0",
31
+ "eslint-config-reverentgeek": "^6.3.0"
32
32
  }
33
33
  }