Commit Graph

53 Commits

Author SHA1 Message Date
Sam Seay bec3ec18ac
Update Syncpack and use it to pin @wordpress packages to wp-6.0 (#37034) 2023-03-09 10:13:25 +13:00
Sam Seay 1834621d1a
Update the @woocommerce/eslint-plugin and fix bugs (#36988) 2023-03-02 11:36:38 +13:00
github-actions[bot] a3e26fe9ea
Prepare Packages for Release (#36825)
Automated change: Prep @woocommerce/onboarding for release.

Co-authored-by: chihsuan <chihsuan@users.noreply.github.com>
2023-02-14 09:43:17 +08:00
Leif Singer d0a2b582fe
Consolidate eslint versions (#36700)
* pin eslint in .syncpackrc

run `pnpm run sync-dependencies` to ensure pinned version is used across projects, then run `pnpm install` to update `pnpm-lock.yaml`

* add changelog files

ran `pnpm run --no-bail --filter='[HEAD^1]' changelog add --significance=patch --type=dev --entry='Update eslint to 8.32.0 across the monorepo.'`

* re-run `pnpm install` to fix what broke while merging
2023-02-02 23:25:04 +13:00
Ilyas Foo 30a4bdefd8
Add Tasklist extensibility and WooOnboardingTaskListHeader SlotFill (#36519)
* Add experimental onboarding_tasklist PHP filter

* Add WooOnboardingTaskListHeader and woocommerce_onboarding_task_list_header Slot to task list

* Changelog

* Fix header task logic

* Remove React FC types

* Update changelog

* Fix comment
2023-01-21 15:19:20 +08:00
Vedanshu Jain f36a16cd06
Update changelogger to 3.3.0 to support PR number capturing with merge (#36266)
* Update changelogger.

* Add changelog.

* Update changelogger for all packages.

* Add changelogs.

* Update changelog for remaining packages.
2023-01-05 14:42:51 +05:30
Chi-Hsuan Huang 9f0d718a33
Cleanup product task experiment (#35950)
* Cleanup product task experiment

* Rename experimental-products -> products

* Add changelog

* Clean up product task experiment in woo/onboarding

Remove product variant

* Rename experimental-import-products -> import-products

* Clean up OnboardingTasks.php

* Add changelog

* Remove experimental-products-task feature flag
2022-12-28 16:08:54 +08:00
Chi-Hsuan Huang 736395ba3a
Fix wcpay benefits UI padding (#35946)
* Fix wcpay benefits padding

* Add changelog
2022-12-15 19:47:36 +08: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
Joshua T Flowers 3fd736c72f
Update plugins installer component to TS, Fix TS bugs and Syncpack TypeScript (#34787) 2022-09-30 10:59:07 +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
RJ f3e436f991
fix: type definition issues related to pnpm hoisting rules in preparation for pnpm 7 upgrade (#34154)
- added missing TS definition dependencies
2022-08-05 15:19:08 +08: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
github-actions[bot] c33212e612
Prepare Packages for Release (#33776)
Automated change: Prep all packages for release.

Co-authored-by: psealock <psealock@users.noreply.github.com>
2022-07-08 14:04:49 +12:00
Paul Sealock 72925142f3
Packages: Fix postinstall errors on install (#33724) 2022-07-07 14:53:59 +12:00
Paul Sealock 7229b65bc9
Changelogger: Fix PHPCS violations (#33664) 2022-07-07 08:54:48 +12:00
Chi-Hsuan Huang b274831334
Update wcpay suggestion UI in payment task (#33717)
* Add WCPayBanner & WCPayBenefits

* Update payment setting & welcome screen to use components from woo onboarding

* Update wcpay suggestion UI in payment task

* Add changelog

* Add WCPayBannerImageCut image and update wcpay banner style

* Update packages/js/onboarding/src/components/WCPayBanner/WCPayBanner.scss

Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>

* Set .woocommerce-recommended-payments-banner__image_container display: flex

Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
2022-07-06 14:20:11 +08:00
jonathansadowski d48a0b2d90
Add helper tool for making sure build, lint, and test are run through Turborepo (#33573)
* Add helper tool for making sure build, lint, and test are run through Turborepo

* Update node version for require-turbo
2022-06-28 13:17:05 -05: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
Paul Sealock b79e54eb09
Update JS packages changelogs (#33412) 2022-06-16 10:06:31 +12: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
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
Christopher Allford 2101bf5c9c
Set Composer Platform Requirements (#33245)
This commit sets a platform requirement for all `composer.json` files to ensure that they are compatible with CI.
2022-05-27 14:57:33 -07:00
Chi-Hsuan Huang 637ea244ea Add changelog 2022-05-23 13:28:31 +08:00
Chi-Hsuan Huang 76737b12f7 Migrate @woocommerce/onboarding to TS 2022-05-23 13:25:08 +08:00
RJ f637dd2bb7
Add: temporary workaround to add experiment metadata for task_view (#33052)
rigged a workaround to let products task report its experimental assignment
2022-05-18 15:24:48 +08:00
RJChow f3cc00ff8b changelogs 2022-05-13 06:20:11 +08:00
RJChow 05cd1c30de Added tracks events to experimental products pages 2022-05-13 06:16:28 +08:00
Ilyas Foo 713198f5ed Renames to increase clarity 2022-05-12 10:41:15 +08:00
Ilyas Foo f7263c60ff Changelogs 2022-05-12 10:41:15 +08:00
Ilyas Foo 37772a1349 Add use-product-layout-experiment hook and logic to onboarding package 2022-05-12 10:41:14 +08: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
RJChow 67cf1e109b added task_view tracks prop for experimental_products 2022-05-10 12:52:00 +08:00
Paul Sealock 5537da6e9d
Packages: Add Changelogger scripts (#32813) 2022-05-05 15:26:36 +12:00
Paul Sealock e82e3cc49e changelog 2022-04-28 10:00:29 +12:00
Paul Sealock 931845a53a reference local eslint plugin package 2022-04-28 10:00:29 +12:00
Paul Sealock 12fef88354 Add lint:fix to admin js packages 2022-04-28 10:00:29 +12:00
Chi-Hsuan Huang 01276d492e Add changelogs 2022-04-15 13:50:18 +08:00
Chi-Hsuan Huang 6f5ada8748 Add Typescript type declarations for js packages 2022-04-15 13:50:17 +08:00
Chi-Hsuan Huang 863316ade7
Merge pull request #32518 from woocommerce/update/32516-woocommerce-admin-links
Update woocommerce-admin links to point to woocommerce repo
2022-04-14 13:40:25 +08:00
Lourens Schep 52922c9219 Add changelogs 2022-04-13 09:58:09 -03:00
Chi-Hsuan Huang 3fc88f0a71 Update links of woocommerce-admin to https://github.com/woocommerce/woocommerce 2022-04-07 17:02:43 +08:00
Chi-Hsuan Huang 2b1f54b09d Set up lint-staged configuration for each package 2022-04-06 17:31:32 +08:00
RJChow 12a818c04d Codemod to change i18n text domain from 'woocommerce-admin' to 'woocommerce' in JS packages 2022-04-01 11:41:32 +08:00
Lourens Schep 775e7117a1 Add build-watch to most js packages and remove packages watch from woocommerce-admin command 2022-03-30 11:46:12 -03: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