23 Commits

Author SHA1 Message Date
Ben Scott
75cce66099 Rename yarn script ts to type-check
Every other shopify project I work on uses type-check, and my muscle memory
hates us being different
2019-06-26 12:01:20 -07:00
Kaelig Deloumeau-Prigent
597f76f19c Use the latest version of yarn to upgrade Polaris on the style guide (#856)
* Use the latest version of yarn to upgrade Polaris on the style guide

ShipIt comes with an old version of Yarn, that doesn't support integrity hashes. This means each polaris-styleguide PR coming from polaris-react deploys is deleting thousands of lines (hashes) from yarn.lock.

By leveraging the latest version of Yarn, we know those hashes will be kept in.

* Update UNRELEASED.md

* Use a strict version of Yarn

* Get the yarn version from dev.yml
2019-01-23 11:42:48 -08:00
Ben Scott
083230365f Replace playground with Storybook
Ran with the same command (`yarn dev`) this contains all the
functionality you know and love - hot reloading, a playground, percy
snapshots just with a different veneer
2019-01-08 13:02:07 -08:00
Solona Armstrong
8bb581f1d4 Restore dev test 2019-01-03 08:18:52 -08:00
Ben Scott
a1a8aaa7d4 Unify Tophat and Playground servers
Tophatting is now done through the playground server instead of being a
separate thing. Examples are now hot reloadable - modifications to
README files and components will be reflected in your browser without
needing to save due to markdown files being imported via webpack loader.

This makes the examples part of the build pipeline instead of something
that gets serialised into the page. This makes individual pages smaller
at the expense of a larger bundle (which is shared amongst pages).
2018-11-22 18:51:35 -08:00
Ben Scott
25f10f9f6d Update to use node v10.13.0
Update node-sass and fsevents to versions that have prebuild builds for
node v10 so we don't hav to compile ourselves

Fix issue in ToastManager.scss as a result of the updated version of
sass being stricter in how it handles custom properties.
2018-11-05 12:21:02 -08:00
Ben Scott
99d4976593 Update node version to 8.12.0
In preparation for new sewing-kit requirements
2018-10-31 11:39:21 -07:00
Tim Layton
2e4dddeb41 add dev docs 2018-07-13 17:03:17 -07:00
Tim Layton
0f44e58ef6 rename vrt folder to tophat 2018-07-13 15:25:09 -07:00
Tim Layton
cbc5d65fb9 add dev command 2018-07-13 13:43:08 -07: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
Alex Salisbury
43f26f0ecb Set defaults for dev open 2018-06-22 15:05:25 -04: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
a446d7f8d9 Mention .circleci/config.yml in the dev.yml reference to Node's version 2018-01-12 16:11:25 -08:00
Kaelig
79cbf207da Upgrade Node.js to 8.9.4 (LTS) 2018-01-12 15:47:07 -08:00
Andy Mockler
b3b1576be1 Bump node version to 6.11.1 2017-09-01 14:54:58 -05:00
Kyle Durand
6de80cf04d Adding pre commit hook for playground (#557) 2017-08-21 16:43:44 -04:00
Kaelig
52e08fa275 Simplify dev config syntax 2017-06-30 14:36:46 -04:00
Kaelig
5ad84b502b Follow common naming for dev commands 2017-06-30 13:36:59 -04:00
Kaelig
f1b0dfb0c7 Set up a 'server' command to follow conventions, and remove redundant commands 2017-06-30 09:57:18 -04:00
Kaelig
f41e0a7de8 Add lint and type-check dev commands 2017-06-29 18:38:33 -04:00
Kaelig
2010ea97a1 Use yarn in lieu of npm 2017-06-29 18:26:37 -04:00
Kaelig
3aac924702 Add support for 'dev' 2017-06-29 18:16:23 -04:00