Commit Graph

1754 Commits

Author SHA1 Message Date
Sérgio Ramos
150a9e45ad style(portal-data): conform tests to belly-button 2017-05-26 12:03:00 +01:00
Sérgio Ramos
c327f9f1ef chore: handle empty files array in format-staged
if format-staged is run and after filtering by opt-out no files are left, it tries to format everything
2017-05-26 12:02:19 +01:00
Sérgio Ramos
ea478ca689 chore: install zqm in CI 2017-05-26 11:39:39 +01:00
Sérgio Ramos
7892aab05c chore: prepare after installing in CI 2017-05-26 11:33:32 +01:00
Sérgio Ramos
f252719aa1 chore: don't --prefer-offline in CI 2017-05-26 11:28:33 +01:00
Sérgio Ramos
c7567f3838 chore: initial circleci config 2017-05-26 11:17:00 +01:00
Sérgio Ramos
b665dec740 chore: actually publish
it was only listing updated packges
2017-05-26 10:36:16 +01:00
Sérgio Ramos
802dff3e42 chore: improve publish tag description 2017-05-26 10:35:27 +01:00
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
ca27ac2200 chore: enable changelog on root level 2017-05-26 10:19:48 +01:00
geek
1efcc32748 chore(portal-data): move portal-data to packages 2017-05-25 21:07:34 +01:00
Sérgio Ramos
fbaaca42f7 chore: don't run tests on pre-commit 2017-05-25 20:08:20 +01:00
Sérgio Ramos
5706ae1f95 chore: enable commit msg lint 2017-05-25 20:07:56 +01:00
Sérgio Ramos
b9aa47a7f4 chore: bootstrap on prepare instead of on postinstall
info: https://docs.npmjs.com/misc/scripts
2017-05-25 20:06:53 +01:00
Sérgio Ramos
66ad5499fb chore: enable lerna-wizard 2017-05-25 20:05:32 +01:00
Sérgio Ramos
7da2460b21 chore: allow packages to opt-out of prettier 2017-05-25 19:50:36 +01:00
geek
265b144cfa chore(portal-api): move portal-api to packages 2017-05-25 19:44:31 +01:00
JUDIT GRESKOVITS
d93ab9eb74 Merge branch 'master' of https://github.com/yldio/joyent-portal 2017-05-25 17:49:56 +01:00
JUDIT GRESKOVITS
5ffa07aeee feat(cp-frontend): Move portal query to header, display result, return user from mock server 2017-05-25 17:32:19 +01:00
Sérgio Ramos
e2c0845145 chore: publish
- cloudapi-gql@1.0.4
 - joyent-cp-frontend@1.1.0
 - joyent-cp-gql-mock-server@1.0.4
 - joyent-cp-gql-schema@1.0.4
 - joyent-cp-rdb-bootstrap@1.0.4
 - normalized-styled-components@1.0.5
 - pseudo-json-ast@1.0.6
 - pseudo-yaml-ast@1.0.6
 - remcalc@1.0.5
 - rnd-id@1.0.5
 - styled-is@1.0.7
 - joyent-ui-toolkit@1.1.0
 - unitcalc@1.0.5
2017-05-25 16:07:31 +01:00
Sérgio Ramos
f3e531dbd8 feat(cp-frontend,ui-toolkit): style inheritance using .extend (#458)
styled-components@2 exposes a new `.extend`[1] API. It is less problematic than
styled(Parent).

[1]: https://www.styled-components.com/docs/basics#extending-styles
2017-05-25 09:59:58 -05:00
Sérgio Ramos
91381bfe80 chore(cp-gql-mock-server): enable nodemon for dev 2017-05-25 15:57:57 +01:00
Sérgio Ramos
7bf95fd551 fix(ui-toolkit): compile on postinstall 2017-05-25 15:31:22 +01:00
Sérgio Ramos
d2ac10ae28 fix(cp-frontend): use postinstall hook to patch react-scripts
instead of `install`
2017-05-25 14:57:41 +01:00
Sérgio Ramos
11bb161bb2 chore: update lockfiles 2017-05-25 14:48:30 +01:00
Sérgio Ramos
73899b2784 fix(cp-frontend): gracefully handle multiple postinstall executions
checks if the webpack backup exists already before trying to create it
2017-05-25 14:41:29 +01:00
Sérgio Ramos
c45fb3ce41 chore: publish
- cloudapi-gql@1.0.3
 - joyent-cp-frontend@1.0.3
 - joyent-cp-gql-mock-server@1.0.3
 - joyent-cp-gql-schema@1.0.3
 - joyent-cp-rdb-bootstrap@1.0.3
 - normalized-styled-components@1.0.4
 - pseudo-json-ast@1.0.5
 - pseudo-yaml-ast@1.0.5
 - remcalc@1.0.4
 - rnd-id@1.0.4
 - styled-is@1.0.6
 - joyent-ui-toolkit@1.0.3
 - unitcalc@1.0.4
2017-05-25 14:21:02 +01:00
Sérgio Ramos
19f3678747 fix(ui-toolkit): copy fonts before compiling 2017-05-25 14:11:16 +01:00
Sérgio Ramos
44a2f2ea43 fix(styled-is): correct package entrypoints 2017-05-25 14:04:57 +01:00
Sérgio Ramos
185916e9bf chore: update dependencies 2017-05-25 13:47:44 +01:00
Sérgio Ramos
b7343d9810 chore: remove lint-license check from precommit 2017-05-25 13:21:25 +01:00
Sérgio Ramos
5fb69bec22 chore(cp-frontend): assert nsc imports are after sc's
nsc = normalized-styled-components
sc = styled-components
2017-05-25 13:15:18 +01:00
Sérgio Ramos
8295bd6882 chore: initial lerna setup
this shall be a progressive process
2017-05-25 10:56:50 +01:00
JUDIT GRESKOVITS
597f1b628b Merge branch 'master' of https://github.com/yldio/joyent-portal 2017-05-24 18:09:25 +01:00
JUDIT GRESKOVITS
845d9f4800 Add user type move portal query to header add services tooltip 2017-05-24 18:09:10 +01:00
geek
2e3a436594 Update graphi and map resolvers 2017-05-24 10:12:59 +01:00
JUDIT GRESKOVITS
ba5ccea851 Actually sorting out svgs 2017-05-23 17:23:37 +01:00
JUDIT GRESKOVITS
ab93794724 Fix svg imports again 2017-05-23 17:23:37 +01:00
JUDIT GRESKOVITS
80a417d33f Tidy 2017-05-23 17:23:37 +01:00
JUDIT GRESKOVITS
d429f820e9 Upgrade react-scripts 2017-05-23 17:23:37 +01:00
JUDIT GRESKOVITS
a8c34ee756 Add instances list 2017-05-23 17:23:37 +01:00
JUDIT GRESKOVITS
db4ac69452 Add services list view 2017-05-23 17:23:37 +01:00
JUDIT GRESKOVITS
7d39da51ed Sort out font 2017-05-23 17:23:37 +01:00
JUDIT GRESKOVITS
11751129b3 Update frontend to use updated schema 2017-05-23 17:23:37 +01:00
JUDIT GRESKOVITS
4b2e0f53ae Update resolvers accoring to latest schema 2017-05-23 17:23:37 +01:00
JUDIT GRESKOVITS
aa8bdf5eb2 Update schema w missing bits 2017-05-23 17:23:37 +01:00