reverentgeek 1.6.0 → 2.0.0
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 +1 -1
- package/art/banner.js +1 -1
- package/bin/card.js +11 -12
- package/eslint.config.js +12 -0
- package/package.json +8 -7
- package/.eslintrc.js +0 -5
package/art/avatar.js
CHANGED
package/art/banner.js
CHANGED
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
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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
|
|
|
@@ -48,8 +47,8 @@ const data = {
|
|
|
48
47
|
// workUrl: ps( "https://pluralsight.com" ),
|
|
49
48
|
twitter: yellowChalk( "https://twitter.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" ),
|
|
@@ -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 ) );
|
|
114
|
+
console.log( boxen( output, options ) );
|
package/eslint.config.js
ADDED
package/package.json
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "reverentgeek",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
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": "^
|
|
25
|
-
"chalk": "^
|
|
26
|
-
"gradient-string": "^
|
|
25
|
+
"boxen": "^8.0.1",
|
|
26
|
+
"chalk": "^5.3.0",
|
|
27
|
+
"gradient-string": "^3.0.0"
|
|
27
28
|
},
|
|
28
29
|
"devDependencies": {
|
|
29
|
-
"eslint": "^
|
|
30
|
-
"eslint-config-reverentgeek": "^
|
|
30
|
+
"eslint": "^9.14.0",
|
|
31
|
+
"eslint-config-reverentgeek": "^5.1.0"
|
|
31
32
|
}
|
|
32
|
-
}
|
|
33
|
+
}
|