declapract-typescript-ehmpathy 0.46.11 → 0.46.12
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.
|
@@ -42,7 +42,7 @@ jobs:
|
|
|
42
42
|
pull-request-title-pattern: "chore(release): v${version} 🎉"
|
|
43
43
|
changelog-path: changelog.md
|
|
44
44
|
|
|
45
|
-
- name: upvibe the pr,
|
|
45
|
+
- name: upvibe the pr, on upsert
|
|
46
46
|
if: ${{ steps.release.outputs.pr }}
|
|
47
47
|
run: |
|
|
48
48
|
PR="${{ fromJson(steps.release.outputs.pr).number }}"
|
|
@@ -58,3 +58,22 @@ jobs:
|
|
|
58
58
|
gh pr edit "$PR" --body "$updated"
|
|
59
59
|
env:
|
|
60
60
|
GH_TOKEN: ${{ steps.github-token.outputs.token }}
|
|
61
|
+
|
|
62
|
+
- name: upvibe the pr, on release
|
|
63
|
+
if: ${{ steps.release.outputs.release_created }}
|
|
64
|
+
run: |
|
|
65
|
+
PR="${{ fromJson(steps.release.outputs.pr).number }}"
|
|
66
|
+
TAG="${{ steps.release.outputs.tag_name }}"
|
|
67
|
+
RELEASE_URL="https://github.com/${{ github.repository }}/releases/tag/${TAG}"
|
|
68
|
+
|
|
69
|
+
# find the release-please comment with the robot emoji and edit it
|
|
70
|
+
COMMENT_ID=$(gh api "repos/${{ github.repository }}/issues/${PR}/comments" \
|
|
71
|
+
--jq '.[] | select(.body | startswith(":robot: Release is at")) | .id' | head -1)
|
|
72
|
+
|
|
73
|
+
if [ -n "$COMMENT_ID" ]; then
|
|
74
|
+
gh api "repos/${{ github.repository }}/issues/comments/${COMMENT_ID}" \
|
|
75
|
+
-X PATCH \
|
|
76
|
+
-f body="🌊 released at ${RELEASE_URL}"
|
|
77
|
+
fi
|
|
78
|
+
env:
|
|
79
|
+
GH_TOKEN: ${{ steps.github-token.outputs.token }}
|
|
@@ -4,6 +4,6 @@
|
|
|
4
4
|
"rhachet-roles-ehmpathy": "@declapract{check.minVersion('1.15.7')}"
|
|
5
5
|
},
|
|
6
6
|
"scripts": {
|
|
7
|
-
"prepare:rhachet": "rhachet init
|
|
7
|
+
"prepare:rhachet": "rhachet init && rhachet roles link --role mechanic && .agent/repo=ehmpathy/role=mechanic/skills/.skills/init.claude.sh"
|
|
8
8
|
}
|
|
9
9
|
}
|
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.46.
|
|
5
|
+
"version": "0.46.12",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"main": "src/index.js",
|
|
8
8
|
"repository": "ehmpathy/declapract-typescript-ehmpathy",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"preversion": "npm run prepush",
|
|
44
44
|
"postversion": "git push origin HEAD --tags --no-verify",
|
|
45
45
|
"prepare:husky": "husky install && chmod ug+x .husky/*",
|
|
46
|
-
"prepare:rhachet": "rhachet init
|
|
46
|
+
"prepare:rhachet": "rhachet init && rhachet roles link --role mechanic && .agent/repo=ehmpathy/role=mechanic/skills/.skills/init.claude.sh",
|
|
47
47
|
"prepare": "if [ -e .git ] && [ -z $CI ]; then npm run prepare:husky && npm run prepare:rhachet; fi"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|