chrisburnell 33.0.4 → 33.0.5

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