Commit Graph

166 Commits

Author SHA1 Message Date
Sam Seay 55b49cb50a
Fix and consolidate linting across the monorepo (#35012) 2022-10-12 15:05:01 +13:00
Sam Seay aec442139f
Update pnpm once again to fix issues with auto-install-peers (#35007) 2022-10-10 16:59:51 +13:00
Sam Seay 59e0c80f3c
Update the pnpm constraint to 7.12.2+ now auto-install is fixed. (#34872) 2022-10-03 10:52:42 +13:00
Sam Seay c0fe3ec18f
Fix pnpm version to 7.11.0 in engines and in CI (#34773) 2022-09-27 11:30:52 +13:00
Sam Seay 04b74c1053
Upgrade to pnpm 7 (#34661)
* Remove -- -- from scripts that fixed issue in pnpm 6, fix a couple TS issues in sep packages
* Minor fixes to analyzer scripts and doco based on pnpm 7
* Add dompurify types to data package to avoid TS errors
* Remove pnpx in favor of pnpm exec
* Modify the code analyzer to respect pnpm version if present.
* Update instructions for running recursive lint, add comments to explain
2022-09-16 09:21:42 +12:00
Tomek Wytrębowicz a86e387667
Update/unify jest@27 across all packages (#34322)
* Update `jest-puppeteer@5.0.4` (from `4.4.0`)

to be albe to run with jest 28.

* Update `jest` and `ts-jest@^27` (from `25`),

to match `e2e-environment` needs.

* Update api-core-tests' `jest@^27` (from `25`),

to unify the used version across the stack.

* Update e2e-env's `jest@^27` & co.  (from `25`),

to unify the used version across the stack.

* Update e2e-env's `@jest/test-sequencer@^27`  (from `25`),

to unify the used version across the stack.

* Update admin-e2e-tests' `@jest/globals@^27`  (from `26`),

to unify the used version across the stack.

* Update woocommerce's `jest@^27.5.1`  (from `25`),

to unify the used version across the stack.

* Replace `mocked` from `ts-jest` to the one from `jest`,

Update `@types/jest@27.4.1` from `27.0.2`.
Try to fix broken tsc build.

* Update `e2e-core-tests`' `@jest/globals@^27.5.1`

from `^26.4.2`.

* Remove changelog entry for bumpin jest in `api-core-tests`

It was already covered in `trunk`.

Addresses https://github.com/woocommerce/woocommerce/pull/34322#discussion_r956019567

* Updated package-lock.yaml

* Updated timeout

* Added changelogs

Co-authored-by: jamelreid <jnoelreid@gmail.com>
2022-09-06 09:29:45 -05:00
Sam Seay 5becf47d60
Simplify turbo commands (#34055)
* Change package json commands and turbo repo config to allow for greatly simplifying running turbo
* Remove require-turbo script which was causing caching issues
* Colorize CI output from scripts
* Add missing changelog script to extend-cart-checkout-block
2022-08-05 12:03:17 +12:00
Jamel Noel Reid c207005c85
Fix app root fetching when using PNPM version 7 (#33929)
* Updated to pass lint checks

* Used __dirname to determine package path
2022-07-27 14:13:17 -06:00
Jamel Noel Reid 7265fde855
Update e2e core tests to pass lint checks (#33928)
Updated to pass lint checks
2022-07-18 15:27:05 -03:00
Roy Ho 98cf4e7160
Add PR numbers to changelog entries on code freeze process (#33627)
* Add PR numbers to changelog entries on code freeze process

* Add markdown links to PR
2022-06-28 11:15:39 -07:00
Chi-Hsuan Huang 4ebdd2b226
Add e2e test to make sure chunk URLs contain version param (#33402)
Add e2e test to make sure chunk URL contains version param
2022-06-14 10:23:23 +08:00
Christopher Allford b7931409f2
Migrate From Nx to Turborepo (#33079)
This replaces all `nx` commands with `turbo` commands and removes Nx from the repository. All of the `project.json` files have been removed and any commands that broke with Turborepo have been adjusted.
2022-06-09 14:40:07 -07:00
Joep Schuurkes 7e54b8aea0
Add e2e tests to check shipping costs consistency in cart and checkout (#33208)
* Add e2e tests to check consistency in shipping costs for cart and checkout pages

Goal of these tests it to check if the cart and checkout pages are
consistent in calculuating shipping costs. Three tests added:
- shipping available to country with states
- shipping available to country without states
- no shipping available (fails, see issue #33205)

Reason to add these tests is PR #25916, which reverted PR #25128,
because the original PR worked for the cart page, but not for the
checkout page.

* Update e2e-core-tests changelog

* Skip failing e2e-core-test
2022-06-03 10:01:04 -06:00
Alejandro López Ariza ea25e2c5b2
Added new tests to cover editing product variations in the Product Edit page. (#32722) 2022-06-01 09:36:44 -06:00
Christopher Allford 112b9ac67a
Prefixed Private JS Packages (#33218)
In order to ease the identification of private packages within the monorepo, this adds an `internal-` prefix to all of the current private packages. This makes it immediately clear when reviewing `packages/js` what is and isn't a private package.
2022-05-31 15:42:00 -07:00
Joel T 9e62fb58b8 Updating references to old album-1 image 2022-05-19 16:05:23 -07:00
Christopher Allford f41258a9f2 Added EOF Newlines
We put an extra newline at the end of all
files to detect those that have been
malformed or truncated.
2022-05-10 13:35:31 -07:00
Christopher Allford ec2e90540e Added Changelogs 2022-05-10 13:31:13 -07:00
Christopher Allford 37ad4c5a70 Converted Spaces To Tabs In JSON
Since we almost universally use tabs instead
of spaces, this commit replaces all of the spaces
with tabs in various JSON files across the monorepo.
2022-05-10 13:31:01 -07:00
Alejandro López Ariza 2886fede2c
Removed Jetpack Changelogger from test js packages as they follow another approach for handling changelogs. (#32877)
* Removed Jetpack Changelogger from test js packages as they follow another approach for handling changelogs.

* Removed composer.json from api-core-tests, e2e-core-tests, e2e-environmnet and e2e-utils as they are no longer needed.

* Removed postinstall script from api-core-tests, e2e-core-tests, e2e-environment and e2e-utils packages, since they will no longer have a composer.json file.
2022-05-10 13:11:19 +12:00
Paul Sealock 489ebf2cc6
Standardize linting: e2e js packages (#32794) 2022-05-05 15:02:50 +12:00
Christopher Allford 9a22c62505 Added Changelogs 2022-05-02 12:55:48 -07:00
Christopher Allford 7dc9c203f8 Added Missing `postinstall` Scripts 2022-05-02 12:55:48 -07:00
Christopher Allford 377b643720 Removed `prepare` Scripts
Thanks to our build orchestration tooling, there is
no reason for us to build all of the packages on
`install`. In cases where `prepare` was used to
build before packaging, this changes it to
`prepack` so it will run only under the correct
circumstances.
2022-05-02 12:55:48 -07:00
Paul Sealock 87cc903b3a changelof 2022-04-19 15:30:35 +12:00
Paul Sealock 4e700a35ca Create a private package to house e2e build logic 2022-04-19 14:59:46 +12:00
Chi-Hsuan Huang 2b1f54b09d Set up lint-staged configuration for each package 2022-04-06 17:31:32 +08:00
rodelgc 15fbc0be9a
Removed faker dependency (#32069)
* Removed faker dependency
2022-03-24 15:30:40 +08:00
Jorge A. Torres ca7bedd249
Merge pull request #31987 from woocommerce/fix/internal-links-in-readmes
Fix internal links in README files
2022-03-15 15:38:46 -05:00
Nestor Soriano 904ec4343c
Fix misc links in READMEs and GitHub templates. 2022-03-15 16:01:12 +01:00
Alejandro López Ariza 5af5be5100
Added new tests to wp-admin-order-edit.test.js for covering merchant management actions over downloadable products. (#31650)
* Added new tests to wp-admin-order-edit.test.js for covering merchant management actions over downloadable products.

* Updated changelogs from e2e-utils and e2e-core packages.

* - Fixed minor issue from wp-admin-order-edit.test.js when running tests in browser mode.
- Changed those tests so that products and orders are deleted individually after every test run.
- Added deleteOrder() and deleteProduct() functions to withRestApi.

Co-authored-by: rodelgc <rodel.calasagsag@automattic.com>
2022-02-28 15:24:33 +08:00
Ron Rennick 4fa9cf1051 missed package bumps from #31836 2022-02-18 13:14:06 -04:00
Jonathan Lane d3183be8a5
Merge pull request #31838 from woocommerce/fix/31456
use OS path separator in installFiles
2022-02-04 10:38:50 -08:00
Ron Rennick 5c12aaa877 use OS path separator in installFiles 2022-02-04 14:17:54 -04:00
Ron Rennick eac5fb5c67 Merge branch 'trunk' into e2e/prepare-release 2022-02-03 15:30:07 -04:00
Ron Rennick c607bbfeb8 pre-release changelog fixes 2022-02-01 15:37:31 -04:00
Ron Rennick 933de44557 remove pnpm rule, fix utils build 2022-01-28 12:34:49 -04:00
jamelreid cef0dd877b Updated CHANGELOG.md 2022-01-27 12:39:50 -05:00
jamelreid 19fa73acfd Updated top level menu css selectors
This is done to ensure that page load tests work regardless of the order of the top level menu list.
2022-01-27 12:38:20 -05:00
Ron Rennick 6687e5847e fix environment dependencies 2022-01-25 13:04:17 -04:00
Ron Rennick 75fec513e1 fix merge conflicts 2022-01-24 13:39:38 -04:00
jamelreid 7eef1abb02 Added a 45 second timeout to the beforeAll hook 2022-01-18 17:52:11 -05:00
Ron Rennick 7c04c5893c e2e package changelog cleanup 2022-01-18 05:04:32 -04:00
Ron Rennick 1c1fceb304 e2e-core-test package cleanup 2022-01-14 15:44:08 -04:00
Rodel fba4ddd94e Merge branch 'trunk' into add/e2e-more-variation-tests 2022-01-07 15:04:57 +08:00
Lucas Bustamante 9d85ba8f00 Merge branch 'trunk' into e2e/add-build-to-e2e-core-tests 2022-01-06 12:14:25 -03:00
Rodel 7924b79929 Merge branch 'trunk' into add/e2e-more-variation-tests 2022-01-06 18:27:51 +08:00
jonathansadowski d71a9d9ba9
Revert "Add config default values" 2022-01-05 14:44:31 -06:00
Lucas Bustamante 52adffb8b0 Add CHANGELOG.md to distributable package 2022-01-05 13:23:36 -03:00
Lucas Bustamante 38cab954c4 Add installFiles folder as part of the distributable package 2022-01-05 13:22:03 -03:00