Martijn Walraven
6906cde5bf
Add test:clean
run command to clean Jest cache
2018-10-11 23:10:44 +02:00
renovate[bot]
11979a0740
chore(deps): update dependency husky to v1.1.2 ( #1801 )
2018-10-11 12:05:06 +03:00
renovate[bot]
bc9492eb5b
chore(deps): pin dependencies to 1.6.2 ( #1797 )
2018-10-11 12:04:52 +03:00
Renovate Bot
48bfc82f13
chore(deps): update dependency @types/node to v10.11.7
2018-10-11 06:25:04 +00:00
Martijn Walraven
f5d5981ffc
Add TypeScript and Jest projects for tests in individual packages
2018-10-11 04:33:23 +02:00
Jesse Rosenberger
e4d672c568
Merge branch 'master' into abernix/re-new-request-pipeline
2018-10-10 19:14:20 +03:00
renovate[bot]
1102887599
chore(deps): update dependency husky to v1 ( #1728 )
...
This PR contains the following updates:
| Package | Type | Update | Change | References |
|---|---|---|---|---|
| husky | devDependencies | major | `0.14.3` -> `1.1.1` | [source](https://renovatebot.com/gh/typicode/husky ) |
---
### Release Notes
<details>
<summary>typicode/husky</summary>
### [`v1.1.1`](https://renovatebot.com/gh/typicode/husky/blob/master/CHANGELOG.md#​111 )
[Compare Source](https://renovatebot.com/gh/typicode/husky/compare/v1.1.0...v1.1.1 )
- Check `HUSKY_SKIP_INSTALL` value first before checking if `.git` exists
- Check Node version before running hooks
### [`v1.1.0`](https://renovatebot.com/gh/typicode/husky/blob/master/CHANGELOG.md#​110 )
[Compare Source](https://renovatebot.com/gh/typicode/husky/compare/v1.0.1...v1.1.0 )
- Create `.git/hooks` if it doesn't exist
### [`v1.0.1`](https://renovatebot.com/gh/typicode/husky/blob/master/CHANGELOG.md#​101 )
[Compare Source](https://renovatebot.com/gh/typicode/husky/compare/v1.0.0...v1.0.1 )
- Various `husky-upgrade` changes ([#​362](https://renovatebot.com/gh/typicode/husky/pull/362 ), [#​360](https://renovatebot.com/gh/typicode/husky/pull/360 ), [#​359](https://renovatebot.com/gh/typicode/husky/pull/359 ))
### [`v1.0.0`](https://renovatebot.com/gh/typicode/husky/blob/master/CHANGELOG.md#​100 )
[Compare Source](https://renovatebot.com/gh/typicode/husky/compare/v0.14.3...v1.0.0 )
After a year of pre-releases and a complete rewrite, this marks the first stable release of husky 🐶 🎉 .
##### Notable changes
Below you'll find consolidated changes since `0.14.3`. There's no change in code between `1.0.0-rc.15` and `1.0.0`.
- Hooks
- Add `sendemail-validate` hook
- Config
- Move hooks config from `scripts` field to `husky` field
- Prefer raw names for hooks (e.g. `pre-commit` rather than `precommit`)
- Support `.huskyrc` config
- Package managers
- Support environments where [yarn](https://renovatebot.com/gh/yarnpkg/yarn/ ) is the only package manager installed
- Support [pnpm](https://renovatebot.com/gh/pnpm/pnpm ) package manager
- Environment variables
- Add `HUSKY_SKIP_INSTALL` environment variable for skipping git hooks installation
- Add `HUSKY_GIT_STDIN` environment variable for `pre-push`, `pre-receive`, `post-receive` and `post-rewrite` to access arguments passed by Git via stdin
- Rename `GIT_PARAMS` to `HUSKY_GIT_PARAMS`
- Messages
- Add many more messages in case of errors
- Add [please-upgrade-node](https://renovatebot.com/gh/typicode/please-upgrade-node ) message if using with unsupported Node version
- Make `--no-verify` message more accurate and only show it for hooks that can be skipped
- Upgrade
- Add `husky-upgrade` command to automatically migrate hooks in `package.json`
- Add deprecation warning for hooks that are still defined in `scripts`
- Other
- Drop `Node 4` support
- Drop integrated `nvm` support (see Node version management in docs)
##### Credits
Huge thanks to all the Contributors and [Patreon Supporters](https://thanks.typicode.com )! 🙏
</details>
---
### Renovate configuration
📅 **Schedule**: "after 6pm every weekday,before 8am every weekday" in timezone America/Los_Angeles.
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻️ **Rebasing**: Whenever PR is stale, or if you modify the PR title to begin with "`rebase!`".
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
This PR has been generated by [Renovate Bot](https://renovatebot.com/gh/marketplace/renovate ). View repository job log [here](https://renovatebot.com/dashboard#apollographql/apollo-server ).
2018-10-10 17:20:44 +03:00
renovate[bot]
c9121b1948
chore(deps): update dependency lerna to v3.4.3 ( #1789 )
2018-10-10 16:27:19 +03:00
renovate[bot]
ff3c23f20b
chore(deps): update dependency typescript to v3.1.2 ( #1790 )
2018-10-10 16:26:57 +03:00
renovate[bot]
99f7f94608
chore(deps): update dependency @types/lodash to v4.14.117 ( #1787 )
2018-10-10 15:13:44 +03:00
renovate[bot]
cf4d1f23e9
chore(deps): update dependency @types/node to v10.11.6 ( #1788 )
...
This PR contains the following updates:
| Package | Type | Update | Change | References |
|---|---|---|---|---|
| @types/node | devDependencies | patch | `10.11.5` -> `10.11.6` | [source](https://renovatebot.com/gh/DefinitelyTyped/DefinitelyTyped ) |
---
### Renovate configuration
📅 **Schedule**: "after 6pm every weekday,before 8am every weekday" in timezone America/Los_Angeles.
🚦 **Automerge**: Enabled.
♻️ **Rebasing**: Whenever PR is stale, or if you modify the PR title to begin with "`rebase!`".
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
This PR has been generated by [Renovate Bot](https://renovatebot.com/gh/marketplace/renovate ). View repository job log [here](https://renovatebot.com/dashboard#apollographql/apollo-server ).
2018-10-10 15:13:23 +03:00
Renovate Bot
619ddd6e00
chore(deps): update dependency @types/jest to v23.3.5
2018-10-10 11:54:15 +00:00
Martijn Walraven
f4234ca9c8
Move Jest configuration from package.json
to jest.config.js
2018-10-09 11:44:16 +02:00
Martijn Walraven
02b645b347
Update graphql-subscriptions
dependency to 1.0.0
2018-10-09 11:42:00 +02:00
Martijn Walraven
b7c9a6d8fe
Add @types/ws
and update ws
dependency
2018-10-09 11:38:46 +02:00
Martijn Walraven
b5715410fb
Merge remote-tracking branch 'origin/master' into abernix/re-new-request-pipeline
2018-10-09 11:30:16 +02:00
renovate[bot]
ebe8b39d3b
chore(deps): update dependency graphql-tools to v4 ( #1771 )
2018-10-09 11:27:59 +02:00
renovate[bot]
5c115a17f1
chore(deps): update dependency @types/redis to v2.8.7 ( #1785 )
2018-10-09 11:21:30 +02:00
renovate[bot]
f29ec2ef56
chore(deps): update dependency @types/node to v10.11.5 ( #1784 )
2018-10-09 11:20:41 +02:00
renovate[bot]
87cdcc3ebf
chore(deps): update dependency @types/jest to v23.3.4 ( #1783 )
2018-10-09 11:19:56 +02:00
Renovate Bot
bf603653a0
chore(deps): update dependency @types/graphql to v14.0.2
2018-10-09 09:02:21 +00:00
Martijn Walraven
428430c1dd
Enable strict typing for apollo-server-express and fix issues
2018-10-08 21:50:44 +02:00
Renovate Bot
f920f5f610
chore(deps): update dependency ts-jest to v23.10.4
2018-10-08 13:58:53 +00:00
Martijn Walraven
10e12e8b55
Add compile:clean run script to clean compiler output
2018-10-07 18:23:56 +02:00
Martijn Walraven
231c7f1ece
Add watch and test:watch run scripts
2018-10-06 08:35:46 +02:00
Martijn Walraven
282ea7e022
Merge remote-tracking branch 'origin/typescript-project-references' into abernix/re-new-request-pipeline
2018-10-06 03:49:36 +02:00
Martijn Walraven
669b35c328
Upgrade ts-jest and fix config
2018-10-05 23:43:46 +02:00
Martijn Walraven
1aee215e68
Switch to tsc --build and remove run scripts from packages
2018-10-05 17:48:34 +02:00
Martijn Walraven
5d03ae1650
Update to TypeScript 3.1
2018-10-05 17:18:13 +02:00
Jesse Rosenberger
aeabb861c5
Merge remote-tracking branch 'public/master' into abernix/re-new-request-pipeline
2018-10-05 16:43:00 +03:00
Jesse Rosenberger
0ebf8900a0
Have npm run clean
also remove the root node_modules
.
...
...Because clean is clean!
2018-10-05 16:23:27 +03:00
Jesse Rosenberger
6ea82405ad
Add apollo-server-plugin-base
to the monorepo's root package{-lock}?.json
.
2018-10-05 16:12:05 +03:00
Renovate Bot
60f39eb713
chore(deps): update dependency lerna to v3.4.1
2018-10-04 19:51:26 +00:00
Renovate Bot
bb0537b360
chore(deps): update dependency @types/node to v10.11.4
2018-10-04 18:04:16 +00:00
Renovate Bot
097cae5bdc
chore(deps): update dependency @types/jest to v23.3.3
2018-10-04 13:49:17 +00:00
Renovate Bot
00a829ebb6
chore(deps): update dependency @types/hapi to v17.6.1
2018-10-04 11:47:33 +00:00
Renovate Bot
d626a7f130
chore(deps): update dependency jest-junit to v5.2.0
2018-10-02 12:00:33 +00:00
Renovate Bot
ade92038a8
chore(deps): update dependency graphql-tag to v2.10.0
2018-10-02 10:14:43 +00:00
renovate[bot]
6fae839afa
chore(deps): pin dependencies ( #1740 )
...
This PR contains the following updates:
| Package | Type | Update | Change | References |
|---|---|---|---|---|
| codecov | devDependencies | pin | `^3.1.0` -> `3.1.0` | [source](https://renovatebot.com/gh/codecov/codecov-node ) |
| jest-junit | devDependencies | pin | `^5.1.0` -> `5.1.0` | [source](https://renovatebot.com/gh/jest-community/jest-junit ) |
📌 **Important**: Renovate will wait until you have merged this Pin PR before creating any *upgrade* PRs for the affected packages. Add the preset `:preserveSemverRanges` your config if you instead don't wish to pin dependencies.
---
### Renovate configuration
📅 **Schedule**: PR created on schedule "after 6pm every weekday,before 8am every weekday" in timezone America/Los_Angeles
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻️ **Rebasing**: Whenever PR is stale, or if you modify the PR title to begin with "`rebase!`".
👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://renovatebot.com/gh/renovatebot/config-help/issues ) if that's undesired.
---
This PR has been generated by [Renovate Bot](https://renovatebot.com/gh/marketplace/renovate ). View repository job log [here](https://renovatebot.com/dashboard#apollographql/apollo-server ).
2018-10-02 12:28:05 +03:00
Jesse Rosenberger
7c2fa2d136
Remove posttest
npm script from package.json
to avoid linting on tests.
...
The linting will happen in CircleCI. Additionally, we already have
post-commit hooks so doing linting on every test run seems to just be
generally slowing down development since any linting problems are
automatically fixed when I do a commit.
2018-10-02 12:24:33 +03:00
Renovate Bot
d2b1e3f9f0
chore(deps): update dependency @types/node to v10.11.3
2018-09-29 06:21:44 +00:00
Renovate Bot
5f89702d9a
chore(deps): update dependency @types/node to v10.11.2
2018-09-27 19:00:08 +00:00
Renovate Bot
577e620678
chore(deps): update dependency @types/hapi to v17.6.0
2018-09-27 17:42:06 +00:00
Jesse Rosenberger
dc66ed4419
Merge pull request #1730 from apollographql/abernix/test-infra
...
Adjust testing infrastructure and add code coverage.
2018-09-27 12:45:40 +03:00
Renovate Bot
9e3eeae259
chore(deps): update dependency multer to v1.4.0
2018-09-27 04:40:03 +00:00
Jesse Rosenberger
549a64eec6
Add support for Jest JUnit test output for consumption by CircleCI.
...
This should hopefully make it easier to quickly identify failing tests
within the CircleCI interface since CircleCI will be able to
programmatically consume the test results.
2018-09-26 22:47:58 +03:00
Jesse Rosenberger
0d6ef264da
Stop using ts-jest
's skipBabel
option to fix Jest coverage source mapping.
...
Not only did removing this configuration reveal invalid JavaScript code, it
also fixes the source mapping for the coverage reports so that they report
the coverage details based on the original file rather than the `tsc`
compiled output (JavaScript).
Ref: c9375c405b
(invalid top-level `return`)
2018-09-26 22:47:46 +03:00
Jesse Rosenberger
c07c7921c2
Reimplement Jest coverage tests and reporting via codecov
.
...
This adds the `--coverage` flag to the `test:ci` (Jest) script, in addition to
adding two new commands (mirroring the pattern used in Apollo Client's
repository): `npm run coverage` and `npm run coverage:upload`.
CircleCI has been configured with the appropriate `CODECOV_TOKEN`.
2018-09-26 14:32:52 +03:00
Jesse Rosenberger
0a60ad02a7
Switch to shorter shorthand "repository" notation.
...
This file is already a bit too unergonomic, and any little bit might help.
2018-09-26 14:32:52 +03:00
Jesse Rosenberger
2fdf7b019f
Group similar npm-scripts together for clarity.
2018-09-26 14:32:49 +03:00