Vladimir Reznichenko
bca89cb14f
[dev] pnpm install: speedup postinstall hooks a bit ( #51538 )
...
In this PR, we aim to improve the speed of ppm installs by making changes in ppm configuration and post-install hooks. The main principle behind the changes is to leverage the identified parallelization potential.
2024-09-24 08:34:46 +02:00
Sam Seay
35cdc6dc20
Use syncpack to lock pnpm version till we can fix issues ( #50828 )
2024-08-22 12:34:42 +12:00
Vladimir Reznichenko
783f6dd3c2
Monorepo: update pinned pnpm version to 9.1.3 in packageManager property. ( #50402 )
2024-08-06 14:17:24 +02:00
Vladimir Reznichenko
328d944288
Monorepo: update packageManager version in package.json file. ( #50384 )
2024-08-06 09:30:10 +02:00
Vladimir Reznichenko
559c91626c
CI: minor speed boost for Check Asset Sizes and Build Project Jobs. ( #50342 )
2024-08-05 12:58:39 +02:00
Vladimir Reznichenko
474b7624d0
Monorepo: rework deps patching in favour of built-in pnpm functionality ( #49892 )
...
* Monorepo: added pach.
* Monorepo: added patch.
* Monorepo: added patch.
* Monorepo: added patch.
* Monorepo: added patch.
* Monorepo: cleanup.
* Monorepo: cleanup.
* Monorepo: changelog entry.
2024-07-24 08:38:32 -07:00
Ron Rennick
078aa72d50
remove pnpm i from pnpm clean script ( #49610 )
...
Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
2024-07-23 18:18:24 -03:00
Vladimir Reznichenko
81cf40e8b3
Monorepo: speedup 'Check Asset Sizes' job. ( #49793 )
...
In this PR, we are improving the job execution time by leveraging available cached resources, refining the build artifacts cleaning approach between calculating asset sizes.
2024-07-23 14:21:05 +02:00
Sam Seay
de5d73061d
Introduce asset size check action to CI ( #47880 )
2024-05-31 05:08:28 +12:00
Sam Seay
3ef7a01840
Update blocks JS tests to React 18 ( #47383 )
2024-05-15 21:33:36 +12:00
Sam Seay
2db29164f9
Update to pnpm 9.1 ( #47385 )
...
* Update to pnpm 9.1 and fix a mini css bug
* 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/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/ai, @woocommerce/admin-e2e-tests, woocommerce-blocks, woocommerce-beta-tester, woocommerce, woo-ai
* temporarily disable swallowing build output to diagnose issue with perf workflow
* Ignore some type issues that commonly resurface when deps slightly change
* Fix persistent type issues that have recurred many times
* Add more ignores
* Fix lint issue
* Revert change to swallow build error
* Improve access of the config that needs updated build dir.
---------
Co-authored-by: github-actions <github-actions@github.com>
2024-05-13 10:57:39 -03:00
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