Commit Graph

1232 Commits

Author SHA1 Message Date
renovate[bot] 0eaebf04c0 Update dependency webpack to v4.27.0 (https://github.com/woocommerce/woocommerce-blocks/pull/201) 2018-12-04 09:52:20 -05:00
renovate[bot] 4cc4c7a7e9 Update dependency autoprefixer to v9.4.1 (https://github.com/woocommerce/woocommerce-blocks/pull/202) 2018-12-04 09:51:48 -05:00
Kelly Dwan 723c8eedab Update textdomain to plugin slug (https://github.com/woocommerce/woocommerce-blocks/pull/199)
* Update textdomain in JS files

* Update textdomain in PHP files

* Add babel plugin to create pot & php files from JS

* Update textdomain in plugin header

* Update translations after rebase
2018-12-04 09:51:21 -05:00
Kelly Dwan 6572b79708 Category Selection: Add loading & no results states (https://github.com/woocommerce/woocommerce-blocks/pull/197)
* Add gridicons dependency

* Add loading & no results states

* Update test snapshots

* Remove redundant setState call
2018-12-03 19:17:22 -05:00
renovate[bot] be07093ae0 Update dependency @babel/core to v7.2.0 (https://github.com/woocommerce/woocommerce-blocks/pull/194) 2018-12-03 19:16:31 -05:00
renovate[bot] 503aba0275 Update dependency eslint-plugin-jest to v22.1.1 (https://github.com/woocommerce/woocommerce-blocks/pull/200) 2018-12-03 19:16:16 -05:00
renovate[bot] 15dbfc3236 Update dependency autoprefixer to v9.4.0 (https://github.com/woocommerce/woocommerce-blocks/pull/185) 2018-12-03 10:18:30 -05:00
renovate[bot] 7a209367a7 Update dependency @woocommerce/components to v1.2.0 (https://github.com/woocommerce/woocommerce-blocks/pull/180) 2018-11-30 13:38:00 -05:00
renovate[bot] fbdc17d532 Pin dependencies (https://github.com/woocommerce/woocommerce-blocks/pull/167) 2018-11-29 13:09:21 -05:00
renovate[bot] 280a983790 Update Node.js to v10.14.1 (https://github.com/woocommerce/woocommerce-blocks/pull/169) 2018-11-29 12:50:42 -05:00
Claudio Sanches bd8d5beb21 Introduced pre-commit hook for PHP (https://github.com/woocommerce/woocommerce-blocks/pull/164) 2018-11-29 10:23:27 -05:00
renovate[bot] a17986f286 Update dependency @woocommerce/components to v1.1.0 (https://github.com/woocommerce/woocommerce-blocks/pull/160) 2018-11-28 10:58:03 -05:00
renovate[bot] 16f7c64258 Update dependency stylelint to v9.9.0 (https://github.com/woocommerce/woocommerce-blocks/pull/161) 2018-11-28 10:57:34 -05:00
renovate[bot] 97a61e803b Update Node.js to v10.14.0 (https://github.com/woocommerce/woocommerce-blocks/pull/165) 2018-11-28 10:55:05 -05:00
renovate[bot] da6180f172 Pin dependencies (https://github.com/woocommerce/woocommerce-blocks/pull/142) 2018-11-27 14:41:06 -05:00
renovate[bot] 16e861859a Update dependency webpack to v4.26.1 (https://github.com/woocommerce/woocommerce-blocks/pull/155) 2018-11-27 14:31:31 -05:00
renovate[bot] 402d428642 Update dependency eslint-plugin-jest to v22.1.0 (https://github.com/woocommerce/woocommerce-blocks/pull/154) 2018-11-27 14:29:49 -05:00
renovate[bot] 35ac545abb Update dependency mini-css-extract-plugin to v0.4.5 (https://github.com/woocommerce/woocommerce-blocks/pull/152) 2018-11-27 14:28:39 -05:00
Kelly Dwan 6a50ebde8b Adds continuous integration testing with travis (https://github.com/woocommerce/woocommerce-blocks/pull/156)
* Add travis to run JS & CSS linting, JS tests, and PHPUnit tests

* Move API initiation out of the gutenberg/files check

So that php tests run without having to build the JS files

* Add very basic product endpoint tests

* Fix stylelint issues in CSS

* Remove e2e setup, replace with dependency setup

* Add missing install step

* Remove cache for now

* Add specific `har-validator` dependency because v 5.1.2 has disappeared

* Only run npm install for the JS test job

* Check for installed plugins

* Update install location

* Fix typo in plugin name

* Check the BRANCH variable, rather than TRAVIS_PULL_REQUEST_BRANCH, which is only set on PR runs

* Remove debug command

* A change to trigger CI

* Set the expected node & npm versions

* Remove copy-pasted command, does not apply
2018-11-27 12:12:48 -05:00
renovate[bot] f09a4efae2 Update wordpress monorepo (https://github.com/woocommerce/woocommerce-blocks/pull/147) 2018-11-21 11:45:09 -05:00
renovate[bot] 3851a6bad1 Update dependency webpack to v4.26.0 (https://github.com/woocommerce/woocommerce-blocks/pull/139) 2018-11-19 11:38:33 -05:00
Kelly Dwan 2231c829d1 Add a basic product category block (https://github.com/woocommerce/woocommerce-blocks/pull/136)
* Add a second block, for “products by category”

* Fetch products in the given category, when attributes change

* Display the resulting products

* Style the product preview

* Create utils folder, move shared attributes

* Move getQuery to shared utils folder

* Create a helper function to get the shortcode string

* Support the menu_order setting

* Support center/wide/full alignment

* Update PropTypes

* Add tests

* Add text domain to translation functions
2018-11-19 11:33:17 -05:00
renovate[bot] 10b740d148 Update wordpress monorepo (https://github.com/woocommerce/woocommerce-blocks/pull/133) 2018-11-16 14:32:52 -05:00
renovate[bot] 4e1fb93a51 Update dependency clean-webpack-plugin to v1 (https://github.com/woocommerce/woocommerce-blocks/pull/132) 2018-11-16 14:30:39 -05:00
renovate[bot] a1c79b0114 Update dependency @babel/core to v7.1.6 (https://github.com/woocommerce/woocommerce-blocks/pull/131) 2018-11-16 14:29:42 -05:00
Kelly Dwan 882cd4c7bb Set up Jest for JS testing (https://github.com/woocommerce/woocommerce-blocks/pull/130)
* Set up Jest testing

* Add a snapshot test for the product preview component
2018-11-16 10:43:51 -05:00
renovate[bot] 9bc66d90ee Pin dependencies (https://github.com/woocommerce/woocommerce-blocks/pull/129) 2018-11-15 16:59:05 -05:00
Kelly Dwan 702da46571 Add stylelint to find and fix css code style issues (https://github.com/woocommerce/woocommerce-blocks/pull/126)
* Add stylelint & WP gutenberg configuration

* Fix stylelint issues
2018-11-15 10:45:49 -05:00
Kelly Dwan 45f519590e Add eslint to find and fix code style issues (https://github.com/woocommerce/woocommerce-blocks/pull/123)
* Add eslint configuration

* Run eslint auto-fixer to cover fixable issues

* Use wp.element’s component to prevent undefined React error

* Add products data global to eslint config

* Fix remaining eslint errors by hand

* Fix eslint errors in webpack

* Remove duplicate rule
2018-11-13 14:21:04 -05:00
Kelly Dwan 140f4e5ed6 Update build process (https://github.com/woocommerce/woocommerce-blocks/pull/122)
* Add api-fetch dependency

* Remove compiled files from the repo

* Update build process, remove grunt

* Import CSS into block, as we now extract CSS via webpack to build

* Update enqueue scripts to reflect new build locations

* Detect if build files don’t exist, and instruct users to build project

* Update readme with build instructions

* Clarify where to run npm commands in info notice

* Only enqueue our JS files if we know they exist

* Clarify version compatibility between WC and WP 5.0
2018-11-13 14:12:32 -05:00
claudiulodro 6cde5409a1 Begin migration off withapidata 2018-09-05 11:30:46 -07:00
claudiulodro 6533d2f166 Set up and move things over for a feature plugin 2018-02-13 11:03:53 -08:00