renovate[bot]
a03487d9ad
Update dependency @types/jest to v27.5.2 ( https://github.com/woocommerce/woocommerce-blocks/pull/6759 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-28 15:51:44 +02:00
dependabot[bot]
c7d49bc792
Bump moment from 2.29.3 to 2.29.4 ( https://github.com/woocommerce/woocommerce-blocks/pull/6689 )
...
Bumps [moment](https://github.com/moment/moment ) from 2.29.3 to 2.29.4.
- [Release notes](https://github.com/moment/moment/releases )
- [Changelog](https://github.com/moment/moment/blob/develop/CHANGELOG.md )
- [Commits](https://github.com/moment/moment/compare/2.29.3...2.29.4 )
---
updated-dependencies:
- dependency-name: moment
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-26 11:48:18 +02:00
renovate[bot]
06dbe95eb6
Update dependency @types/react to v17.0.47 ( https://github.com/woocommerce/woocommerce-blocks/pull/6638 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-25 14:52:12 +02:00
renovate[bot]
2e0f0b00d0
Lock file maintenance ( https://github.com/woocommerce/woocommerce-blocks/pull/6632 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-25 12:12:26 +02:00
Alba Rincón
a4077d865c
Bump version from 8.1.0 to 8.2.0-dev
2022-07-19 10:59:47 +02:00
Luigi Teschio
f999790df8
Update deps ( https://github.com/woocommerce/woocommerce-blocks/pull/6670 )
...
* fix E2E tests
* Empty-Commit
* upgrade deps
* upgrade deps
* upgrade deps
* fix E2E tests
* update deps
* try now
* try now
* install @wordpress/compose
* try different version
* update packages
* update package-lock
* restore husky
2022-07-19 09:38:57 +02:00
Luigi Teschio
1761da37cd
fix E2E tests ( https://github.com/woocommerce/woocommerce-blocks/pull/6639 )
2022-07-18 11:38:49 +02:00
Niels Lange
073392c96a
Bump version from 8.0.0 to 8.1.0-dev
2022-07-05 18:48:38 +02:00
renovate[bot]
a2a7235ea2
Update dependency @types/react-dom to v17.0.17 ( https://github.com/woocommerce/woocommerce-blocks/pull/6573 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-22 10:10:00 +00:00
Nadir Seghir
e50b654d69
update version
2022-06-22 10:42:03 +01:00
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
renovate[bot]
dcec8f38b5
Lock file maintenance ( https://github.com/woocommerce/woocommerce-blocks/pull/5724 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-10 18:16:25 +01:00
Tomasz Tunik
f15d628610
Fix 404 and 500 errors in E2E test logs, editor and front-end. ( https://github.com/woocommerce/woocommerce-blocks/pull/5989 )
...
* Change atomic blocks to not use custom webpack build paths
we want to always load lazy loaded components from their default paths
to avoid having to handle importing components in different ways for
regular and atomic component packages
* Add footer parts to test themes
The Site Editor is expecting the footer parts to be there or it will try to
load them anyways and throw a 404. It's not breaking, but it's polluting
the console.
* Use REST API to tear down the templates
Previously, we used a util called `trashAllPosts` which navigated to the post UI
and deleted all the posts to tear down any side-effects of template editing tests.
However, with a [recent change](14e20f72b5
),
WP Core removed the UI for those and that made our tests meet a 500 error.
Using the REST API should also make everything faster.
* Remove deprecated pupeteer waitFor usage
was still present in attribute-filter.test.js
* Update package-lock.json
* pin package versions
* Unify all atomic blocks to register on php side
* Remove Atomic Blcoks chunk_translation handling from AllBlocks
Before it was responsible for enabling translations for all the atomic blocks
* Add per atomic block chunk_translation registration
* update @wordpress/e2e-test-utils to 6.0.2
* add optional puppeteer
* pin workflows node version to 16.13.2
* upgrade package-lock
* upgrade package-lock
* set react and react-dom as peerDeps
* remove atomic block registration
Co-authored-by: Lucio Giannotta <lucio.giannotta@a8c.com>
Co-authored-by: Luigi <gigitux@gmail.com>
2022-03-10 11:00:23 +01:00
renovate[bot]
9503f03f9b
Update dependency follow-redirects to v1.14.9 ( https://github.com/woocommerce/woocommerce-blocks/pull/6018 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-09 03:07:12 +00:00
renovate[bot]
072c39b269
Update dependency @types/puppeteer to v5.4.5 ( https://github.com/woocommerce/woocommerce-blocks/pull/6017 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-09 03:02:53 +00:00
Saad Tarhi
1e15672b7b
Shopper → Checkout → Can place an order as guest ( https://github.com/woocommerce/woocommerce-blocks/pull/6009 )
...
* Add "goToCheckout" method in "shopper.block"
Instead of using "shopper.goToCheckoutBlock" method, it will much easier
to maintain the following structure "shopper.block.goToCheckout"
* Create a constant for billing details
* Create "fillBillingDetails" shopper method
* Add "placeOrder" method to "shopper"
* Enable "Cash on delivery" payment method for our test
* Update "@woocommerce/e2e-utils" package
Some new useful e2e utility functions weren't avaiable in the previous version
* Add E2E test for "Can place an order as guest"
* Fix mini-cart failing E2E tests
In case this fix woocommerce/woocommerce-blocks#6006 isn't merged yet, this commit can be used to pass all
E2E tests
Co-authored-by: Saad Tarhi <saad.tarhi@automattic.com>
2022-03-08 14:52:40 +01:00
Saad Tarhi
c122008d70
Test Google's "ndb" E2E testing tool ( https://github.com/woocommerce/woocommerce-blocks/pull/5997 )
...
* install ndb as a development dependency
* Add "debug" script to package.json to launch "ndb"
* Create a minimal test example
This test file is used as an example, we will add later a script in
package.json to call only this file
* Create a temporary npm script to run it from "ndb"
We want to be able to run only a selected file using "ndb", so we need to
create an npm script for it
* Clean up test file
* Clean up & ready PR to merge
Co-authored-by: Saad Tarhi <saad.tarhi@automattic.com>
2022-03-07 17:10:17 +01:00
renovate[bot]
78a4c060a3
Update dependency @types/lodash to v4.14.179 ( https://github.com/woocommerce/woocommerce-blocks/pull/5976 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-02 11:37:57 +00:00
renovate[bot]
d54383b417
Update dependency @types/jquery to v3.5.14 ( https://github.com/woocommerce/woocommerce-blocks/pull/5975 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-02 04:39:06 +00:00
dependabot[bot]
6bdd1e648b
Bump url-parse from 1.5.3 to 1.5.10 ( https://github.com/woocommerce/woocommerce-blocks/pull/5955 )
...
Bumps [url-parse](https://github.com/unshiftio/url-parse ) from 1.5.3 to 1.5.10.
- [Release notes](https://github.com/unshiftio/url-parse/releases )
- [Commits](https://github.com/unshiftio/url-parse/compare/1.5.3...1.5.10 )
---
updated-dependencies:
- dependency-name: url-parse
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-01 17:19:47 +01:00
Michael P. Pfeiffer
cabf4e7db6
Update to dev version
2022-03-01 12:15:30 +01:00
renovate[bot]
e2618a2e31
Update dependency follow-redirects [SECURITY] ( https://github.com/woocommerce/woocommerce-blocks/pull/5929 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-24 12:13:11 +00:00
dependabot[bot]
be54e48860
Bump follow-redirects from 1.14.7 to 1.14.8 ( https://github.com/woocommerce/woocommerce-blocks/pull/5840 )
...
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects ) from 1.14.7 to 1.14.8.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases )
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.7...v1.14.8 )
---
updated-dependencies:
- dependency-name: follow-redirects
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-23 17:31:38 +00:00
renovate[bot]
73f6a28e94
Update dependency react-number-format to v4.9.1 ( https://github.com/woocommerce/woocommerce-blocks/pull/5922 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-23 11:31:12 +00:00
renovate[bot]
4f5ec713df
Pin dependencies ( https://github.com/woocommerce/woocommerce-blocks/pull/5921 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-23 03:55:08 +00:00
dependabot[bot]
b7646e4640
Bump url-parse from 1.5.3 to 1.5.9 ( https://github.com/woocommerce/woocommerce-blocks/pull/5905 )
...
Bumps [url-parse](https://github.com/unshiftio/url-parse ) from 1.5.3 to 1.5.9.
- [Release notes](https://github.com/unshiftio/url-parse/releases )
- [Commits](https://github.com/unshiftio/url-parse/compare/1.5.3...1.5.9 )
---
updated-dependencies:
- dependency-name: url-parse
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-21 19:24:49 +00:00
Lucio Giannotta
497820dcb9
E2E tests for Single Product Template ( https://github.com/woocommerce/woocommerce-blocks/pull/5722 )
...
* Add empty block theme to mock E2E tests
* Install empty theme in the test WP instance
2022-02-21 11:01:42 +01:00
Lucio Giannotta
a9fd133c26
Post release version bump (7.1.0-dev)
2022-02-16 12:23:02 +01:00
renovate[bot]
d85f02112a
Update dependency @types/react to v16.14.23 ( https://github.com/woocommerce/woocommerce-blocks/pull/5857 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-16 04:35:29 +00:00
renovate[bot]
f3894aabcd
Update dependency @testing-library/react to v12.1.3 ( https://github.com/woocommerce/woocommerce-blocks/pull/5856 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-16 04:22:50 +00:00
renovate[bot]
74c5e7fbd1
Update dependency nanoid to 3.1.31 [SECURITY] ( https://github.com/woocommerce/woocommerce-blocks/pull/5797 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-09 12:24:22 +00:00
renovate[bot]
4156e0f532
Update dependency @testing-library/jest-dom to v5.16.2 ( https://github.com/woocommerce/woocommerce-blocks/pull/5750 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-09 04:07:40 +00:00
renovate[bot]
a9697cb3b5
Pin dependencies ( https://github.com/woocommerce/woocommerce-blocks/pull/5749 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-09 04:04:30 +00:00
renovate[bot]
0554288807
Update dependency @types/react to v16.14.22 ( https://github.com/woocommerce/woocommerce-blocks/pull/5696 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-02 15:05:42 +00:00
Mike Jolley
67283c02be
Compare assets from builds ( https://github.com/woocommerce/woocommerce-blocks/pull/5634 )
...
* Comparison workflow
* Update locks
2022-02-02 14:56:16 +00:00
Alex Florisca
072115ee75
Update version to 7.0.0-dev ( https://github.com/woocommerce/woocommerce-blocks/pull/5705 )
2022-02-02 11:57:48 +00:00
github-actions[bot]
8ce88ad3c4
Release: 6.9.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/5680 )
...
* Empty commit for release pull request
* Empty commit for release pull request
* Update readme.txt
* Update versions
* Update testing notes and changelog
* Empty commit for release pull request
* Empty commit for release pull request
* Update readme.txt
* Update versions
* Update testing notes and changelog
* Empty commit for release pull request
* Empty commit for release pull request
* Update readme.txt
* Update versions
* Update testing notes and changelog
* Empty commit for release pull request
* Empty commit for release pull request
* REadme.txt update
* new zip for testing
* update zip file
* Add `CopyWebpackPlugin` to ensure `block.json` is copied to `build` (https://github.com/woocommerce/woocommerce-blocks/pull/5692 )
* Add CopyWebpackPlugin and add block metadata to build
* Check build directory for block.json
* New zip file
* Bumping version strings to new version.
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Alex Florisca <alex.florisca@automattic.com>
Co-authored-by: Thomas Roberts <5656702+opr@users.noreply.github.com>
2022-02-02 11:40:45 +00:00
renovate[bot]
bc9ae24aaa
Update dependency @testing-library/jest-dom to v5.16.1 ( https://github.com/woocommerce/woocommerce-blocks/pull/5698 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-02 08:19:03 +00:00
renovate[bot]
61bd3cb4eb
Update storybook monorepo to v6.4.17 ( https://github.com/woocommerce/woocommerce-blocks/pull/5697 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-02 04:51:46 +00:00
renovate[bot]
ba476ac34d
Pin dependencies ( https://github.com/woocommerce/woocommerce-blocks/pull/5695 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-02 02:17:49 +00:00
Mike Jolley
2b5f115d41
Remove custom `Icon` component in favour of `@wordpress/icons` where possible ( https://github.com/woocommerce/woocommerce-blocks/pull/5599 )
...
* Remove atom icon
* Swap icon usage to WordPress package
* remove unused icons from library
* Use @wordpress/primitives
* Product cats block to listView
* On-sale to use percent instead of tag icon
* add to cart button use button icon
* on sale products block icon
* Handpicked products use stack icon
* Products by stock box icon
* Make sparkles woo purple
* Fix icon name
* Correct more tag name
* fix path to icons
* Update snaps
* Update readme to explain updated usage
* Import SVG and path from primitives
* Missing isFeaturePluginBuild
* Update assets/js/icons/README.md
Co-authored-by: Raluca Stan <raluca.stan@automattic.com>
* Update assets/js/icons/README.md
Co-authored-by: Raluca Stan <raluca.stan@automattic.com>
* Update assets/js/icons/README.md
Co-authored-by: Raluca Stan <raluca.stan@automattic.com>
* update lock
Co-authored-by: Raluca Stan <raluca.stan@automattic.com>
2022-02-01 16:54:38 +00:00
Thomas Roberts
5e32fb0576
Add `CopyWebpackPlugin` to ensure `block.json` is copied to `build` ( https://github.com/woocommerce/woocommerce-blocks/pull/5692 )
...
* Add CopyWebpackPlugin and add block metadata to build
* Check build directory for block.json
2022-02-01 16:42:15 +00:00
Mike Jolley
1f6f97d860
Implement `@wordpress/scripts` analyze script ( https://github.com/woocommerce/woocommerce-blocks/pull/5589 )
...
* Add analyze-bundles command, replacing explore
* Replace source map explorer from webpack in favour of BundleAnalyzerPlugin
* Update deps
* update locks
2022-01-28 11:40:23 +00:00
Thomas Roberts
b7560ebed5
Add tests for Checkout Terms block ( https://github.com/woocommerce/woocommerce-blocks/pull/5621 )
...
* Install @wordpress/block-editor package
* Add test for checkout terms frontend block
* Add tests for checkout terms in editor
* Add tests for Checkout Terms in editor
* Use void 0 as function's return type
* Update tests to use toBeInTheDocument and split checkbox test in two
* Use void 0 for empty function
2022-01-27 12:34:52 +00:00
renovate[bot]
2ab6037812
Update storybook monorepo to v6.4.14 ( https://github.com/woocommerce/woocommerce-blocks/pull/5641 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-26 11:49:54 +00:00
renovate[bot]
57aab872fa
Update dependency jest-html-reporters to v2.1.7 ( https://github.com/woocommerce/woocommerce-blocks/pull/5640 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-26 02:42:57 +00:00
renovate[bot]
5de563b823
Update dependency @types/wordpress__block-editor to v6.0.5 ( https://github.com/woocommerce/woocommerce-blocks/pull/5639 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-26 02:32:45 +00:00
renovate[bot]
c87a944f77
Update dependency @babel/core to v7.16.12 ( https://github.com/woocommerce/woocommerce-blocks/pull/5638 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-26 02:21:51 +00:00
Mike Jolley
c25f8ec531
Manually update dependencies ( https://github.com/woocommerce/woocommerce-blocks/pull/5602 )
...
* Add markdown-it and follow-redirects to package.
* fix eslint warning
2022-01-21 12:09:07 +00:00
Luigi
fc9e623079
update version plugin
2022-01-20 14:39:19 +01:00
renovate[bot]
8c7db9b875
Update dependency @types/jquery to v3.5.13 ( https://github.com/woocommerce/woocommerce-blocks/pull/5591 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-19 17:05:05 +00:00
renovate[bot]
48af5544c0
Update dependency config to v3.3.7 ( https://github.com/woocommerce/woocommerce-blocks/pull/5592 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-19 03:53:40 +00:00
dependabot[bot]
56c68265b6
Bump postcss from 8.2.10 to 8.2.13 ( https://github.com/woocommerce/woocommerce-blocks/pull/5543 )
...
Bumps [postcss](https://github.com/postcss/postcss ) from 8.2.10 to 8.2.13.
- [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.2.10...8.2.13 )
---
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>
2022-01-12 13:11:30 +00:00
renovate[bot]
a6e199b222
Update dependency @babel/cli to v7.16.8 ( https://github.com/woocommerce/woocommerce-blocks/pull/5550 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-12 03:27:51 +00:00
Mike Jolley
e19abbc0c2
Remove Built-in Stripe Integration in favour of Stripe Extension ( https://github.com/woocommerce/woocommerce-blocks/pull/5449 )
...
* Remove Stripe from PHP side
* Remove stripe from client
* fix const name in tests
* Update docs
2022-01-11 10:53:38 +00:00
renovate[bot]
d5af28a16f
Update dependency eslint-plugin-import to v2.25.4 ( https://github.com/woocommerce/woocommerce-blocks/pull/5518 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-05 04:08:56 +00:00
renovate[bot]
a888ec33a2
Update babel monorepo to v7.16.7 ( https://github.com/woocommerce/woocommerce-blocks/pull/5517 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-05 04:06:56 +00:00
Raluca Stan
3fd22f385d
Update 6.8.0-dev tag
2022-01-04 12:33:01 +01:00
renovate[bot]
088be50f3c
Update dependency jest-environment-puppeteer to v6.0.3 ( https://github.com/woocommerce/woocommerce-blocks/pull/5469 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-29 04:07:31 +00:00
renovate[bot]
c8ca9deea3
Update dependency @types/lodash to v4.14.178 ( https://github.com/woocommerce/woocommerce-blocks/pull/5468 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-29 04:05:36 +00:00
renovate[bot]
cabfd59023
Update dependency @types/jquery to v3.5.11 ( https://github.com/woocommerce/woocommerce-blocks/pull/5467 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-29 02:52:05 +00:00
renovate[bot]
a08553899c
Pin dependency expect-puppeteer to 6.0.2 ( https://github.com/woocommerce/woocommerce-blocks/pull/5466 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-29 02:41:54 +00:00
Thomas Roberts
5036c69638
Add E2E tests for Filter blocks (Price, Attribute, and Active Filters) ( https://github.com/woocommerce/woocommerce-blocks/pull/4562 )
...
* Add clear and fill input test util
* Add tests for Filter Products by Price
* Add class name to filter products by price block in editor
* Update wp-env
* Fix formatting
* Update lock
* Revert "Update lock"
This reverts commit f4e809e000430eea3972c94fd2aea0a19ba6961b.
* Create product attributes during setup
* Remove product attributes during teardown
* Add attributes in fixture-data
* Add two new products, for attribute testing
* Load attributes into store and apply them to products
* Add class to Filter by Attribute when editing
This is so it can be targeted in E2E tests more easily.
* Add tests for Filter Product by Attribute
* Fix formatting in attribute-filter.test.js
* Add tests for active filters block
* Add doc block for ensuteCleanAttributes
* Update wording of title test in all filter block E2E
* Update test wording to read better
* Update snapshots
* Use pptr-testing-library selectors to click elements
This makes the tests easier to reason with, and lets us take a step back from the implementation details (classnames etc.)
* Add saveOrPublish test util
* Use pptr-testing-library selectors to click elements in attribute filter
* Use pptr-testing-library selectors to click elements in price filter
* Add `puppeteer-testing-library`
* Use puppeteer-testing-library API to look for H6 button
* Use correct argument in jest-puppeteer.dev.config
* Update package.json & package-lock.json
* remove tests for 5.3
* remove snapshots
* Remove ensureCleanAttributes
* Remove puppeteer-testing-library, install missing expect-puppeteer package and update tests
The puppeteer-testing-library, although added by gutenberg is not actively used.
I have removed it and realised that the added functionality can be easily replaced by expect-puppeteer.
This is a package that we specify in the jest configuration but it was not part of our package.json.
The selectors from puppeteer-testing-library have been replaced with .toClick and the utility clearAndFillInput with .toFill
The Filter by Attribute block has been skiped until tests are fixed.
* Add back setupPageSettings to jest setup
* Fix filter by attribute block test
* Fix linting error
Co-authored-by: Raluca Stan <ralucastn@gmail.com>
2021-12-23 17:26:10 +01:00
renovate[bot]
047abeab84
Update dependency eslint-plugin-import to v2.25.3 ( https://github.com/woocommerce/woocommerce-blocks/pull/5438 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-22 04:15:47 +00:00
renovate[bot]
ba3c7e6132
Update babel monorepo to v7.16.5 ( https://github.com/woocommerce/woocommerce-blocks/pull/5437 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-22 04:13:35 +00:00
renovate[bot]
4f4ef36510
Pin dependency snakecase-keys to 5.1.2 ( https://github.com/woocommerce/woocommerce-blocks/pull/5435 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-22 02:48:41 +00:00
Lucio Giannotta
35adae3fa4
Add Storybook documentation and remove deprecated knobs ( https://github.com/woocommerce/woocommerce-blocks/pull/5407 )
...
* Remove Storybook knobs
They are now fully replaced by controls
* Update Storybook to 6.4.9
* Add Storybook documentation and VSCode snippets
* Add VSCode snippets
* Convert stories from checkout packages and include them in Storybook
2021-12-21 18:08:57 +01:00
Mike Jolley
c1ca93aa0a
6.7.0-dev
2021-12-21 13:59:01 +00:00
Alex Florisca
d05a43dadb
Update to node 16/npm 8 ( https://github.com/woocommerce/woocommerce-blocks/pull/5222 )
...
* Update to node 16/npmm 8
* package-lock.json from trunk
* package-lock.json v2
* Revert "package-lock.json v2"
This reverts commit 9d11533da840471aed815d131f54a87d237658c7.
* Package-lock.json v2, take 2
* eslint-plugin requires npm 8
2021-12-16 11:19:30 +00:00
M. L. Giannotta
703051b1bc
Storybook and TS migration of some cart checkout components ( https://github.com/woocommerce/woocommerce-blocks/pull/5324 )
...
* Migrate stories for `ProductName` to latest Storybook. Also add props
documentation and add named export.
* Migrate `TotalsFooterItem` to TypeScript and latest Storybook
* Add a `LooselyMustHave` utility type.
* Export `allSettings` so that they can be manipulated in stories and tests
* Implement a way to easily define and reuse Storybook controls
Implement a currency control for a common use-case of selecting currencies.
It currently implements EUR and USD as they have different properties.
* Migrate `TotalsDiscount` to TypeScript and implement stories
* Migrate `TotalsCoupon` to TypeScript and fix stories
* Change Coupon name within Storybook
* Nicer handling of removal of a coupon from Storybook
It now dynamically calculates the discount from the actual coupons.
2021-12-15 17:30:17 +01:00
renovate[bot]
0b6686910f
Update dependency eslint-import-resolver-typescript to v2.5.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/5383 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-15 05:04:26 +00:00
renovate[bot]
6d487fd242
Update wordpress monorepo ( https://github.com/woocommerce/woocommerce-blocks/pull/5382 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-15 03:18:45 +00:00
Albert Juhé Lluveras
6e2b5ebb8a
Downgrade @wordpress/scripts to 17.1.0 to fix dependency mistmach issue ( https://github.com/woocommerce/woocommerce-blocks/pull/5349 )
...
* Downgrade @wordpress/scripts to 17.1.0 to fix dependency mistmach issue
* Update package-lock.json
2021-12-10 17:44:03 +01:00
renovate[bot]
7822affe2e
Update dependency @types/wordpress__compose to v4.0.1 ( https://github.com/woocommerce/woocommerce-blocks/pull/5334 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-08 05:51:31 +00:00
renovate[bot]
5e3528a05c
Pin dependencies ( https://github.com/woocommerce/woocommerce-blocks/pull/5333 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-08 03:25:48 +00:00
Mike Jolley
cfeb5558b7
Update WordPress Monorepo packages with React 17x support ( https://github.com/woocommerce/woocommerce-blocks/pull/5223 )
...
* Use npm 14
* Update WP packages
* Update non-dev wordpress dependencies
* Remove usage of @automattic/data-stores
* Moves tag, search-list-control components back into private `editor-components` to mitigate dependency conflicts with`@woocommerce/components`
* Fix tests with act()
* package-lock
* fix broken maps
* Patch 14x package
* update locks
* Revert nvmrc change
* Fix tests due to debounce
Co-authored-by: Nadir Seghir <nadir.seghir@gmail.com>
2021-12-07 15:47:50 +00:00
Tom Cafferkey
44aaf67caa
Updated version numbers for the next release
2021-12-07 11:51:42 +00:00
renovate[bot]
5565b3030a
Lock file maintenance ( https://github.com/woocommerce/woocommerce-blocks/pull/5313 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-07 01:23:20 +01:00
M. L. Giannotta
4651f64341
Storybook and TS migration of ReadMore component ( https://github.com/woocommerce/woocommerce-blocks/pull/5300 )
...
* Update packages to latest Storybook deps
* Migrate `ReadMore` component and its utils to TypeScript
* Add type definitions for `trim-html` package
* Migrate `ReadMore` stories to newest Storybook
Fixes woocommerce/woocommerce-blocks#5254
2021-12-06 18:00:33 +01:00
M. L. Giannotta
bee06b6005
Storybook and TS migration of `ErrorPlaceholder` component ( https://github.com/woocommerce/woocommerce-blocks/pull/5294 )
...
* Convert `ErrorPlaceholder` and `ErrorMessage` to TypeScript
* Add stories for `ErrorPlaceholder` and `ErrorMessage` (https://github.com/woocommerce/woocommerce-blocks/pull/5255 )
Stories include:
* Default generic error
* API error
* Unknown error
* Error without possibility to retry
* Base Error atom
Where applicable, the **Retry** button will not only trigger the appropriate
action, but also simulate the loading state of the error component.
* Update references to `ErrorMessage` component to leave the file extension out
Fix woocommerce/woocommerce-blocks#5255
Refs woocommerce/woocommerce-blocks#5249
2021-12-02 17:56:03 +01:00
M. L. Giannotta
7e9f8c822d
Migrate Storybook to 6.4.0 and enable auto-detection of controls ( https://github.com/woocommerce/woocommerce-blocks/pull/5249 ) ( https://github.com/woocommerce/woocommerce-blocks/pull/5264 )
...
* Migrate Storybook to 6.4.0 and enable auto-detection of controls (https://github.com/woocommerce/woocommerce-blocks/pull/5249 )
Previously our Babel configuration conflicted with the one provided by
default by Storybook, making us unable to leverage the automatic
detection of properties from both JS and TS components to create
controls (formerly known as knobs).
Upgrading to 6.4.0 fixes a bug that makes it easier to work with
Babel configurations. Also done here:
* Removed a few deprecated addons in favor of the replacement ones
bundled within Storybook Essentials.
* Add auto-detection of certain control types depending on the property names
* Add support for TS stories
More context: https://github.com/storybookjs/storybook/issues/12292
* Use `react-docgen` only in development environments
This should reduce production bundle size dramatically. The only
problem here is that Storybook runs its `build` command with the
`NODE_ENV` set to `production`. For this reason, we change the
script to provide `BABEL_ENV` set to `development` to still make sure
the correct configuration is loaded, while trying to reduce any
side-effects on changing the whole `NODE_ENV`.
2021-12-01 12:28:27 +01:00
renovate[bot]
302807474a
Update dependency @storybook/addon-knobs to v6.4.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/5283 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-01 03:09:42 +00:00
renovate[bot]
3f7c17553b
Update dependency jest-environment-puppeteer to v6.0.2 ( https://github.com/woocommerce/woocommerce-blocks/pull/5282 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-01 03:07:03 +00:00
renovate[bot]
2e4a303fed
Update dependency json-schema to 0.4.0 [SECURITY] ( https://github.com/woocommerce/woocommerce-blocks/pull/5275 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-30 10:01:52 +00:00
Mike Jolley
c067e990b4
Introduce `<Noninteractive>` component to disable form elements non-visually ( https://github.com/woocommerce/woocommerce-blocks/pull/5157 )
...
* Noninteractive component based on Disabled
* Implement in cart/checkout
* Pass down props
* Update 'use-debounce' library
* aria disabled
2021-11-26 14:47:37 +00:00
renovate[bot]
bb97273115
Lock file maintenance ( https://github.com/woocommerce/woocommerce-blocks/pull/5209 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-24 11:36:49 +01:00
renovate[bot]
5542abba97
Update dependency @stripe/react-stripe-js to v1.6.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/5228 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-24 04:52:40 +00:00
renovate[bot]
bb5d23a4e9
Update dependency @octokit/graphql to v4.8.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/5227 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-24 04:49:55 +00:00
renovate[bot]
667da6ee02
Update dependency reakit to v1.3.11 ( https://github.com/woocommerce/woocommerce-blocks/pull/5226 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-24 02:14:41 +00:00
renovate[bot]
8ea8d9cedf
Update dependency @types/jquery to v3.5.9 ( https://github.com/woocommerce/woocommerce-blocks/pull/5225 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-24 02:01:04 +00:00
Mike Jolley
ed0a9a2d91
Implement `@wordpress/babel-preset-default` (drops IE11 support) ( https://github.com/woocommerce/woocommerce-blocks/pull/5212 )
...
* Implement @wordpress/babel-preset-default
* remove alraedy included libs
* remove other deps
Co-authored-by: Nadir Seghir <nadir.seghir@gmail.com>
2021-11-23 14:49:35 +00:00
Albert Juhé Lluveras
ddc8fcccd1
Bump version to 6.5.0-dev
2021-11-23 09:03:08 +01:00
renovate[bot]
84a5f57be9
Lock file maintenance ( https://github.com/woocommerce/woocommerce-blocks/pull/5137 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-18 17:57:19 +01:00
Niels Lange
af8f5e857c
Bump version numbers to 6.4.0-dev
2021-11-17 21:55:48 +07:00
renovate[bot]
79bd37069b
Update dependency @types/react to v16.14.21 ( https://github.com/woocommerce/woocommerce-blocks/pull/5162 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-17 04:41:35 +00:00
renovate[bot]
2baf7bd8fc
Update dependency @types/lodash to v4.14.177 ( https://github.com/woocommerce/woocommerce-blocks/pull/5161 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-17 03:08:12 +00:00
renovate[bot]
a121199d3f
Update dependency @babel/preset-env to v7.16.4 ( https://github.com/woocommerce/woocommerce-blocks/pull/5160 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-17 02:56:46 +00:00
renovate[bot]
52d8f6661c
Update dependency @types/gtag.js to v0.0.8 ( https://github.com/woocommerce/woocommerce-blocks/pull/5117 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-11 16:47:41 +00:00
Albert Juhé Lluveras
6aeac39f17
Downgrade @wordpress/scripts to 17.1.0 to fix dependency mistmach issue ( https://github.com/woocommerce/woocommerce-blocks/pull/5124 )
...
* Downgrade @wordpress/scripts to a previous version to fix dependency mismatch
* Fix typo
2021-11-11 12:06:04 +01:00
renovate[bot]
645d534bda
Update babel monorepo to v7.16.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/5118 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-10 03:44:41 +00:00
dependabot[bot]
a348f9ea33
Bump url-parse from 1.5.1 to 1.5.3 ( https://github.com/woocommerce/woocommerce-blocks/pull/5114 )
...
Bumps [url-parse](https://github.com/unshiftio/url-parse ) from 1.5.1 to 1.5.3.
- [Release notes](https://github.com/unshiftio/url-parse/releases )
- [Commits](https://github.com/unshiftio/url-parse/compare/1.5.1...1.5.3 )
---
updated-dependencies:
- dependency-name: url-parse
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-09 15:13:13 +00:00