Commit Graph

47342 Commits

Author SHA1 Message Date
Lucas Bustamante 3e9e76ef7a
Update packages/js/api/README.md
Co-authored-by: Greg <71906536+zhongruige@users.noreply.github.com>
2022-03-29 15:02:42 +01:00
Lucas Bustamante 4cfb412a57
PR Review 2022-03-29 15:02:04 +01:00
Lucas Bustamante 1d036a79e7
Update packages/js/api/README.md
Co-authored-by: Greg <71906536+zhongruige@users.noreply.github.com>
2022-03-29 15:00:08 +01:00
Lucas Bustamante 922a72ef7e
PR Review 2022-03-29 14:58:42 +01:00
louwie17 59c4bf0831
Merge pull request #32389 from woocommerce/dev/32355_add_screenshot_artifact
Add archive E2E screenshots step for E2E tests task
2022-03-29 08:50:23 -03:00
Nestor Soriano be213eb821
Add return type setUp and tearDown methods in admin unit tests
After the bump to PHP 7.2 all the setUp and tearDown methods
in unit test classes need to have an explicit "void" return type
declaration. This commit adds those for the woocommerce-admin tests.
2022-03-29 12:08:08 +02:00
Chi-Hsuan Huang 4b21e1d913 Remove .vscode since it has been removed to root 2022-03-29 17:48:25 +08:00
Chi-Hsuan Huang ed8c114bdd Add back woocommerce-admin.php uninstall.php 2022-03-29 17:47:18 +08:00
Chi-Hsuan Huang 4c976ebd17 Remove unnecessary wooCommerce admin files
Add back languages/README.md
2022-03-29 17:47:18 +08:00
Chi-Hsuan Huang c57b45881e
Merge pull request #32396 from woocommerce/fix/32353-storybook
Fix woocommerce admin storybook commands
2022-03-29 17:44:12 +08:00
Chi-Hsuan Huang 554d953bdc
Merge pull request #32394 from woocommerce/add/32393-cancel-previous-runs-step
Add "Cancel Previous Runs" step to `pr-*` Github actions
2022-03-29 17:36:12 +08:00
Chi-Hsuan Huang 386d173105 Update storybook webpack config to build stories 2022-03-29 16:46:40 +08:00
Chi-Hsuan Huang 0cc5c6d515 Add expose-loader for storybook webpack config 2022-03-29 16:46:40 +08:00
Chi-Hsuan Huang 6f03e42dd1 Add @babel/runtime to dev dependencies of js packages 2022-03-29 16:46:06 +08:00
Chi-Hsuan Huang b658920898 Fix storybook packages paths 2022-03-29 16:45:39 +08:00
Nestor Soriano 25bf59d5e7
Merge branch 'trunk' into bump-required-php-to-7.2 2022-03-29 10:45:07 +02:00
Chi-Hsuan Huang 9a4138846d Add a empty line between steps for pr-project-label.yml 2022-03-29 16:43:19 +08:00
Chi-Hsuan Huang 71350b4e8b Change script lint:js:packages to lint:js-packages 2022-03-29 16:38:26 +08:00
Chi-Hsuan Huang adf11a9801 Add action name for pr-lint-test-js.yml 2022-03-29 16:38:06 +08:00
Chi-Hsuan Huang 025774d0c8 Update lint test action steps
Fix lint command

Update step name
2022-03-29 16:38:06 +08:00
Chi-Hsuan Huang ecff6cd680 Remove lint-test-js.yml 2022-03-29 16:38:06 +08:00
Chi-Hsuan Huang f2a6f93684 Update wca test command and ignore api-core-test
Update test:packages cmd
2022-03-29 16:38:06 +08:00
Chi-Hsuan Huang 4baad1a6e3 Add pr-lint-test-js.yml and remove package-js-api.yml, js_lint_test.sh 2022-03-29 16:38:06 +08:00
Chi-Hsuan Huang fcb392c51d
Merge pull request #32357 from woocommerce/fix/32310-admin-eslint
Fix woocommerce admin eslint command & errors
2022-03-29 16:33:40 +08:00
Nestor Soriano 6befc1d62a
Small changes related to the bump of min PHP to 7.2
- Rename wrongly cased variable
- Require higher version of maxmind/dbreader
2022-03-29 10:29:15 +02:00
RJChow e9eac24793 tsconfig modifications
- moved and updated .vscode/tasks.json up to root level, and add exclusion to .gitignore
- added --pretty to ts:check in wca package.json (because otherwise there's no syntax highlighting in the output, not sure why this is needed with nx and not without)
- added references to root tsconfig.base.json
- update development.md with instructions for ts checking
2022-03-29 16:08:07 +08:00
Chi-Hsuan Huang 5c4014a651 Add @wordpress/eslint-plugin to root package.json 2022-03-29 16:08:07 +08:00
Chi-Hsuan Huang 99e6f61dc8 Update woocommerce-admin/.eslintrc.js 2022-03-29 16:08:07 +08:00
Chi-Hsuan Huang 5c705bc52b Update eslint-plugin recommended rules 2022-03-29 16:08:07 +08:00
Chi-Hsuan Huang 81a1f4244a Add .eslintrc config to each packages
Update packages .eslintrc.js

Update components & admin-e2e-tests lint command
2022-03-29 16:08:07 +08:00
Chi-Hsuan Huang 68786f8e72 Update pnpm-lock.yaml 2022-03-29 16:08:07 +08:00
Chi-Hsuan Huang df5b506b97 Add lint command to js packages
Update lint js commands

Update customer-effort-score/package.json
2022-03-29 16:08:06 +08:00
Chi-Hsuan Huang 8b2a97d405 Add lint cmd to project.json 2022-03-29 16:08:06 +08:00
Chi-Hsuan Huang 4592d49cfb Fix tsconfig path 2022-03-29 16:07:09 +08:00
Chi-Hsuan Huang b9eeb4991e Fix reminder-bar.scss lint error 2022-03-29 16:07:09 +08:00
Chi-Hsuan Huang d023349168 Add .eslintrc.js for js packages 2022-03-29 16:07:09 +08:00
Chi-Hsuan Huang 3e8c3be69d Ignore core js packages from woo admin's eslint 2022-03-29 16:07:09 +08:00
Chi-Hsuan Huang d45606293c Fix js package lint errors 2022-03-29 16:07:08 +08:00
Chi-Hsuan Huang 2c5c7549b5 Fix client lint errors 2022-03-29 16:06:33 +08:00
Chi-Hsuan Huang 4ca1ae0032 Fix paths in tsconfig 2022-03-29 16:06:32 +08:00
Chi-Hsuan Huang eb4c0a751e Add Cancel Previous Runs step to pr-* github actions 2022-03-29 11:53:58 +08:00
Christopher Allford bc12f7a263
Merge pull request #32334 from woocommerce/update/woocommerce-blocks-7.2.1
This pull updates the WooCommerce Blocks plugin to 7.2.1. It is intended to target WooCommerce 6.4 for release. This supercedes https://github.com/woocommerce/woocommerce/pull/32075.
2022-03-28 19:42:45 -07:00
RJ fd3b73d46f
Merge pull request #32373 from woocommerce/dev/remove-wca-from-issue-template
Removed separate WCA entry in .github issue template contact_link
2022-03-29 10:40:26 +08:00
moon f2b03feb24 Update version 2022-03-28 18:14:26 -07:00
moon d915587f5d Update version 2022-03-28 17:55:07 -07:00
moon cda288d327 Update VERSION constant 2022-03-28 17:37:35 -07:00
moon 707b0bd74d Fix typo 2022-03-28 14:01:21 -07:00
moon 4a52285930 Deprecate WC_ADMIN_VERSION_NUMBER constant 2022-03-28 13:55:51 -07:00
Christopher Allford 14e852b4b2
Merge WooCommerce Admin Unit Tests (#32287)
This folds the unit tests from WooCommerce Admin into the core test suite, enabling them to run.
2022-03-28 12:53:33 -07:00
Lourens Schep 0fd9aa2466 Remove unsupported working-directory param 2022-03-28 13:31:34 -03:00