Rhys Arkins
23051355fb
fix: properly migrate pathRules
2018-04-29 23:07:39 +02:00
Rhys Arkins
122fffea99
Fix pathRules migration ( #1885 )
...
Fix pathRules migration
2018-04-29 14:05:45 +02:00
Rhys Arkins
898b913f3b
feat: deprecate pathRules ( #1881 )
...
pathRules are now migrated to packageRules.
Closes #1880
2018-04-28 14:05:39 +02:00
Rhys Arkins
04c239e07a
fix: add space after semantic prefix colon in migration
2018-04-17 14:40:00 +02:00
Rhys Arkins
8d439ffc5e
fix: migrate semanticPrefix to semanticCommitType/semantiCommitScope
2018-04-17 12:09:34 +02:00
Rhys Arkins
b10ee7c5dd
fix: don’t strip semanticPrefix when migrating
2018-04-17 10:37:48 +02:00
Rhys Arkins
2f6aac0ba6
fix: handle baseBranch array instead of string
2018-03-14 19:00:18 +01:00
Rhys Arkins
21a5af01c7
fix: add try/catch logging to migrate and validate code
...
This reverts commit 97ea483f7e
.
2018-03-08 07:28:06 +01:00
Rhys Arkins
97ea483f7e
fix: Revert "fix: add try/catch logging to migrate and validate code"
...
This reverts commit 9b44e34fa7
.
2018-03-08 07:12:31 +01:00
Rhys Arkins
9b44e34fa7
fix: add try/catch logging to migrate and validate code
2018-03-08 06:02:16 +01:00
Rhys Arkins
f398fa19aa
fix: Revert "refactor: improve migration scripts"
...
This reverts commit c6be31543d
.
Closes #1584
2018-03-04 14:36:45 +01:00
Rhys Arkins
74a7242081
fix: node-travis migration
2018-03-04 14:20:04 +01:00
Rhys Arkins
c6be31543d
refactor: improve migration scripts
2018-03-04 07:35:18 +01:00
Rhys Arkins
dae287b62b
refactor: node-travis definitions ( #1583 )
...
Retains the "node" configuration object but moves enabling/disabling to "travis". Also removes the default `supportPolicy` from config.
2018-03-04 07:08:19 +01:00
Rhys Arkins
dba574950b
feat: baseBranches (multi-branch) support ( #1379 )
...
This PR adds the capability to renovate more than one base branch at a time. For instance, a project may have their released `3.x` version on `master`, while an upcoming `4.x` is being prepared using branch `next`. `4.x` might have a quite different set of dependencies (e.g. some removed or some added) so it's not appropriate to only target `master` and keep rebasing, as it will get messy. Instead, it's necessary to target both `master` and `next` to keep both updated.
Closes #1279
2018-01-12 07:47:18 +01:00
Rhys Arkins
5e68613150
refactor: add extends config massage ( #1256 )
2017-12-01 07:16:17 +01:00
Rhys Arkins
65a5e90bb7
feat: split semanticPrefix into type and scope
2017-11-24 07:14:58 +01:00
Rhys Arkins
88fc9c4155
refactor: use Object.entries when looping over key/val ( #1141 )
...
Closes #1079
2017-11-10 13:46:16 +01:00
Rhys Arkins
1e5a5cab79
refactor: move config globals inside functions ( #1088 )
...
This was necessary when attempting to use jest mock all
2017-11-03 07:43:26 +01:00
Rhys Arkins
b2f35fef44
fix: do not delete semantic commits when migrating ( #1025 )
2017-10-23 13:06:09 +02:00
Rhys Arkins
827b9af7ef
refactor: use deepcopy for migrate and massage ( #1024 )
2017-10-23 12:56:11 +02:00
Rhys Arkins
826753e329
fix: migrate null schedule to [] ( #1021 )
2017-10-23 09:14:50 +02:00
Rhys Arkins
622116f7e0
feat: migrate boolean config objects to enabled true/false ( #1007 )
2017-10-20 13:15:00 +02:00
Rhys Arkins
665ede8475
fix: migrate excludedPackageNames to excludePackageNames ( #961 )
2017-10-17 11:16:02 +02:00
Rhys Arkins
e1599073d0
fix: migrate ‘ every day’ schedule to empty ( #937 )
2017-10-14 07:03:44 +02:00
Rhys Arkins
f91aa14235
fix: cast automerge migration values ( #924 )
2017-10-12 21:15:10 +02:00
Rhys Arkins
19949f2604
fix: migrate automergeMajor automergeMinor automergePatch ( #922 )
...
This is a misconfiguration by a user but no harm in adding it to migrations.
2017-10-12 18:55:46 +02:00
Rhys Arkins
43bff1ee54
fix: improve every xday schedule migration ( #850 )
...
Fixes #845
2017-09-28 19:42:33 +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
1a395a3dd9
fix: fix and improve schedule migrations ( #761 )
...
* fix: migrate “every xday” to “on xday”
* fix: do not migrate before and after if before is after after
e.g. do not migrate “after 1am and before 5am”
2017-09-01 11:27:54 +02:00
Rhys Arkins
ec1eaa2dd0
feat: convet ignoreNodeModules to ignorePaths ( #741 )
...
The ignoreNodeModules feature is replaced with a generic ignorePaths one and allows any array of strings to be defined and package.json file matching them will be skipped/ignored. Also migrates any existing config/presets.
2017-08-26 21:28:29 +02:00
Rhys Arkins
4bc7009db1
fix: improve schedule massage logic ( #725 )
...
- reuse suffix for any “before and after” splits
- move “on every weekday” massage to migrate
2017-08-24 07:04:04 +02:00
Rhys Arkins
e443e6b848
fix: only migrate 'and' schedule if it includes before and after ( #724 )
2017-08-23 12:38:47 +02:00
Rhys Arkins
5693b17ecf
fix: advanced schedules migration ( #723 )
...
- Split ‘x and y’ schedule into [x, y]
- Replace schedules like ’on mondays’ with ‘on monday’
2017-08-23 11:50:05 +02:00
Rhys Arkins
9d0cbb2e5d
fix: migrate fields within depTypes ( #718 )
2017-08-22 10:58:53 +02:00
Rhys Arkins
238a72b1eb
fix: only migrate known strings for automerge ( #716 )
...
Leave the rest to error.
2017-08-22 08:12:42 +02:00
Rhys Arkins
2ca2e7c8ca
fix: expand automerge string to fill all upgrade types ( #714 )
...
This makes for an uglier migration and potentially some redundancy, but is the only easy way to ensure that the migrated behaviour is definitely correct.
Fixes #713
2017-08-22 06:20:23 +02:00
Rhys Arkins
b657d3c291
feat: support lock file maintenance automerge ( #712 )
...
Refactored the `automerge` field to change it to boolean. Existing string will be migrated to new config. Automerging lock files is now possible by adding `”lockFileMaintenance”: { ”automerge”: true}` to config.
Closes #706
2017-08-21 13:41:48 +02:00
Rhys Arkins
26cdabe57e
fix: array objects should be migrated ( #697 )
2017-08-18 19:47:13 +02:00
Rhys Arkins
3099bf9da1
fix: migrate last day of month schedule to first of month ( #680 )
2017-08-15 11:54:36 +02:00
Rhys Arkins
c120b7389d
fix: migrate automerge=false to automerge=none ( #678 )
2017-08-15 09:30:40 +02:00
Rhys Arkins
7970f62a7d
feat: massage true/false strings to boolean ( #673 )
...
Closes #637
2017-08-14 07:49:33 +02:00
Rhys Arkins
d27d35e535
feat: allow strings instead of lists ( #665 )
...
Updates definitions for schedule and package rules to allow strings to be massaged to lists - instead of erroring.
Closes #662
2017-08-11 07:29:16 +02:00
Rhys Arkins
d484f9bf8b
fix: add yarnCacheFolder to removedOptions ( #624 )
2017-08-05 07:48:12 +02:00
Rhys Arkins
f8ec742b3b
feat: Detect semantic commits every run ( #609 )
...
Now no need to detect at onboarding time. Also suggests removing setting in migration if it is already the same value.
Closes #528
2017-08-04 14:49:02 +02:00
Rhys Arkins
e7ce772e94
feat: Make semanticPrefix implicit in templates ( #608 )
...
No need for {{semanticPrefix}} to be specified in templates now - it will be implicitly added to start of commit message and PR titles if semanticCommits=true
2017-08-04 12:34:42 +02:00
Rhys Arkins
7ff5780a8f
fix: migrate packages array properly ( #597 )
2017-08-03 19:52:10 +02:00
Rhys Arkins
db2e6dd1b9
refactor: Convert Object.assign to spread ( #585 )
...
Closes #226
2017-08-03 08:01:20 +02:00
Rhys Arkins
c3b123a83d
feat: Advanced package rules ( #582 )
...
- Renames `packages` to `packageRules`
- Refactor `packageName` to `packageNames` array
- Refactor `packagePattern` to `packagePatterns` array
- Adds `excludePackageNames` array
- Adds `excludePackagePatterns` array
Closes #529
2017-08-03 07:55:59 +02:00
Rhys Arkins
8f8a4de69f
fix: Schedule should always be an array ( #580 )
...
Massaging of string to array is done in migration function.
2017-08-02 16:14:09 +02:00