-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use GraphQL Code Generator for codegen and other improvements (#1734)
- [x] Use `useStyles` of isomorphic-style-loader@5.1.0 - [x] Static TS check on test - [x] Reduce `tools/*` implementations - We can use `execa` instead of implementing `cp.ts` by ourselves - [x] Use [GraphQL Code Generator](https://github.com/dotansimha/graphql-code-generator) for codegen - It generates typed data binding functions that Apollo command doesn't - [x] Make route params (`/posts/:id`) usable in AppContext ---- * rm unnecessary comment * Use useStyles of isomorphic-style-loader * Update isomorphic-style-loader * mod: tsc on test * mod: Add type defs for deployment config * mod: Use execa instead of manually implementing child_process action * refac: use fs.ts more * tsc --noEmit * feat: Use auto-generated data binding function by GraphQL Code Generator * rm unnecessary packages * Cherry-pick: Introduce PostCSS Preset Env (#1733) Fixes #1731 # Conflicts: # package.json # yarn.lock * Update all dependencies * ncu -u * fit `@types/*` versions to impls * fix all related issues * fix all typescript issues * Fix new options in css-loader and browser-sync * fix: lint .ts on commit * Make route params (/posts/:id) usable in AppContext
- Loading branch information
1 parent
27035c7
commit 89f5697
Showing
31 changed files
with
3,234 additions
and
3,304 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,6 +13,7 @@ addons: | |
- g++-4.8 | ||
cache: yarn | ||
script: | ||
- yarn codegen | ||
- yarn lint | ||
- yarn test | ||
- yarn build --release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.