[wp-trac] [WordPress Trac] #46039: Update package.json
WordPress Trac
noreply at wordpress.org
Tue Jan 22 11:46:10 UTC 2019
#46039: Update package.json
------------------------------+---------------------
Reporter: azaozz | Owner: (none)
Type: task (blessed) | Status: new
Priority: normal | Milestone: 5.1
Component: Build/Test Tools | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
------------------------------+---------------------
Comment (by gziolo):
In general, we should stop using ranges for dependencies listed in the
main `package.json` file to limit the number of packages updated in the
lock file whenever any change gets applied. This should bring more
stability to the whole process.
We should also closely align with Gutenberg for vendor packages which are
provided in PHP files. See:
https://github.com/WordPress/gutenberg/blob/master/lib/client-
assets.php#L586-L633
All the versions used there should match in WordPress core:
- @babel/polyfill
- lodash
- moment
- react
- reac-dom
and other polyfills
--
Ticket URL: <https://core.trac.wordpress.org/ticket/46039#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list