Skip to content

Conversation

@noahtallen
Copy link
Contributor

@noahtallen noahtallen commented Jun 29, 2023

Proposed Changes

While working on #78711, I was troubleshooting a type error in this package and noticed that while it's written entirely in TS, the build system doesn't reflect that. I made various changes to the package to match other packages which are build by TS. Additionally, I removed the typings file, since none of it is needed any more.

Testing Instructions

  1. cd packages/whats-new && yarn build -- does it work, and do files in dist look correct?
  2. While I originally had testing instructions for testing the feature, this PR didn't cause an ETK release build to get generated! That means the built files are identical, which tells me this is working well.

To do:

@noahtallen noahtallen self-assigned this Jun 29, 2023
@matticbot matticbot added the [Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically. label Jun 29, 2023
@github-actions
Copy link

github-actions bot commented Jun 29, 2023

@matticbot
Copy link
Contributor

This PR does not affect the size of JS and CSS bundles shipped to the user's browser.

Generated by performance advisor bot at iscalypsofastyet.com.

Copy link
Member

@tyxla tyxla left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good to me, but I agree - let's wait for #78711 to land first.

@noahtallen noahtallen force-pushed the try-convert-whats-new-ts branch from 5f0eb69 to d5ee49f Compare July 20, 2023 19:10
@noahtallen noahtallen force-pushed the try-convert-whats-new-ts branch from d5ee49f to d779718 Compare August 2, 2023 21:43
@noahtallen
Copy link
Contributor Author

Turns out that we just needed to update Typescript and it works now :) I think that makes sense, as TS tweaked/updated a lot of DOM types over the several releases we just updated.

@noahtallen noahtallen requested review from a team and tyxla August 2, 2023 22:01
@noahtallen
Copy link
Contributor Author

I'm going to move forward with this, since CI has verified the major pieces! Happy to follow-up with feedback

@noahtallen noahtallen merged commit d1b86ab into trunk Aug 3, 2023
@noahtallen noahtallen deleted the try-convert-whats-new-ts branch August 3, 2023 19:00
@github-actions github-actions bot removed the [Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically. label Aug 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants