Skip to content

Commit 99685d5

Browse files
committed
[#9] detect add 문구 아이콘 수정
1 parent dbe6ba3 commit 99685d5

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed

detect-add/dist/index.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34010,17 +34010,17 @@ function getChangedPackagesGithubComment({ changedPackages, pullRequest, isKorea
3401034010
const bumpComment = hasChangesetMarkdownInPullRequest
3401134011
? []
3401234012
: [
34013-
`X.0.0 [major bump](${getAddChangesetUrl(changedPackages, pullRequest, 'major')})`,
34014-
`0.X.0 [minor bump](${getAddChangesetUrl(changedPackages, pullRequest, 'minor')})`,
34015-
`0.0.X [patch bump](${getAddChangesetUrl(changedPackages, pullRequest, 'patch')})`,
34013+
`💥 X.0.0 [major bump](${getAddChangesetUrl(changedPackages, pullRequest, 'major')})`,
34014+
`0.X.0 [minor bump](${getAddChangesetUrl(changedPackages, pullRequest, 'minor')})`,
34015+
`🩹 0.0.X [patch bump](${getAddChangesetUrl(changedPackages, pullRequest, 'patch')})`,
3401634016
'',
3401734017
];
3401834018
const checksumComment = `<sub>powered by: <a href="https://github.com/NaverPayDev/changeset-actions/tree/main/detect-add/${isKoreanLanguage ? 'README.ko.md' : 'README.md'}">${constants_1.CHANGESET_DETECT_ADD_ACTIONS_CHECKSUM}</a></sub>`;
3401934019
const packageNames = changedPackages.join('`, `');
3402034020
if (isKoreanLanguage) {
3402134021
return [
3402234022
hasChangesetMarkdownInPullRequest
34023-
? '### 🦋 Changeset 파일이 탐지되었습니다.'
34023+
? '### Changeset 파일이 탐지되었습니다.'
3402434024
: '### ⚠️ Changeset 파일을 찾을 수 없습니다.',
3402534025
'',
3402634026
...commitComment,
@@ -34036,14 +34036,14 @@ function getChangedPackagesGithubComment({ changedPackages, pullRequest, isKorea
3403634036
].join('\n');
3403734037
}
3403834038
return [
34039-
hasChangesetMarkdownInPullRequest ? '### 🦋 Changeset detected' : '### ⚠️ No Changeset found',
34039+
hasChangesetMarkdownInPullRequest ? '### Changeset detected' : '### ⚠️ No Changeset found',
3404034040
'',
3404134041
...commitComment,
3404234042
`\`${packageNames}\` package${changedPackages.length > 1 ? 's' : ''} have detected changes.`,
3404334043
'',
3404434044
...labelComment,
3404534045
hasChangesetMarkdownInPullRequest
34046-
? '**The changes in this PR will be included in the next version bump. **'
34046+
? '**The changes in this PR will be included in the next version bump.**'
3404734047
: '**If you want to add changes to `.changeset`, please select one of the following options.**',
3404834048
'',
3404934049
...bumpComment,
@@ -34066,7 +34066,7 @@ function getChangesetEmptyGithubComment({ isKoreanLanguage, pullRequest, }) {
3406634066
'',
3406734067
'commit을 확인해주세요.',
3406834068
'',
34069-
'packages_dir 지정이 안되어 있거나, markdown 파일만 변경점에 있다면, 탐지되지 않을 수 있습니다.',
34069+
'`packages_dir` 지정이 안되어 있거나, markdown 파일만 변경점에 있다면 탐지되지 않을 수 있습니다.',
3407034070
'',
3407134071
checksumComment,
3407234072
].join('\n');
@@ -34078,7 +34078,7 @@ function getChangesetEmptyGithubComment({ isKoreanLanguage, pullRequest, }) {
3407834078
'',
3407934079
'Please check your commit.',
3408034080
'',
34081-
'If packages_dir is not specified or only markdown files are in the changes, detection may fail.',
34081+
'If `packages_dir` is not specified or only markdown files are in the changes, detection may fail.',
3408234082
'',
3408334083
checksumComment,
3408434084
].join('\n');

detect-add/src/utils/changeset.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,9 @@ export function getChangedPackagesGithubComment({
7676
const bumpComment = hasChangesetMarkdownInPullRequest
7777
? []
7878
: [
79-
`X.0.0 [major bump](${getAddChangesetUrl(changedPackages, pullRequest, 'major')})`,
80-
`0.X.0 [minor bump](${getAddChangesetUrl(changedPackages, pullRequest, 'minor')})`,
81-
`0.0.X [patch bump](${getAddChangesetUrl(changedPackages, pullRequest, 'patch')})`,
79+
`💥 X.0.0 [major bump](${getAddChangesetUrl(changedPackages, pullRequest, 'major')})`,
80+
`0.X.0 [minor bump](${getAddChangesetUrl(changedPackages, pullRequest, 'minor')})`,
81+
`🩹 0.0.X [patch bump](${getAddChangesetUrl(changedPackages, pullRequest, 'patch')})`,
8282
'',
8383
]
8484
const checksumComment = `<sub>powered by: <a href="https://github.com/NaverPayDev/changeset-actions/tree/main/detect-add/${
@@ -90,7 +90,7 @@ export function getChangedPackagesGithubComment({
9090
if (isKoreanLanguage) {
9191
return [
9292
hasChangesetMarkdownInPullRequest
93-
? '### 🦋 Changeset 파일이 탐지되었습니다.'
93+
? '### Changeset 파일이 탐지되었습니다.'
9494
: '### ⚠️ Changeset 파일을 찾을 수 없습니다.',
9595
'',
9696
...commitComment,
@@ -106,14 +106,14 @@ export function getChangedPackagesGithubComment({
106106
].join('\n')
107107
}
108108
return [
109-
hasChangesetMarkdownInPullRequest ? '### 🦋 Changeset detected' : '### ⚠️ No Changeset found',
109+
hasChangesetMarkdownInPullRequest ? '### Changeset detected' : '### ⚠️ No Changeset found',
110110
'',
111111
...commitComment,
112112
`\`${packageNames}\` package${changedPackages.length > 1 ? 's' : ''} have detected changes.`,
113113
'',
114114
...labelComment,
115115
hasChangesetMarkdownInPullRequest
116-
? '**The changes in this PR will be included in the next version bump. **'
116+
? '**The changes in this PR will be included in the next version bump.**'
117117
: '**If you want to add changes to `.changeset`, please select one of the following options.**',
118118
'',
119119
...bumpComment,
@@ -145,7 +145,7 @@ export function getChangesetEmptyGithubComment({
145145
'',
146146
'commit을 확인해주세요.',
147147
'',
148-
'packages_dir 지정이 안되어 있거나, markdown 파일만 변경점에 있다면, 탐지되지 않을 수 있습니다.',
148+
'`packages_dir` 지정이 안되어 있거나, markdown 파일만 변경점에 있다면 탐지되지 않을 수 있습니다.',
149149
'',
150150
checksumComment,
151151
].join('\n')
@@ -157,7 +157,7 @@ export function getChangesetEmptyGithubComment({
157157
'',
158158
'Please check your commit.',
159159
'',
160-
'If packages_dir is not specified or only markdown files are in the changes, detection may fail.',
160+
'If `packages_dir` is not specified or only markdown files are in the changes, detection may fail.',
161161
'',
162162
checksumComment,
163163
].join('\n')

0 commit comments

Comments
 (0)