Skip to content

Commit 60e695f

Browse files
AaronDDMclaude
andcommitted
[TW-4727] fix(@nylas/react): sync generated component types with @nylas/web-elements 2.5.0
The auto-generated React component wrappers had drifted from the Stencil build output. This syncs them and adds a sync script for future upgrades. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent ad3b324 commit 60e695f

4 files changed

Lines changed: 1630 additions & 3012 deletions

File tree

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
"@nylas/react": patch
3+
---
4+
5+
Sync generated React component wrappers with @nylas/web-elements 2.5.0
6+
7+
The auto-generated `components.ts` file was out of date with the published @nylas/web-elements 2.5.0 types. This updates the React wrapper types to match the latest Stencil output, including new types like `AdditionalParticipant` and `NylasAdditionalParticipantsCustomEvent`, and updated component definitions.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@
2626
"publish:dry-run": "nx run-many -t build && changeset publish --dry-run",
2727
"publish:no-build": "changeset publish",
2828
"postinstall": "husky install",
29-
"slack:notify": "node ./scripts/send-slack-notification.mjs"
29+
"slack:notify": "node ./scripts/send-slack-notification.mjs",
30+
"sync:web-elements": "./scripts/sync-web-elements-types.sh"
3031
},
3132
"keywords": [
3233
"nylas",

0 commit comments

Comments
 (0)