create-node-lib 2.16.2 → 2.16.4

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/CHANGELOG.md CHANGED
@@ -1,3 +1,18 @@
1
+ ## [2.16.4](https://github.com/lirantal/create-node-lib/compare/v2.16.3...v2.16.4) (2026-04-29)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * Add repository initialization workflow ([ed1d211](https://github.com/lirantal/create-node-lib/commit/ed1d211bd553879ebf831beb803f72261f230f46))
7
+ * Change merge labels for automerge action ([ae623dd](https://github.com/lirantal/create-node-lib/commit/ae623ddad781ed57fd97dcc24c95b7d8d55cf775))
8
+
9
+ ## [2.16.3](https://github.com/lirantal/create-node-lib/compare/v2.16.2...v2.16.3) (2026-04-28)
10
+
11
+
12
+ ### Bug Fixes
13
+
14
+ * Update dependabot.yml with labels for automerge ([d3f645a](https://github.com/lirantal/create-node-lib/commit/d3f645a95ff0520642008aad443b1fe43924b7e0))
15
+
1
16
  ## [2.16.2](https://github.com/lirantal/create-node-lib/compare/v2.16.1...v2.16.2) (2026-04-28)
2
17
 
3
18
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-node-lib",
3
- "version": "2.16.2",
3
+ "version": "2.16.4",
4
4
  "description": "Scaffolding out a Node.js library module",
5
5
  "bin": "./bin/cli.js",
6
6
  "engines": {
@@ -13,6 +13,11 @@ updates:
13
13
  semver-major-days: 7
14
14
  semver-minor-days: 7
15
15
  semver-patch-days: 7
16
+ # Use the 'dependencies' default label and add
17
+ # the 'automerge' one for automerge github action support
18
+ labels:
19
+ - "dependencies"
20
+ - "automerge"
16
21
 
17
22
  - package-ecosystem: "npm"
18
23
  directory: "/"
@@ -31,8 +31,8 @@ jobs:
31
31
  uses: "pascalgn/automerge-action@v0.16.4"
32
32
  env:
33
33
  GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
34
- # we only merge PRs with labels of "dependencies"
35
- MERGE_LABELS: "automerge,dependencies"
34
+ # we only merge PRs with labels of "automerge"
35
+ MERGE_LABELS: "automerge"
36
36
  MERGE_REMOVE_LABELS: "automerge"
37
37
  MERGE_METHOD: "squash"
38
38
  MERGE_COMMIT_MESSAGE: "automatic"
@@ -0,0 +1,26 @@
1
+ name: Repository init
2
+
3
+ on:
4
+ workflow_dispatch:
5
+ push:
6
+ branches: [main]
7
+ paths:
8
+ - '.github/workflows/repo-init.yml' # only fires when this file itself changes
9
+ schedule:
10
+ - cron: '0 9 * * 1' # Every Monday at 09:00 UTC
11
+
12
+ jobs:
13
+ create-label:
14
+ runs-on: ubuntu-latest
15
+ permissions:
16
+ issues: write
17
+ steps:
18
+ - name: Create automerge label
19
+ env:
20
+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
21
+ run: |
22
+ gh label create "automerge" \
23
+ --repo "${{ github.repository }}" \
24
+ --color "0075ca" \
25
+ --description "Merge this PR automatically once checks pass" \
26
+ --force