Commit graph

1145 commits

Author SHA1 Message Date
Rhys Arkins
83ec9341de feat: npm cache expiry (#878)
* use keyv for cache

* set expiry to 5 minutes

Closes #267
2017-10-03 10:39:03 +02:00
Rhys Arkins
88e6406e77 fix: dont log full upgrade object (#876) 2017-10-02 20:34:51 +02:00
Rhys Arkins
853a43937a fix: check if depName exists before replacing (#873) 2017-10-02 14:14:24 +02:00
Rhys Arkins
e42b4034eb feat: sanitize branch names (#872)
Previously, you might see branch names like `renovate/@types/jquery-3.x`. Now, such branches will instead be like `renovate/types-jquery-3.x`.
2017-10-02 11:38:42 +02:00
renovate[bot]
150ef419e8 fix(deps): update dependency showdown to v1.7.5 2017-10-02 06:19:10 +00:00
Rhys Arkins
188f50ba5f fix: use preview header when requesting reviewers (github) (#871) 2017-10-02 06:57:13 +02:00
Rhys Arkins
b12bc8dea4 fix: update circleci to use node 8 (#870) 2017-10-01 16:04:40 +02:00
Rhys Arkins
d392efc36c chore: add filename to Renovating package.json log (#869) 2017-10-01 15:25:05 +02:00
renovate[bot]
19e7e52fcc chore(deps): update dependency eslint to v4.8.0 2017-10-01 09:53:23 +00:00
renovate[bot]
796cb0c0be fix(deps): update dependency semantic-release to v8 (#820) 2017-10-01 11:32:57 +02:00
Rhys Arkins
cbecc657c6 chore: set circleCI version of yarn to v1.0.2 (#868)
* Update circle.yml

* Update circle.yml
2017-10-01 10:15:01 +02:00
Rhys Arkins
fb0a383e5e fix: roll back yarn to v1.0.2 (#866)
yarn v1.1.0 has a bug with version resolutions, so rolling back to v1.0.2 until a fix is available. See https://github.com/yarnpkg/yarn/issues/4600 for details
2017-10-01 09:22:25 +02:00
renovate[bot]
5e3c56a399 chore(deps): update dependency prettier to v1.7.3 (#863)
* chore(deps): update dependency prettier to v1.7.3

* update lockfile
2017-10-01 07:30:41 +02:00
Rhys Arkins
6a60997f58 fix: use npm files directive instead of .npmignore (#865)
Closes #843
2017-10-01 07:20:21 +02:00
Rhys Arkins
b4e2341d1e refactor: use prettier instead of eslint-plugin-prettier (#864)
Having eslint flag prettier "errors" in editors can be rather painful. Also chose against linting staged files for prettier because I like to stage partials. Instead:
- Recommended to use plugins for editors to format on save, e.g. `prettier-atom`
- Prettier will be run as part of `npm test`
2017-10-01 07:06:06 +02:00
Rhys Arkins
1c42140475 fix: write npmrc to subdirectories with lock file (#858)
* fix: write npmrc to subdirectories with lock file

* fix lint
2017-09-29 10:42:16 +02:00
Rhys Arkins
6969ff3a36 fix: only massage package name if name exists (#859) 2017-09-29 10:37:02 +02:00
Rhys Arkins
b689509eb2 fix: don’t error if packageFile configured (#856) 2017-09-29 09:36:14 +02:00
Rhys Arkins
d5f11ad9bd feat: remove {} template strings from package.json name (#855) 2017-09-29 09:18:59 +02:00
Rhys Arkins
4702f2ad95 fix: escape filename %2F (GitLab) (#854)
Fixes #849
2017-09-29 09:05:36 +02:00
renovate[bot]
065b0012ba fix(deps): update dependency yarn to v1.1.0 (#837) 2017-09-29 08:41:12 +02:00
Rhys Arkins
8125c772ae feat: ignoreNpmrcFile (#853)
This feature adds support for ignoring .npmrc files in a repository. Set config option to true if you wish to ignore.

Closes #851
2017-09-29 08:22:22 +02:00
Rhys Arkins
23f8467d1e feat: support non-root yarn workspaces (#852)
Previously, Renovate assumed that any yarn workspaces configuration would be in the root of the repository. Now, workspaces can be located within a subdirectory, e.g. `frontend/`. Note: Renovate still supports only one workspace per repository, please file an issue if you require more than one.

Closes #842
2017-09-29 08:08:52 +02:00
Rhys Arkins
43bff1ee54 fix: improve every xday schedule migration (#850)
Fixes #845
2017-09-28 19:42:33 +02:00
singapore
7ef9e65052 chore: downgrade rebase warning to info 2017-09-28 15:04:27 +02:00
singapore
97ee1d7588 chore: downgrade "all merge attempts failed" from warn to info 2017-09-28 15:03:21 +02:00
renovate[bot]
78b60d2f23 chore(deps): update dependency prettier to v1.7.2 2017-09-28 01:03:06 +00:00
renovate[bot]
eb40591c24 chore(deps): update dependency eslint-config-airbnb-base to v12.0.1 2017-09-27 21:08:43 +00:00
Rhys Arkins
636b5fd82a fix: log npm version when generating lockfile (#836)
Now adds `stdout` and `stderr` from `npm` and `yarn` installs to the "Generated lockfile" log message, so that the exact versions of npm and yarn can be known in the default logs.

Closes #827
2017-09-24 16:53:47 +02:00
Rhys Arkins
7208488402 fix: log when automerging succeeds (#835) 2017-09-24 16:34:34 +02:00
renovate[bot]
9f0989e166 chore(deps): update dependency eslint-config-prettier to v2.6.0 2017-09-23 14:53:50 +00:00
Rhys Arkins
fe61fe2e7f fix: add —ignore-engines to yarn install (#831) 2017-09-23 08:05:43 +02:00
Rhys Arkins
bc18850e05 fix: use dummy time if missing from npm response (#830) 2017-09-23 08:00:17 +02:00
Rhys Arkins
9aad365032 feat: improve logging visibility (#828)
* fix: add upgrade and branch timings to log

Adds timing logs for upgrade detection + branch updating stages.

Closes #821

* improve request retry logging
2017-09-22 07:04:41 +02:00
renovate[bot]
41a270c8f8 chore(deps): update dependency eslint to v4.7.2 2017-09-21 20:05:55 +00:00
Rhys Arkins
9ff555c74b fix: promisify lockfiles (#826)
`npm` and `yarn` lockfile generation use promisified child process `exec` now instead of `spawnSync`.
2017-09-20 22:56:57 +02:00
Rhys Arkins
d7025f25d6 fix: Detect npm & yarn when globally installed (#825)
This fix improves the way Renovate detects embedded/installed npm and yarn. It tries:
- locally installed npm or yarn
- npm or yarn embedded inside globally installed renovate
- globally installed npm or yarn
- global `yarn` or `npm` commands as fallback

Fixes #824
2017-09-20 07:52:44 +02:00
Rhys Arkins
8d22bdbee3 fix: downgrade JSON parsing log from error to warn (#823) 2017-09-19 14:58:37 +02:00
renovate[bot]
b3d5d73e59 chore(deps): update dependency eslint to v4.7.1 2017-09-18 22:55:14 +00:00
renovate[bot]
2e408fe38f chore(deps): update dependency eslint-plugin-prettier to v2.3.1 2017-09-18 17:55:32 +00:00
renovate[bot]
90c8cf756d chore(deps): update dependency eslint-plugin-prettier to v2.3.0 2017-09-18 07:30:10 +00:00
renovate[bot]
ec936d98c8 chore(deps): update dependency eslint-config-prettier to v2.5.0 2017-09-16 12:41:14 +00:00
Rhys Arkins
710d0262e2 fix: logger.info not warn when failing to look up dep (#819) 2017-09-16 08:25:31 +02:00
Rhys Arkins
450b16b459 fix: downgrade dep not found error to warning (#818) 2017-09-16 07:39:27 +02:00
Rhys Arkins
660a208bd2 fix: retry api rate limit exceeded (#816) 2017-09-16 06:39:04 +02:00
renovate[bot]
47a9fc2548 chore(deps): update dependency eslint to v4.7.0 2017-09-15 21:59:26 +00:00
renovate[bot]
f8589fa836 chore(deps): update dependency prettier to v1.7.0 (#752)
* chore(deps): update dependency prettier to v1.6.1

* chore(deps): update dependency prettier to v1.7.0

* run lint
2017-09-15 20:20:25 +02:00
renovate[bot]
cfc6c5ccdf fix: update dependency eslint-config-airbnb-base to v12 (#771)
* chore(deps): update dependency eslint-config-airbnb-base to v12.0.0

* fix lint
2017-09-15 19:46:25 +02:00
Rhys Arkins
f9b12dbb3e fix: don’t massage packagefile name (#814) 2017-09-15 13:34:53 +02:00
Rhys Arkins
3956877288 fix: use replace rather than full substitution for invalid package file name (#813) 2017-09-15 12:58:06 +02:00