Ron Rennick
4fa2e3822c
Update the monorepo to node v20 ( #45148 )
...
* test bumping node to v18
* remove community contributor condition from review assignment
* Add changefile(s) from automation for the following project(s): @woocommerce/tracks, @woocommerce/onboarding, @woocommerce/number, @woocommerce/notices, @woocommerce/navigation, @woocommerce/internal-js-tests, @woocommerce/extend-cart-checkout-block, @woocommerce/expression-evaluation, @woocommerce/explat, @woocommerce/experimental, @woocommerce/eslint-plugin, @woocommerce/dependency-extraction-webpack-plugin, @woocommerce/date, @woocommerce/data, @woocommerce/customer-effort-score, @woocommerce/currency, @woocommerce/csv-export, @woocommerce/create-woo-extension, @woocommerce/create-product-editor-block, @woocommerce/components, @woocommerce/api, @woocommerce/admin-e2e-tests, woocommerce-blocks, woocommerce-beta-tester, woocommerce, woo-ai
* bump node to v20
* Add changefile(s) from automation for the following project(s): @woocommerce/tracks, @woocommerce/onboarding, @woocommerce/number, @woocommerce/notices, @woocommerce/navigation, @woocommerce/internal-js-tests, @woocommerce/extend-cart-checkout-block, @woocommerce/expression-evaluation, @woocommerce/explat, @woocommerce/experimental, @woocommerce/eslint-plugin, @woocommerce/dependency-extraction-webpack-plugin, @woocommerce/date, @woocommerce/data, @woocommerce/customer-effort-score, @woocommerce/currency, @woocommerce/csv-export, @woocommerce/create-woo-extension, @woocommerce/create-product-editor-block, @woocommerce/components, @woocommerce/api, @woocommerce/admin-e2e-tests, packages/php/remote-specs-validation, woocommerce-blocks, woocommerce-beta-tester, woocommerce, woo-ai
* Add changefile(s) from automation for the following project(s): @woocommerce/tracks, @woocommerce/onboarding, @woocommerce/number, @woocommerce/notices, @woocommerce/navigation, @woocommerce/internal-js-tests, @woocommerce/extend-cart-checkout-block, @woocommerce/expression-evaluation, @woocommerce/explat, @woocommerce/experimental, @woocommerce/eslint-plugin, @woocommerce/dependency-extraction-webpack-plugin, @woocommerce/date, @woocommerce/data, @woocommerce/customer-effort-score, @woocommerce/currency, @woocommerce/csv-export, @woocommerce/create-woo-extension, @woocommerce/create-product-editor-block, @woocommerce/components, @woocommerce/api, @woocommerce/admin-e2e-tests, woocommerce-blocks, woocommerce-beta-tester, woocommerce, woo-ai
* add blocks eslint-plugin-woocommerce to project workspace
* add e2e-environment as a peer to e2e-utils
* restore version on @woocommerce/api
* update lock file
* move e2e-environment to devDependencies
* add undefined location check to admin js test
---------
Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
Co-authored-by: github-actions <github-actions@github.com>
2024-04-12 13:49:55 -03:00
Ron Rennick
c6048b5c49
Add glob, rimraf, and uuid to Syncpack ( #46278 )
...
* add uuid to syncpack
* add rimraf to syncpack
* add glob to syncpack
* Add changefile(s) from automation for the following project(s): @woocommerce/tracks, @woocommerce/product-editor, @woocommerce/onboarding, @woocommerce/number, @woocommerce/notices, @woocommerce/navigation, @woocommerce/internal-js-tests, @woocommerce/integrate-plugin, @woocommerce/expression-evaluation, @woocommerce/explat, @woocommerce/experimental, @woocommerce/eslint-plugin, @woocommerce/dependency-extraction-webpack-plugin, @woocommerce/date, @woocommerce/data, @woocommerce/customer-effort-score, @woocommerce/currency, @woocommerce/csv-export, @woocommerce/components, @woocommerce/block-templates, @woocommerce/ai, @woocommerce/admin-layout, @woocommerce/admin-e2e-tests, woocommerce
---------
Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
Co-authored-by: github-actions <github-actions@github.com>
2024-04-11 12:52:49 -03:00
Leif Singer
8ee74ede0e
Update Woo.com references to WooCommerce.com ( #46259 )
...
* replace capitalized Woo.com with WooCommerce.com
* replace http URLs
* replace https URLs
* replace developer.woo.com
* add missing version in `@since` tag
* unslash the HTTP_REFERER
* WordPress.Security.ValidatedSanitizedInput.InputNotSanitized
* add changelog file
* add more changelog files
* address linter errors
* address more linter errors
* fix test
* more linter errors
2024-04-09 09:50:15 +01:00
Ron Rennick
1a03a64248
Sync husky, @playwright/test, github-label-sync ( #45551 )
...
* bump husky, remove remnants from blocks
* Add changefile(s) from automation for the following project(s): woocommerce-blocks
* add @playwright/test to syncpack
* Add changefile(s) from automation for the following project(s): woocommerce-blocks
* update pnpm-lock.yaml
* add github-label-sync to syncpack
* Add changefile(s) from automation for the following project(s): woocommerce-blocks
---------
Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
Co-authored-by: github-actions <github-actions@github.com>
2024-03-25 15:05:09 -03:00
Christopher Allford
293a88491c
Enhanced `pnpm clean` ( #45326 )
...
This adds `.wireit` directories to `pnpm clean` and fixes the
ordering so `pnpm store prune` works as it should.
2024-03-07 11:30:37 -08:00
Paul Sealock
73f098b563
tools/create-extension: Remove old tool ( #44374 )
...
remove tools/create-extension
2024-02-06 10:47:31 +13:00
Christopher Allford
95bc1189e5
Update `wireit` & Optimize Builds ( #43595 )
...
This bumps the version to 0.14.3 so that we can take advantage of some
upstream improvements. It also makes some changes to the way our
builds and watches work to minimize the number of unnecessary
Node processes involved in the execution.
2024-01-15 14:06:55 -08:00
Christopher Allford
758df4854d
Use `ci-jobs` Utility For `ci.yml` Matrix ( #43532 )
...
This adds support for using the `pnpm utils ci-jobs` command in our `ci.yml` file. One of the bigger benefits to this change too is that we're now distributing a bundled version of the utils tool. This lets us run it without actually having to install the repo and will let us speed up any workflows that currently do.
2024-01-12 20:32:14 -08:00
Gan Eng Chin
8b1df6c946
Fix "rm: .git/hooks: No such file or directory" error in `pnpm install` when the directory is missing ( #43142 )
...
* Fix "rm: .git/hooks: No such file or directory" error in `pnpm install`.
* Add changelog.
* Use "rm -rf" instead of "test" command on .git/hooks directory.
We use the "-f" flag so that it does not throw error when the directory does not exist.
2024-01-08 14:13:42 -04:00
Christopher Allford
bf29119032
Updated PNPM to ^8.12.1 ( #42860 )
2023-12-18 20:31:49 +13:00
Christopher Allford
1e4d55b36a
Updated Documentation
2023-12-09 14:30:29 -08:00
Christopher Allford
ca644e90f9
Updated Root Package
2023-12-09 14:25:31 -08:00
Christopher Allford
bc507e57a6
Removed Turborepo
2023-12-09 13:01:10 -08:00
Christopher Allford
bc65f9687b
Updated Syncpack Dependencies
2023-12-09 07:16:39 -08:00
Christopher Allford
3a88cc739a
Updated Dependencies
2023-12-09 07:12:20 -08:00
Christopher Allford
8c6b414fe0
Revert "Refactoring Task Infrastructure" ( #41928 )
...
Revert "Refactored Task Infrastructure (#41202 )"
This reverts commit 96a973b9fa
.
2023-12-06 11:36:12 -08:00
Christopher Allford
96a973b9fa
Refactored Task Infrastructure ( #41202 )
...
* Fixed NPM packages with invalid names.
* Renamed plugin packages.
* Standardized package NPM scripts.
* Replaced Turborepo with Wireit.
2023-12-06 09:32:32 -08:00
Christopher Allford
88969742f2
Regenerate PNPM Lock File & Fix Errors ( #41830 )
2023-12-05 00:36:30 -08:00
Leif Singer
808a0fc54f
update references to woocommerce.com to now reference woo.com
2023-11-10 15:49:08 +01:00
Sam Seay
837c2d9961
Support git worktrees ( #39705 )
...
Test if git is a dir before trying to update hooks.
2023-08-15 09:11:09 +08:00
Sam Seay
e8c3808527
Upgrade TypeScript to v5.1 ( #39531 )
2023-08-08 16:35:31 +12:00
Sam Seay
4a2fd63b99
Use syncpack customTypes to keep pnpm and node in sync. Update pnpm to 8.6.7 ( #39245 )
2023-07-18 14:27:18 +12:00
Sam Seay
6e864d8f72
Update Turborepo to 1.10.7 ( #39246 )
2023-07-15 13:00:08 +08:00
Sam Seay
957fb2b07e
Update pnpm to 8.6.5 ( #38990 )
2023-06-29 16:51:29 +12:00
Sam Seay
b076a7b521
Fix linter issues and update Syncpack ( #38523 )
2023-05-31 11:45:10 +12:00
Sam Seay
95ac08739b
Add monorepo util to notify slack, add improvements to calling utils and type clean up. ( #38185 )
2023-05-11 17:23:19 +12:00
Sam Seay
6d02b0a00e
Update cache action and fix bug with turbo caching in CI ( #37774 )
2023-04-28 16:34:49 +12:00
Sam Seay
7cbc3811d8
Update monorepo to pnpm 8 and Node to 16.14 ( #37915 )
2023-04-25 18:49:30 +12:00
Paul Sealock
0fda297965
Monorepo Utils: Move postinstall build to local package.json ( #37688 )
...
* add warning if package hasn't been built yet
* move postinstall script
* remove extra build in highlight flow
2023-04-14 10:11:13 +12:00
Paul Sealock
8784d7c27a
Monorepo Utils: Fix permisions ( #37670 )
2023-04-13 07:10:02 +12:00
Paul Sealock
c4a7e9a11b
Monorepo CLI tooling: Set folder organisation ( #37561 )
2023-04-12 09:26:21 +12:00
Christopher Allford
67cde87fd1
Enforce Strict `@types` Dependencies ( #37351 )
2023-03-23 18:02:20 -07:00
Sam Seay
9f4d889765
Update turborepo to latest version 1.8.3 ( #37260 )
2023-03-17 05:54:02 +13:00
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
Maikel David Pérez Gómez
79841c58a5
Fixes react version to 17.0.2 globally ( #37087 )
...
* Fix react version to 17.0.2 globally
* Add changelog file
2023-03-06 18:38:05 -03:00
Sam Seay
e4a18edf64
Update turborepo to 1.7.0 ( #36677 )
...
Update turbo to 1.7.0
2023-02-02 04:44:37 +13:00
Sam Seay
45d157a25e
Introduce clean command that should help with node_modules corruption and avoid fresh clone ( #36302 )
2023-01-06 10:51:58 +13:00
Sam Seay
03dbab0edd
Fix some bugs in syncpack configuration ( #35651 )
...
* Fix syncpack config
* Loosen the matched version for typescript eslint
* Add changelog entries
* Update lockfile
2022-11-22 12:06:47 +13:00
Sam Seay
55b49cb50a
Fix and consolidate linting across the monorepo ( #35012 )
2022-10-12 15:05:01 +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
Paul Sealock
0b62bf85bd
Storybook: Fix after update to PNPM 7 broke build ( #34724 )
...
* Add package.json to storybook
* use @woocommerce/storybook name
2022-09-20 12:39:31 +12: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
Christopher Allford
341880b79b
Fixed Asset Output Caching ( #34606 )
...
This updates Turborepo and adjusts the output caching for `woocommerce/client/legacy` and `woocommerce/client/admin`. The result is that build outputs in `plugins/woocommerce/assets` should be stored correctly.
2022-09-07 13:57:15 -07:00
Chi-Hsuan Huang
e687a48abf
Update dependencies and jest config to pass admin tests for pnpm 7 ( #34428 )
...
* Update @wordpress/data version to ^6.15.0
* Update jest.config.js to transform is-plain-obj js
* Update pnpm-lock.yaml
* Add changelog
* Add babel configs and update jest config
* Update tsconfig.json to exclude babel.config.js
* Add missing @types packages
* Add changelog
* Update pnpm-lock.yaml
* Update pnpm-lock.yaml
* Fix DateTimePickerControl type errors
2022-08-31 12:06:51 +08:00
jonathansadowski
74f8d5f17a
Use syncpack to verify consistent versions for react and react-dom ( #34397 )
...
* Add GitHub action and pre-push hook for syncpack for react and react-dom
* Fix typo in pre-push script
* Don't execute suggested command to fix mismatches automatically.
* Update react and react-dom to 17.0.2
* Move changelog check to last, so that pre-push still fails if check isn't successful
* Add changelog files
* Correct issue with syncpack.yml referencing an internal action
* Add command to top-level package.json for fixing mismatches
* Update syncpack action to only run when package.json files are affected
* Update workflow to just run syncpack list-mismatches
* Add version pinning to syncpackrc
2022-08-24 10:15:22 -05:00
RJ
a6d656f363
fix: pinned wp/element to 4.8.0 until we sort out esm dependencies ( #34349 )
2022-08-17 12:09:00 +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
Roy Ho
2774ef2c1b
Add cherry pick tool ( #33870 )
...
* Add cherry pick tool
* Add githubremoteurl environment
* Add readme
2022-07-14 07:36:15 -07:00
Christopher Allford
6d0fc0d6ac
Expand Repository Development Documentation ( #33423 )
...
This commit reworks some of the documentation in the monorepo to better represent how to get started and develop projects in it.
2022-06-15 21:55:25 -07: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