Commit Graph

211 Commits

Author SHA1 Message Date
vedanshujain dd22387bc7 Merge branch 'master' into update/jetpack-autoloader 2020-12-28 18:20:15 +05:30
vedanshujain f8121b9589 Update composer lock to not include additional components. 2020-12-23 14:32:08 +05:30
Paul Sealock ecbb127880 update wc-admin 1.8.2 2020-12-23 15:26:04 +13:00
vedanshujain d03e91c7d2 Merge branch 'master' into update/jetpack-autoloader 2020-12-21 16:40:41 +05:30
Christopher Allford 1bec2b9172 Updated the Jetpack Autoloader to v2.7.1
This includes a number of improvements but also requires that we set the `optimize-autoloader` configuration key to compensate for some classes that don't comply with PSR-4.
2020-12-18 14:52:39 -08:00
vedanshujain 293849ac53 Merge branch 'master' into update/woocommerce-blocks-4.0.0 2020-12-18 20:02:00 +05:30
Sam Seay 975388bfb3 Update wc-admin to 1.8.1 2020-12-15 15:00:08 +13:00
Mike Jolley 6208fc3d27 Update WooCommerce Blocks package to 4.0.0 2020-12-08 15:18:54 +00:00
Timmy Crawford 098d654dd4 Update woocomerce-admin to 1.7.3 2020-12-03 13:26:44 -08:00
Renovate Bot efbd5aa52c
Update dependency automattic/jetpack-constants to v1.5.1 2020-11-25 11:10:58 +00:00
Renovate Bot bfbf556c96
Update dependency automattic/jetpack-autoloader to v2.6.0 2020-11-25 03:08:35 +00:00
Fernando Marichal 83c170b88e Version bump wc-admin 1.7.2 2020-11-24 17:10:48 -08:00
Darren Ethier 8ffa39b78f
bump wc-blocks package to 3.8.1 2020-11-23 16:09:57 -05:00
Nestor Soriano 16bd67688f Remove "pushd" and "popd" from build-lib.sh
These are bash specific commands and will fail since the script is
actually run as a sh script. Instead, the "-d" option of composer
is now used.
2020-11-19 09:25:48 +01:00
Christopher Allford e9dfe64f9f Replaced the local repository with root autoload definitions
Since Composer can't recursively use repositories, we can't actually use a local package to deal with this. We're going to keep the local package to separate the dependencies but we need to add autoload keys in the root package's `composer.json`
2020-11-18 15:31:54 -08:00
Christopher Allford c9f413d297 Created dummy `woocommerce/woocommerce-lib` package to contain dependencies
In order to avoid problems posed by potentially including the unconverted dependencies in the root autoloader, this package will hold all dependencies that require conflict avoidance.
2020-11-18 13:54:20 -08:00
Nestor Soriano 556ea1ecfa Merge branch 'master' into use-mozart-to-renamespace-dependencies 2020-11-18 09:05:11 +01:00
Christopher Allford c491bd45aa Updated lock file 2020-11-13 09:43:01 -08:00
Christopher Allford 1041c8d238 Updated WooCommerce Admin 2020-11-12 11:22:39 -08:00
Christopher Allford b22268c754 Updated to Composer v2
This also updates the woocommerce/woocommerce-admin and woocommerce/woocommerce-blocks packages as their dependence on `composer/installers` precludes update otherwise
2020-11-11 13:45:51 -08:00
Nestor Soriano 8bb0f196e6 Change the strategy for moving packages
Since the Mozart package requires PHP 7.2, and we need to support 7.0
and 7.1, the moving step has been removed from the composer install
stage. Instead, now it has to be triggered manually via
`composer run move-vendor-namespaces`, and the moved package must be
added to source control. See the updated src/Internal/Vendor/REAMDE.md
for details.
2020-11-05 17:19:14 +01:00
Nestor Soriano 96fce186e7 Use Mozart instead of a script to renamespace packages.
A custom fork of the coenjacobs/mozart package is now used to change
the namespace of the appropriate packages (only league/container
for now) instead of the previously used prefix-vendor-namespaces script.

The packages are now moved to the src/Internal/Vendor namespace instead
of being modified in-place in the vendor directory. The namespaces
are thus now prefixed with Automattic\WooCommerce\Internal\Vendor
(previously it was just Automattic\WooCommerce\Vendor).
2020-10-30 12:28:26 +01:00
Ron Rennick b6c88e3171 update composer.lock 2020-10-28 14:36:45 -03:00
Timmy Crawford 0c40758f5e Updates wc-admin to 1.6.3 2020-10-26 13:35:24 -07:00
Rodrigo Primo d0576a2a17 Merge branch 'master' into update/woocommerce-admin/1.6.2 2020-10-20 10:43:52 -03:00
Claudio Sanches f349a70618 Merge branch 'master' into update/woocommerce-blocks-3.6.0 2020-10-19 23:40:52 -03:00
Claudio Sanches e6e199fb7e Update composer.lock 2020-10-19 23:37:27 -03:00
Timmy Crawford 8641ec6135 Update woocommerce-admin to 1.6.2 2020-10-19 10:39:15 -07:00
Renovate Bot a7696c7392
Update dependency automattic/jetpack-constants to v1.5.0 2020-10-16 10:31:13 +00:00
Albert Juhé Lluveras b02f4ec62b Update WooCommerce Blocks package to 3.6.0 2020-10-15 10:46:20 +02:00
Renovate Bot e3f91ef4ec
Update dependency league/container to v3.3.3 2020-10-14 16:24:37 +00:00
Timmy Crawford 729086a583 Update woocommerce-admin to 1.6.1 2020-10-13 15:42:09 -07:00
Timmy Crawford 58f181e351 Update WooCommerce Admin to 1.6.0 2020-10-09 14:15:42 -07:00
Nestor Soriano a621f07a96 Merge branch 'master' into add/composer-bin-plugin 2020-10-08 12:27:28 +02:00
Nestor Soriano ca085a8e6b Update composer.lock 2020-10-08 09:30:29 +02:00
Nestor Soriano 97618d8fad Reintroduce the League's Container package, and prefix it.
All the classes in the package are re-namespaced from
"Leage\Container" to "Automattic\WooCommerce\Vendor\League\Container"
to prevent conflicts with extensions using the same plugin.

The re-namespacing is done by using a simple text substitution
on all the code files (see prefix-vendor-namespaces.sh), for this
particular case this approach is enough.
2020-10-08 09:28:01 +02:00
Christopher Allford b3da18a14b Merge branch 'master' into add/composer-bin-plugin 2020-10-06 10:13:47 -07:00
Timmy Crawford 7efccce126 Update woocommerce-admin to 1.6.0-rc.3 2020-10-01 06:39:57 -07:00
Christopher Allford ef612f60e5 Moved the PHP code sniffs into a bin folder 2020-09-22 11:55:24 -07:00
Christopher Allford f81a25c398 Moved all of the composer binary commands into the `composer-bin-plugin` to avoid version compatibility errors 2020-09-22 11:44:27 -07:00
Timmy Crawford 3def445592 Update composer.lock 2020-09-18 12:39:49 -07:00
Darren Ethier aeeee93e4b
update woo-blocks to 3.4.0 2020-09-15 09:39:41 -04:00
Rebecca Scott 1f42f0f487 Bump WooCommerce Admin version to 1.5.0 2020-09-08 10:56:31 -05:00
Claudio Sanches e581dbfadd Restore platform confirm and force package-lock.json to update 2020-09-08 11:38:57 -03:00
Renovate Bot debe085284
Pin dependencies 2020-09-05 13:43:24 +00:00
Jonathan Sadowski d637db8201 Update composer.lock 2020-09-02 17:26:15 -05:00
Jonathan Sadowski 456851c827 Bump wc-admin to 1.5.0-rc.3 2020-09-01 13:50:02 -05:00
Rebecca Scott 97902b00cd Bump wc-admin to 1.5.0-rc.2 2020-08-25 08:49:50 +10:00
Christopher Allford 358db5dc3e Removed the internals of the Container pending package conflict resolution
Since reverting the PR at this point would be a mess I've gone ahead and removed the internals of the container. We should aim to keep the class since it's now part of our public API but it won't work as expected anymore. This is fine for now since we don't actually have anything in it!
2020-08-18 20:39:48 -07:00
Jonathan Sadowski 163bb51089 Resolved composer conflict 2020-08-18 10:46:41 -05:00