zachleat 41.0.0 → 43.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 +1 -1
- package/README.md +5 -8
- package/package.json +3 -3
- package/src/index.js +11 -17
package/LICENSE
CHANGED
package/README.md
CHANGED
|
@@ -2,20 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
Meta package for Zach Leatherman
|
|
4
4
|
|
|
5
|
-
##
|
|
5
|
+
## Usage
|
|
6
6
|
|
|
7
7
|
* [`zachleat` on npm](https://www.npmjs.com/package/zachleat)
|
|
8
8
|
|
|
9
|
-
```sh
|
|
10
|
-
npm install zachleat
|
|
11
|
-
```
|
|
12
|
-
|
|
13
|
-
## Usage
|
|
14
|
-
|
|
15
9
|
### CLI
|
|
16
10
|
|
|
17
11
|
```sh
|
|
18
12
|
npx zachleat
|
|
13
|
+
deno x zachleat
|
|
19
14
|
```
|
|
20
15
|
|
|
21
16
|
### Programmatic
|
|
@@ -31,4 +26,6 @@ zachleat();
|
|
|
31
26
|
|
|
32
27
|
## Changelog
|
|
33
28
|
|
|
34
|
-
* `
|
|
29
|
+
* `v43` Node 20+; Deno instructions
|
|
30
|
+
* `v42` Bump `update-notifier` from v5 to [v6](https://github.com/sindresorhus/update-notifier/releases/tag/v6.0.0) (ESM) to [v7](https://github.com/sindresorhus/update-notifier/releases/tag/v7.0.0); Node 18+
|
|
31
|
+
* `v41` ESM
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zachleat",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "43.0.0",
|
|
4
4
|
"description": "Meta package for Zach Leatherman",
|
|
5
5
|
"main": "./src/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"test": "node --test"
|
|
13
13
|
},
|
|
14
14
|
"engines": {
|
|
15
|
-
"node": ">=
|
|
15
|
+
"node": ">=20"
|
|
16
16
|
},
|
|
17
17
|
"repository": {
|
|
18
18
|
"type": "git",
|
|
@@ -25,6 +25,6 @@
|
|
|
25
25
|
},
|
|
26
26
|
"homepage": "https://github.com/zachleat/package-zachleat#readme",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"update-notifier": "^
|
|
28
|
+
"update-notifier": "^7.3.1"
|
|
29
29
|
}
|
|
30
30
|
}
|
package/src/index.js
CHANGED
|
@@ -1,26 +1,20 @@
|
|
|
1
1
|
import updateNotifier from "update-notifier";
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
const require = createRequire(import.meta.url);
|
|
5
|
-
const pkg = require("../package.json");
|
|
2
|
+
import pkg from "../package.json" with { type: "json" };
|
|
6
3
|
|
|
7
4
|
updateNotifier({ pkg }).notify();
|
|
8
5
|
|
|
9
6
|
export default function() {
|
|
10
|
-
let intro = `
|
|
7
|
+
let intro = `Zach Leatherman (v${pkg.version})`;
|
|
11
8
|
let sep = '-'.repeat(intro.length);
|
|
12
9
|
|
|
13
|
-
console.log(
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
Codepen: https://codepen.io/zachleat/
|
|
23
|
-
Bluesky: https://bsky.app/profile/zachleat.com
|
|
24
|
-
Letterboxd: https://letterboxd.com/zachleat/
|
|
10
|
+
console.log( `${intro}
|
|
11
|
+
${sep}
|
|
12
|
+
Web https://zachleat.com/
|
|
13
|
+
11ty https://www.11ty.dev/
|
|
14
|
+
Mastodon https://zachleat.com/@zachleat
|
|
15
|
+
Bluesky https://bsky.app/profile/zachleat.com
|
|
16
|
+
GitHub https://github.com/zachleat
|
|
17
|
+
npm https://www.npmjs.com/~zachleat
|
|
18
|
+
LinkedIn https://www.linkedin.com/in/zachleat/
|
|
25
19
|
` );
|
|
26
20
|
};
|