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
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
Christopher Allford
bf29119032
Updated PNPM to ^8.12.1 ( #42860 )
2023-12-18 20:31:49 +13:00
Christopher Allford
e46d6bd207
Fixed `watch:build` Race Conditions ( #42802 )
...
There's currently a bug with `wireit` that makes the watch crash.
Swiching over to `nodemon` until that is resolved will
keep that from happening.
2023-12-13 18:25:16 -08:00
Christopher Allford
4c4e89bc98
Enhance Build Watching ( #42712 )
...
Similarly to `build:project`, a new `watch:build:project`
script will watch individual projects for changes. The
`watch:build` script has been updated so that it does
a deep watch in the same vein as `build`. We have also
hooked up tool-level watching for faster performance.
2023-12-12 12:43:48 -08:00
Christopher Allford
1c635cda6f
Optimized `wireit` Fingerprinting File Inputs ( #42684 )
...
Having an explicit `"files"` definition will allow us to fingerprint
dependencies in `wireit` more granularly. This avoids problems
that can be caused by different source files and directories that
trigger a rebuild in a dependee before a dependent finishes.
2023-12-11 16:21:35 -08:00
Christopher Allford
96af36bf1f
Locked `wireit` Version
2023-12-09 21:56:12 -08:00
Christopher Allford
d244662669
Synchronized Dependencies
2023-12-09 14:40:16 -08:00
Christopher Allford
fa011a431b
Removed Unnecessary `run` From `pnpm`
2023-12-09 14:36:22 -08:00
Christopher Allford
fb6424e6f2
Applied Consistent Outputs
2023-12-09 14:26:36 -08:00
Christopher Allford
d015950e86
Wireit Dependencies Set
2023-12-09 14:24:51 -08:00
Christopher Allford
e729417335
Revised Test Command
...
We will never run all tests concurrently so this is better.
2023-12-09 14:14:47 -08:00
Christopher Allford
40852f2fb6
Fixed Test Commands
2023-12-09 14:13:32 -08:00
Christopher Allford
97b5cc48fd
Add Wireit: Lots of packages!
2023-12-09 14:05:39 -08:00
Christopher Allford
df32d8e967
Added `wireit` Dependency
...
We're adding this to _every_ package since they have their own
configuration and scripts to run. This also keeps them
isolated so that they can operate independently.
2023-12-09 13:11:15 -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
Christopher Allford
c6b74ddafa
Revert "Resolve PNPM Lock File Errors" ( #41828 )
...
Revert "Resolve PNPM Lock File Errors (#41800 )"
This reverts commit 2550558a13
.
2023-11-30 14:55:35 -08:00
Christopher Allford
2550558a13
Resolve PNPM Lock File Errors ( #41800 )
...
This makes the lock file constraints more specific to prevent the
backward incompatible types from WordPress types using the caret
constraint.
2023-11-30 09:33:34 -08:00
RJ
7d465c406a
dev: edited package.json lint scripts to output to console ( #41498 )
...
* edited package.jsons to output to console
* Add changefile(s) from automation for the following project(s): @woocommerce/tracks, @woocommerce/product-editor, @woocommerce/onboarding, @woocommerce/number, @woocommerce/navigation, @woocommerce/integrate-plugin, @woocommerce/expression-evaluation, @woocommerce/explat, @woocommerce/experimental, @woocommerce/dependency-extraction-webpack-plugin, @woocommerce/date, @woocommerce/data, @woocommerce/customer-effort-score, @woocommerce/currency, @woocommerce/csv-export, @woocommerce/components, @woocommerce/block-templates, @woocommerce/api, @woocommerce/ai, @woocommerce/admin-layout, @woocommerce/admin-e2e-tests
* empty commit to trigger CI
---------
Co-authored-by: github-actions <github-actions@github.com>
2023-11-21 11:16:08 +08:00
Christopher Allford
1c30563ffc
Separate PHP and JS Unit Tests ( #40639 )
...
Since some projects might have both kinds of tests we are
going to have a `test:php` and a `test:js` script for each.
2023-10-06 15:41:47 -07:00
Sam Seay
45c49dc232
Add a workflow to separate out eslint and annotate PRs. ( #39704 )
2023-08-15 18:21:51 +12: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
957fb2b07e
Update pnpm to 8.6.5 ( #38990 )
2023-06-29 16:51:29 +12:00
Sam Seay
7cbc3811d8
Update monorepo to pnpm 8 and Node to 16.14 ( #37915 )
2023-04-25 18:49:30 +12:00
Ilyas Foo
502279dff1
Remove inbox notes exceeding characters warning ( #37392 )
...
* Removed inbox notes warning
* Changelog
* Removed dompurify dependency from data package
* Remove dompurify types
2023-04-03 19:13:36 +08:00
Christopher Allford
67cde87fd1
Enforce Strict `@types` Dependencies ( #37351 )
2023-03-23 18:02:20 -07:00
Christopher Allford
3d614cd862
Removed TypeScript Incremental Build Support ( #37374 )
2023-03-23 11:25:42 -07:00
Chi-Hsuan Huang
7b10baff00
Add tracks for plugin installation and activation ( #37261 )
...
* Add @woocommerce/tracks to @woocommerce/data dependencies
* Add tracks for plugin actions and handle plugin error properly
* Add changelog
* Add doc
* Update doc
2023-03-20 10:38:30 +08: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
RJ
d26dd4c772
Add: shipping plugins in shipping task based on location ( #36873 )
...
Co-authored-by: moon <moon.kyong@automattic.com>
2023-02-20 21:32:14 +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
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
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
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
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
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
Paul Sealock
b79e54eb09
Update JS packages changelogs ( #33412 )
2022-06-16 10:06:31 +12:00