1
0
mirror of https://github.com/yldio/copilot.git synced 2024-11-30 23:20:06 +02:00
Commit Graph

57 Commits

Author SHA1 Message Date
Sérgio Ramos
8974a0546f chore: when formatting staged files, also account for /scripts 2017-05-26 10:20:15 +01:00
Sérgio Ramos
06f17c828a chore: format /scripts 2017-05-26 10:20:10 +01:00
Sérgio Ramos
65a104f7d4 chore: implement a publish script
- checks whether branch is `master`
- checks whether the tree is clean
- checks whether HEAD doesn't match origin
- publishes using lerna
- updates root version based on --staging/--dev/--production flags
- tags tapo with name `${pkg.name}@${pkg.version}`
- pushes tag to origin

that creates and pushes a repo tag afterwards
2017-05-26 10:20:05 +01:00
Sérgio Ramos
9b3874ea56 chore: format, lint, and test scripts based on staged files
For lint and test, it detects the packages that the staged files affect and only
runs the corresponding `lint` and `test` scripts.

For format, it will run prettier through the Added/Modified js files.
2017-05-26 10:20:00 +01:00
Sérgio Ramos
8887fa3384 chore: properly handle full and relative paths in format 2017-05-26 10:19:54 +01:00
Sérgio Ramos
7da2460b21 chore: allow packages to opt-out of prettier 2017-05-25 19:50:36 +01:00
Sérgio Ramos
8295bd6882 chore: initial lerna setup
this shall be a progressive process
2017-05-25 10:56:50 +01:00