Commit Graph

95 Commits

Author SHA1 Message Date
Darren Ethier 1fb5cc07da
update Woo Blocks to 5.7.1 2021-08-30 14:02:25 -04:00
Nestor Soriano 07cdb5b6a4
Merge branch 'trunk' into fix/unit-tests 2021-08-24 09:33:00 +02:00
Moon 80dccafe35 Bump WCA version to 2.6.0-rc.2 2021-08-19 09:34:29 -07:00
Claudio Sanches 6feac59adf Merge branch 'trunk' into fix/unit-tests 2021-08-17 13:13:15 -03:00
Mike Jolley 2c1b71767a Update blocks package to 5.7.0 2021-08-17 14:56:57 +01:00
Claudio Sanches e9443a6850 Composer update 2021-08-09 12:46:56 -03:00
Fernando Marichal cc100361de Bump woocommerce-admin version to 2.5.0-rc.1 2021-07-26 16:34:43 -03:00
Fernando Marichal c5cf917850 Bump woocommerce-admin version to 2.5.0-beta.2 2021-07-21 10:01:06 -03:00
vedanshujain 32b4ac1a9a Run via Composer V2.0 2021-07-02 15:49:15 +05:30
dependabot[bot] 926e9f8d51
Bump league/flysystem from 1.1.3 to 1.1.4 in /bin/composer/mozart
Bumps [league/flysystem](https://github.com/thephpleague/flysystem) from 1.1.3 to 1.1.4.
- [Release notes](https://github.com/thephpleague/flysystem/releases)
- [Changelog](https://github.com/thephpleague/flysystem/blob/2.x/CHANGELOG.md)
- [Commits](https://github.com/thephpleague/flysystem/compare/1.1.3...1.1.4)

---
updated-dependencies:
- dependency-name: league/flysystem
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-29 15:42:27 +00:00
Ilyas Foo 44899677cf Update to rc2 2021-06-18 14:40:15 +08:00
Ilyas Foo a9a2fb5f16 Bump woocommerce-admin version to 2.4.0-rc.1 2021-06-17 17:20:11 +05:30
barryhughes be42d2c0bf Update Action Scheduler to 3.2.0. 2021-06-03 10:36:03 -07:00
Christopher Allford 084b13657b Fixed lock file version 2021-05-24 12:50:05 -07:00
Timmy Crawford 5f9b632eae Update woocommerce-admin package to 2.3.1 2021-05-24 12:00:32 -07:00
Timmy Crawford 771548f852 Update woocommerce-admin package to 2.3.0 2021-05-13 12:19:10 -07:00
Claudio Sanches 4e89b08df9 Remove dependabot from contributors script 2021-05-11 12:52:24 -03:00
vedanshujain db5a77bec6 Use composer 2.0+ to update files. 2021-04-05 14:31:27 +05:30
Timmy Crawford b0de623f25 Update woocommerce-admin package to 2.1.5 2021-04-02 10:00:38 -07:00
Timmy Crawford 98764aa0d1 Update woocommerce-admin to 2.0.3 2021-03-10 08:10:06 -08:00
Claudio Sanches d6e3cf6de9 Update default GIT branch 2021-02-25 20:51:14 -03:00
Paul Sealock 13760d55a9 compser artifacts 2021-02-12 15:09:02 +13:00
Mike Jolley 38ad7819df Bump to 4.4.2 2021-02-11 17:19:41 +00:00
Mike Jolley ff9d8e2b51 Cmposer update after rebase 2021-02-11 17:19:15 +00:00
Mike Jolley 56e3d8339b Update lock files 2021-02-11 17:19:00 +00:00
Vedanshu Jain 6b862e12e5
Merge pull request #28940 from woocommerce/install-e2e-only-explicitly
Improve the WooCommerce build process
2021-02-10 16:26:04 +05:30
Claudio Sanches 0131210907 Update composer dependencies 2021-02-03 18:10:05 -03:00
Nestor Soriano 1b04bedd3d Exclude e2e infrastructure from the zip build process
Use the new "install:no-e2e" script instead of "npm install"
for building the zip file.
2021-01-27 16:59:31 +01:00
Nestor Soriano 63c2b434d2 Don't update text domains on the post-merge hook. 2021-01-27 16:48:25 +01:00
Nestor Soriano f239075b2f Improve the nmp setup process to install e2e tests only explicitly
Use the "install-subset" package to define a subset of the nmp
dependencies that doesn't include the e2e testing infrastructure.
Also define a new npm "install:no-e2e" command, and modify the
post-merge hook to use it instead of the full install.
2021-01-26 12:23:24 +01:00
Paul Sealock f7cc34779a update wc-admin to 1.9.0-rc.3 2021-01-22 23:44:27 +13:00
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
Rodrigo Primo 9f22f10861 Fix error in the sed commands used to prefix namespaces
This commit fixes a minor error in the sed commands used to prefix
namespaces in the vendor folder. Due to an extra space sed was
considering `.bak` an extra parameter. If we use `-i.bak` instead (without the
space), sed creates a backup file which is the desired behavior.

With this change we won't be getting the errors below when running
`composer install` or `composer update`:

```
Generating autoload files
> sh ./bin/prefix-vendor-namespaces.sh
Prefixing the appropriate vendor namespaces with Automattic\WooCommerce\Vendor
sed: can't read .bak: No such file or directory
sed: can't read .bak: No such file or directory
sed: can't read .bak: No such file or directory
(...)
```

Since sed was working without creating a backup file, I wonder if we
really need to create one. I tested and `sed -i -E -e
"s/\"(League\\\\\\\Container)/\"Automattic\\\\\\\WooCommerce\\\\\\\Vendor\\\\\\\\\1/g"
vendor/league/container/composer.json` works well in Linux. If it also
works on Mac, maybe we can use it and remove the code that deletes the
.bak files?
2020-10-21 09:26:30 -03:00
Claudio Sanches e6e199fb7e Update composer.lock 2020-10-19 23:37:27 -03:00