Commit Graph

475 Commits

Author SHA1 Message Date
Dan Rosenthal
5349609555 v2.6.0-beta.4 2018-08-07 14:13:27 -04:00
Solona Armstrong
ec77486f24 Merge master into frame/frame and resolve conflicts 2018-08-07 14:13:27 -04:00
Andrew Musgrave
96befde1d4 Fix file ext and lines removed during merge 2018-08-07 14:11:22 -04:00
Ben Scott
73b57264fe Updage to latest eslint-plugin-shopify
Disable the new shopify/strict-component-boundaries rule for now as we
have many violations. Eventually that should be tidied and reenabled.
2018-08-02 16:45:59 -07:00
Kaelig
73cc189ecf Merge branch 'master' of https://github.com/Shopify/polaris-react into open-development 2018-07-31 16:15:16 -07:00
Andrew Musgrave
2d8a1551bb Update react 16.4 2018-07-31 11:12:32 -04:00
Gord Pearson
c506bf0d2b esnext contains individual assets for better treeshaking 2018-07-30 12:27:30 -04:00
Tim Layton
53920bae35 change readme-update-version script to use regex for finding prev version
- clean up commands
- remove version-bump, hook into version command
- fix linting errors
2018-07-26 14:48:02 -04:00
Tim Layton
f0a00b1d23 modified scripts
* modified build script
* removed public repo deploy script
* moved the styleguide PR script to its own file
* added script to update the version number in readmes
* add `yarn bump <version>` command
2018-07-26 14:48:02 -04:00
Tim Layton
a07064c21e update links from Shopify/polaris to Shopify/polaris-react 2018-07-21 13:09:13 -07:00
Kaelig
67e63c2bd7 v2.5.0 2018-07-20 12:34:43 -07:00
Nima Izadi
eaf481c576 Updated @shopify/javascript-utilities 2018-07-18 11:44:42 -04:00
Kaelig Deloumeau-Prigent
2af527784f Add design to the component example list (#1709) 2018-07-17 14:58:38 -07:00
Tim Layton
0f44e58ef6 rename vrt folder to tophat 2018-07-13 15:25:09 -07:00
Tim Layton
d2a200af81 rename yarn start:vrt command to yarn tophat to align with the dev workflow 2018-07-13 12:54:18 -07:00
Ben Scott
22fa590f25 Use stylelint-prettier instead of prettier-stylelint-formatter (#1746)
Use stylelint-prettier instead of prettier-stylelint-formatter

Stylelint-prettier runs prettier linting as a stylelint rule. This is
more in line with how we run format/lint our JS files than the prior
approach of running prettier then stylelint over the css files.

Remove a few prettier-ignore directives as we've stopped stylelint
complaining about prettier output, we're just going to trust it
2018-07-13 11:11:49 -07:00
Daniel Leroux
2cc6d4d142 v2.4.0 2018-07-12 14:18:18 -04:00
Kaelig Deloumeau-Prigent
0010bc2280 Run the list of examples in Heroku PR review apps (#1702)
* Standardize paths and yarn run notations

* Run the list of examples on Heroku

* Run webpack build in CI before running the server

* Use yarn run instead of yarn
2018-07-06 11:28:58 -07:00
Andrew Musgrave
e1077164f2 v2.3.1 2018-07-05 16:11:32 -04:00
Andre Rocha
b4f9a38323 Merge pull request #1659 from Shopify/visual-regression-testing-2
Add visual regression testing
2018-07-03 11:09:56 -07:00
Daniel Leroux
7942aacebb v2.3.0 2018-07-03 14:02:56 -04:00
Dominic McPhee
fd74241239 Revert #1595 2018-07-03 12:45:29 -04:00
Kaelig
de2822b1d7 Use helmet to render meta tags 2018-07-02 18:05:30 -07:00
amrocha
1292e17e5b Downgrade webpack
Will upgrade by itself later on in separate PR
2018-07-02 17:25:33 -07:00
amrocha
742f6ccc68 Remove wdio dependencies 2018-07-02 17:17:05 -07:00
amrocha
f244e1f2b4 Remove test code, add prestart script 2018-07-02 17:12:57 -07:00
amrocha
0c7b187577 Add package.json, configure CI to run percy on every PR 2018-07-02 17:12:57 -07:00
amrocha
1d0f1f5ad7 Fix linting and TS errors 2018-07-02 17:12:57 -07:00
amrocha
7ffc107529 Switch to puppeteer instead of wdio
wdio makes a of assumptions about the shape of your tests that dont really work for what we're trying to do
this ends up making parallelization very complicated to add
puppeteer on the other hand is very easy to work asynchronously, so it fits our needs pretty well
2018-07-02 17:12:57 -07:00
amrocha
5b96f86c8d Downgrade dependencies from alpha versions 2018-07-02 17:12:57 -07:00
amrocha
a860999d65 Add files for bringing up a server, parsing all examples from the markdown files, rendering them in separate routes, and running a visual regression testing suite on them 2018-07-02 17:12:57 -07:00
amrocha
b619eb9396 Add dependencies for visual regression testing, update old dependencies 2018-07-02 17:12:57 -07:00
Gord Pearson
7f055ffe7d esnext contains individual assets for better treeshaking 2018-06-26 00:57:52 -04:00
Kaelig
d49cb62bbe Update @shopify/polaris-tokens to the latest version 2018-06-22 11:07:05 -07:00
Tim Layton
525dda0246 Revert "Merge branch 'frame/frame' into master"
This reverts commit d708fde887, reversing
changes made to 22896c9bd3.
2018-06-13 23:16:42 -07:00
Dan Rosenthal
d708fde887 Merge branch 'frame/frame' into master 2018-06-12 16:40:05 -04:00
Tim Layton
22896c9bd3 v2.2.0 2018-06-12 10:58:07 -07:00
Solona Armstrong
301067a5da Add Toast and ToastManager components 2018-06-11 12:04:18 -07:00
Daniel Leroux
3ba18bc86b Frame initial move 2018-06-11 14:20:52 -04:00
Ben Scott
9faed8255f Update prettier and eslint configs 2018-06-07 17:11:18 -07:00
Kaelig Deloumeau-Prigent
8fcc093fdb Update TypeScript to v2.9 (#1500) 2018-06-07 16:19:21 -07:00
Chloe Rice
5a5b3bb4de v2.1.2 2018-06-06 13:57:02 -07:00
Kaelig Deloumeau-Prigent
13c6063657 Upgrade Node.js to v8.11.2 (#1491)
This ensures CircleCI uses a recent version of Yarn.
2018-05-31 12:54:54 -07:00
Kaelig
5b2f2690bc v2.1.1 2018-05-30 18:44:33 -07:00
Kaelig
e1649f93be v2.1.0 2018-05-30 16:33:01 -07:00
Kaelig
186f266ae0 Add settings required to run on Heroku 2018-05-25 16:44:23 -07:00
Ben Scott
1315b507d9 Rejig format scripts
There is now a `format` script that shall format and fix any
automatically fixable formatting and linting issues for both css and ts
files.

Call the script `format` as that is the term sewing-kit uses for
autofixing.

* Rename `lint:fix` to `format:js`. This already runs prettier formatting
  as part of eslint
* Rename `lint:css-fix` to `format:css`. This uses
  prettier-stylelint-formatter to run prettier followed by stylelint
* Add `format` to run `format:css` and `format:js` at the same time
2018-05-25 12:38:55 -04:00
Ben Scott
7c2da8dd26 Add hyphen as an allowed character in class names 2018-05-25 09:42:40 -04:00
Ben Scott
830d85a4de Add stylelint
Add `yarn run lint:css` command to run stylelint report
Add `yarn run lint:css-fix` command to fix stylelint errors

.stylelintignore is based on .gitignore

Fixes #1267
2018-05-25 09:39:35 -04:00
Kaelig
20cb2d6960 v2.0.0 2018-05-07 18:56:13 -04:00