zachleat 42.0.0 → 43.1.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.
@@ -0,0 +1,14 @@
1
+ # To get started with Dependabot version updates, you'll need to specify which
2
+ # package ecosystems to update and where the package manifests are located.
3
+ # Please see the documentation for all configuration options:
4
+ # https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
5
+
6
+ version: 2
7
+ updates:
8
+ - package-ecosystem: github-actions
9
+ directories: [".github/workflows/**"]
10
+ schedule:
11
+ interval: weekly
12
+ cooldown:
13
+ default-days: 7
14
+ assignees: [zachleat]
@@ -0,0 +1,25 @@
1
+ name: Publish Release to npm
2
+ on:
3
+ release:
4
+ types: [published]
5
+ permissions: read-all
6
+ jobs:
7
+ release:
8
+ # see https://github.com/11ty/eleventy/settings/environments
9
+ environment: GitHub Publish
10
+ runs-on: ubuntu-latest
11
+ permissions:
12
+ contents: read
13
+ id-token: write
14
+ steps:
15
+ - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # 6.0.2
16
+ - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # 6.4.0
17
+ with:
18
+ node-version: "24"
19
+ registry-url: 'https://registry.npmjs.org'
20
+ # Explicit opt out of cache (tanstack cache poison vuln)
21
+ package-manager-cache: false
22
+ - run: npm install -g npm@latest
23
+ - if: ${{ github.event.release.tag_name != '' }}
24
+ # Also runs npm ci and npm test
25
+ run: npm stage publish
package/README.md CHANGED
@@ -2,20 +2,15 @@
2
2
 
3
3
  Meta package for Zach Leatherman
4
4
 
5
- ## Installation
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
@@ -26,10 +21,15 @@ import zachleat from "zachleat";
26
21
  // or in CommonJS
27
22
  // const zachleat = await import("zachleat");
28
23
 
24
+ // or in CommonJS (via require(esm) e.g. Deno 2+, Node 22+)
25
+ // const { default: zachleat } = require("zachleat");
26
+
29
27
  zachleat();
30
28
  ```
31
29
 
32
30
  ## Changelog
33
31
 
34
- * `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+)
35
- * `v41` Upgraded to ESM.
32
+ * `v43.1` Adds trusted publishers OIDC release process with staged publishing.
33
+ * `v43` Node 20+; Deno instructions
34
+ * `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+
35
+ * `v41` ESM
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zachleat",
3
- "version": "42.0.0",
3
+ "version": "43.1.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": ">=18"
15
+ "node": ">=20"
16
16
  },
17
17
  "repository": {
18
18
  "type": "git",