chrisburnell 33.0.1 → 33.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/README.md +1 -1
- package/package.json +2 -2
- package/src/index.js +56 -15
package/README.md
CHANGED
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -1,28 +1,69 @@
|
|
|
1
|
-
import
|
|
1
|
+
import fs from "node:fs";
|
|
2
2
|
import updateNotifier from "update-notifier";
|
|
3
3
|
|
|
4
|
-
const
|
|
5
|
-
const pkg = require("../package.json");
|
|
4
|
+
const pkg = JSON.parse(fs.readFileSync("package.json"))
|
|
6
5
|
|
|
7
6
|
updateNotifier({ pkg }).notify();
|
|
8
7
|
|
|
8
|
+
export const name = "Chris Burnell"
|
|
9
|
+
export const location = "Singapore"
|
|
10
|
+
export const website = "https://chrisburnell.com"
|
|
11
|
+
export const bluesky = "chrisburnell.com"
|
|
12
|
+
export const codepen = "chrisburnell"
|
|
13
|
+
export const discord = "809487481308708936"
|
|
14
|
+
export const github = "chrisburnell"
|
|
15
|
+
export const indieweb = "chrisburnell.com"
|
|
16
|
+
export const lastfm = "chrisburnell"
|
|
17
|
+
export const linkedin = "chrisburnell"
|
|
18
|
+
export const mastodon = "@chrisburnell@repc.co"
|
|
19
|
+
export const mastodon_domain = "fediverse.repc.co"
|
|
20
|
+
export const nintendo = "SW-5773-6068-9986"
|
|
21
|
+
export const npm = "chrisburnell"
|
|
22
|
+
export const opencollective = "chrisburnell"
|
|
23
|
+
export const untappd = "chrisburnell"
|
|
24
|
+
export const pgp = "9604F098260A0057"
|
|
25
|
+
|
|
26
|
+
export const metadata = [
|
|
27
|
+
name,
|
|
28
|
+
location,
|
|
29
|
+
website,
|
|
30
|
+
bluesky,
|
|
31
|
+
codepen,
|
|
32
|
+
discord,
|
|
33
|
+
github,
|
|
34
|
+
indieweb,
|
|
35
|
+
lastfm,
|
|
36
|
+
linkedin,
|
|
37
|
+
mastodon,
|
|
38
|
+
mastodon_domain,
|
|
39
|
+
nintendo,
|
|
40
|
+
npm,
|
|
41
|
+
opencollective,
|
|
42
|
+
untappd,
|
|
43
|
+
pgp,
|
|
44
|
+
]
|
|
45
|
+
|
|
9
46
|
export default function() {
|
|
10
|
-
let intro = `Hey, I’m
|
|
47
|
+
let intro = `Hey, I’m ${name}, and I’m Ravenous for CSS! (v${pkg.version})`;
|
|
11
48
|
let sep = '-'.repeat(intro.length);
|
|
12
49
|
|
|
13
50
|
console.log(`
|
|
14
51
|
${intro}
|
|
15
52
|
${sep}
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
53
|
+
Location: ${location}
|
|
54
|
+
Website: ${website}
|
|
55
|
+
Bluesky: https://bsky.app/profile/${bluesky}
|
|
56
|
+
Codepen: https://codepen.io/${codepen}
|
|
57
|
+
Discord: https://discordapp.com/users/${discord}
|
|
58
|
+
GitHub: https://github.com/${github}
|
|
59
|
+
IndieWeb: https://indieweb.org/User:${indieweb}
|
|
60
|
+
LastFM: https://last.fm/user/${lastfm}
|
|
61
|
+
LinkedIn: https://www.linkedin.com/in/${linkedin}
|
|
62
|
+
Mastodon: https://${mastodon_domain}/@${mastodon.split("@").slice(0, -1).join("")}
|
|
63
|
+
Nintendo: ${nintendo}
|
|
64
|
+
npm: https://www.npmjs.com/~${npm}
|
|
65
|
+
OpenCollective: https://opencollective.com/${opencollective}
|
|
66
|
+
PGP: ${pgp}
|
|
67
|
+
Untappd: https://untappd.com/user/${untappd}
|
|
27
68
|
`);
|
|
28
69
|
};
|