-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(deps): keep npm and scipts up-to-date (#50)
- Loading branch information
1 parent
625eb79
commit 261a259
Showing
45 changed files
with
6,293 additions
and
5,638 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,4 +13,4 @@ insert_final_newline = true | |
trim_trailing_whitespace = false | ||
|
||
[Makefile] | ||
indent_style = tab | ||
indent_style = tab |
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 |
---|---|---|
@@ -1,12 +1,11 @@ | ||
# dependencies | ||
/node_modules | ||
node_modules/ | ||
|
||
# testing | ||
/coverage | ||
# jest | ||
coverage/ | ||
|
||
# flow | ||
/flow-typed | ||
/flow-coverage | ||
# lib | ||
lib/ | ||
es/ | ||
|
||
# production | ||
/lib | ||
# flow | ||
flow-typed/ |
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 |
---|---|---|
@@ -1,4 +1,6 @@ | ||
[ignore] | ||
<PROJECT_ROOT>/es/.* | ||
<PROJECT_ROOT>/lib/.* | ||
|
||
[include] | ||
|
||
|
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 |
---|---|---|
@@ -1,16 +1,5 @@ | ||
# See https://help.github.com/ignore-files/ for more about ignoring files. | ||
|
||
# dependencies | ||
/node_modules | ||
|
||
# testing | ||
/coverage | ||
|
||
# production | ||
/es | ||
/lib | ||
|
||
# misc | ||
.DS_Store | ||
/node_modules | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* |
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
lib/ | ||
es/ | ||
|
||
# flow | ||
flow-typed/ | ||
|
||
# test | ||
coverage/ |
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
const config = require('hsu-scripts/prettier.config'); | ||
|
||
module.exports = config; |
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 |
---|---|---|
@@ -1,11 +1,11 @@ | ||
sudo: false | ||
language: node_js | ||
node_js: | ||
- "9.4.0" | ||
- '11.7.0' | ||
|
||
env: | ||
global: | ||
- YARN_VERSION=1.3.2 | ||
- YARN_VERSION=1.13.0 | ||
|
||
before_install: | ||
- export PATH="$HOME/.yarn/bin:$PATH" | ||
|
@@ -14,10 +14,13 @@ before_install: | |
curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version $YARN_VERSION | ||
fi | ||
install: | ||
- yarn install --pure-lockfile | ||
|
||
script: | ||
- yarn run eslint | ||
- yarn run flow | ||
- yarn run test | ||
- yarn run flow-coverage | ||
- yarn run build | ||
|
||
after_success: | ||
|
@@ -36,8 +39,9 @@ deploy: | |
cache: | ||
yarn: true | ||
directories: | ||
- "~/.yarn" | ||
- '~/.yarn' | ||
- node_modules | ||
|
||
notifications: | ||
email: [email protected] | ||
email: | ||
- [email protected] |
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 |
---|---|---|
@@ -1,51 +1,53 @@ | ||
## Change Log | ||
## Unreleased (2019-01-24) | ||
|
||
### v1.2.0 (2019/01/24 02:12 +00:00) | ||
- docs(CHANGELOG): release 1.2.0 ([625eb79](https://github.com/evenchange4/graphql.macro/commit/625eb79)) | ||
|
||
* [fdfa739](https://github.com/evenchange4/graphql.macro/commit/fdfa739a6f61880321fd6a2f7b1c54810efeb202) 1.2.0 (@evenchange4) | ||
* [#47](https://github.com/evenchange4/graphql.macro/pull/47) feat(import): Support node module imports for monorepo (#47) (@evenchange4) | ||
* [#37](https://github.com/evenchange4/graphql.macro/pull/37) feat(import path): Support absolute paths and NODE_PATH (#37) (@vinhlh) | ||
* [#38](https://github.com/evenchange4/graphql.macro/pull/38) tests(index): Make test number fancy (#38) (@vinhlh) | ||
* [75bfec2](https://github.com/evenchange4/graphql.macro/commit/75bfec25875e6c0aa2893d385ba85651b1c16267) docs(CHANGELOG): release 1.1.0 (@evenchange4) | ||
## 1.2.0 (2019-01-24) | ||
|
||
### v1.1.0 (2019/01/24 01:10 +00:00) | ||
- 1.2.0 ([fdfa739](https://github.com/evenchange4/graphql.macro/commit/fdfa739)) | ||
- feat(import path): Support absolute paths and NODE_PATH (#37) ([ba5dba8](https://github.com/evenchange4/graphql.macro/commit/ba5dba8)), closes [#37](https://github.com/evenchange4/graphql.macro/issues/37) | ||
- feat(import): Support node module imports for monorepo (#47) ([62edb66](https://github.com/evenchange4/graphql.macro/commit/62edb66)), closes [#47](https://github.com/evenchange4/graphql.macro/issues/47) [#37](https://github.com/evenchange4/graphql.macro/issues/37) | ||
- tests(index): Make test number fancy (#38) ([3e9a16b](https://github.com/evenchange4/graphql.macro/commit/3e9a16b)), closes [#38](https://github.com/evenchange4/graphql.macro/issues/38) | ||
- docs(CHANGELOG): release 1.1.0 ([75bfec2](https://github.com/evenchange4/graphql.macro/commit/75bfec2)) | ||
|
||
* [c2537ca](https://github.com/evenchange4/graphql.macro/commit/c2537ca40d24825a566a082060e085cda4489f6a) 1.1.0 (@evenchange4) | ||
* [1bd78e5](https://github.com/evenchange4/graphql.macro/commit/1bd78e5008d65faf807a6463ee0a93085b501588) chore(travis): update release key (@evenchange4) | ||
* [#42](https://github.com/evenchange4/graphql.macro/pull/42) feat(Imports): Recursive imports processing (#42) (@msimulcik) | ||
* [#11](https://github.com/evenchange4/graphql.macro/pull/11) chore(deps): update babel monorepo packages to v7.0.0-beta.39 (#11) (@renovate[bot]) | ||
* [#12](https://github.com/evenchange4/graphql.macro/pull/12) chore(deps): update dependency eslint-plugin-prettier to v2.6.0 (#12) (@renovate[bot]) | ||
* [#10](https://github.com/evenchange4/graphql.macro/pull/10) chore(deps): update dependency lint-staged to v6.1.0 (#10) (@renovate[bot]) | ||
* [9319dce](https://github.com/evenchange4/graphql.macro/commit/9319dcebeef3f5d68fe5a2bcd71d1d581591c4c2) docs(CHANGELOG): release 1.0.2 (@evenchange4) | ||
## 1.1.0 (2019-01-24) | ||
|
||
### v1.0.2 (2018/01/25 15:49 +00:00) | ||
- 1.1.0 ([c2537ca](https://github.com/evenchange4/graphql.macro/commit/c2537ca)) | ||
- chore(deps): update babel monorepo packages to v7.0.0-beta.39 (#11) ([eb40519](https://github.com/evenchange4/graphql.macro/commit/eb40519)), closes [#11](https://github.com/evenchange4/graphql.macro/issues/11) | ||
- chore(deps): update dependency eslint-plugin-prettier to v2.6.0 (#12) ([4ca39a0](https://github.com/evenchange4/graphql.macro/commit/4ca39a0)), closes [#12](https://github.com/evenchange4/graphql.macro/issues/12) | ||
- chore(deps): update dependency lint-staged to v6.1.0 (#10) ([746a419](https://github.com/evenchange4/graphql.macro/commit/746a419)), closes [#10](https://github.com/evenchange4/graphql.macro/issues/10) | ||
- chore(travis): update release key ([1bd78e5](https://github.com/evenchange4/graphql.macro/commit/1bd78e5)) | ||
- feat(Imports): Recursive imports processing (#42) ([c01a938](https://github.com/evenchange4/graphql.macro/commit/c01a938)), closes [#42](https://github.com/evenchange4/graphql.macro/issues/42) | ||
- docs(CHANGELOG): release 1.0.2 ([9319dce](https://github.com/evenchange4/graphql.macro/commit/9319dce)) | ||
|
||
* [123aef9](https://github.com/evenchange4/graphql.macro/commit/123aef9160918ef6d8273e76fd04cfd06b24789e) 1.0.2 (@evenchange4) | ||
* [5d6f320](https://github.com/evenchange4/graphql.macro/commit/5d6f320f2f3c45a84de70b86d447961e424e5a33) fix(dependency): pinOnlyDevDependencies (@evenchange4) | ||
* [#7](https://github.com/evenchange4/graphql.macro/pull/7) chore(deps): update dependency eslint-plugin-flowtype to v2.41.1 (#7) (@renovate[bot]) | ||
* [#8](https://github.com/evenchange4/graphql.macro/pull/8) chore(deps): update dependency flow-bin to v0.64.0 (#8) (@renovate[bot]) | ||
* [78a7050](https://github.com/evenchange4/graphql.macro/commit/78a7050b1b70a79d728b2e0497b9d3deb3de0017) docs(CHANGELOG): release 1.0.1 (@evenchange4) | ||
## <small>1.0.2 (2018-01-25)</small> | ||
|
||
### v1.0.1 (2018/01/25 05:42 +00:00) | ||
- fix(dependency): pinOnlyDevDependencies ([5d6f320](https://github.com/evenchange4/graphql.macro/commit/5d6f320)) | ||
- 1.0.2 ([123aef9](https://github.com/evenchange4/graphql.macro/commit/123aef9)) | ||
- chore(deps): update dependency eslint-plugin-flowtype to v2.41.1 (#7) ([e4bc70e](https://github.com/evenchange4/graphql.macro/commit/e4bc70e)), closes [#7](https://github.com/evenchange4/graphql.macro/issues/7) | ||
- chore(deps): update dependency flow-bin to v0.64.0 (#8) ([4cf17dd](https://github.com/evenchange4/graphql.macro/commit/4cf17dd)), closes [#8](https://github.com/evenchange4/graphql.macro/issues/8) | ||
- docs(CHANGELOG): release 1.0.1 ([78a7050](https://github.com/evenchange4/graphql.macro/commit/78a7050)) | ||
|
||
* [2172bab](https://github.com/evenchange4/graphql.macro/commit/2172bab14c120de3d1f83e33ee412ee184b2a955) 1.0.1 (@evenchange4) | ||
* [fb673e5](https://github.com/evenchange4/graphql.macro/commit/fb673e5e1f362009dbc13cefa6ba0060cef8d080) fix(node): remove engines > 9 in package.json (@evenchange4) | ||
* [08fa280](https://github.com/evenchange4/graphql.macro/commit/08fa2808f1c5b01d74a2b66c9ba120399fe18d88) fix(CI): add test (@evenchange4) | ||
* [#4](https://github.com/evenchange4/graphql.macro/pull/4) chore(deps): update dependency eslint to v4.16.0 (#4) (@renovate[bot]) | ||
* [4a12d5a](https://github.com/evenchange4/graphql.macro/commit/4a12d5ae8c4ba21e64af34e00e626b4893f63282) docs(README): make it more CRA-compatible #2 (@evenchange4) | ||
* [42dd526](https://github.com/evenchange4/graphql.macro/commit/42dd52687cb8c0eb81c22a2f99832a587fc9b93b) docs(README): typo #3 (@evenchange4) | ||
* [#1](https://github.com/evenchange4/graphql.macro/pull/1) Add renovate.json (#1) (@renovate[bot]) | ||
* [fdfdfd9](https://github.com/evenchange4/graphql.macro/commit/fdfdfd919632fa12e70df23684ad72688f202427) docs(CHANGELOG): release 1.0.0 (@evenchange4) | ||
## <small>1.0.1 (2018-01-25)</small> | ||
|
||
### v1.0.0 (2018/01/19 19:31 +00:00) | ||
- 1.0.1 ([2172bab](https://github.com/evenchange4/graphql.macro/commit/2172bab)) | ||
- Add renovate.json (#1) ([e6fda17](https://github.com/evenchange4/graphql.macro/commit/e6fda17)), closes [#1](https://github.com/evenchange4/graphql.macro/issues/1) | ||
- fix(CI): add test ([08fa280](https://github.com/evenchange4/graphql.macro/commit/08fa280)) | ||
- fix(node): remove engines > 9 in package.json ([fb673e5](https://github.com/evenchange4/graphql.macro/commit/fb673e5)) | ||
- chore(deps): update dependency eslint to v4.16.0 (#4) ([3248a53](https://github.com/evenchange4/graphql.macro/commit/3248a53)), closes [#4](https://github.com/evenchange4/graphql.macro/issues/4) | ||
- docs(CHANGELOG): release 1.0.0 ([fdfdfd9](https://github.com/evenchange4/graphql.macro/commit/fdfdfd9)) | ||
- docs(README): make it more CRA-compatible #2 ([4a12d5a](https://github.com/evenchange4/graphql.macro/commit/4a12d5a)), closes [#2](https://github.com/evenchange4/graphql.macro/issues/2) | ||
- docs(README): typo #3 ([42dd526](https://github.com/evenchange4/graphql.macro/commit/42dd526)), closes [#3](https://github.com/evenchange4/graphql.macro/issues/3) | ||
|
||
* [8191a24](https://github.com/evenchange4/graphql.macro/commit/8191a243dfedbfff9970dcd95372326459e05c54) 1.0.0 (@evenchange4) | ||
* [223b31b](https://github.com/evenchange4/graphql.macro/commit/223b31bf70777a149e786d02295e1e54b4a923a1) docs(CHANGELOG): update (@evenchange4) | ||
* [a22dc42](https://github.com/evenchange4/graphql.macro/commit/a22dc42a87334a374493f22b1ccd8a09b45da660) feat(CI): setup travis (@evenchange4) | ||
* [a7f9c15](https://github.com/evenchange4/graphql.macro/commit/a7f9c155fcb5224b7ac31468832560436612d67a) docs(README): add demo link (@evenchange4) | ||
## 1.0.0 (2018-01-19) | ||
|
||
### v0.1.0 (2018/01/19 18:32 +00:00) | ||
- 1.0.0 ([8191a24](https://github.com/evenchange4/graphql.macro/commit/8191a24)) | ||
- docs(CHANGELOG): update ([223b31b](https://github.com/evenchange4/graphql.macro/commit/223b31b)) | ||
- docs(README): add demo link ([a7f9c15](https://github.com/evenchange4/graphql.macro/commit/a7f9c15)) | ||
- feat(CI): setup travis ([a22dc42](https://github.com/evenchange4/graphql.macro/commit/a22dc42)) | ||
|
||
* [cbaa5aa](https://github.com/evenchange4/graphql.macro/commit/cbaa5aae57ae761519ea956fc877446abba22e64) docs(README): create README (@evenchange4) | ||
* [7b474f2](https://github.com/evenchange4/graphql.macro/commit/7b474f2110c6645f6bb92c6ee699cf32eaecb2c9) feat: add fragment support (@evenchange4) | ||
* [3bb0050](https://github.com/evenchange4/graphql.macro/commit/3bb00507565c360cd001ddf05fd85a9c55d064ef) feat: init (@evenchange4) | ||
## 0.1.0 (2018-01-19) | ||
|
||
- docs(README): create README ([cbaa5aa](https://github.com/evenchange4/graphql.macro/commit/cbaa5aa)) | ||
- feat: add fragment support ([7b474f2](https://github.com/evenchange4/graphql.macro/commit/7b474f2)) | ||
- feat: init ([3bb0050](https://github.com/evenchange4/graphql.macro/commit/3bb0050)) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,10 +7,6 @@ | |
[![npm package][npm-badge]][npm] | ||
[![npm downloads][npm-downloads]][npm] | ||
|
||
[![Dependency Status][dependency-badge]][dependency] | ||
[![devDependency Status][devdependency-badge]][devdependency] | ||
[![peerDependency Status][peerdependency-badge]][peerdependency] | ||
|
||
[![prettier][prettier-badge]][prettier] | ||
[![license][license-badge]][license] | ||
|
||
|
@@ -20,7 +16,7 @@ | |
$ yarn add graphql.macro | ||
``` | ||
|
||
_Note: You'll need to install and configure [babel-plugin-macros](https://github.com/kentcdodds/babel-plugin-macros) if you haven't already. (This can be omitted when using CRA [[email protected]](https://github.com/facebookincubator/create-react-app/issues/3815) .)_ | ||
_Note: You'll need to install and configure [babel-plugin-macros](https://github.com/kentcdodds/babel-plugin-macros) if you haven't already._ | ||
|
||
## Example | ||
|
||
|
@@ -67,16 +63,16 @@ const query = { | |
## Alternative | ||
* [Webpack preprocessing with graphql/loader](https://github.com/apollographql/graphql#webpack-preprocessing-with-graphqlloader) | ||
* [Babel preprocessing](https://github.com/apollographql/graphql#babel-preprocessing) | ||
* https://github.com/leoasis/graphql-tag.macro | ||
- [Webpack preprocessing with graphql/loader](https://github.com/apollographql/graphql#webpack-preprocessing-with-graphqlloader) | ||
- [Babel preprocessing](https://github.com/apollographql/graphql#babel-preprocessing) | ||
- https://github.com/leoasis/graphql-tag.macro | ||
## Development | ||
### Requirements | ||
* node >= 9.4.0 | ||
* yarn >= 1.3.2 | ||
- node >= 11.7.0 | ||
- yarn >= 1.13.0 | ||
```sh | ||
$ yarn install --pure-lockfile | ||
|
@@ -92,13 +88,21 @@ $ yarn run test:watch | |
$ yarn run build | ||
``` | ||
## Publish | ||
```bash | ||
$ npm version patch | ||
$ npm run changelog | ||
git commit & push | ||
``` | ||
--- | ||
## CONTRIBUTING | ||
* ⇄ Pull requests and ★ Stars are always welcome. | ||
* For bugs and feature requests, please create an issue. | ||
* Pull requests must be accompanied by passing automated tests. | ||
- ⇄ Pull requests and ★ Stars are always welcome. | ||
- For bugs and feature requests, please create an issue. | ||
- Pull requests must be accompanied by passing automated tests. | ||
## [CHANGELOG](CHANGELOG.md) | ||
|
@@ -115,11 +119,5 @@ MIT: [http://michaelhsu.mit-license.org](http://michaelhsu.mit-license.org) | |
[npm-downloads]: https://img.shields.io/npm/dt/graphql.macro.svg?style=flat-square | ||
[license-badge]: https://img.shields.io/npm/l/graphql.macro.svg?style=flat-square | ||
[license]: http://michaelhsu.mit-license.org/ | ||
[dependency-badge]: https://david-dm.org/evenchange4/graphql.macro.svg?style=flat-square | ||
[dependency]: https://david-dm.org/evenchange4/graphql.macro | ||
[devdependency-badge]: https://david-dm.org/evenchange4/graphql.macro/dev-status.svg?style=flat-square | ||
[devdependency]: https://david-dm.org/evenchange4/graphql.macro#info=devDependencies | ||
[peerdependency-badge]: https://david-dm.org/evenchange4/graphql.macro/peer-status.svg?style=flat-square | ||
[peerdependency]: https://david-dm.org/evenchange4/graphql.macro#info=peerDependencies | ||
[prettier-badge]: https://img.shields.io/badge/styled_with-prettier-ff69b4.svg?style=flat-square | ||
[prettier]: https://github.com/prettier/prettier |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.