Commit Graph

23 Commits

Author SHA1 Message Date
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
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
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 846a7fb3d1 Declare PHP version as 7.2 in composer.json for Mozart.
This way it won't throw errors when building in 7.0 or 7.1
(required for CI). Still, an error will be thrown when manually
running move-vendor-packages.sh in 7.0 or 7.1.
2020-11-18 09:39:46 +01:00
Nestor Soriano f296b36667 Get Mozart package from original source instead of our fork.
Since the pull requests with required functionality have been accepted
and merged, we can now use the original repository instead of
Woo's fork.
2020-11-18 09:14:17 +01:00
Nestor Soriano 556ea1ecfa Merge branch 'master' into use-mozart-to-renamespace-dependencies 2020-11-18 09:05:11 +01:00
Christopher Allford 84c8bc4afa Corrected `composer.json` PHP minimums to 7.0 to ensure compatibility in Travis 2020-11-12 12:25:52 -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
Claudio Sanches 0fea7e8e58
Updated phpcs and phpunit composer.lock (#28096)
* Fix build on Travis
2020-10-28 16:31:43 -03:00
Timmy Crawford 0c40758f5e Updates wc-admin to 1.6.3 2020-10-26 13:35:24 -07:00
Claudio Sanches e6e199fb7e Update composer.lock 2020-10-19 23:37:27 -03:00
Timmy Crawford 58f181e351 Update WooCommerce Admin to 1.6.0 2020-10-09 14:15:42 -07:00
Christopher Allford b3da18a14b Merge branch 'master' into add/composer-bin-plugin 2020-10-06 10:13:47 -07:00
Christopher Allford 5ec004cada Added appropriate platform constraints to bin packages 2020-09-24 11:54:59 -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