[wp-trac] [WordPress Trac] #58671: "error TS2315: Type 'Server' is not generic" when building Gutenberg from WP checkout

WordPress Trac noreply at wordpress.org
Fri Oct 20 14:54:39 UTC 2023


#58671: "error TS2315: Type 'Server' is not generic" when building Gutenberg from
WP checkout
------------------------------+-------------------------
 Reporter:  SergeyBiryukov    |       Owner:  (none)
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:
Component:  Build/Test Tools  |     Version:  6.3
 Severity:  normal            |  Resolution:  worksforme
 Keywords:                    |     Focuses:
------------------------------+-------------------------

Comment (by desrosj):

 In [changeset:"56976" 56976]:
 {{{
 #!CommitTicketReference repository="" revision="56976"
 Build/Test Tools: Test the Gutenberg plugin build process.

 A very common contributor setup is having a copy of the `gutenberg`
 development repository within a checkout of the `wordpress-develop`
 repository. On occasion, there are some strange incompatibilities that
 come up when using this setup. A few examples can be seen in #58671 and
 #59634.

 This changeset helps ensure that these edge cases are not introduced by
 testing the Gutenberg plugin’s build process within WordPress configured
 to run from both the `src` and `build` directories.

 This also renames the “Test npm” workflow to a more general “Test Build
 Processes”, which more accurately describes what is actually being tested
 within it and allows these new test jobs to be grouped in.

 And finally, the logic within the workflow has been split out into two
 callable workflows. This helps avoid code duplication within the workflow,
 and allows for better grouping on the workflow run screen.

 Props swissspidy, aferica, SergeyBiryukov, antonvlasenko, desrosj.
 Fixes #59632. See #58671, #59634.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/58671#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list