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
31c170f80c
Added Missing Lint Build ( #43665 )
...
Unfortunately, it looks like we need to build in order
to be able to lint. This makes sense since some
projects will lint imports from others that haven't
been built yet.
2024-01-15 12:30:54 -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
Jonathan Lane
1bf35ac737
Playwright test workflow migration from Blocks repo ( #42804 )
...
* First pass at Playwright test migration
* Set working directory
* Remove exec
* Configure the environment before testing
* Remove filter
* Update paths for tests
* Try explicitly stating working-directory
* Change tests directory
* Try running all tests
* Uncommented project
* Update commands to run tests
* Comment out env config
* Uncomment
* Changelog
* Set up multiple test configurations
* Update failing test
* Update paths for artifacts
* Update path to artifacts
* Path to results
* remove unnecessary file
* Skip translation E2E tests
Skipping translation tests until we fix the missing translations issues after we changed the domain to "woocommerce"
* Update the artifacts path
* Fix lint errors
---------
Co-authored-by: Jon Lane <jon.lane@automattic.com>
Co-authored-by: Luigi Teschio <gigitux@gmail.com>
Co-authored-by: Saad Tarhi <saad.trh@gmail.com>
2023-12-15 09:34:29 -08:00
Ron Rennick
a2812bdb59
remove PHP related scripts from blocks package.json ( #42722 )
...
Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
2023-12-12 13:46:53 -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
05d398c8d3
Fixed Blocks CSS Linting
2023-12-10 14:11:32 -08:00
Christopher Allford
ea6a39dbc1
Fixed Blocks PNPM `run` & Env Var Usage
2023-12-10 12:44:44 -08:00
Christopher Allford
245fbadc51
Added Missing Blocks Build Output
2023-12-10 12:32:29 -08:00
Christopher Allford
e580d27afd
Added Missing Block Dependencies
2023-12-10 12:24:20 -08:00
Christopher Allford
a8fd8fafa5
Applied Linting Fixes
2023-12-09 23:32:45 -08:00
Christopher Allford
87b5ee54eb
Removed Blocks PHP Linting
2023-12-09 22:41:21 -08:00
Christopher Allford
dc5aa18f35
Wireit Added: `@woocommerce/block-library`
2023-12-09 22:35:11 -08:00
Christopher Allford
403e2919ee
Merge branch 'trunk' into refactor/task-infrastructure
2023-12-09 21:51:43 -08:00
Christopher Allford
0514069d7b
Added Missing Blocks Dependencies
2023-12-09 18:14:26 -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
8ae34f1f3e
Excluded Blocks From Syncpack
2023-12-09 05:22:40 -08:00
Christopher Allford
a59009dbec
Removed Blocks NPM Hooks
...
Since we've pulled it into the monorepo these hooks don't need to
be here anymore.
2023-12-09 05:17:49 -08:00
dependabot[bot]
fd8443cb80
Bump @wordpress/wordcount from 3.13.0 to 3.47.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/12094 )
...
Bumps [@wordpress/wordcount](https://github.com/WordPress/gutenberg/tree/HEAD/packages/wordcount ) from 3.13.0 to 3.47.0.
- [Release notes](https://github.com/WordPress/gutenberg/releases )
- [Changelog](https://github.com/WordPress/gutenberg/blob/trunk/packages/wordcount/CHANGELOG.md )
- [Commits](https://github.com/WordPress/gutenberg/commits/@wordpress/wordcount@3.47.0/packages/wordcount )
---
updated-dependencies:
- dependency-name: "@wordpress/wordcount"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-08 14:28:16 +00:00
Karol Manijak
4d72c559d3
Unify the @typescript-eslint/parser version with eslint-plugin and what's in Core ( https://github.com/woocommerce/woocommerce-blocks/pull/12066 )
2023-12-06 20:28:48 +07:00
Albert Juhé Lluveras
38fbb179d9
Update versions to 11.8.0-dev
2023-12-05 10:58:14 +01:00
Sam Seay
c5ad636e35
Upgrade TypeScript to 5.3.2 ( https://github.com/woocommerce/woocommerce-blocks/pull/11926 )
...
* Also add skipLibCheck option to TS Config.
2023-12-05 18:17:04 +13:00
Paulo Arromba
9a63503008
Update/11.6.0 changelog and testing instructions ( https://github.com/woocommerce/woocommerce-blocks/pull/11904 )
...
* Updated changelog and added testing instructions
* Updated changelog.
* Updated versions.
* Updated tested up to
* Updated tested up to
* Uploaded testing zip
* Removed woocommerce/woocommerce-blocks#11287 from testing instructions
* Added testing instructions and changelog for woocommerce/woocommerce-blocks#11858
* Updated testing zip
* Testing instructions for woocommerce/woocommerce-blocks#11862 and woocommerce/woocommerce-blocks#11860
* Updated testing zip
* New testing zip with woocommerce/woocommerce-blocks#11872 🍒
* Updated versions to 11.7.0-dev
* Updated composer.lock
2023-11-22 15:19:17 +00:00
Luigi Teschio
3302b24313
Update @wordpress/e2e-test-utils-playwright package ( https://github.com/woocommerce/woocommerce-blocks/pull/11866 )
...
* update @wordpress/e2e-test-utils-playwright package
* don't update node version
* remove waitForSiteEditorFinishLoading function
* use visitSiteEditor util
2023-11-22 09:19:00 +01:00
Thomas Roberts
143f493097
Add Storybook entries for `TextInput`, `ValidatedTextInput`, and `ValidationInputError` ( https://github.com/woocommerce/woocommerce-blocks/pull/11794 )
2023-11-20 13:08:16 +00:00
dependabot[bot]
471b9a1b60
Bump @wordpress/icons from 6.1.1 to 9.36.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/11611 )
...
* Bump @wordpress/icons from 6.1.1 to 9.36.0
Bumps [@wordpress/icons](https://github.com/WordPress/gutenberg/tree/HEAD/packages/icons ) from 6.1.1 to 9.36.0.
- [Release notes](https://github.com/WordPress/gutenberg/releases )
- [Changelog](https://github.com/WordPress/gutenberg/blob/trunk/packages/icons/CHANGELOG.md )
- [Commits](https://github.com/WordPress/gutenberg/commits/@wordpress/icons@9.36.0/packages/icons )
---
updated-dependencies:
- dependency-name: "@wordpress/icons"
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* Add sparkles icon to codebase
* Fix failing JS-unit tests
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Niels Lange <info@nielslange.de>
2023-11-16 17:40:53 +00:00
Alexandre Lara
c8ef0fb3af
Product Gallery block: Restrict block to be available only on the Single Product template or the Product Gallery template part ( https://github.com/woocommerce/woocommerce-blocks/pull/11664 )
...
* WIP: experimenting with strategy pattern for block registration
* Add TemplateChangeDetector to BlocksRegistrationManager
* Handle blocks registration
* Fix issue causing blocks to be registered multiple times
* Allow register/unregister blocks when on pages or posts
* Add BlockRegistrationStrategy logic
* Fix import error
* Add doc comments for BlockRegistrationManager class
* Add doc comments to TemplateChangeDetector class
* Fix eslint errors
* Import domReady from @wordpress/dom-ready
* Prevent error when using blockName for registerBlockType function
* Add e2e tests to check for block availability in different contexts
* Add e2e tests to cover block availability on different contexts
2023-11-16 15:03:58 +00:00
Thomas Roberts
b2efba9fef
Add `SortSelect` to Storybook ( https://github.com/woocommerce/woocommerce-blocks/pull/11618 )
2023-11-08 11:13:49 +00:00
Mike Jolley
fa74c79a25
11.6.0-dev bump ( https://github.com/woocommerce/woocommerce-blocks/pull/11653 )
2023-11-07 14:05:16 +00:00
dependabot[bot]
7b146c018f
Bump @wordpress/i18n from 4.31.0 to 4.45.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/11572 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-03 07:23:03 -07:00
dependabot[bot]
ad489cff36
Bump @wordpress/element from 4.20.0 to 5.22.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/11548 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-03 05:28:53 -07:00
dependabot[bot]
8a946cfa08
Bump @wordpress/dependency-extraction-webpack-plugin from 4.6.0 to 4.28.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/11549 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-03 04:32:19 -07:00
Mike Jolley
ba09750661
Add Notices Documentation to Storybook and upgrade to Storybook 7 ( https://github.com/woocommerce/woocommerce-blocks/pull/11524 )
...
* Rename stories
* MDX guidelines
* dedupe and fix dependencies
* Notice Banner Docs
* Fix root elements and icon library docs
* Fix ProductPrice stories
* Organise storybook structure
* Fix error placeholder story
* Snackbar docs
* Missing dotenv dependency
* Update storybook/main.js
Co-authored-by: Alex Florisca <alex.florisca@automattic.com>
* Update assets/js/base/components/snackbar-list/docs/docs.mdx
Co-authored-by: Alex Florisca <alex.florisca@automattic.com>
* Update assets/js/base/components/notice-banner/docs/docs.mdx
Co-authored-by: Alex Florisca <alex.florisca@automattic.com>
* Update assets/js/base/components/snackbar-list/docs/docs.mdx
Co-authored-by: Alex Florisca <alex.florisca@automattic.com>
* Update assets/js/base/components/snackbar-list/docs/docs.mdx
Co-authored-by: Alex Florisca <alex.florisca@automattic.com>
* Update assets/js/base/components/snackbar-list/docs/docs.mdx
Co-authored-by: Alex Florisca <alex.florisca@automattic.com>
* Update assets/js/base/components/snackbar-list/docs/docs.mdx
Co-authored-by: Alex Florisca <alex.florisca@automattic.com>
* Update assets/js/base/components/snackbar-list/docs/docs.mdx
Co-authored-by: Alex Florisca <alex.florisca@automattic.com>
* Update assets/js/base/components/snackbar-list/docs/docs.mdx
Co-authored-by: Alex Florisca <alex.florisca@automattic.com>
* Update package lock
* update snaps
* fix json error check
---------
Co-authored-by: Alex Florisca <alex.florisca@automattic.com>
2023-11-02 13:01:42 +00:00
dependabot[bot]
41e5ac31b1
Bump @wordpress/base-styles from 4.33.0 to 4.35.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/11499 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-01 13:42:52 -07:00
dependabot[bot]
d7f079908f
Bump fs-extra from 10.1.0 to 11.1.1 ( https://github.com/woocommerce/woocommerce-blocks/pull/10498 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-01 12:07:51 -07:00
Alexandre Lara
eed3c076e5
Playwright: Add eslint rule to prevent import `test` or `expect` from playwright library ( https://github.com/woocommerce/woocommerce-blocks/pull/11475 )
...
* Add eslint rule to prevent import from playwright lib
* Fix path for the rules folder
2023-10-30 11:23:40 -03:00
Daniel Dudzic
9cc4146c4d
Version bump to 11.5.0-dev and stable tag to 11.4.1
2023-10-25 16:36:33 +02:00
dependabot[bot]
40005ae808
Bump rimraf from 3.0.2 to 5.0.5 ( https://github.com/woocommerce/woocommerce-blocks/pull/11274 )
...
Bumps [rimraf](https://github.com/isaacs/rimraf ) from 3.0.2 to 5.0.5.
- [Changelog](https://github.com/isaacs/rimraf/blob/main/CHANGELOG.md )
- [Commits](https://github.com/isaacs/rimraf/compare/v3.0.2...v5.0.5 )
---
updated-dependencies:
- dependency-name: rimraf
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-24 15:05:43 +01:00
dependabot[bot]
175e3a15b8
Bump postcss from 8.4.27 to 8.4.31 ( https://github.com/woocommerce/woocommerce-blocks/pull/11140 )
...
Bumps [postcss](https://github.com/postcss/postcss ) from 8.4.27 to 8.4.31.
- [Release notes](https://github.com/postcss/postcss/releases )
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md )
- [Commits](https://github.com/postcss/postcss/compare/8.4.27...8.4.31 )
---
updated-dependencies:
- dependency-name: postcss
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-24 14:07:22 +01:00
dependabot[bot]
b9292ec31e
Bump @testing-library/dom from 9.3.1 to 9.3.3 ( https://github.com/woocommerce/woocommerce-blocks/pull/11097 )
...
Bumps [@testing-library/dom](https://github.com/testing-library/dom-testing-library ) from 9.3.1 to 9.3.3.
- [Release notes](https://github.com/testing-library/dom-testing-library/releases )
- [Changelog](https://github.com/testing-library/dom-testing-library/blob/main/CHANGELOG.md )
- [Commits](https://github.com/testing-library/dom-testing-library/compare/v9.3.1...v9.3.3 )
---
updated-dependencies:
- dependency-name: "@testing-library/dom"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-24 12:05:35 +01:00
dependabot[bot]
143efd681b
Bump wp-types from 3.61.0 to 3.63.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/11418 )
...
Bumps [wp-types](https://github.com/johnbillion/wp-json-schemas ) from 3.61.0 to 3.63.0.
- [Release notes](https://github.com/johnbillion/wp-json-schemas/releases )
- [Commits](https://github.com/johnbillion/wp-json-schemas/compare/3.61.0...3.63.0 )
---
updated-dependencies:
- dependency-name: wp-types
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-23 17:36:26 +00:00
Mike Jolley
9ba4f34d31
Cart and Checkout block transforms for classic shortcodes ( https://github.com/woocommerce/woocommerce-blocks/pull/11228 )
...
* Add transforms for checkout block
* Block to shortcode switcher in notice
* cart transforms
* Fix target block for switching
* Remove switcher UI for classic cart/checkout
* Set isPreview when generating block preview in switcher
* Onboarding task
* Action on click
* Focus on block after replacement
* Update notice styling and wording
* Undo functionality
* Look for woocommerce/classic-shortcode when determining if task list item should display
* Enable focus on the cart/checkout block when visiting from the task list
* Classic Cart/Checkout Updated Title
* Add missing translations
* Refactor modal content to avoid sprintf
* Improve pickBlockClientId
* Tracks events for switching to classic shortcode block
* TaskList support for non-block themes
* Updated placeholder to work on non-white page backgrounds
* Find blocks using findBlock utility
* Add TabbableContainer for buttons
* Add align to wrapper
* Update modal content
* Update modal usage
* Removed undo link when converting from classic shortcode
* Check if block was selected
* Revert "Removed undo link when converting from classic shortcode"
This reverts commit 2babbab4c1e69861a0371ff745e85d80ff6bbab1.
* update snackbar text
2023-10-19 16:43:43 +01:00
roykho
055e1a11ef
Update to next dev version
2023-10-11 08:40:37 -07:00
Mike Jolley
3857dc6e04
WIP: Condensed Address Form Implementation ( https://github.com/woocommerce/woocommerce-blocks/pull/11167 )
...
* Add address card component
* Condensed shipping address
* Billing address
* Animations
* Fix editing state
* Toggle sections open in tests
2023-10-09 12:49:09 +01:00
dependabot[bot]
7a761f5633
Bump @babel/cli from 7.22.9 to 7.23.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/11093 )
...
Bumps [@babel/cli](https://github.com/babel/babel/tree/HEAD/packages/babel-cli ) from 7.22.9 to 7.23.0.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.23.0/packages/babel-cli )
---
updated-dependencies:
- dependency-name: "@babel/cli"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-02 16:48:24 +00:00
Tarun Vijwani
77a3b12842
Update changelog, testing notes and version number post 11.2.0 release.
...
- Add change log of 11.2.0 release
- Add testing notes of 11.2.0 release
- Update version number to 11.3.0-dev
2023-09-27 22:25:04 +04:00
dependabot[bot]
56a037a8c8
Bump @wordpress/base-styles from 4.14.0 to 4.33.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/11049 )
...
Bumps [@wordpress/base-styles](https://github.com/WordPress/gutenberg/tree/HEAD/packages/base-styles ) from 4.14.0 to 4.33.0.
- [Release notes](https://github.com/WordPress/gutenberg/releases )
- [Changelog](https://github.com/WordPress/gutenberg/blob/trunk/packages/base-styles/CHANGELOG.md )
- [Commits](https://github.com/WordPress/gutenberg/commits/@wordpress/base-styles@4.33.0/packages/base-styles )
---
updated-dependencies:
- dependency-name: "@wordpress/base-styles"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-26 05:43:52 -07:00