Commit Graph

364 Commits

Author SHA1 Message Date
renovate[bot] 8e084adda9 chore(deps): update dependency eslint to v5.16.0 (https://github.com/woocommerce/woocommerce-blocks/pull/512) 2019-04-01 11:03:46 -04:00
renovate[bot] 407e7468ff chore(deps): update dependency react-test-renderer to v16.8.6 (https://github.com/woocommerce/woocommerce-blocks/pull/510) 2019-03-28 10:47:40 -04:00
renovate[bot] 0b1cab89c5 chore(deps): update dependency react-test-renderer to v16.8.5 (https://github.com/woocommerce/woocommerce-blocks/pull/507) 2019-03-27 11:06:26 +01:00
Kelly Dwan 23532701dd Fix fatal with 1.x versions of the feature plugin (https://github.com/woocommerce/woocommerce-blocks/pull/502)
* Add plugin version check to prevent fatal error with core + 1.4

* Version bump
2019-03-22 10:42:01 -04:00
renovate[bot] 828e413493 chore(deps): update wordpress monorepo (https://github.com/woocommerce/woocommerce-blocks/pull/501) 2019-03-20 15:04:08 -04:00
renovate[bot] 52e1999384 chore(deps): update dependency @babel/core to v7.4.0 (https://github.com/woocommerce/woocommerce-blocks/pull/500) 2019-03-20 11:00:56 -04:00
renovate[bot] dbc394ce71 chore(deps): update dependency eslint to v5.15.3 (https://github.com/woocommerce/woocommerce-blocks/pull/498) 2019-03-20 11:00:31 -04:00
renovate[bot] c66b5445d9 chore(deps): update dependency webpack-cli to v3.3.0 (https://github.com/woocommerce/woocommerce-blocks/pull/496) 2019-03-18 11:25:27 -04:00
renovate[bot] e46b2a6f73 chore(deps): update dependency eslint-plugin-jest to v22.4.1 (https://github.com/woocommerce/woocommerce-blocks/pull/497) 2019-03-18 11:23:59 -04:00
renovate[bot] 2d9d467728 chore(deps): update dependency eslint to v5.15.2 (https://github.com/woocommerce/woocommerce-blocks/pull/495) 2019-03-18 11:23:13 -04:00
Kelly Dwan 0c85ec1bc7 Add pre-publishing script and bump version to 2.0.0-rc1 (https://github.com/woocommerce/woocommerce-blocks/pull/494)
* Add a `prepack` script to run before publish

This will re-install dependencies, run linting on PHP, CSS, and JS, run the JS tests, and lastly build the production bundle.

* phpcs is now part of `npm run lint` so we don’t need to run it twice

* Version bump to RC1
2019-03-15 12:55:34 -04:00
renovate[bot] 4aa4ba25b5 chore(deps): update dependency eslint-plugin-jest to v22.4.0 (https://github.com/woocommerce/woocommerce-blocks/pull/493) 2019-03-15 12:44:19 -04:00
renovate[bot] e89cb009cd chore(deps): update dependency clean-webpack-plugin to v2.0.1 (https://github.com/woocommerce/woocommerce-blocks/pull/492) 2019-03-14 16:06:11 -04:00
renovate[bot] ff1733a391 chore(deps): update dependency autoprefixer to v9.5.0 (https://github.com/woocommerce/woocommerce-blocks/pull/491) 2019-03-14 16:04:58 -04:00
Kelly Dwan 22f3582c43 Build: Add translation conversion script (https://github.com/woocommerce/woocommerce-blocks/pull/486)
* Add script to transform language .po files to the expected JSON format for each built JS file

* Merge in updated language packs

* Ignore languages file in bin
2019-03-13 09:59:12 -04:00
renovate[bot] 500b1a8f74 chore(deps): update dependency eslint-plugin-jest to v22.3.2 (https://github.com/woocommerce/woocommerce-blocks/pull/484) 2019-03-12 11:14:05 -04:00
renovate[bot] 226369a287 chore(deps): update dependency eslint-plugin-jest to v22.3.1 (https://github.com/woocommerce/woocommerce-blocks/pull/483) 2019-03-12 09:57:36 -04:00
renovate[bot] 0f473aaa07 chore(deps): update dependency css-loader to v2.1.1 (https://github.com/woocommerce/woocommerce-blocks/pull/479) 2019-03-07 11:03:02 -05:00
Kelly Dwan cba3d402b6 Bump the version, update the changelog (https://github.com/woocommerce/woocommerce-blocks/pull/478) 2019-03-06 18:27:37 -05:00
renovate[bot] c4b8b5ea44 chore(deps): update npm to v6.9.0 (https://github.com/woocommerce/woocommerce-blocks/pull/476) 2019-03-06 14:18:39 -05:00
renovate[bot] 2ccdc07b85 chore(deps): update wordpress monorepo (major) (https://github.com/woocommerce/woocommerce-blocks/pull/475)
* chore(deps): update wordpress monorepo

* Remove unnecessary babel config
2019-03-06 13:50:44 -05:00
renovate[bot] 432925a090 chore(deps): update wordpress monorepo (https://github.com/woocommerce/woocommerce-blocks/pull/474) 2019-03-06 12:59:42 -05:00
renovate[bot] c66c9cd633 chore(deps): update dependency react-test-renderer to v16.8.4 (https://github.com/woocommerce/woocommerce-blocks/pull/473) 2019-03-06 12:43:22 -05:00
renovate[bot] 056b42fd45 chore(deps): update node.js to v10.15.3 (https://github.com/woocommerce/woocommerce-blocks/pull/471) 2019-03-05 13:13:00 -05:00
renovate[bot] 4a5eb512d3 chore(deps): update dependency eslint to v5.15.1 (https://github.com/woocommerce/woocommerce-blocks/pull/470) 2019-03-05 12:56:11 -05:00
renovate[bot] 78d385f28c chore(deps): update dependency autoprefixer to v9.4.10 (https://github.com/woocommerce/woocommerce-blocks/pull/469) 2019-03-05 12:54:31 -05:00
renovate[bot] 8f998a4859 chore(deps): update dependency clean-webpack-plugin to v2 (https://github.com/woocommerce/woocommerce-blocks/pull/466)
* chore(deps): update dependency clean-webpack-plugin to v2

* Update options for v2.0
2019-03-04 09:48:27 -08:00
renovate[bot] 039bb10b89 fix(deps): pin dependency gridicons to 3.1.1 (https://github.com/woocommerce/woocommerce-blocks/pull/467) 2019-03-04 09:42:47 -08:00
Kelly Dwan 7f78a79698 Set up plugin to be published on npm (https://github.com/woocommerce/woocommerce-blocks/pull/456)
* Move block rendering class into assets

* Update package.json for npm

* Move script registration into publish-able file

* Fix phpcs issue

* Add note about source of file

* Add wcSettings back in

* Rename files to match class name

* Add languages & includes back, so we can use this for publishing zip files

* Update documentation, versions, and add hook for wc components settings

* Update wcSettings output to use fitler

* Update version to `alpha`

* Make block library class into a singleton
2019-03-04 09:30:06 -08:00
renovate[bot] e84670b4c4 chore(deps): update dependency eslint to v5.15.0 (https://github.com/woocommerce/woocommerce-blocks/pull/464) 2019-03-03 13:13:09 -08:00
renovate[bot] 16562fff20 chore(deps): update dependency lint-staged to v8.1.5 (https://github.com/woocommerce/woocommerce-blocks/pull/463) 2019-03-03 13:11:49 -08:00
renovate[bot] 1990554765 chore(deps): update node.js to v10.15.2 (https://github.com/woocommerce/woocommerce-blocks/pull/462) 2019-02-28 09:25:25 -08:00
renovate[bot] 20090582b6 chore(deps): update dependency webpack to v4.29.6 (https://github.com/woocommerce/woocommerce-blocks/pull/461) 2019-02-28 09:25:08 -08:00
Kevin Killingsworth 1288fe1c75 Remove legacy block (https://github.com/woocommerce/woocommerce-blocks/pull/457)
* Remove legacy block

This removes the legacy products block and sets the version to
v2.0.0-dev

* Remove legacy product block test

* Update plugin header version
2019-02-26 14:16:21 -06:00
renovate[bot] fb482b0cf6 chore(deps): update dependency @babel/core to v7.3.4 (https://github.com/woocommerce/woocommerce-blocks/pull/452) 2019-02-26 10:18:43 -05:00
renovate[bot] 612df2efb8 chore(deps): update dependency autoprefixer to v9.4.9 (https://github.com/woocommerce/woocommerce-blocks/pull/450) 2019-02-25 10:16:00 -05:00
renovate[bot] ae42ecbae3 chore(deps): update dependency react-test-renderer to v16.8.3 (https://github.com/woocommerce/woocommerce-blocks/pull/447) 2019-02-21 14:02:16 -05:00
renovate[bot] 71d8235449 fix(deps): update dependency @woocommerce/components to v1.6.0 (https://github.com/woocommerce/woocommerce-blocks/pull/445) 2019-02-21 12:53:07 -05:00
renovate[bot] 792ed91a5a chore(deps): update dependency autoprefixer to v9.4.8 (https://github.com/woocommerce/woocommerce-blocks/pull/443) 2019-02-20 12:19:26 -05:00
renovate[bot] af8a180ce8 chore(deps): pin dependency rimraf to 2.6.3 (https://github.com/woocommerce/woocommerce-blocks/pull/441) 2019-02-19 16:18:25 -05:00
Kelly Dwan b14a37f7b5 Update CSS build process (https://github.com/woocommerce/woocommerce-blocks/pull/439)
* Split apart editor and frontend styles

* Remove the empty JS files after each build

* Pull out editor and style CSS files into two single, separate files
Rename products-grid CSS, add a “global” front end stylesheet

* Update style registration to use these two new global CSS files

* Merge style JS files into vendors before deleting them

* Remove empty file to fix lint error

* Check for file before reading from it

When watching, not all the file stubs are created, so this errors out.
2019-02-19 16:09:36 -05:00
renovate[bot] 6790518efc chore(deps): update dependency eslint to v5.14.1 (https://github.com/woocommerce/woocommerce-blocks/pull/438) 2019-02-18 16:02:40 -05:00
renovate[bot] e5e7737058 chore(deps): update dependency @babel/core to v7.3.3 (https://github.com/woocommerce/woocommerce-blocks/pull/435) 2019-02-18 09:48:19 -05:00
renovate[bot] 6378556414 chore(deps): update dependency eslint to v5.14.0 (https://github.com/woocommerce/woocommerce-blocks/pull/434) 2019-02-18 09:47:51 -05:00
renovate[bot] 181f126e58 chore(deps): update dependency webpack to v4.29.5 (https://github.com/woocommerce/woocommerce-blocks/pull/436) 2019-02-18 09:21:10 -05:00
renovate[bot] 62397dcd87 chore(deps): update dependency webpack to v4.29.4 (https://github.com/woocommerce/woocommerce-blocks/pull/431) 2019-02-15 11:18:03 -05:00
renovate[bot] 7eb27e61bc chore(deps): update dependency core-js to v2.6.5 (https://github.com/woocommerce/woocommerce-blocks/pull/430) 2019-02-15 11:17:33 -05:00
renovate[bot] 04e3747acb chore(deps): update dependency react-test-renderer to v16.8.2 (https://github.com/woocommerce/woocommerce-blocks/pull/429) 2019-02-15 11:16:40 -05:00
renovate[bot] 9089346cc3 chore(deps): update dependency cssnano to v4.1.10 (https://github.com/woocommerce/woocommerce-blocks/pull/425) 2019-02-14 13:00:43 -05:00
renovate[bot] 9de561702b chore(deps): update dependency eslint-plugin-jest to v22.3.0 (https://github.com/woocommerce/woocommerce-blocks/pull/427) 2019-02-14 13:00:26 -05:00
renovate[bot] 0f7c87fca2 chore(deps): update npm to v6.8.0 (https://github.com/woocommerce/woocommerce-blocks/pull/422) 2019-02-14 10:49:13 -05:00
renovate[bot] fb2516e472 chore(deps): update dependency lint-staged to v8.1.4 (https://github.com/woocommerce/woocommerce-blocks/pull/423) 2019-02-14 10:47:27 -05:00
renovate[bot] dfb4acf882 chore(deps): update wordpress monorepo (major) (https://github.com/woocommerce/woocommerce-blocks/pull/343)
* chore(deps): update wordpress monorepo

* Fix tests: `transformIgnorePatterns` requires the babel config to be a JS export, rather than a JSON file
2019-02-13 15:18:43 -05:00
Kelly Dwan 33cb699ef1 Update changelog, bump version to 1.4.0-rc (https://github.com/woocommerce/woocommerce-blocks/pull/413)
* Update changelog, bump version to 1.4.0-rc

* Update languages to language packs at 100% for v1.3.1

* Update readme with button PR

* Add note about featured product edit mode

* Update version number

* Add a missing bug fix to the changelog
2019-02-13 10:50:40 -05:00
renovate[bot] 2bdfc262e6 chore(deps): update dependency cssnano to v4.1.9 (https://github.com/woocommerce/woocommerce-blocks/pull/418) 2019-02-12 14:10:20 -05:00
renovate[bot] 55669d294a chore(deps): update dependency react-test-renderer to v16.8.1 (https://github.com/woocommerce/woocommerce-blocks/pull/402) 2019-02-08 10:07:32 -05:00
Kevin Killingsworth a8754e73dd Bump `@woocommerce/components` to v1.5.0 (https://github.com/woocommerce/woocommerce-blocks/pull/408)
This advances the version of woocommerce components for the primary
reason of fixing the navigation problem of adding #/ to any URLs we use.
2019-02-07 11:25:28 -06:00
renovate[bot] 4a5b9b2688 chore(deps): update dependency core-js to v2.6.4 (https://github.com/woocommerce/woocommerce-blocks/pull/410) 2019-02-07 10:06:34 -05:00
renovate[bot] cd9d573112 chore(deps): update dependency webpack to v4.29.3 (https://github.com/woocommerce/woocommerce-blocks/pull/409) 2019-02-07 09:58:12 -05:00
renovate[bot] 60b4cd5fcc chore(deps): update dependency webpack to v4.29.2 (https://github.com/woocommerce/woocommerce-blocks/pull/404) 2019-02-06 11:20:18 -05:00
renovate[bot] 843f9529bf chore(deps): update dependency webpack-cli to v3.2.3 (https://github.com/woocommerce/woocommerce-blocks/pull/399) 2019-02-05 13:35:23 +08:00
renovate[bot] 0902e1b707 chore(deps): update dependency webpack to v4.29.1 (https://github.com/woocommerce/woocommerce-blocks/pull/395) 2019-02-04 14:24:49 -05:00
renovate[bot] a49f061950 chore(deps): update dependency eslint-plugin-jsx-a11y to v6.2.1 (https://github.com/woocommerce/woocommerce-blocks/pull/394)
LGTM 👍
2019-02-04 17:24:19 +08:00
renovate[bot] 63c7728ad8 chore(deps): update dependency lint-staged to v8.1.3 (https://github.com/woocommerce/woocommerce-blocks/pull/393)
Minor bug fix.  👍
2019-02-04 17:20:20 +08:00
renovate[bot] 9c02e09537 chore(deps): update dependency lint-staged to v8.1.2 (https://github.com/woocommerce/woocommerce-blocks/pull/392) 2019-02-02 11:52:44 -05:00
renovate[bot] e3b7c4af60 chore(deps): update dependency eslint to v5.13.0 (https://github.com/woocommerce/woocommerce-blocks/pull/391) 2019-02-01 14:28:06 -05:00
renovate[bot] 454c9262ab chore(deps): update dependency eslint-plugin-jest to v22.2.2 (https://github.com/woocommerce/woocommerce-blocks/pull/390) 2019-02-01 10:26:31 -05:00
renovate[bot] 11bfb1b153 fix(deps): update dependency @woocommerce/components to v1.4.2 (https://github.com/woocommerce/woocommerce-blocks/pull/388) 2019-01-31 17:12:03 -05:00
Kelly Dwan c41ceff9fc i18n: Remove the babel makepot & pot-to-php scripts (https://github.com/woocommerce/woocommerce-blocks/pull/385)
* Remove the babel makepot & pot-to-php scripts

These aren’t needed because WP.org will now pull from JS files for glotpress translations.

* Remove pot file from gitignore
2019-01-31 15:59:13 -05:00
renovate[bot] 9a404e5c6e Update dependency eslint-plugin-jest to v22.2.1 (https://github.com/woocommerce/woocommerce-blocks/pull/376) 2019-01-30 16:07:32 -05:00
renovate[bot] d71c5a4ef6 Update Node.js to v10.15.1 (https://github.com/woocommerce/woocommerce-blocks/pull/375) 2019-01-30 16:07:09 -05:00
Kelly Dwan 2382dbf5f4 Run `composer install` after packages install (https://github.com/woocommerce/woocommerce-blocks/pull/374) 2019-01-30 10:31:05 -05:00
renovate[bot] d664df9a85 Update wordpress monorepo (https://github.com/woocommerce/woocommerce-blocks/pull/366) 2019-01-29 14:18:34 -05:00
renovate[bot] 9860565210 Update dependency autoprefixer to v9.4.7 (https://github.com/woocommerce/woocommerce-blocks/pull/367) 2019-01-29 12:46:25 -05:00
renovate[bot] 2cf52f0e4d Update dependency lint-staged to v8.1.1 (https://github.com/woocommerce/woocommerce-blocks/pull/365) 2019-01-29 12:46:03 -05:00
renovate[bot] e46aebf921 Update dependency eslint-plugin-jsx-a11y to v6.2.0 (https://github.com/woocommerce/woocommerce-blocks/pull/363) 2019-01-29 12:42:52 -05:00
renovate[bot] b0a581b732 Update npm to v6.7.0 (https://github.com/woocommerce/woocommerce-blocks/pull/360) 2019-01-24 10:56:00 +00:00
renovate[bot] 32d42cbec7 Update dependency core-js to v2.6.3 (https://github.com/woocommerce/woocommerce-blocks/pull/358) 2019-01-22 07:49:15 -05:00
renovate[bot] 71536c0e00 Update dependency clean-webpack-plugin to v1.0.1 (https://github.com/woocommerce/woocommerce-blocks/pull/356) 2019-01-22 07:33:55 -05:00
renovate[bot] 16319d2a07 Update dependency autoprefixer to v9.4.6 (https://github.com/woocommerce/woocommerce-blocks/pull/355) 2019-01-21 10:54:41 -05:00
renovate[bot] 98540efb81 Update dependency webpack to v4.29.0 (https://github.com/woocommerce/woocommerce-blocks/pull/354) 2019-01-21 10:53:26 -05:00
renovate[bot] b2d3ad5e0d Update dependency stylelint to v9.10.1 (https://github.com/woocommerce/woocommerce-blocks/pull/353) 2019-01-21 10:53:03 -05:00
renovate[bot] 903236db84 Update dependency eslint to v5.12.1 (https://github.com/woocommerce/woocommerce-blocks/pull/352) 2019-01-18 17:05:13 -05:00
Renovate Bot 0f7eb3df30 Update npm to v6.6.0 2019-01-17 23:00:15 +00:00
Kelly Dwan eee1359cc0 Fix translations, bundle complete JS translation files (https://github.com/woocommerce/woocommerce-blocks/pull/339)
* Update the translation file with strings in new JS files

* Automatically build the translation files when building the JS files

* Reorganize script+style registration so that all files for each block are grouped together

* Bundle the finished translations into the plugin

* Fix untranslated strings

* Remove the edit-blocks dependency from featured product CSS file (https://github.com/woocommerce/woocommerce-blocks/pull/342)
2019-01-17 11:58:53 -05:00
renovate[bot] e45fbb60dd Update dependency eslint-plugin-react to v7.12.4 (https://github.com/woocommerce/woocommerce-blocks/pull/340) 2019-01-17 10:35:57 -05:00
Kelly Dwan 1b4904a19e Update `@wordpress/*` packages (https://github.com/woocommerce/woocommerce-blocks/pull/338) 2019-01-17 10:31:01 -05:00
renovate[bot] 0dfece4fd6 Update dependency @woocommerce/components to v1.4.0 (https://github.com/woocommerce/woocommerce-blocks/pull/333)
* Update dependency @woocommerce/components to v1.4.0

* Fix test snapshots
2019-01-16 18:58:37 -05:00
renovate[bot] 5f31174bdc Update dependency stylelint to v9.10.0 (https://github.com/woocommerce/woocommerce-blocks/pull/332) 2019-01-16 10:39:24 -05:00
Kelly Dwan afae8db424 Add changelog & version bump to 1.3.0 (https://github.com/woocommerce/woocommerce-blocks/pull/323)
* Add changelog & version bump to 1.3.0-RC

* Update changelog phrasing

* Update name/version in package-lock

* Update readme

* Bump version to 1.3.0
2019-01-15 16:43:18 -05:00
renovate[bot] 7d1c67fd2d Pin dependency classnames to 2.2.6 (https://github.com/woocommerce/woocommerce-blocks/pull/313) 2019-01-13 12:28:41 -05:00
Kelly Dwan 0d720183aa Add "Featured Product" block preview (https://github.com/woocommerce/woocommerce-blocks/pull/308)
* Add classnames package

* Add background image & initial styles

* Only show inspector controls when not in edit-mode

* Add overlay color + opacity controls

* Add content alignment

* Fix display of content

* Add content toggles

* Update styles from feedback

* Display the "Featured Product" block on the frontend (https://github.com/woocommerce/woocommerce-blocks/pull/310)

* Add render_callback to dynamically render product

* Set a size for the product description

* Remove fallback placeholder image

* Reset the background color for the placeholder component

Previously this was overriding storefront's custom background color CSS

* Update nested conditional

* Remove unnecessary style

* "Featured Product" Block: Add link to the product to the block (https://github.com/woocommerce/woocommerce-blocks/pull/311)

* Featured Product Block: Add link to the product to the block

* Add a better link label for screen reader users

* Match core button styles, fix alignment of button-link
2019-01-13 12:22:15 -05:00
renovate[bot] dbb04d5f1a Update dependency autoprefixer to v9.4.5 (https://github.com/woocommerce/woocommerce-blocks/pull/312) 2019-01-12 12:55:12 -05:00
Kelly Dwan 6a1c1490cb Split blocks into separate JS files (https://github.com/woocommerce/woocommerce-blocks/pull/305)
This lets us use the functionality of `register_block_type` to automatically enqueue the scripts and styles used by blocks in the editor, and eventually, styles on the frontend as well. Also adds cssnano to minify our CSS.
2019-01-10 13:16:37 -05:00
renovate[bot] b7bd2e7162 Update dependency webpack to v4.28.4 (https://github.com/woocommerce/woocommerce-blocks/pull/307) 2019-01-10 13:07:41 -05:00
renovate[bot] c3c9be354f Update dependency core-js to v2.6.2 (https://github.com/woocommerce/woocommerce-blocks/pull/306) 2019-01-10 11:27:31 -05:00
renovate[bot] 257789a342 Update wordpress monorepo (https://github.com/woocommerce/woocommerce-blocks/pull/302) 2019-01-09 20:39:51 -05:00
renovate[bot] 9e89e32213 Update dependency eslint-plugin-jest to v22.1.3 (https://github.com/woocommerce/woocommerce-blocks/pull/301) 2019-01-09 10:18:30 -05:00
renovate[bot] c815e4ad9f Update dependency eslint-plugin-react to v7.12.3 (https://github.com/woocommerce/woocommerce-blocks/pull/297) 2019-01-07 10:20:26 -05:00
renovate[bot] 674c52b36b Update dependency webpack-cli to v3.2.1 (https://github.com/woocommerce/woocommerce-blocks/pull/298) 2019-01-07 10:04:55 -05:00
renovate[bot] 8e49c8184a Update dependency eslint to v5.12.0 (https://github.com/woocommerce/woocommerce-blocks/pull/296) 2019-01-04 17:21:07 -05:00
renovate[bot] b2fcd96111 Update dependency babel-loader to v8.0.5 (https://github.com/woocommerce/woocommerce-blocks/pull/292) 2019-01-04 11:37:42 -05:00
renovate[bot] f15a38d076 Update dependency eslint-plugin-react to v7.12.2 (https://github.com/woocommerce/woocommerce-blocks/pull/288) 2019-01-03 17:48:24 -05:00
renovate[bot] 2978534c03 Update dependency eslint to v5.11.1 (https://github.com/woocommerce/woocommerce-blocks/pull/284) 2019-01-03 17:47:37 -05:00
renovate[bot] 2c110db5a7 Update Node.js to v10.15.0 (https://github.com/woocommerce/woocommerce-blocks/pull/286) 2019-01-03 13:28:32 -05:00
renovate[bot] 70131bc025 Update dependency husky to v1.3.1 (https://github.com/woocommerce/woocommerce-blocks/pull/287) 2019-01-03 13:28:02 -05:00
renovate[bot] 9a06938eb5 Update dependency autoprefixer to v9.4.4 (https://github.com/woocommerce/woocommerce-blocks/pull/291) 2019-01-03 13:27:39 -05:00
renovate[bot] 4ae80bc5d2 Update dependency css-loader to v2.1.0 (https://github.com/woocommerce/woocommerce-blocks/pull/285) 2019-01-03 13:27:23 -05:00
renovate[bot] 088753ce3c Update dependency webpack-cli to v3.2.0 (https://github.com/woocommerce/woocommerce-blocks/pull/290) 2019-01-03 13:27:09 -05:00
renovate[bot] 2147e5713b Update dependency webpack to v4.28.3 (https://github.com/woocommerce/woocommerce-blocks/pull/283) 2019-01-03 13:16:09 -05:00
renovate[bot] e212d762f6 Update dependency css-loader to v2.0.2 (https://github.com/woocommerce/woocommerce-blocks/pull/280) 2018-12-21 10:22:31 -05:00
renovate[bot] 0b91be551e Update dependency webpack to v4.28.1 (https://github.com/woocommerce/woocommerce-blocks/pull/278) 2018-12-20 13:09:05 -05:00
renovate[bot] 6f5e0b3fad Update dependency react-test-renderer to v16.7.0 (https://github.com/woocommerce/woocommerce-blocks/pull/275) 2018-12-20 10:25:52 -05:00
renovate[bot] d3c8998430 Update dependency @woocommerce/components to v1.3.0 (https://github.com/woocommerce/woocommerce-blocks/pull/267)
* Update dependency @woocommerce/components to v1.3.0

* Set up new globals used by @woocommerce/components
2018-12-19 10:55:16 -05:00
renovate[bot] 205f20f879 Update dependency webpack to v4.28.0 (https://github.com/woocommerce/woocommerce-blocks/pull/271) 2018-12-19 10:30:28 -05:00
renovate[bot] 877b6e92e8 Update dependency husky to v1.3.0 (https://github.com/woocommerce/woocommerce-blocks/pull/262) 2018-12-18 15:01:38 -05:00
renovate[bot] 24ab9c5f7e Update dependency core-js to v2.6.1 (https://github.com/woocommerce/woocommerce-blocks/pull/260) 2018-12-18 10:50:35 -05:00
renovate[bot] 8b4503f53b Update dependency autoprefixer to v9.4.3 (https://github.com/woocommerce/woocommerce-blocks/pull/256) 2018-12-17 10:04:50 -05:00
renovate[bot] 9bb76f741d Update dependency @babel/core to v7.2.2 (https://github.com/woocommerce/woocommerce-blocks/pull/253) 2018-12-15 11:47:54 -05:00
renovate[bot] 6c7e2d0976 Update dependency css-loader to v2.0.1 (https://github.com/woocommerce/woocommerce-blocks/pull/248) 2018-12-14 09:56:26 -05:00
renovate[bot] e06fcb0a3d Update dependency husky to v1.2.1 (https://github.com/woocommerce/woocommerce-blocks/pull/246) 2018-12-14 08:59:23 +08:00
renovate[bot] 578e36701e Update Node.js to v10.14.2 (https://github.com/woocommerce/woocommerce-blocks/pull/232) 2018-12-11 17:28:29 -05:00
Kelly Dwan 1ea12ca2ff Merge pull request woocommerce/woocommerce-blocks#230 from woocommerce/renovate/npm-6.x
Update npm to v6.5.0
2018-12-11 10:50:15 -06:00
Renovate Bot 5376e31c03 Update npm to v6.5.0 2018-12-10 22:39:50 +00:00
Renovate Bot 9ec5fde082 Update dependency node-sass to v4.11.0 2018-12-09 02:48:04 +00:00
Renovate Bot 0b7168e2a3 Update dependency css-loader to v2 2018-12-08 16:26:58 +00:00
renovate[bot] 9bf2b5aa10 Update dependency eslint to v5.10.0 (https://github.com/woocommerce/woocommerce-blocks/pull/224) 2018-12-08 10:25:34 -06:00
renovate[bot] 7d114483fb Update dependency mini-css-extract-plugin to v0.5.0 (https://github.com/woocommerce/woocommerce-blocks/pull/217) 2018-12-08 10:24:47 -06:00
renovate[bot] 4118fd3bf3 Update dependency core-js to v2.6.0 (https://github.com/woocommerce/woocommerce-blocks/pull/213) 2018-12-08 10:24:22 -06:00
renovate[bot] 2dfb1bc5cd Update dependency webpack to v4.27.1 (https://github.com/woocommerce/woocommerce-blocks/pull/216) 2018-12-08 10:24:02 -06:00
renovate[bot] 48bcc11ae2 Update dependency autoprefixer to v9.4.2 (https://github.com/woocommerce/woocommerce-blocks/pull/204) 2018-12-04 10:09:45 -05:00
renovate[bot] 3cd501745d Update dependency eslint-plugin-jest to v22.1.2 (https://github.com/woocommerce/woocommerce-blocks/pull/203) 2018-12-04 09:52:42 -05:00
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