[buddypress-trac] [BuddyPress Trac] #8457: Migrate to @wordpress/scripts (was: Migrate to Parcel.js v2)

buddypress-trac noreply at wordpress.org
Thu Mar 9 11:33:20 UTC 2023


#8457: Migrate to @wordpress/scripts
------------------------------+-----------------------
 Reporter:  imath             |       Owner:  imath
     Type:  task              |      Status:  assigned
 Priority:  normal            |   Milestone:  12.0.0
Component:  Build/Test Tools  |     Version:  6.0.0
 Severity:  normal            |  Resolution:
 Keywords:  needs-patch       |
------------------------------+-----------------------
Changes (by imath):

 * keywords:   => needs-patch


Old description:

> Parcel v1 is no longer maintained. I'm going to update it to the last 1.x
> version. But we'll need to migrate to v2 during next dev cycle.
>
> See https://v2.parceljs.org/getting-started/migration

New description:

 Unfortunately unlike Parcel v1, Parcel v2 is not yet supporting library
 builds (using a global window object for a script). We need this
 possibility for our shared BP Block components an data store.

 We can’t wait longer as v1 is no more maintained and contains node modules
 with security issues.

 I’ve been testing the [https://developer.wordpress.org/block-editor
 /reference-guides/packages/packages-scripts/ @wordpress/scripts] package
 for the BP Block Activity Editor feature as a plugin as well as custom
 Webpack config for the BP Blocks plugin. To fully enjoy the v2 of the
 block API, I will work on a migration process.

 ==== Previous description ====
 Parcel v1 is no longer maintained. I'm going to update it to the last 1.x
 version. But we'll need to migrate to v2 during next dev cycle.

 See https://v2.parceljs.org/getting-started/migration

--

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8457#comment:7>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list