@rimori/react-client 0.3.0-next.4 → 0.3.0-next.6
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.
|
@@ -54,7 +54,7 @@ jobs:
|
|
|
54
54
|
echo "Updated @rimori/client to ${{ steps.client-version.outputs.version }}"
|
|
55
55
|
|
|
56
56
|
- name: Install dependencies
|
|
57
|
-
run: yarn install
|
|
57
|
+
run: yarn install
|
|
58
58
|
|
|
59
59
|
- name: Build react-client (TypeScript verification)
|
|
60
60
|
run: yarn build
|
|
@@ -114,19 +114,19 @@ jobs:
|
|
|
114
114
|
# Uses OIDC token automatically (no NODE_AUTH_TOKEN needed)
|
|
115
115
|
# Requires npm 11.5.1+ and id-token: write permission (already set)
|
|
116
116
|
|
|
117
|
-
- name: Commit version bump
|
|
118
|
-
run: |
|
|
119
|
-
git config --local user.email "action@github.com"
|
|
120
|
-
git config --local user.name "GitHub Action"
|
|
121
|
-
git add package.json yarn.lock
|
|
122
|
-
git commit -m "chore: bump @rimori/react-client to ${{ steps.version.outputs.new_version }} [skip ci]"
|
|
123
|
-
git push
|
|
124
|
-
|
|
125
117
|
- name: Output published version
|
|
126
118
|
run: |
|
|
127
119
|
echo "✅ Published @rimori/react-client@${{ steps.version.outputs.new_version }} to npm with @next tag"
|
|
128
120
|
echo "Using @rimori/client@${{ steps.client-version.outputs.version }}"
|
|
129
121
|
|
|
122
|
+
- name: Create git tag
|
|
123
|
+
run: |
|
|
124
|
+
git config --local user.email "action@github.com"
|
|
125
|
+
git config --local user.name "GitHub Action"
|
|
126
|
+
git tag "v${{ steps.version.outputs.new_version }}" -m "Pre-release v${{ steps.version.outputs.new_version }}"
|
|
127
|
+
git push origin "v${{ steps.version.outputs.new_version }}"
|
|
128
|
+
echo "🏷️ Created and pushed tag v${{ steps.version.outputs.new_version }}"
|
|
129
|
+
|
|
130
130
|
- name: Notify Slack
|
|
131
131
|
if: always()
|
|
132
132
|
uses: slackapi/slack-github-action@v1.24.0
|
|
@@ -140,11 +140,10 @@ jobs:
|
|
|
140
140
|
"type": "section",
|
|
141
141
|
"text": {
|
|
142
142
|
"type": "mrkdwn",
|
|
143
|
-
"text": "📦 *@rimori/react-client Pre-Release*\n\n*
|
|
143
|
+
"text": "📦 *@rimori/react-client Pre-Release*\n\n*Branch:* ${{ github.ref_name }}\n*Version:* ${{ steps.version.outputs.new_version }}\n*Using @rimori/client:* ${{ steps.client-version.outputs.version }}\n*Author:* ${{ github.actor }}\n*Pipeline:* <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|View Run>\n\n${{ job.status == 'success' && '✅ Successfully published to npm with @next tag!' || '❌ Pipeline failed. Check the logs for details.' }}"
|
|
144
144
|
}
|
|
145
145
|
}
|
|
146
146
|
]
|
|
147
147
|
}
|
|
148
148
|
env:
|
|
149
149
|
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
|
|
150
|
-
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rimori/react-client",
|
|
3
|
-
"version": "0.3.0-next.
|
|
3
|
+
"version": "0.3.0-next.6",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"format": "prettier --write ."
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
|
26
|
-
"@rimori/client": "2.2.0-next.
|
|
26
|
+
"@rimori/client": "2.2.0-next.3",
|
|
27
27
|
"react": "^18.1.0",
|
|
28
28
|
"react-dom": "^18.1.0"
|
|
29
29
|
},
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@eslint/js": "^9.37.0",
|
|
37
|
-
"@rimori/client": "2.2.0-next.
|
|
37
|
+
"@rimori/client": "2.2.0-next.3",
|
|
38
38
|
"@types/react": "^18.3.21",
|
|
39
39
|
"eslint-config-prettier": "^10.1.8",
|
|
40
40
|
"eslint-plugin-prettier": "^5.5.4",
|