Skip to content

Generate TypeScript protobuf files#37009

Merged
ryanclark merged 10 commits intomasterfrom
ryan/generate-ts-protos
Jan 26, 2024
Merged

Generate TypeScript protobuf files#37009
ryanclark merged 10 commits intomasterfrom
ryan/generate-ts-protos

Conversation

@ryanclark
Copy link
Copy Markdown
Member

@ryanclark ryanclark commented Jan 22, 2024

This adds TypeScript protobuf generation to support Connect's move to Vite (#36921)

The existing generation for JS files with TypeScript definitions remains untouched and will be removed after Connect has moved to Vite and they're no longer referenced.

@ryanclark ryanclark added the no-changelog Indicates that a PR does not require a changelog entry label Jan 22, 2024
@ryanclark ryanclark mentioned this pull request Jan 22, 2024
11 tasks
@github-actions github-actions Bot requested review from gzdunek and kimlisa January 22, 2024 12:15
@public-teleport-github-review-bot
Copy link
Copy Markdown

@ryanclark - this PR will require admin approval to merge due to its size. Consider breaking it up into a series smaller changes.

@ryanclark ryanclark changed the base branch from master to ryan/add-ts-protobufs-to-dockerfiles January 22, 2024 13:11
@ryanclark ryanclark force-pushed the ryan/generate-ts-protos branch from 31bb244 to 8a7765d Compare January 22, 2024 13:12
@ryanclark ryanclark force-pushed the ryan/add-ts-protobufs-to-dockerfiles branch from 0d47326 to fed5a1c Compare January 22, 2024 13:23
@ravicious ravicious removed the request for review from kimlisa January 25, 2024 09:43
@ryanclark
Copy link
Copy Markdown
Member Author

ryanclark commented Jan 25, 2024

As this PR uses npm exec and not the global NPM installed packages from the containers (the only way we could get it to run in containers and locally), this can be merged before the @protobuf-ts/plugin update to the buildbox as we won't be reliant on it until after the JS protobuf code usage has been removed

Edit: that PR installing @protobuf-ts/plugin was approved & I just merged it anyway. Still, this PR isn't reliant on the newly built image

@ryanclark ryanclark changed the base branch from ryan/add-ts-protobufs-to-dockerfiles to master January 25, 2024 14:18
@ryanclark ryanclark force-pushed the ryan/generate-ts-protos branch from 6bbc0d5 to dcf0b78 Compare January 25, 2024 14:20
@ryanclark ryanclark enabled auto-merge January 25, 2024 14:20
@ryanclark ryanclark added this pull request to the merge queue Jan 25, 2024
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Jan 25, 2024
@ryanclark ryanclark added this pull request to the merge queue Jan 26, 2024
Merged via the queue into master with commit 9219007 Jan 26, 2024
@ryanclark ryanclark deleted the ryan/generate-ts-protos branch January 26, 2024 08:10
@public-teleport-github-review-bot
Copy link
Copy Markdown

@ryanclark See the table below for backport results.

Branch Result
branch/v15 Create PR

@ravicious
Copy link
Copy Markdown
Member

Let's backport this ASAP to avoid issues with master having different protos than v15.

https://github.com/gravitational/teleport/actions/runs/7666304604/job/20893840144#step:6:25

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-changelog Indicates that a PR does not require a changelog entry size/xl ui

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants