Vladimir Reznichenko
68532ce433
CI: update linting jobs to skip build step ( #49193 )
...
In this PR, we introduce changes to linting and PHPUnit jobs in order to speed them up: skip or minimize the build step.
2024-07-08 08:39:39 +02:00
Sam Seay
fbb553be0f
Update tsconfigs to explicitly include files to avoid TS build errors ( #47156 )
2024-05-07 13:18:56 +12:00
Nathan Silveira
0b69d4d6f7
Prepare @woocommerce/admin-layout and block-templates for release ( #46538 )
...
* Prepare @woocommerce/block-templates for release
* Prepare @woocommerce/admin-layout for release
* Revert mistake
2024-04-12 13:52:36 +00: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
Nathan Silveira
8e79cfa3ea
Fix product editor UI misbehaving in Calypso ( #44132 )
...
* Fix product editor UI misbehaving in custom adminmenu widths (e.g. Calypso)
* Extract logic to useAdminSidebarWidth hook
2024-01-29 14:09:06 -05:00
Christopher Allford
db8da8d712
Properly Configured Wireit Production Builds ( #43716 )
2024-01-22 10:13:45 -08: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
Ron Rennick
8550da9959
bump php version in packages/js/*/composer.json ( #42020 )
...
* bump php version in packages/js/*/composer.json
* add package changelogs
---------
Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
2024-01-04 10:18:34 -04: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
a08fdf8698
Updated Lock File
2023-12-09 15:57:05 -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
97b5cc48fd
Add Wireit: Lots of packages!
2023-12-09 14:05:39 -08:00
Christopher Allford
ea67b99607
Sorted Package Files
2023-12-09 13:40:51 -08:00
Christopher Allford
ab209bff91
Reverted Wireit Package Changes
...
We're going to use an automatic script to make these changes.
2023-12-09 13:40:46 -08:00
Christopher Allford
e73d0a48ac
Changed `build:project:js` To `build:project:esm`
2023-12-09 13:37:39 -08:00
Christopher Allford
6a7e884baf
Added Wireit: @woocommerce/admin-layout
2023-12-09 13:37:37 -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
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
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
louwie17
03cac8bf89
Add rimraf to admin-layout package ( #41784 )
...
* Add rimraf to admin-layout package
* Add changelog
2023-11-29 14:00:23 -04:00
louwie17
882527fe05
Prep both admin-layout and product editor ( #41764 )
2023-11-28 16:23:08 -04: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
RJ
0190f4adea
fix: applied lint autofixes ( #39942 )
...
* woocommerce-admin lint fixes
* @woocommerce/* lint fixes
* Add changefile(s) from automation for the following project(s): @woocommerce/date, @woocommerce/data, @woocommerce/components, @woocommerce/admin-layout, woocommerce
* lints
---------
Co-authored-by: github-actions <github-actions@github.com>
2023-08-30 06:40:45 +08: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
Joel Thiessen
6f7eeeaf49
Refactoring LayoutContext and implementing with product editor ( #37720 )
2023-04-25 15:17:33 -07:00
Matt Sherman
a77e4abffe
Emit error on webpack build when invalid export name used in import for JS ( #37195 )
2023-03-26 21:42:33 -04: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
Joel Thiessen
4ae467af9e
Adding more menu with items using slot fill ( #37255 )
...
* Refactored, adding slot fill, basic working via common components
* Pinning plugins dep
* More menu style tweaks
* Fixing merge issues
* Adding product header item slotfill to support more menu modal
* Fixing moved imports
* Adding changelogs
* Adding hover state for more menu toggle btn
* Fixing typo
* Refactoring to use WooHeaderItem instead of adding new slot-fill
* Removing unneeded fragment
* Adding admin layout changelog
* PR feedback
* Fix up lock file after rebase
---------
Co-authored-by: Joshua Flowers <joshuatf@gmail.com>
2023-03-22 07:30:06 -03:00
Matt Sherman
af24637439
Create @woocommerce/admin-layout package ( #37094 )
...
* Initial admin-layout package skeleton
* Changelog files
* Use createOrderedChildren and sortFillsByOrder from @woocommerce/components for WooFooterItem
* Move WooFooterItem to @woocommerce/admin-layout
* Use WooFooterItem from @woocommerce/admin-layout
* Suppress errant TS lint errors
* Exports for @woocommerce/admin-layout
* Fill updates and eslint suppression
* Changelogs
* Remove suppression of tslint errors
* Fix react and @types/react versions
* Load @woocommerce/admin-layout script and styles
* Move WooHeaderItem, WooHeaderNavigationItem, and WooHeaderPageTitle to @woocommerce/admin-layout
* Regenerate lock file post-rebase
* Remove duplicate import post-rebase
* Add wc-admin-layout to app style dependency
* Fix jest mock of @woocommerce/admin-layout
* Fix spacing.
* Export slot names
* Fix typo in .npmrc
* Update lock file
* Try updating lock file
* Update lock file
* Update lock file
* Update to latest lock file from trunk
* Update lock file
* Sync dependencies of @woocommerce/admin-layout
* Manually sync @wordpress dependencies
2023-03-10 09:58:02 -05:00