Commit Graph

427 Commits

Author SHA1 Message Date
Mike Jolley 6319de52e9 Build maintainence (https://github.com/woocommerce/woocommerce-blocks/pull/1092)
* Ignore node_modules when watching to reduce CPU load

https://github.com/webpack/webpack/issues/1706

* Remove prepack - we no longer push to NPM
2019-10-28 11:00:04 +00:00
renovate[bot] 9ad48205b4 Update dependency react-test-renderer to v16.11.0 (https://github.com/woocommerce/woocommerce-blocks/pull/1074) 2019-10-23 10:19:08 +02:00
renovate[bot] 3d22e01e63 Update dependency lint-staged to v9.4.2 (https://github.com/woocommerce/woocommerce-blocks/pull/1072) 2019-10-23 10:19:01 +02:00
renovate[bot] d36b881b9c Update dependency eslint-plugin-jest to v22.20.0 (https://github.com/woocommerce/woocommerce-blocks/pull/1071) 2019-10-23 10:18:43 +02:00
renovate[bot] 5d70a4499d Update dependency core-js to v3.3.3 (https://github.com/woocommerce/woocommerce-blocks/pull/1070) 2019-10-23 10:18:18 +02:00
renovate[bot] 835dc648e9 Update Node.js to v10.17.0 (https://github.com/woocommerce/woocommerce-blocks/pull/1069) 2019-10-23 10:17:36 +02:00
renovate[bot] b95203aad9 Update dependency @babel/core to v7.6.4 (https://github.com/woocommerce/woocommerce-blocks/pull/1049) 2019-10-16 11:11:16 +02:00
renovate[bot] 5f303cfe6f Update dependency autoprefixer to v9.6.5 (https://github.com/woocommerce/woocommerce-blocks/pull/1051) 2019-10-16 10:41:55 +02:00
renovate[bot] 99a3660e29 Update dependency @octokit/rest to v16.33.1 (https://github.com/woocommerce/woocommerce-blocks/pull/1050) 2019-10-16 10:41:33 +02:00
renovate[bot] b4325feeb3 Pin dependency compare-versions to 3.5.1 (https://github.com/woocommerce/woocommerce-blocks/pull/1048) 2019-10-16 10:41:15 +02:00
Darren Ethier 007039c5b9 Expose wp_version on settings api and provide a js version compare function (https://github.com/woocommerce/woocommerce-blocks/pull/1033)
* install compare-versions and export on `@woocommerce/settings` external

* expose `wp_version` on wcSettings

* export a compareWithWpVersion function for easier version checking

* improve semver coercing for wp version check

also add tests

* fix for code standards around imports

* switch to camelcase for version option
2019-10-11 11:29:27 -04:00
renovate[bot] 452e963840 Update dependency eslint-config-prettier to v6.4.0 (https://github.com/woocommerce/woocommerce-blocks/pull/1039) 2019-10-09 10:33:10 +02:00
renovate[bot] 6300e48766 Update dependency cross-env to v6.0.3 (https://github.com/woocommerce/woocommerce-blocks/pull/1038) 2019-10-09 10:32:05 +02:00
renovate[bot] 152977d66c Update dependency autoprefixer to v9.6.4 (https://github.com/woocommerce/woocommerce-blocks/pull/1037) 2019-10-09 10:31:40 +02:00
renovate[bot] d1bc3fff2d Update dependency @octokit/rest to v16.33.0 (https://github.com/woocommerce/woocommerce-blocks/pull/1036) 2019-10-09 10:30:54 +02:00
renovate[bot] 3f62090f93 Update dependency @babel/core to v7.6.3 (https://github.com/woocommerce/woocommerce-blocks/pull/1035) 2019-10-09 10:30:16 +02:00
renovate[bot] 96a902fa81 Update dependency cross-env to v6.0.2 (https://github.com/woocommerce/woocommerce-blocks/pull/1009) 2019-10-02 15:52:10 +02:00
renovate[bot] d8760bcdd6 Update dependency eslint to v6.5.1 (https://github.com/woocommerce/woocommerce-blocks/pull/1010) 2019-10-02 15:51:15 +02:00
renovate[bot] c86114d2cb Update dependency cross-env to v6 (https://github.com/woocommerce/woocommerce-blocks/pull/993) 2019-09-25 12:27:11 +02:00
renovate[bot] cfffbb2561 Update dependency webpack to v4.41.0 (https://github.com/woocommerce/woocommerce-blocks/pull/992) 2019-09-25 12:26:34 +02:00
renovate[bot] cc3d06c417 Update dependency lint-staged to v9.3.0 (https://github.com/woocommerce/woocommerce-blocks/pull/991) 2019-09-25 12:26:04 +02:00
renovate[bot] 766dd61a4f Update dependency @octokit/rest to v16.30.1 (https://github.com/woocommerce/woocommerce-blocks/pull/989) 2019-09-25 12:25:22 +02:00
renovate[bot] 5f78890c6a Update dependency @babel/core to v7.6.2 (https://github.com/woocommerce/woocommerce-blocks/pull/988) 2019-09-25 12:24:44 +02:00
renovate[bot] f2b63f76f8 Update dependency react-test-renderer to v16.9.0 (https://github.com/woocommerce/woocommerce-blocks/pull/823) 2019-09-25 12:23:53 +02:00
Albert Juhé Lluveras b5e1ec8052 Delete interpolate-components dependency and update package-lock.json (https://github.com/woocommerce/woocommerce-blocks/pull/986)
* Remove interpolate-components dependency

* Update package-lock

* Enable Renovate's lockFileMaintenance
2019-09-24 20:43:28 +02:00
renovate[bot] 96e073acd8 Update dependency webpack to v4.40.2 (https://github.com/woocommerce/woocommerce-blocks/pull/969) 2019-09-20 09:23:14 -04:00
renovate[bot] 9aa9394a5a Update dependency eslint to v6.4.0 (https://github.com/woocommerce/woocommerce-blocks/pull/967) 2019-09-20 09:22:43 -04:00
renovate[bot] 21f0fc88a9 Update dependency eslint-config-prettier to v6.3.0 (https://github.com/woocommerce/woocommerce-blocks/pull/968) 2019-09-20 09:20:54 -04:00
renovate[bot] da903b54d7 Update dependency webpack-cli to v3.3.9 (https://github.com/woocommerce/woocommerce-blocks/pull/970) 2019-09-20 09:20:39 -04:00
renovate[bot] 43968f23c9 Update wordpress monorepo (https://github.com/woocommerce/woocommerce-blocks/pull/971) 2019-09-20 09:20:23 -04:00
renovate[bot] b5f2f0c536 Update dependency eslint-plugin-jest to v22.17.0 (https://github.com/woocommerce/woocommerce-blocks/pull/959) 2019-09-13 23:50:49 +02:00
renovate[bot] 11ede4fa95 Update dependency webpack-cli to v3.3.8 (https://github.com/woocommerce/woocommerce-blocks/pull/960) 2019-09-13 23:50:20 +02:00
renovate[bot] 7425c125c2 Update npm to v6.11.3 (https://github.com/woocommerce/woocommerce-blocks/pull/962) 2019-09-13 23:49:25 +02:00
renovate[bot] 676873908c Update dependency @babel/core to v7.6.0 (https://github.com/woocommerce/woocommerce-blocks/pull/958) 2019-09-13 23:48:39 +02:00
renovate[bot] ddf370e391 Pin dependency eslint-config-prettier to 6.2.0 (https://github.com/woocommerce/woocommerce-blocks/pull/957) 2019-09-13 23:48:03 +02:00
Albert Juhé Lluveras 6ab7834f59 Install prettier and reformat files (https://github.com/woocommerce/woocommerce-blocks/pull/945)
* Install prettier

* Reformat all files

* Add prettier to precommit hook

* Update prettier settings to match Gutenberg code standards

* Reformat files with new settings

* Improve legibility in some line breaks
2019-09-05 17:09:31 +02:00
renovate[bot] 41ea6691cb Update dependency eslint-plugin-jest to v22.16.0 (https://github.com/woocommerce/woocommerce-blocks/pull/943) 2019-09-04 10:56:25 +02:00
renovate[bot] 5b05f0632c Update dependency eslint to v6.3.0 (https://github.com/woocommerce/woocommerce-blocks/pull/942) 2019-09-04 10:51:47 +02:00
renovate[bot] 42776c555f Update dependency cross-env to v5.2.1 (https://github.com/woocommerce/woocommerce-blocks/pull/941) 2019-09-04 10:50:08 +02:00
renovate[bot] d0d8a8c678 Update dependency @octokit/rest to v16.28.9 (https://github.com/woocommerce/woocommerce-blocks/pull/940) 2019-09-04 10:49:19 +02:00
Albert Juhé Lluveras 04c9933030 RTL fixes (https://github.com/woocommerce/woocommerce-blocks/pull/938)
* Install webpack-rtl-plugin

* Rotate arrow buttons on RTL sites

* Minify in safe mode
2019-09-03 19:55:20 +02:00
Mike Jolley 2c64ff0e98 Master is now 2.5.0-dev 2019-08-29 10:46:11 +01:00
Mike Jolley 0d0474f1e7 Rolling 2.4 release changelog (https://github.com/woocommerce/woocommerce-blocks/pull/720)
* 2.4 placeholder

* Add error handling for API requests to the featured product block.

* changelog

* Update changelog

* Changelog and versions
2019-08-29 10:39:51 +01:00
renovate[bot] 0e0bc749d2 Update dependency rimraf to v3 (https://github.com/woocommerce/woocommerce-blocks/pull/868) 2019-08-28 11:17:07 +01:00
renovate[bot] 8e020311eb Update dependency eslint to v6.2.2 (https://github.com/woocommerce/woocommerce-blocks/pull/922) 2019-08-28 11:07:00 +01:00
renovate[bot] 26671c37de Update dependency yargs to v14 (https://github.com/woocommerce/woocommerce-blocks/pull/887) 2019-08-28 11:06:44 +01:00
renovate[bot] dd06a34d72 Update dependency sass-loader to v7.3.1 (https://github.com/woocommerce/woocommerce-blocks/pull/892) 2019-08-28 11:06:26 +01:00
renovate[bot] 313fd1942f Update npm to v6.11.2 (https://github.com/woocommerce/woocommerce-blocks/pull/894) 2019-08-28 11:06:15 +01:00
renovate[bot] e80cca3890 Update dependency eslint-plugin-jest to v22.15.2 (https://github.com/woocommerce/woocommerce-blocks/pull/923) 2019-08-28 11:05:20 +01:00
renovate[bot] b8fa8710d6 Update dependency lint-staged to v9.2.5 (https://github.com/woocommerce/woocommerce-blocks/pull/924) 2019-08-28 11:05:10 +01:00
renovate[bot] 207023db3a Update dependency babel-eslint to v10.0.3 (https://github.com/woocommerce/woocommerce-blocks/pull/921) 2019-08-28 11:05:01 +01:00
renovate[bot] b1db72ba7e Pin dependencies (https://github.com/woocommerce/woocommerce-blocks/pull/920) 2019-08-28 11:02:10 +01:00
renovate[bot] 82a4107ee7 Update dependency webpack to v4.39.3 (https://github.com/woocommerce/woocommerce-blocks/pull/925) 2019-08-28 11:02:01 +01:00
renovate[bot] 046e69e46c Update dependency @woocommerce/navigation to v3 (https://github.com/woocommerce/woocommerce-blocks/pull/876) 2019-08-22 21:01:10 +02:00
Albert Juhé Lluveras 46934d2946 Create withReviews base HOC (https://github.com/woocommerce/woocommerce-blocks/pull/877)
* Create withReviews base HOC

* Add tests

* Make Reviews by Category use withReviews HOC

* Move componentDidUpdate and debounce dependency to decouple HOC from components

* Spaces

* Rename 'delayMethod' to 'delayFunction'

* Refactor withReviews HOC

* Update tests

* Minor fixes

* Undo fix being handled in woocommerce/woocommerce-blocks#884

* Remove hardcoded from withReviews

* Update delay comment

* Use callbacks instead of announceUpdates prop

* Move props check to a 'shouldReplaceReviews' method

* Fix productId propType

* Move per_page and offset args to 'getArgs'

* Update withReviews displayName

* Fix tests

* Add callback propsTypes

* Use is-shallow-equal
2019-08-22 13:36:20 +02:00
Darren Ethier 0b9559e2db Install @babel/plugin-proposal-class-properties. (https://github.com/woocommerce/woocommerce-blocks/pull/856)
* add @babel/plugin-proposal-class-properties plugin

* refactor ProductByCategoryBlock to use class properties
2019-08-21 09:05:17 -04:00
Albert Juhé Lluveras eb6b584bc3 Set eslint version back to 6.1.0 (https://github.com/woocommerce/woocommerce-blocks/pull/896) 2019-08-21 12:52:10 +01:00
renovate[bot] 0a709aa133 Update dependency eslint to v6.2.1 (https://github.com/woocommerce/woocommerce-blocks/pull/890) 2019-08-20 14:35:08 +01:00
renovate[bot] 1b12758093 Update dependency eslint to v6.2.0 (https://github.com/woocommerce/woocommerce-blocks/pull/881) 2019-08-19 14:29:28 +01:00
renovate[bot] a050dff437 Pin dependencies (https://github.com/woocommerce/woocommerce-blocks/pull/883) 2019-08-19 14:29:06 +01:00
renovate[bot] 8540838ec8 Update dependency lint-staged to v9.2.3 (https://github.com/woocommerce/woocommerce-blocks/pull/879) 2019-08-19 13:16:36 +02:00
Albert Juhé Lluveras 2122d694e7 Add changelog script (https://github.com/woocommerce/woocommerce-blocks/pull/878)
* Add changelog script

* Adapt changelog script to WooCommerce Blocks

* Minor improvements
2019-08-19 12:46:32 +02:00
renovate[bot] f70d9021fe Update dependency webpack-cli to v3.3.7 (https://github.com/woocommerce/woocommerce-blocks/pull/880) 2019-08-19 11:28:58 +02:00
renovate[bot] 05b1777b83 Update Node.js to v10.16.3 (https://github.com/woocommerce/woocommerce-blocks/pull/874) 2019-08-16 16:29:08 +01:00
renovate[bot] 5027fa2c6f Update dependency @woocommerce/components to v3.2.0 (https://github.com/woocommerce/woocommerce-blocks/pull/875) 2019-08-16 08:50:48 +02:00
renovate[bot] 5dded757ba Update dependency webpack to v4.39.2 (https://github.com/woocommerce/woocommerce-blocks/pull/855) 2019-08-15 16:07:22 +01:00
renovate[bot] de9f8b14ea Pin dependencies (https://github.com/woocommerce/woocommerce-blocks/pull/872) 2019-08-15 17:05:26 +02:00
Albert Juhé Lluveras ad38f9d327 Create Reviews by Product block (https://github.com/woocommerce/woocommerce-blocks/pull/658)
* Create Reviews by Product block

* Honor Content settings

* Fix wrong className

* Load new wc-packages file

* Add reviews-by-product JS files to webpack config

* Cleanup

* Remove error messages

* Add Reviews by Product icon

* Update sort options

* Allow additional CSS classes attribute

* Refactor block styles

* Fix wrong default for reviews_orderby

* Don't enforce CSS chunks

* Add reviews count to Reviews by Product controls (https://github.com/woocommerce/woocommerce-blocks/pull/671)

* Add label to Reviews by Product controls count (https://github.com/woocommerce/woocommerce-blocks/pull/677)

* Add reviews count to Reviews by Product controls

* Add label to Reviews by Product controls count

* Add label to Reviews by Product controls count

* Update components package

* Review ordering and placeholders (https://github.com/woocommerce/woocommerce-blocks/pull/688)

* Add support for comment_count ordering and add to productcontrol

* Add a placeholder if rating count is 0

* Update assets/js/components/utils/index.js

Co-Authored-By: Albert Juhé Lluveras <contact@albertjuhe.com>

* Update assets/js/blocks/reviews-by-product/block.js

Co-Authored-By: Albert Juhé Lluveras <contact@albertjuhe.com>

* grammar

* Fix some linting errors and warnings (https://github.com/woocommerce/woocommerce-blocks/pull/693)

* Create Reviews by Product block placeholder (https://github.com/woocommerce/woocommerce-blocks/pull/691)

* Create Reviews by Product block placeholder

* Reviews by Product: load and render reviews with JS (https://github.com/woocommerce/woocommerce-blocks/pull/696)

* Reviews by Product: load and render reviews with JS

* Add dangerouslySetInnerHTML explanatory comment

* Fix wrong dependency source

* Debounce getReviews call when creating the Reviews by Product block

* Rename 'Reviewer Picture' with 'Avatar' (https://github.com/woocommerce/woocommerce-blocks/pull/702)

* Lint errors

* Replace stringify query with addQueryArgs (https://github.com/woocommerce/woocommerce-blocks/pull/707)

* Add reviews endpoint (https://github.com/woocommerce/woocommerce-blocks/pull/705)

* Prevent state updates on unmounted components (https://github.com/woocommerce/woocommerce-blocks/pull/715)

* Add Order by and Load more controls in Reviews by Product frontend (https://github.com/woocommerce/woocommerce-blocks/pull/716)

* Export IconReviewsByProduct (https://github.com/woocommerce/woocommerce-blocks/pull/721)

* Fix Reviews by Product layout in IE11 (https://github.com/woocommerce/woocommerce-blocks/pull/723)

* Set minimum to per page input field (https://github.com/woocommerce/woocommerce-blocks/pull/731)

* Hide avatars in Reviews by Products if 'show_avatars' settings is false (https://github.com/woocommerce/woocommerce-blocks/pull/730)

* Blocks API - Reviews endpoint with rating sort and category filtering (https://github.com/woocommerce/woocommerce-blocks/pull/726)

* Move file to correct location

* We are only using the reviews endpoint not revioews/id

* Remove sensistive data and make endpoint public

* Allow guest access to approved reviews

* Add support for rating sorting

* category filtering

* update arg name

* fix category query

* Reviews by Product: add placeholders when loading reviews (https://github.com/woocommerce/woocommerce-blocks/pull/732)

* Add placeholder animation (https://github.com/woocommerce/woocommerce-blocks/pull/733)

* Hook up Reviews by Product 'Order by' with endpoint (https://github.com/woocommerce/woocommerce-blocks/pull/736)

* Hook up Reviews by Product 'Order by' with endpoint

* Use onChange instead of onBlur in select control

* Reviews by Product: Hide ratings if they are disabled in settings (https://github.com/woocommerce/woocommerce-blocks/pull/740)

* Hide ratings in Reviews by Product if disabled in settings

* Hide order by select if ratings are disabled

* Reviews by Product cleanup (https://github.com/woocommerce/woocommerce-blocks/pull/773)

* Fix wrong method name

* Reduce the number of dependencies used in Reviews by Product (https://github.com/woocommerce/woocommerce-blocks/pull/774)

* Reduce the number of dependencies used in Reviews by Product

* Use 'withComponentId' HOC

* Remove debounce

* Fix wrong proptype

* Get rid of JS warning

* Load render from react-dom

* Add formatted_date_created item schema (https://github.com/woocommerce/woocommerce-blocks/pull/788)

* Fix import of WithComponentID

* Add new settings to Reviews by Product block (https://github.com/woocommerce/woocommerce-blocks/pull/787)

* Add new settings to Reviews by Product block

* Remove helpText and add notices

* Use RangeControl for numeric settings

* Prevent fetching new reviews if all were already fetched

* Enable product image in reviews

* Remove unnecessary catch

* Refactor getReviews

* Move getReviews back to block's code

* Cleanup

* Fix wrong order in editor

* Hide 'Load More Reviews' if showLoadMore is false

* Move getReviews to utils.js

* Add @woocommerce/navigation to package.json

* Make notices non-dismissable

* Reviews by Product: prevent importing all HOCs and import only withComponentId (https://github.com/woocommerce/woocommerce-blocks/pull/811)

* Reviews by product: Update review styling and content (https://github.com/woocommerce/woocommerce-blocks/pull/806)

* Add new settings to Reviews by Product block

* Remove helpText and add notices

* Use RangeControl for numeric settings

* Prevent fetching new reviews if all were already fetched

* Enable product image in reviews

* Remove unnecessary catch

* Refactor getReviews

* Move getReviews back to block's code

* Cleanup

* Fix wrong order in editor

* Hide 'Load More Reviews' if showLoadMore is false

* Move getReviews to utils.js

* Add @woocommerce/navigation to package.json

* Make notices non-dismissable

* Review design/layout

* verified icons

* Read more component

* remove comment

* expanded -> isExpanded

* Localise and change default elipses

* Simplify ReadMore

* Support children rather than passing content

* remove outside

* remove list style

* Update assets/js/components/read-more/index.js

Co-Authored-By: Albert Juhé Lluveras <contact@albertjuhe.com>

* Update assets/js/components/read-more/index.js

Co-Authored-By: Albert Juhé Lluveras <contact@albertjuhe.com>

* merge set state

* Add missing parameter doc in renderReview (https://github.com/woocommerce/woocommerce-blocks/pull/820)

* Fix Reviews by Product order by select not honoring default setting (https://github.com/woocommerce/woocommerce-blocks/pull/818)

* Read more component - change how clamped content is shown (https://github.com/woocommerce/woocommerce-blocks/pull/821)

* Pass review as components

* Build summary from content and track both

* Toggle display after inital load

* remove unused variable

* remove componentDidUpdate

* Simplify clampLines

* Put back componentDidUpdate, but store final summary in state

* clampEnabled

* Call clampLines from componentDidMount (https://github.com/woocommerce/woocommerce-blocks/pull/826)

* truncate html tests

* implement trimHTML and pass test

* Feedback

* test short content

* Use withProduct HOC in ReviewsByProductEditor (https://github.com/woocommerce/woocommerce-blocks/pull/828)

* Use withProduct HOC

* Convert ReviewsByProductEditor to a functional component

* Add loading and error states

* Prevent loading screen appearing when changing products

* Reviews: only save wrapper element to post (https://github.com/woocommerce/woocommerce-blocks/pull/830)

* Fix bundlesize config not picking frontend files (https://github.com/woocommerce/woocommerce-blocks/pull/840)

* Reviews by Product: split 'block.js' into smaller chunks (https://github.com/woocommerce/woocommerce-blocks/pull/841)

* Split 'block.js' into smaller chunks

* Move frontend blocks to their specific folder

* Order imports

* Typo

* Add frontend components proptypes

* Fix indentation

* Call 'this.getDefaultArgs' directly inside 'getReviews'

* Move access to wc_product_block_data to the top of the file

* Rename 'frontend' folder to 'base'

* Rename base components and move styles to their folder

* Fix Reviews by Product using rating count instead of review count (https://github.com/woocommerce/woocommerce-blocks/pull/860)

* Improve Reviews by Product accessibility (https://github.com/woocommerce/woocommerce-blocks/pull/861)

* Improve Reviews by Product accessibility

* Make 'onClick' prop not required in <LoadMoreButton>

* Wrap Reviews by Product editor block with <Disabled>

* Reviews: fix reviews without rating not appearing when sorting by rating (https://github.com/woocommerce/woocommerce-blocks/pull/863)
2019-08-15 16:55:57 +02:00
renovate[bot] 2078e81bc8 Update dependency rimraf to v2.7.1 (https://github.com/woocommerce/woocommerce-blocks/pull/867) 2019-08-15 11:11:18 +02:00
Darren Ethier 64b476303a remove unnecessary config (https://github.com/woocommerce/woocommerce-blocks/pull/862) 2019-08-14 07:23:09 -04:00
renovate[bot] 7b07bb015a Update dependency rimraf to v2.7.0 (https://github.com/woocommerce/woocommerce-blocks/pull/858) 2019-08-14 11:39:38 +02:00
renovate[bot] a618bb7dd0 Pin dependency babel-plugin-transform-react-remove-prop-types to 0.4.24 (https://github.com/woocommerce/woocommerce-blocks/pull/851) 2019-08-13 15:44:07 +01:00
Darren Ethier 69890535c9 Add babel-plugin-transform-remove-prop-types Babel plugin (https://github.com/woocommerce/woocommerce-blocks/pull/839)
* install transform-react-remove-prop-types babel plugin

* use `@wordpress/babel-preset-default` not `@wordpress/default` (name change)

* add configuration for new plugin (removing prop-types on production builds)
2019-08-13 09:51:44 -04:00
renovate[bot] e36d014584 Update dependency core-js to v3.2.1 (https://github.com/woocommerce/woocommerce-blocks/pull/838) 2019-08-13 11:40:31 +01:00
renovate[bot] 45f2d48f56 Update dependency eslint-plugin-jest to v22.15.1 (https://github.com/woocommerce/woocommerce-blocks/pull/844) 2019-08-13 11:39:49 +01:00
renovate[bot] c3008d268f Update dependency core-js to v3.2.0 (https://github.com/woocommerce/woocommerce-blocks/pull/824) 2019-08-12 11:05:29 +02:00
renovate[bot] 2cfd59fa38 Pin dependency bundlesize to 0.18.0 (https://github.com/woocommerce/woocommerce-blocks/pull/831) 2019-08-12 11:05:20 +02:00
renovate[bot] da52d84518 Update dependency sass-loader to v7.2.0 (https://github.com/woocommerce/woocommerce-blocks/pull/827) 2019-08-12 11:05:06 +02:00
Darren Ethier e5bf616dca Add bundlesize package and tweak travis config (https://github.com/woocommerce/woocommerce-blocks/pull/822)
- adds bundlesize package and travis config to run it on pulls (reports size as a check on pulls)
- reconfigure travis configuration so that jobs are split by task for easier review/reporting
- Fix failing phpunit tests exposed as a result of the travis reconfiguration
- Fix legit fail exposed by failing phpunit test in products REST endpoint (permissions related)
- Don't abort plugin initialization when detecting no build asset file but still throw notice (necessary to ensure php tests run in travis because we don't build js/css assets unnecessarily for those tests)
2019-08-09 14:08:31 -04:00
Albert Juhé Lluveras e5f73b05e8 Add eslint JSDoc checks (https://github.com/woocommerce/woocommerce-blocks/pull/819)
* Add eslint JSDoc checks

* Use @wordpress/eslint-plugin for ESLint config

* Rename 'augments' with 'extends'

* Remove '@wordpress/eslint-plugin' from package.json
2019-08-09 18:18:46 +02:00
renovate[bot] 981b5aea63 Update wordpress monorepo (https://github.com/woocommerce/woocommerce-blocks/pull/802) 2019-08-08 13:07:34 +01:00
renovate[bot] c99043e897 Update dependency style-loader to v1 (https://github.com/woocommerce/woocommerce-blocks/pull/805) 2019-08-08 13:04:33 +01:00
renovate[bot] 65e28ed35d Update dependency eslint-plugin-jest to v22.15.0 (https://github.com/woocommerce/woocommerce-blocks/pull/815) 2019-08-08 13:00:33 +01:00
renovate[bot] f82c3ecc29 Update dependency css-loader to v3.2.0 (https://github.com/woocommerce/woocommerce-blocks/pull/807) 2019-08-08 13:00:03 +01:00
renovate[bot] 9ff3332b24 Update npm to v6.10.3 (https://github.com/woocommerce/woocommerce-blocks/pull/809) 2019-08-08 12:59:29 +01:00
renovate[bot] 0d739215d5 Update Node.js to v10.16.2 (https://github.com/woocommerce/woocommerce-blocks/pull/810) 2019-08-08 12:47:34 +01:00
renovate[bot] 5efef42495 Update dependency webpack to v4.39.1 (https://github.com/woocommerce/woocommerce-blocks/pull/798) 2019-08-05 10:40:45 +01:00
renovate[bot] c12fffea9b Update Node.js to v10.16.1 (https://github.com/woocommerce/woocommerce-blocks/pull/789) 2019-08-02 12:51:52 +01:00
renovate[bot] dcfb27efd8 Update dependency webpack to v4.39.0 (https://github.com/woocommerce/woocommerce-blocks/pull/794) 2019-08-02 12:51:05 +01:00
renovate[bot] c3cee87dce Update dependency eslint-plugin-jest to v22.14.1 (https://github.com/woocommerce/woocommerce-blocks/pull/782) 2019-07-31 10:39:27 +01:00
renovate[bot] 2875dee9ae Pin dependencies (https://github.com/woocommerce/woocommerce-blocks/pull/776) 2019-07-29 14:12:18 +01:00
Mike Jolley 5789a74409 Reduce number of dependencies for the product categories list block (https://github.com/woocommerce/woocommerce-blocks/pull/771)
* unqiueID helper to replace compose

* move get categories function to own file

* fix svg styling

* remove lodash dependency

* Refactor block/edit to use less dependencies

* Babel config to skip wp.element

* update comments

* Update assets/js/blocks/product-categories/frontend.js

ie11 compatible for each on nodelist

Co-Authored-By: Albert Juhé Lluveras <contact@albertjuhe.com>

* move id generation to constructor

* simplify webpack config

* Remove components CSS dependency

* use HOC for component ID

* Correct case on ComponentId
2019-07-29 13:00:26 +01:00
renovate[bot] 0d41e0e3e2 Update dependency eslint-plugin-jest to v22.14.0 (https://github.com/woocommerce/woocommerce-blocks/pull/772) 2019-07-29 11:28:48 +02:00
renovate[bot] d447557436 Update dependency eslint-plugin-jest to v22.13.7 (https://github.com/woocommerce/woocommerce-blocks/pull/767) 2019-07-26 10:30:12 +02:00
renovate[bot] 4e5835e4b8 Update dependency webpack to v4.38.0 (https://github.com/woocommerce/woocommerce-blocks/pull/768) 2019-07-26 10:30:05 +02:00
renovate[bot] 827a14db33 Update dependency lint-staged to v9.2.1 (https://github.com/woocommerce/woocommerce-blocks/pull/765) 2019-07-26 10:29:43 +02:00
renovate[bot] 98ee76fd10 Update npm to v6.10.2 (https://github.com/woocommerce/woocommerce-blocks/pull/764) 2019-07-24 10:27:32 +01:00
renovate[bot] 46aafd21c2 Update dependency webpack to v4.37.0 (https://github.com/woocommerce/woocommerce-blocks/pull/763) 2019-07-23 11:56:03 +02:00
renovate[bot] 5837573d0c Update dependency eslint-plugin-react to v7.14.3 (https://github.com/woocommerce/woocommerce-blocks/pull/761) 2019-07-23 11:55:40 +02:00
renovate[bot] a07440f82a Update dependency eslint-plugin-jest to v22.13.6 (https://github.com/woocommerce/woocommerce-blocks/pull/760) 2019-07-23 11:55:32 +02:00