Skip to content

Commit f31895d

Browse files
authored
chore: update @nylas/web-elements to 2.3.2 (#37)
1 parent 632c5a6 commit f31895d

File tree

6 files changed

+453
-18
lines changed

6 files changed

+453
-18
lines changed

.changeset/grumpy-ears-grow.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@nylas/react": patch
3+
---
4+
5+
Update @nylas/web-elements dependency from 2.3.0 to 2.3.2

.github/workflows/release.yml

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ jobs:
2121
pull-requests: write # to create release PRs
2222
id-token: write # for NPM provenance
2323
timeout-minutes: 15
24+
outputs:
25+
published: ${{ steps.changesets.outputs.published }}
26+
publishedPackages: ${{ steps.changesets.outputs.publishedPackages }}
2427

2528
steps:
2629
- name: Checkout code
@@ -87,4 +90,33 @@ jobs:
8790
createGithubReleases: true
8891
env:
8992
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
90-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} # Only needed for installing private dependencies
93+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
94+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} # do not remove this line (https://github.com/changesets/action/issues/98)
95+
PM_CONFIG_PROVENANCE: true
96+
97+
# Slack notification job (only when packages are published)
98+
notify:
99+
name: Notify Slack
100+
runs-on: ubuntu-latest
101+
needs: release
102+
if: needs.release.outputs.published == 'true'
103+
104+
steps:
105+
- name: Checkout code
106+
uses: actions/checkout@v4
107+
108+
- name: Setup Node.js
109+
uses: actions/setup-node@v4
110+
with:
111+
node-version: ${{ env.NODE_VERSION }}
112+
113+
- name: Setup pnpm
114+
uses: pnpm/action-setup@v4
115+
with:
116+
run_install: false
117+
118+
- name: Install dependencies
119+
run: pnpm install --frozen-lockfile
120+
121+
- name: Send Slack notification
122+
run: pnpm slack:notify '${{ needs.release.outputs.publishedPackages }}' ${{ vars.SLACK_WEBHOOK_URL }}

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@
2525
"publish": "nx run-many -t build && changeset publish",
2626
"publish:dry-run": "nx run-many -t build && changeset publish --dry-run",
2727
"publish:no-build": "changeset publish",
28-
"postinstall": "husky install"
28+
"postinstall": "husky install",
29+
"slack:notify": "node ./scripts/send-slack-notification.mjs"
2930
},
3031
"keywords": [
3132
"nylas",
@@ -68,5 +69,8 @@
6869
"nx": "21.5.2",
6970
"oxlint": "^1.16.0",
7071
"prettier": "^3.4.2"
72+
},
73+
"dependencies": {
74+
"zx": "^7.2.3"
7175
}
7276
}

packages/react/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
"dependencies": {
7979
"@nylas/connect": "workspace:^",
8080
"@nylas/core": "^1.2.0",
81-
"@nylas/web-elements": "2.3.0",
81+
"@nylas/web-elements": "2.3.2",
8282
"@stencil/react-output-target": "^1.2.0",
8383
"axios": "^1.7.7",
8484
"dayjs": "1.11.7",

0 commit comments

Comments
 (0)