chrisburnell 33.0.1 → 33.0.2

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 (3) hide show
  1. package/README.md +1 -1
  2. package/package.json +2 -2
  3. package/src/index.js +36 -15
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # chrisburnell
2
2
 
3
- Meta package for Chris Burnell
3
+ Chris Burnell Metadata
4
4
 
5
5
  ## Installation
6
6
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "chrisburnell",
3
- "version": "33.0.1",
4
- "description": "Meta package for Chris Burnell",
3
+ "version": "33.0.2",
4
+ "description": "Chris Burnell Metadata",
5
5
  "main": "./src/index.js",
6
6
  "bin": {
7
7
  "chrisburnell": "./src/cmd.js"
package/src/index.js CHANGED
@@ -1,28 +1,49 @@
1
- import { createRequire } from "node:module";
1
+ import fs from "node:fs";
2
2
  import updateNotifier from "update-notifier";
3
3
 
4
- const require = createRequire(import.meta.url);
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
+
9
26
  export default function() {
10
- let intro = `Hey, I’m Chris Burnell, and I’m ravenous for CSS! (v${pkg.version})`;
27
+ let intro = `Hey, I’m ${name}, and I’m Ravenous for CSS! (v${pkg.version})`;
11
28
  let sep = '-'.repeat(intro.length);
12
29
 
13
30
  console.log(`
14
31
  ${intro}
15
32
  ${sep}
16
- Web: https://chrisburnell.com
17
- Bluesky: https://bsky.app/profile/chrisburnell.com
18
- Codepen: https://codepen.io/chrisburnell
19
- Discord: https://discordapp.com/users/809487481308708936
20
- GitHub: https://github.com/chrisburnell
21
- IndieWeb: https://indieweb.org/User:chrisburnell.com
22
- LastFM: https://last.fm/user/chrisburnell
23
- LinkedIn: https://www.linkedin.com/in/chrisburnell
24
- Mastodon: https://fediverse.repc.co/@chrisburnell
25
- npm: https://www.npmjs.com/~chrisburnell
26
- Untappd: https://untappd.com/user/chrisburnell
33
+ Location: ${location}
34
+ Website: ${website}
35
+ Bluesky: https://bsky.app/profile/${bluesky}
36
+ Codepen: https://codepen.io/${codepen}
37
+ Discord: https://discordapp.com/users/${discord}
38
+ GitHub: https://github.com/${github}
39
+ IndieWeb: https://indieweb.org/User:${indieweb}
40
+ LastFM: https://last.fm/user/${lastfm}
41
+ LinkedIn: https://www.linkedin.com/in/${linkedin}
42
+ Mastodon: https://${mastodon_domain}/@${mastodon.split("@").slice(0, -1).join("")}
43
+ Nintendo: ${nintendo}
44
+ npm: https://www.npmjs.com/~${npm}
45
+ OpenCollective: https://opencollective.com/${opencollective}
46
+ PGP: ${pgp}
47
+ Untappd: https://untappd.com/user/${untappd}
27
48
  `);
28
49
  };