Rhys Arkins
913d0cf208
feat: create PRs if branch automerge failed ( #888 )
2017-10-05 09:31:10 +02:00
Rhys Arkins
bb263cca60
fix: catch error in checkForClosedPr and return false (github) ( #887 )
2017-10-05 09:25:45 +02:00
Rhys Arkins
5dab080ef7
fix: info message if automerge branch fails ( #886 )
...
* fix: info message if automerge branch fails
* fix snapshot
2017-10-04 16:52:50 +02:00
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
Rhys Arkins
188f50ba5f
fix: use preview header when requesting reviewers (github) ( #871 )
2017-10-02 06:57:13 +02:00
Rhys Arkins
d392efc36c
chore: add filename to Renovating package.json log ( #869 )
2017-10-01 15:25:05 +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
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
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
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
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
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]
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
Rhys Arkins
2e40724856
fix: pass PATH to lockfile scripts ( #812 )
2017-09-15 11:48:12 +02:00
Rhys Arkins
a4490add1e
fix: log lock file generation times ( #811 )
2017-09-15 09:10:50 +02:00
Rhys Arkins
20542e7529
fix: write only updated package.json files when checking for lock files ( #810 )
2017-09-14 22:10:51 +02:00
Rhys Arkins
6f60289782
feat: install npm as dependency ( #808 )
...
* install npm from npm
* use embedded npm and remove versions checking
2017-09-14 18:24:14 +02:00
Rhys Arkins
e4b62a32b2
fix: pass empty env to lock file scripts ( #807 )
2017-09-14 18:05:38 +02:00
Rhys Arkins
a8126a383f
feat: use yarn as a dependency ( #806 )
...
Renovate will now depend on yarn like any other dependency and call this version directly, instead of having an embedded version. This will allow us to "renovate" the yarn version we use too.
2017-09-14 17:57:17 +02:00
singapore
75c9203ae0
fix: more check package.json name
2017-09-14 13:57:28 +02:00
Rhys Arkins
60f54f8a5a
fix: Check for package.json name first ( #805 )
2017-09-14 13:56:09 +02:00
Rhys Arkins
760b128b3e
feat: massage package.json files before lock file generation ( #804 )
...
- Any package names not matching valid pattern will be rewritten to “dummy”
- “engines” and “scripts” fields will be completely removed
Closes #801 , Closes #784
2017-09-14 10:54:41 +02:00
Rhys Arkins
a88ba0d16a
feat: Dockerfile digest support ( #788 )
...
This feature adds initial support for renovating Dockerfiles. Renovate now:
- Detects all `Dockerfile`s in repo
- Searches for `FROM x` in first non-comment line, breaks x into image, tag, digest
- Queries public Docker registry for image:tag combination to find latest digest
- Patches Dockerfile if necessary
- Creates branches/PRs as like with npm
Closes #795
2017-09-14 09:31:36 +02:00
Rhys Arkins
9c56d6f51c
fix: nrefactor config.logger -> logger ( #794 )
2017-09-14 07:21:22 +02:00
Rhys Arkins
d546f30a8f
chore: fix eslint ( #793 )
...
* fix eslint configuration
* run eslint fix
2017-09-13 21:43:52 +02:00
Rhys Arkins
31b1ee4ef7
refactor: separate npm specifics from package worker ( #792 )
2017-09-13 21:20:07 +02:00
Rhys Arkins
dd6f3630b6
refactor: move pin config to definitions ( #791 )
2017-09-13 20:52:07 +02:00
Rhys Arkins
d6a45e5f47
fix: handle null child config in merge ( #790 )
2017-09-13 20:29:20 +02:00
Rhys Arkins
d765b34c33
feat: renovate meteor package.js dependencies ( #786 )
...
This feature adds support for renovating Meteor's `package.js` files. Meteor config is disabled by default so must be manually enabled to work. If enabled, Renovate uses GitHub's search API to look for any files named `package.js` that include the text `Npm.depends`. If so then the file is parsed using Regex to extract its dependencies and check them for updates.
Closes #785
2017-09-12 09:33:41 +02:00