declapract-typescript-ehmpathy 0.47.2 → 0.47.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.
@@ -36,6 +36,7 @@ runs:
36
36
  env:
37
37
  GITHUB_TOKEN: ${{ inputs.github-token }}
38
38
  run: |
39
+ set -euo pipefail
39
40
  COMMIT_MSG="${{ inputs.commit-message }}"
40
41
  REPO_URL="https://github.com/${{ inputs.repository }}"
41
42
 
@@ -114,6 +115,7 @@ runs:
114
115
  if: ${{ steps.cutta.outputs.did-cutta == 'false' }}
115
116
  shell: bash
116
117
  run: |
118
+ set -euo pipefail
117
119
  echo "🔭 crunch semver"
118
120
 
119
121
  # helper: compare semver (returns 0 if $1 > $2, 1 otherwise)
@@ -203,6 +205,7 @@ runs:
203
205
  if: ${{ steps.cutta.outputs.did-cutta == 'false' }}
204
206
  shell: bash
205
207
  run: |
208
+ set -euo pipefail
206
209
  echo "🔭 crunch changelog"
207
210
  REPO_URL="https://github.com/${{ inputs.repository }}"
208
211
  PREV_TAG="${{ steps.semver.outputs.current-tag }}"
@@ -236,7 +239,7 @@ runs:
236
239
  COMMIT_MESSAGE="${REST#* }"
237
240
  SHORT_HASH="${HASH:0:7}"
238
241
  # extract pr number from message if present
239
- PR_NUM=$(echo "$COMMIT_MESSAGE" | grep -oE '\(#[0-9]+\)' | head -1 | tr -d '(#)')
242
+ PR_NUM=$(echo "$COMMIT_MESSAGE" | grep -oE '\(#[0-9]+\)' | head -1 | tr -d '(#)' || true)
240
243
  echo "  ○ ${COMMIT_MESSAGE}"
241
244
  if [ -n "$PR_NUM" ]; then
242
245
  echo "     ├── ${DATE}"
@@ -279,6 +282,7 @@ runs:
279
282
  env:
280
283
  GITHUB_TOKEN: ${{ inputs.github-token }}
281
284
  run: |
285
+ set -euo pipefail
282
286
  echo "🔭 upsert release pr"
283
287
  NEXT_VERSION="${{ steps.semver.outputs.next-version }}"
284
288
  CHANGELOG=$(cat "${{ steps.changelog.outputs.changelog-file }}")
@@ -411,6 +415,7 @@ runs:
411
415
  if: always()
412
416
  shell: bash
413
417
  run: |
418
+ set -euo pipefail
414
419
  if [ "${{ steps.cutta.outputs.did-cutta }}" = "true" ]; then
415
420
  echo "action=${{ steps.cutta.outputs.action }}" >> $GITHUB_OUTPUT
416
421
  echo "version=${{ steps.cutta.outputs.version }}" >> $GITHUB_OUTPUT
@@ -54,6 +54,7 @@ export const desiredRelativeKeyOrder = {
54
54
  'test:types',
55
55
  'test:format:prettier',
56
56
  'test:format:terraform',
57
+ 'test:format:biome',
57
58
  'test:format',
58
59
  'test:lint:deps',
59
60
  'test:lint:biome',
@@ -71,6 +72,7 @@ export const desiredRelativeKeyOrder = {
71
72
  'postversion',
72
73
  'postinstall',
73
74
  'prepare:husky',
75
+ 'prepare:rhachet',
74
76
  'prepare',
75
77
  'deploy:prune',
76
78
  'deploy:release',
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "declapract-typescript-ehmpathy",
3
3
  "author": "ehmpathy",
4
4
  "description": "declapract best practices declarations for typescript",
5
- "version": "0.47.2",
5
+ "version": "0.47.4",
6
6
  "license": "MIT",
7
7
  "main": "src/index.js",
8
8
  "repository": "ehmpathy/declapract-typescript-ehmpathy",