Javascript Chat Summary – July 17th

Below is a summary of the discussion from this week’s JavaScript chat (agendaSlack transcript).

Attending: @abdullahramzan@adamsilverstein@aduth@gziolo@herregroen@hypest, @andrei.lupu, @netweb@rheinardkorf, @tofumatt, @soen, @chopinbach, @nerrad, @youknowriad

Have a topic for discussion for the next meeting? Leave a suggested edit on next week’s agenda.

Agenda Item: Versions of Node and NPM used in WordPress projects

Slack Conversation

This agenda item focused around discussing what versions of Node and NPM is used in WordPress projects and specifically within the context of what can be worked with within build platform constraints.

The current request can be tracked here.


What? Who?
Request from systems making available node 10/npm 6.
This will be in use until October and at that point, the operating policy will be using the LTS version of Node plus whatever NPM ships with that version.
Update various configuration/settings files in Gutenberg and wordpress-develop: .nvmrc, package.json, engines (etc). @netweb

Agenda Item: Packages

Slack Conversation

Some new packages have been merged to Gutenberg (not published at time of meeting):

  • @wordpress/html-entities
  • @wordpress/viewport
  • @wordpress/compose
  • @wordpress/components
  • @wordpress/api-fetch

There was discussion around the publishing process and improving it which includes moving towards automating some of the publishing process (which includes adopting conventional commits).  

Further discussion on this topic can be tracked via this Github issue.


What? Who?
Continue to identify and work on improvements to the publishing process that get it to “automating as much as possible as soon as possible”.  

Agenda Item: New compose package

Slack Conversation

The idea is to define precisely what should and shouldn’t go in each package without ending up with a catch-all components package.  The result is:

  • element: just the base API to build elements and components.
  • compose: a set of UI-less higher-order components and functions that can be used to build other components.
  • components: A set of UI-related components and higher-order components. 

Longer term this can be seen as Pattern library for WordPress.

Roadmap for this package structure can be found here.

Agenda Item: Proposal to extract Gutenberg’s ESLint configuration to a new module

Slack Conversation

Reference: Github pull request for proposal

Discussion took place around whether the current proposal should be called a “WordPress Standard Configuration”.  There was opposition expressed to the PR in its current form.


What? Who?
Between now and next meeting there needs to be assembled a detailed set of divergences that need to be proposed for consideration.
Post published proposing changes outlined from the above discovery process to Make/Core @aduth
Decision made on submitted proposal (involving wider WP team). 
This means no configuration will be published until this decision.