Commit graph

227 commits

Author SHA1 Message Date
renovate[bot]
2df69e1dc3 fix(deps): update dependency moment to v2.19.0 2017-10-11 12:38:32 +02:00
renovate[bot]
1b595cbcd9 fix(deps): update dependency get-installed-path to v4.0.7 2017-10-10 23:22:41 +00:00
renovate[bot]
f70e64bf80 fix(deps): update dependency yarn to v1.2.0 (#904) 2017-10-10 10:39:46 +02:00
renovate[bot]
8866603a46 fix(deps): update dependency get-installed-path to v4 (#892)
* fix(deps): update dependency get-installed-path to v4.0.3

* fix
2017-10-08 06:30:01 +02:00
Rhys Arkins
28a18b18da feat: write existing lockfile before regenerating (#881)
It appears that writing the existing lockfile before regenerating a new one can help speed some resolutions up.

Closes #815
2017-10-08 05:52:58 +02:00
renovate[bot]
4cd2a3ab45 fix(deps): update dependency showdown to v1.7.6 2017-10-06 12:09:43 +00:00
renovate[bot]
488c5a1d61 fix(deps): update dependency keyv to v3 (#883) 2017-10-06 11:47:33 +02:00
renovate[bot]
66f90c58c6 fix(deps): update dependency get-installed-path to v3.0.3 2017-10-06 04:11:47 +00:00
renovate[bot]
d4d5b40e99 chore(deps): update dependency eslint-config-airbnb-base to v12.0.2 2017-10-05 07:41:50 +00:00
renovate[bot]
68fb392804 chore(deps): update dependency prettier to v1.7.4 2017-10-03 10:08:01 +00: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
renovate[bot]
150ef419e8 fix(deps): update dependency showdown to v1.7.5 2017-10-02 06:19:10 +00: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
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
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
renovate[bot]
065b0012ba fix(deps): update dependency yarn to v1.1.0 (#837) 2017-09-29 08:41:12 +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
renovate[bot]
9f0989e166 chore(deps): update dependency eslint-config-prettier to v2.6.0 2017-09-23 14:53:50 +00: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
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
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
renovate[bot]
846f7f2ec1 fix(deps): update dependency npm to v5.4.2 2017-09-15 01:50:12 +00:00
renovate[bot]
341d0fb015 fix(deps): update dependency jsonwebtoken to v8 (#776) 2017-09-14 21:12:03 +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
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
renovate[bot]
5040862604 chore(deps): update dependency eslint-config-prettier to v2.4.0 2017-09-14 10:49:35 +00:00
renovate[bot]
21a9850c75 chore(deps): update dependency eslint to v4.6.1 2017-09-14 09:49:23 +00:00
renovate[bot]
8d13e83ca7 fix(deps): update dependency fs-extra to v4.0.2 2017-09-13 00:46:33 +00:00
Rhys Arkins
8fa94141a1 feat: use package names for ignoring when lerna or workspaces (#787)
* add minimatch

* feat: use package names for ignoring when lerna or workspaces

Renovate will now:
- Find all package.json files matching lerna or yarn workspaces glob pattern
- Retrieve package names from within those package.json files
- Implicitly ignore (not renvoate) any of those names

Closes #781
2017-09-12 07:49:56 +02:00
renovate[bot]
6acef47c87 chore(deps): update dependency rimraf to v2.6.2 2017-09-11 18:50:50 +00:00
renovate[bot]
0e09c575e1 fix(deps): update dependency showdown to v1.7.4 2017-09-08 20:48:43 +00:00
Rhys Arkins
fbf77cf6c7 fix: detect custom registry from repo npmrc (#765)
* remove registry-url

* replace registry-url with registry-auth-token

Fixes #793
2017-09-01 13:01:05 +02:00
renovate[bot]
08b0752a72 chore(deps): update dependency chai to v4.1.2 2017-08-31 22:54:48 +00:00
Rhys Arkins
ea9ace2a76 feat: branch worker updates (#736)
This is a major refactor of branch code to prepare for Yarn workspaces plus creating PRs for branches with failing lockfiles. Marked as "feature" to cause a minor version bump due to the moderate chance of accidentally breaking something.
2017-08-26 16:10:18 +02:00
renovate[bot]
c420798d4b fix(deps): update dependency showdown to v1.7.3 2017-08-23 22:44:01 +00:00
renovate[bot]
42e2a0905d chore(deps): update dependency eslint-config-airbnb-base to v11.3.2 2017-08-22 23:29:24 +00:00
Rhys Arkins
52b2de3bdb fix: equalize carriage returns before comparing lock files (#717)
Eliminating one more possibility for #707
2017-08-22 10:46:27 +02:00
renovate[bot]
8be4bd17ad chore(deps): update dependency semantic-release to v7.0.2 2017-08-22 06:23:32 +00:00
Rhys Arkins
21aa961264 feat: re-use node_modules per package file (#704)
tmpDir is now created once per-repository and package.json files are written and lockfiles generated based on the repo's directory structure. This way node_modules can be reused between branches in same run.

Closes #501
2017-08-22 06:28:46 +02:00
renovate[bot]
6c2775c30b chore(deps): update dependency eslint to v4.5.0 2017-08-21 12:29:09 +00:00
renovate[bot]
581e999364 chore(deps): update dependency mockdate to v2.0.2 (#691) 2017-08-18 12:36:51 +02:00
renovate[bot]
5305ae870b chore(deps): update dependency babel-plugin-transform-object-rest-spread to v6.26.0 2017-08-18 10:24:40 +00:00
renovate[bot]
13f58c1da8 chore(deps): update dependency babel-cli to v6.26.0 2017-08-18 08:26:55 +00:00
renovate[bot]
1ab452c70c fix(deps): update dependency jsonwebtoken to v7.4.3 2017-08-18 07:24:09 +00:00
renovate[bot]
9aaf02f535 chore(deps): update dependency eslint-plugin-prettier to v2.2.0 (#682) 2017-08-17 12:19:13 +02:00
renovate[bot]
8784ab0b32 fix(deps): update dependency tmp to v0.0.33 2017-08-13 11:01:37 +00:00
renovate[bot]
2a5604ab6d chore(deps): update dependency eslint to v4.4.1 2017-08-08 18:10:53 +00:00
renovate[bot]
09c85a4427 fix(deps): update dependency chalk to v2.1.0 2017-08-08 06:00:54 +00:00
renovate[bot]
2ec7919f1a chore(deps): update dependency eslint to v4.4.0 2017-08-05 18:55:05 +00:00
renovate[bot]
53058d4f2b chore(deps): update dependency chai to v4.1.1 2017-08-05 08:53:25 +00:00
renovate[bot]
b8ca737ed8 chore(deps): update dependency showdown to version 1.7.2 2017-08-05 01:53:50 +00:00
renovate[bot]
098ab9d962 chore(deps): update dependency jsonwebtoken to version 7.4.2 2017-08-04 17:58:22 +00:00
Rhys Arkins
db2e6dd1b9 refactor: Convert Object.assign to spread (#585)
Closes #226
2017-08-03 08:01:20 +02:00
renovate[bot]
e2876ce7cf chore(deps): Update dependency bunyan to version 1.8.12 2017-08-03 01:47:10 +00:00
renovate[bot]
7105314542 chore(deps): Update dependency bunyan to version 1.8.11 2017-08-02 21:47:04 +00:00
renovate[bot]
cfbb8f41f1 chore(deps): Lock file maintenance (#562)
* chore(deps): Update lock file

* chore(deps): Update lock file
2017-07-31 06:21:48 +02:00
renovate[bot]
766ee3f024 chore(deps): Update dependency eslint to version 4.3.0 (#396) 2017-07-26 08:27:38 +02:00
renovate[bot]
095552895e chore(deps): Update dependency eslint-config-airbnb-base to version 11.3.1 2017-07-24 21:15:54 +00:00
renovate[bot]
0f1d0ec72d fix: Update dependency semver to version 5.4.1 2017-07-24 20:16:33 +00:00
renovate[bot]
a7b9bf137e fix: Update dependency semver to version 5.4.0 2017-07-24 18:18:21 +00:00
renovate[bot]
c0acefba34 chore(deps): Update dependency eslint-config-airbnb-base to version 11.3.0 (#516) 2017-07-24 10:00:16 +02:00
renovate[bot]
e524c54459 chore(deps): Update dependency prettier to version 1.5.3 2017-07-15 11:03:02 +00:00
renovate[bot]
326b661d56 chore(deps): Update dependency chai to version 4.1.0 2017-07-12 02:02:48 +00:00
renovate[bot]
58d66a212a fix(deps): Update dependency changelog to version 1.4.0 (#476) 2017-07-08 07:35:12 +02:00
renovate[bot]
4f84d2a63f fix(deps): Update dependency changelog to version 1.3.1 (#472) 2017-07-07 14:37:50 +02:00
Rhys Arkins
06504b4abe feat(onboarding): conventional commits detection (#463)
When onboarding, retrieve the most recent commits from the repository and use https://github.com/conventional-changelog/conventional-commits-detector to parse the commit messages to detect if any conventional commit approach is being used.

Closes #462
2017-07-07 07:54:09 +02:00
renovate[bot]
df0e3317eb chore(deps): Update dependency eslint-plugin-import to version 2.7.0 2017-07-06 13:01:58 +00:00
Rhys Arkins
3f35ba73d0 feat: Detect duplicate keys in renovate.json (#455)
Closes #450
2017-07-06 14:09:35 +02:00
Rhys Arkins
dc5773c2e5 feat: Configurable base branch for PRs (#448)
Collaborator
rarkins commented 14 hours ago
Base branch for Pull Requests is now configurable via a new baseBranch configuration option. To take effect, this much be present in the default branch (e.g. master in most cases) so that it can be discovered and used. See FAQ for more details.

Closes #443
2017-07-06 10:26:18 +02:00
renovate[bot]
4d362e8eba fix: Update dependency commander to version 2.11.0 2017-07-03 11:31:11 +00:00
renovate[bot]
a17536bff5 chore: Lock file maintenance (#419) 2017-07-03 09:56:21 +02:00
Rhys Arkins
237ee1b18e Update yarn.lock 2017-07-01 06:27:15 +02:00
renovate[bot]
99542c2063 fix: Update dependency chalk to version 2.x (#392) 2017-06-30 21:29:47 +02:00
renovate[bot]
53170cb411 fix: Update dependency got to version 7.1.0 2017-06-30 17:31:16 +00:00
Rhys Arkins
6664110c29 feat: schedules (#397)
This PR adds a scheduling feature, including timezone support.
It's described in detail in the FAQ, but the summary is:

*   Timezones can be defined so that schedules are written in timezone of target repository
*   Schedules can be written in "plain english"
*   Multiple schedules allowed
*   Schedules can be defined all the way down to package level

Closes #387
2017-06-30 14:04:46 +02:00
renovate[bot]
6a8e775097 Update dependency eslint-config-prettier to version 2.3.0 2017-06-30 06:51:55 +00:00
Rhys Arkins
03c01898a3 chore: remove np devDependency 2017-06-30 06:05:56 +02:00
Rhys Arkins
f161553230 chore: update lockfile 2017-06-30 05:58:33 +02:00
Rhys Arkins
3486b6db77 refactor: freeform-semantic-commit-analyzer for semantic release 2017-06-29 14:59:10 +02:00
Rhys Arkins
3e3e0d7c4d refactor: Add semantic release to CircleCI (#384)
* Reset version to 0.0.0-semantic-release
* Add semantic-release and condition-circle
* Add circleci deployment config
2017-06-29 14:36:50 +02:00
renovate[bot]
d3111e3185 Update dependency eslint-plugin-import to version 2.6.1 2017-06-29 12:32:11 +00:00
Rhys Arkins
742060c8b5 Improve npm and yarn lock error messages (#380)
Closes #375 

* Detect versions at startup

* Add meaningful error messages when problems with npm or yarn

* Test helpers

* Test global versions
2017-06-28 22:33:27 +02:00
renovate[bot]
5a9a66bd2b Update dependency prettier to version 1.5.2 (#365)
* Update dependency prettier to version 1.5.2

* lint fix
2017-06-28 12:23:57 +02:00
Rhys Arkins
6d99afb656 Get repository url from npm query (#363)
* Get repositoryUrl from npm

Closes #350

* Generate repository url from npm query

Closes #350
2017-06-27 17:35:23 +02:00
renovate[bot]
b26bbd9b58 Update dependency gl-got to version 7.x (#342) 2017-06-25 16:36:22 +02:00
Rhys Arkins
19f4b3b0bc Refactor repository worker (#344)
* Move to subdir

* Downgrade eslint to 3

* Refactor api and config usage

* Refactor mergeRenovateJson

* Test mergeRenovateJson

* getOnboardingStatus tests

* Refactor repository structure

* Refactor config.logger

* Revert "Refactor config.logger"

This reverts commit 6d7f81af6e.

* Refactor repository logging

* Refactor try/catch

* Refactor platform and onboarding

* Refactor setNpmrc

* Fix github logger

* npm api use config.logger

* Refactor repo worker logger

* Refactor repo worker

* Refactor branched upgrades

* Repository refactoring

* Move some debug logging to trace

* Deprecate fileName

* Refactor upgrades

* Refactor repository logs

* More repository log refactoring

* Refactor repository location

* Revert "Refactor repository location"

This reverts commit faecbf2951.

* Fix tests

* mergeRenovateJson

* Recombine repository worker

* Add initApis tests

* add detectPackageFiles tests

* Add determineRepoUpgrades tests

* start groupUpgradesByBranch tests

* add test

* add test

* Finish groupUpgradesByBranch coverage

* Test updateBranchesSequentially

* Finish repo coverage

* Finish branch worker coverage

* Finish workers coverage

* Fix isPin

* Complete workers coverage

* Finish helpers coverage

* Add gitlab api tests

* getBranchStatus tests

* test createPr

* start getPr testing

* getPr

* update and merge PR tests

* getFile

* getFileContent tests

* getFileJson tests

* createFile

* updateFile

* createBranch

* commitFilesToBranch

* update yarn

* Update yarn
2017-06-25 07:36:13 +02:00
Rhys Arkins
a3ba01103c Roll back eslint to 3.x and remove renovate grouping (#345) 2017-06-25 07:26:48 +02:00
renovate[bot]
896f9464ec Update dependency eslint to version 4.1.0 2017-06-24 02:31:40 +00:00
renovate[bot]
4237862b84 Update dependency commander to version 2.10.0 2017-06-23 12:31:39 +00:00