Michael P. Pfeiffer
521f93619b
Upgrade wp-prettier to 2.6.2 and reformat the codebase ( https://github.com/woocommerce/woocommerce-blocks/pull/6566 )
...
* Remove mixed tabs and spaces in tsconfig.json
* Update formatting in json files
* Upgrade wp-prettier to 2.6.2
2022-06-15 11:56:52 +02:00
Luigi Teschio
04ebfd2264
Fix E2E tests ( https://github.com/woocommerce/woocommerce-blocks/pull/6415 )
...
* Fix E2E tests woocommerce/woocommerce-blocks#6415
Fix E2E tests
* Add full state in customer data and exclude it from details check
* update webpack configuration
* Revert change to combobox index
* don't splitChunk frontend scripts
* simplfy output folders
* reduce minimum chunk size to 10kb
* add all inner blocks for loading
* better splitChunks
* update translation code
* wait for scripts
* try sleeping
* fix loading translation
* fix tests for mini cart
* simplfy po logic
* automate loading chunks
* rename webpack group file
* rename block.json path
* remove test
* revert changes to webpack file
* fix loading of chunks
* revert changes to assets api as well
* restore wp-env json configuration
* restore .wp-env.json
* address feedback
* add comment
* address comments
* improve utils function
* install puppeteer
Co-authored-by: Thomas Roberts <thomas.roberts@automattic.com>
Co-authored-by: Nadir Seghir <nadir.seghir@gmail.com>
2022-06-13 11:15:29 +02:00
Luigi Teschio
8ac7fd2440
Restore package.json and package-lock.json ( https://github.com/woocommerce/woocommerce-blocks/pull/6546 )
2022-06-10 14:05:51 +02:00
Niels Lange
3208da551b
Improve the structure of the WooCommerce Blocks Handbook ( https://github.com/woocommerce/woocommerce-blocks/pull/6429 )
...
* Improve the structure of the WooCommerce Blocks Handbook
Co-authored-by: Rania Lang <rania.langouretou@automattic.com>
2022-06-09 17:52:19 +02:00
renovate[bot]
2bc09b13e6
Update dependency cross-env to v7 ( https://github.com/woocommerce/woocommerce-blocks/pull/6504 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Luigi Teschio <gigitux@gmail.com>
2022-06-09 11:26:23 +03:00
Luigi Teschio
9a80ad3f6a
bump version and update tested up value for WordPress and WooCommerce ( https://github.com/woocommerce/woocommerce-blocks/pull/6534 )
2022-06-07 15:58:18 +02:00
Albert Juhé Lluveras
40231ea1f9
Revert "Remove Combobox patch ( https://github.com/woocommerce/woocommerce-blocks/pull/6465 )" ( https://github.com/woocommerce/woocommerce-blocks/pull/6531 )
...
This reverts commit 4976afad58
.
2022-06-07 14:09:50 +02:00
renovate[bot]
ec7705d5ce
Update storybook monorepo to v6.5.7 ( https://github.com/woocommerce/woocommerce-blocks/pull/6503 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-06 10:38:22 +02:00
Lucio Giannotta
d63c5dafc1
Migrate Featured Items Blocks to TypeScript ( https://github.com/woocommerce/woocommerce-blocks/pull/6439 )
...
Also:
* Refactored some composed components into one inclusive HOC,
called `withUpdateButtonAttributes`.
* The HOC `withTransformSingleSelectToMultipleSelect` allows for the wrong
type to be passed to its wrapped component: if a single element is
passed, that is wrapped into an array.
This didn't play well with TypeScript which obviously complains about
the wrong type being passed to the component.
So we now allow for arrays to be passed as props and ignored by the HOC
2022-05-30 16:38:52 +02:00
Albert Juhé Lluveras
4976afad58
Remove Combobox patch ( https://github.com/woocommerce/woocommerce-blocks/pull/6465 )
2022-05-26 12:31:29 +02:00
Daniel Dudzic
9488b9186d
Post-release version bump to 7.8.0-dev
2022-05-26 11:08:20 +02:00
renovate[bot]
76383c781c
Update dependency @types/react to v17.0.45 ( https://github.com/woocommerce/woocommerce-blocks/pull/6397 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-12 19:36:14 +02:00
renovate[bot]
7f501b41df
Update dependency @types/wordpress__data to v4.6.11 ( https://github.com/woocommerce/woocommerce-blocks/pull/6398 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-12 19:06:36 +02:00
renovate[bot]
11de221b85
Update dependency react-number-format to v4.9.3 ( https://github.com/woocommerce/woocommerce-blocks/pull/6399 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-12 17:52:03 +02:00
Luigi Teschio
ded12079cf
Add E2E tests for the Filter Products By Attribute Block ( https://github.com/woocommerce/woocommerce-blocks/pull/6355 )
...
* Add E2E tests for the Filter Products By Attribute Block woocommerce/woocommerce-blocks#6322
add E2E tests for the Filter Products By Attribute Block
* improve checks
2022-05-12 17:15:53 +02:00
Thomas Roberts
f3dc80c6f7
Bump version numbers to 7.7.0-dev
2022-05-10 09:54:22 +01:00
renovate[bot]
18f7d5f3c5
Update dependency @types/react-dom to v17.0.16 ( https://github.com/woocommerce/woocommerce-blocks/pull/6361 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-04 11:15:30 +02:00
renovate[bot]
8ffd0928c3
Update dependency @types/wordpress__block-editor to v6.0.6 ( https://github.com/woocommerce/woocommerce-blocks/pull/6362 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-04 04:02:30 +00:00
renovate[bot]
28ddbbac83
Lock file maintenance ( https://github.com/woocommerce/woocommerce-blocks/pull/6354 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-03 08:52:16 +02:00
renovate[bot]
a83c98f0d5
Update dependency @types/puppeteer to v5.4.6 ( https://github.com/woocommerce/woocommerce-blocks/pull/6329 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-02 13:49:23 +02:00
renovate[bot]
587f01dd05
Update dependency @types/lodash to v4.14.182 ( https://github.com/woocommerce/woocommerce-blocks/pull/6328 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-02 12:43:45 +02:00
Tarun Vijwani
1d0acebfa9
Update to dev version: 7.6.0-dev ( https://github.com/woocommerce/woocommerce-blocks/pull/6336 )
...
* update to dev version: 7.6.0-dev
2022-04-27 17:54:51 +04:00
renovate[bot]
1412f779e2
Lock file maintenance ( https://github.com/woocommerce/woocommerce-blocks/pull/6304 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-27 12:35:57 +01:00
dependabot[bot]
c98e33d5fc
Bump async from 2.6.3 to 2.6.4 ( https://github.com/woocommerce/woocommerce-blocks/pull/6265 )
...
Bumps [async](https://github.com/caolan/async ) from 2.6.3 to 2.6.4.
- [Release notes](https://github.com/caolan/async/releases )
- [Changelog](https://github.com/caolan/async/blob/v2.6.4/CHANGELOG.md )
- [Commits](https://github.com/caolan/async/compare/v2.6.3...v2.6.4 )
---
updated-dependencies:
- dependency-name: async
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-21 14:22:59 +02:00
renovate[bot]
54f82d841e
Update dependency @actions/github to v5.0.1 ( https://github.com/woocommerce/woocommerce-blocks/pull/6198 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-21 11:36:01 +02:00
renovate[bot]
4cb5ecab32
Update dependency simple-git to 3.5.0 [SECURITY] ( https://github.com/woocommerce/woocommerce-blocks/pull/6221 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-20 17:58:06 +02:00
renovate[bot]
2c0a935dd8
Lock file maintenance ( https://github.com/woocommerce/woocommerce-blocks/pull/6183 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-20 10:24:28 +02:00
Saad Tarhi
91ec25424a
Post release version bump (7.5.0-dev)
2022-04-14 13:23:29 +00:00
renovate[bot]
78ea50775a
Update dependency @testing-library/react to v12.1.5 ( https://github.com/woocommerce/woocommerce-blocks/pull/6241 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-14 11:19:41 +01:00
renovate[bot]
da7d8f664a
Update dependency @testing-library/jest-dom to v5.16.4 ( https://github.com/woocommerce/woocommerce-blocks/pull/6199 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-13 16:59:14 +01:00
renovate[bot]
8297085662
Update dependency @types/react to v17.0.44 ( https://github.com/woocommerce/woocommerce-blocks/pull/6242 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-13 04:42:46 +00:00
Alex Florisca
0c7c2db6c0
Update @woocmmerce/eslint-plugin to 2.0.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/6203 )
...
* Update @woocmmerce/eslint-plugin to 2.0.0
* Fixed some eslint errors
* Fix syntax errors
* Fix most linting errors
* Feedback changes
* Fix one more eslint issue
2022-04-08 14:47:19 +01:00
Albert Juhé Lluveras
58c649e971
Update Filter Products by Price block to work with PHP templates ( https://github.com/woocommerce/woocommerce-blocks/pull/6146 )
...
* Update Filter Products by Price block to work with PHP templates
* Reformat param formatting
* Add check for PHP template
* window guards and comments for context
* Add comment to page reload
* Addressed code review feedback
* Fix setMinPriceQuery and setMaxPriceQuery values
* Remove unnecessary snake_case comment and update newUrl to assign to window.location.href.
* package-lock.json update
Co-authored-by: tjcafferkey <tjcafferkey@gmail.com>
2022-04-05 11:52:35 +01:00
renovate[bot]
d6e0db14ef
Update dependency @types/lodash to v4.14.181 ( https://github.com/woocommerce/woocommerce-blocks/pull/6162 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-01 13:26:59 +01:00
renovate[bot]
992e84dc58
Update dependency @types/react to v17.0.43 ( https://github.com/woocommerce/woocommerce-blocks/pull/6163 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-30 03:36:38 +00:00
dependabot[bot]
b560a00acc
Bump node-forge from 1.2.1 to 1.3.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/6142 )
...
Bumps [node-forge](https://github.com/digitalbazaar/forge ) from 1.2.1 to 1.3.0.
- [Release notes](https://github.com/digitalbazaar/forge/releases )
- [Changelog](https://github.com/digitalbazaar/forge/blob/main/CHANGELOG.md )
- [Commits](https://github.com/digitalbazaar/forge/compare/v1.2.1...v1.3.0 )
---
updated-dependencies:
- dependency-name: node-forge
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-29 16:06:13 +01:00
dependabot[bot]
f2dc23a7b9
Bump plist from 3.0.4 to 3.0.5 ( https://github.com/woocommerce/woocommerce-blocks/pull/6143 )
...
Bumps [plist](https://github.com/TooTallNate/node-plist ) from 3.0.4 to 3.0.5.
- [Release notes](https://github.com/TooTallNate/node-plist/releases )
- [Changelog](https://github.com/TooTallNate/plist.js/blob/master/History.md )
- [Commits](https://github.com/TooTallNate/node-plist/commits )
---
updated-dependencies:
- dependency-name: plist
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-29 16:05:47 +01:00
dependabot[bot]
3201282e1a
Bump minimist from 1.2.5 to 1.2.6 ( https://github.com/woocommerce/woocommerce-blocks/pull/6141 )
...
Bumps [minimist](https://github.com/substack/minimist ) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases )
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6 )
---
updated-dependencies:
- dependency-name: minimist
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-29 15:58:54 +01:00
tjcafferkey
beaefc0bc6
Version bump to 7.4.0-dev
2022-03-28 16:01:04 +01:00
Tomasz Tunik
f7f1b89dc5
Upgrade @wordpress/scripts and /env packages ( https://github.com/woocommerce/woocommerce-blocks/pull/6114 )
...
* upgrade wordpress/scripts to 22.3
* update jest config/setup
* add explicit-exports-references plugin
to handle payment-method-config.tsx spying on external methods
the way code is output now changed and tests like this would not
work anymore as transpilet files were no longer using exports but
local references to methods.
* missing snapshot
* make cart-products E2E test more stable
* surppress eslint error in test file
* fix css stylelint issues
* update eslint-plugin-woocommerce eslint package
* remove temp test:e2e:start script
* re-run
* add stylelint as recommended extension
* remove redundant types (provided by packages now)
* patch update @testing-library/jest-dom
2022-03-28 15:00:20 +02:00
Tomasz Tunik
fdb8dde033
Fix site editor E2E tests for Gutenberg latest ( https://github.com/woocommerce/woocommerce-blocks/pull/6080 )
...
* Add handling of editor context via GUTENBERG_EDITOR_CONTEXT env var
* Fix flaky tests around editing templates
* Wait for save template response to complete
2022-03-23 14:18:00 +01:00
renovate[bot]
39b873fe76
Update dependency @types/react-dom to v17.0.14 ( https://github.com/woocommerce/woocommerce-blocks/pull/6084 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-23 09:49:50 +01:00
renovate[bot]
323eca31bc
Update dependency @types/gtag.js to v0.0.10 ( https://github.com/woocommerce/woocommerce-blocks/pull/6082 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-23 09:00:13 +01:00
renovate[bot]
fa6e6cfb33
Update dependency @types/react to v17.0.41 ( https://github.com/woocommerce/woocommerce-blocks/pull/6083 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-23 08:50:25 +01:00
Tomasz Tunik
e1ae6b4552
Update GitHub actions/setup-node and add optionalDependencies handling ( https://github.com/woocommerce/woocommerce-blocks/pull/6032 )
...
* Update actions/setup-node to v2 and to use ,nvmrc file
* Fix order of actions for Bundle Size workflow
* Use actions/setup-node cache instead of actions/cache
+ ensure we always install with npm ci
* restore linting setup job to cache npm
* Don't install ndb in CI
Move ndb package to optionalDependencies and update
the CI workflows to not install optional dependencies
* Update actions/setup-node to v3
* Update actions/checkout to v3
* Update download and upload-artifact actions to v3
* Update actions/stale to v5
2022-03-23 08:41:43 +01:00
renovate[bot]
c735812df9
Update dependency @types/lodash to v4.14.180 ( https://github.com/woocommerce/woocommerce-blocks/pull/6058 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-16 04:49:56 +00:00
renovate[bot]
eaabd1eee9
Update dependency @types/gtag.js to v0.0.9 ( https://github.com/woocommerce/woocommerce-blocks/pull/6057 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-16 04:46:20 +00:00
renovate[bot]
6421f80ed2
Update dependency @testing-library/react to v12.1.4 ( https://github.com/woocommerce/woocommerce-blocks/pull/6056 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-16 02:35:25 +00:00
renovate[bot]
fad55e9295
Pin dependency @woocommerce/e2e-utils to 0.2.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/6055 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-16 02:20:32 +00:00
Tomasz Tunik
2ad55b5b9e
Fix box-sizing on Global Styles blocks with border width control ( https://github.com/woocommerce/woocommerce-blocks/pull/6043 )
...
Set box-sizing to border-box on affected blocks: Featured product, featured category, sale badge.
2022-03-11 13:01:15 +01:00