* 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
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
* 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
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
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
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