reverentgeek 1.6.0 → 2.0.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/art/avatar.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- module.exports = ` @@@@@@@@
3
+ export default ` @@@@@@@@
4
4
  @@@@@@,,@@@@@@@
5
5
  @@@@@@(@@,@@@@@@@@@@@@
6
6
  @@@@@@@,@@, @@
package/art/banner.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- module.exports = ` _ _
3
+ export default ` _ _
4
4
  ___ ___ _ _ ___ ___ ___ ___| |_ ___ ___ ___| |_
5
5
  | _| -_| | | -_| _| -_| | _| . | -_| -_| '_|
6
6
  |_| |___|\\_/|___|_| |___|_|_|_| |_ |___|___|_,_|
package/bin/card.js CHANGED
@@ -1,11 +1,14 @@
1
1
  #!/usr/bin/env node
2
- "use strict";
3
2
  // 👆 Used to tell Node.js that this is a CLI tool
4
3
 
5
4
  // Pull in our modules
6
- const chalk = require( "chalk" );
7
- const boxen = require( "boxen" );
8
- const gs = require( "gradient-string" );
5
+ import chalk from "chalk";
6
+ import boxen from "boxen";
7
+ import gs from "gradient-string";
8
+
9
+ // Some sweet ascii art
10
+ import avatar from "../art/avatar.js";
11
+ import banner from "../art/banner.js";
9
12
 
10
13
  // define custom colors
11
14
  const pink = "#ff1675";
@@ -23,11 +26,7 @@ const blueChalk = chalk.hex( blue );
23
26
  const greenChalk = chalk.hex( green );
24
27
  const orangeChalk = chalk.hex( orange );
25
28
  // const pinkChalk = chalk.hex( pink );
26
- const ps = gs( pink, orange );
27
-
28
- // Some sweet ascii art
29
- const avatar = require( "../art/avatar" );
30
- const banner = require( "../art/banner" );
29
+ const ps = gs( [ pink, orange ] );
31
30
 
32
31
  const newline = "\n";
33
32
 
@@ -46,10 +45,10 @@ const data = {
46
45
  handle: yellowChalk( "reverentgeek" ),
47
46
  // work: ps( "Principal Developer Advocate" ),
48
47
  // workUrl: ps( "https://pluralsight.com" ),
49
- twitter: yellowChalk( "https://twitter.com/reverentgeek" ),
48
+ twitter: yellowChalk( "https://x.com/reverentgeek" ),
50
49
  mastodon: yellowChalk( "@reverentgeek@reverentgeek.com" ),
51
- bluesky: yellowChalk( "@reverentgeek.com"),
52
- threads: yellowChalk( "@reverentgeek"),
50
+ bluesky: yellowChalk( "@reverentgeek.com" ),
51
+ threads: yellowChalk( "@reverentgeek" ),
53
52
  github: yellowChalk( "https://github.com/reverentgeek" ),
54
53
  linkedin: yellowChalk( "https://linkedin.com/in/davidneal" ),
55
54
  web: yellowChalk( "https://reverentgeek.com" ),
@@ -57,15 +56,15 @@ const data = {
57
56
  npx: orangeChalk( "npx reverentgeek" ),
58
57
  labelWork: blueChalk( " Work:" ),
59
58
  labelWorkUrl: blueChalk( " " ),
60
- labelTwitter: blueChalk( " Twitter:" ),
61
- labelMastodon: blueChalk( " Mastodon:" ),
62
- labelBluesky: blueChalk( " BlueSky:" ),
63
- labelThreads: blueChalk( " Threads:" ),
64
- labelGitHub: blueChalk( " GitHub:" ),
65
- labelLinkedIn: blueChalk( " LinkedIn:" ),
66
- labelWeb: blueChalk( " Web:" ),
67
- labelCard: blueChalk( " Card:" ),
68
- labelEmail: blueChalk( " Email:" ),
59
+ labelTwitter: blueChalk( "X (Twitter):" ),
60
+ labelMastodon: blueChalk( " Mastodon:" ),
61
+ labelBluesky: blueChalk( " BlueSky:" ),
62
+ labelThreads: blueChalk( " Threads:" ),
63
+ labelGitHub: blueChalk( " GitHub:" ),
64
+ labelLinkedIn: blueChalk( " LinkedIn:" ),
65
+ labelWeb: blueChalk( " Web:" ),
66
+ labelCard: blueChalk( " Card:" ),
67
+ labelEmail: blueChalk( " Email:" ),
69
68
  bio: lbChalk( `I am a family man, geek, musician, illustrator,
70
69
  speaker, software developer, and Microsoft MVP
71
70
  living in North GA. I run on a high-octane
@@ -112,4 +111,4 @@ const card = [
112
111
  // Put all our output together into a single variable so we can use boxen effectively
113
112
  const output = card.join( newline );
114
113
 
115
- console.log( boxen( output, options ) ); // eslint-disable-line no-console
114
+ console.log( boxen( output, options ) );
@@ -0,0 +1,12 @@
1
+ import rg from "eslint-config-reverentgeek";
2
+
3
+ export default [
4
+ ...rg.configs[ "node-esm" ],
5
+ {
6
+ rules: {
7
+ "n/no-unpublished-import": [ "error", {
8
+ allowModules: [ "eslint-config-reverentgeek" ]
9
+ } ]
10
+ }
11
+ }
12
+ ];
package/package.json CHANGED
@@ -1,11 +1,12 @@
1
1
  {
2
2
  "name": "reverentgeek",
3
- "version": "1.6.0",
3
+ "version": "2.0.1",
4
4
  "description": "My personal calling card.",
5
5
  "main": "./bin/card.js",
6
6
  "bin": {
7
7
  "reverentgeek": "./bin/card.js"
8
8
  },
9
+ "type": "module",
9
10
  "scripts": {
10
11
  "lint": "eslint bin/*.js art/*.js"
11
12
  },
@@ -21,12 +22,12 @@
21
22
  "url": "https://github.com/reverentgeek/reverentgeek-card.git"
22
23
  },
23
24
  "dependencies": {
24
- "boxen": "^5.0.1",
25
- "chalk": "^4.1.0",
26
- "gradient-string": "^2.0.2"
25
+ "boxen": "^8.0.1",
26
+ "chalk": "^5.3.0",
27
+ "gradient-string": "^3.0.0"
27
28
  },
28
29
  "devDependencies": {
29
- "eslint": "^8.46.0",
30
- "eslint-config-reverentgeek": "^4.0.1"
30
+ "eslint": "^9.14.0",
31
+ "eslint-config-reverentgeek": "^5.1.0"
31
32
  }
32
- }
33
+ }
package/.eslintrc.js DELETED
@@ -1,5 +0,0 @@
1
- "use strict";
2
-
3
- module.exports = {
4
- extends: [ "reverentgeek/node" ]
5
- };