chrisburnell 33.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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2024 Chris Burnell
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,34 @@
1
+ # chrisburnell
2
+
3
+ Meta package for Chris Burnell
4
+
5
+ ## Installation
6
+
7
+ * [`chrisburnell` on npm](https://www.npmjs.com/package/chrisburnell)
8
+
9
+ ```sh
10
+ npm install chrisburnell
11
+ ```
12
+
13
+ ## Usage
14
+
15
+ ### CLI
16
+
17
+ ```sh
18
+ npx chrisburnell
19
+ ```
20
+
21
+ ### Programmatic
22
+
23
+ ```js
24
+ import chrisburnell from "chrisburnell";
25
+
26
+ // or in CommonJS
27
+ // const chrisburnell = await import("chrisburnell");
28
+
29
+ chrisburnell();
30
+ ```
31
+
32
+ ## Changelog
33
+
34
+ * `v41` Upgraded to ESM.
package/package.json ADDED
@@ -0,0 +1,30 @@
1
+ {
2
+ "name": "chrisburnell",
3
+ "version": "33.0.0",
4
+ "description": "Meta package for Chris Burnell",
5
+ "main": "./src/index.js",
6
+ "bin": {
7
+ "chrisburnell": "./src/cmd.js"
8
+ },
9
+ "type": "module",
10
+ "scripts": {
11
+ "default": "node src/cmd.js",
12
+ "test": "node --test"
13
+ },
14
+ "engines": {
15
+ "node": ">=18"
16
+ },
17
+ "repository": {
18
+ "type": "git",
19
+ "url": "git+ssh://git@github.com/chrisburnell/package-chrisburnell.git"
20
+ },
21
+ "author": "Chris Burnell",
22
+ "license": "MIT",
23
+ "bugs": {
24
+ "url": "https://github.com/chrisburnell/package-chrisburnell/issues"
25
+ },
26
+ "homepage": "https://github.com/chrisburnell/package-chrisburnell#readme",
27
+ "dependencies": {
28
+ "update-notifier": "^5.1.0"
29
+ }
30
+ }
package/src/cmd.js ADDED
@@ -0,0 +1,4 @@
1
+ #!/usr/bin/env node
2
+ import chrisburnell from "./index.js";
3
+
4
+ chrisburnell();
package/src/index.js ADDED
@@ -0,0 +1,28 @@
1
+ import { createRequire } from "node:module";
2
+ import updateNotifier from "update-notifier";
3
+
4
+ const require = createRequire(import.meta.url);
5
+ const pkg = require("../package.json");
6
+
7
+ updateNotifier({ pkg }).notify();
8
+
9
+ export default function() {
10
+ let intro = `Hey, I’m Chris Burnell, and I’m ravenous for CSS! (v${pkg.version})`;
11
+ let sep = '-'.repeat(intro.length);
12
+
13
+ console.log(`
14
+ ${intro}
15
+ ${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
27
+ `);
28
+ };