Commit graph

62 commits

Author SHA1 Message Date
Rhys Arkins
e102132869 refactor: convert config-validator to TypeScript
BREAKING CHANGE: path for the config validator is now in lib/ and dist/ and not bin/
2020-05-19 13:09:54 +02:00
Rhys Arkins
96fb5f4cca feat(npm): drop embedded managers
Renovate will no longer embed npm, yarn and pnpm as dependencies. Therefore, if you are not running via the Docker full image, then you need to ensure that any of these managers are installed prior to running Renovate. This is inline with other managers such as Gradle or Poetry that require installation alongside Renovate too.

Closes #4208

BREAKING CHANGE: npm, yarn and pnpm are no longer embedded with the installation
2020-05-19 13:09:54 +02:00
renovate[bot]
4f59b62da4
chore(deps): update dependency prettier to v2 (#5952)
* chore(deps): update dependency prettier to v2

* Run prettier-fix

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Jamie Magee <jamie.magee@gmail.com>
2020-04-12 18:09:36 +02:00
Rhys Arkins
de17ac8cf7 chore: removed unused requires 2020-02-22 07:13:11 +01:00
Rhys Arkins
b636307ce2 chore: sort JSON schema by property name 2020-02-06 15:29:20 +01:00
Rhys Arkins
e77d596f32 fix(cache): default init using tmpdir 2020-01-11 11:11:49 +01:00
Tim Jacomb
cc07563b86 feat(helm): Add repo alias support (#4844) 2019-11-24 12:32:00 +01:00
Rhys Arkins
27505b38b3 fix(logger): migrate last refs to ts
Closes #4094, Closes #4095
2019-07-15 15:04:03 +02:00
Michael Kriese
4570475006 feat: typescript (#3594)
Adds initial typescript support

BREAKING CHANGE: Renovate is now distributed as a "built" package on npmjs, using `dist/` instead of `lib/`. For nearly everyone, it should still just work though.
2019-05-09 12:37:11 +02:00
Rhys Arkins
daff90163e fix(travis): don’t use setTimeout 2019-05-09 10:43:17 +02:00
Rhys Arkins
971a041149 fix(validator): properly exit when done
Closes #3644 again!
2019-05-09 06:57:03 +02:00
Blake Kostner
01301809bf fix(config-validator): fix cache init with no directory (#3524)
fix(config-validator): fix cache init with no directory
2019-04-10 19:53:33 +02:00
Rhys Arkins
a599eab231
feat: unify file locations (#3507)
feat: unify file locations
2019-04-09 17:14:08 +02:00
Rhys Arkins
01e02ff22f fix(schema): add freeChoice 2019-03-31 09:52:58 +02:00
Rishabh Jain
b7e5546788 refactor(config): change definitions to match schema (#3434) 2019-03-31 02:01:05 -04:00
Rhys Arkins
00f6295413 refactor(schema): default after definition 2019-03-23 08:44:18 +01:00
Rhys Arkins
e422ee0e01 refactor(schema): move ref last 2019-03-23 08:43:00 +01:00
Rhys Arkins
50fb71291f refactor(schema): move description first 2019-03-23 08:41:08 +01:00
Rhys Arkins
82a9263d00 fix(schema): regex arrays 2019-03-23 08:27:46 +01:00
Rhys Arkins
31fb0b09aa fix(schema): don’t skip falsey default 2019-03-23 08:15:57 +01:00
Rishabh Jain
8124634b6a feat: create json schema from definitions file (#3425)
Closes #545
2019-03-23 07:38:24 +01:00
Jamie Magee
6aef5d2bc0 feat: validate renovate config file (#3389)
Extend renovate-config-validator to validate `config.js` and `RENOVATE_CONFIG_FILE`. Also add the execute bit to `config-validator.js`

Fixed #3388
2019-03-16 07:03:32 +01:00
Rishabh Jain
e94946b155 fix: nested preset parsing error in config validator (#3384) 2019-03-15 05:29:39 +01:00
Rhys Arkins
ddb78f637f fix(yarn): use latest yarn by default 2019-01-28 03:54:17 +01:00
Rhys Arkins
a6efa87465 feat: deprecate heroku support (#3047)
I haven’t used Heroku with Renovate in over a year and am not able to directly support it. I think it would be best to be made into a “wrapper” repository like https://github.com/renovatebot/renovate-heroku

BREAKING CHANGE: renovate repository no longer supports direct deployment to Heroku
2019-01-22 09:41:06 +01:00
Rhys Arkins
60f73779d8 fix: validator import 2019-01-06 16:45:40 +01:00
Rhys Arkins
d7b741d03e fix: config validator skip package.json 2019-01-06 07:09:41 +01:00
Rhys Arkins
e19294e894
feat: centralise config file list (#3031) 2019-01-06 06:03:26 +01:00
Rhys Arkins
03525a3560 refactor: minify bundled yarn 2018-09-27 14:26:39 +02:00
Rhys Arkins
c980fa1e13 fix: bundle yarn binary instead of aliasing 2018-09-27 12:35:05 +02:00
Rhys Arkins
4b3c2d23ac
feat: combine tmp storage (#2533)
Renovate will now put all its data in `path.join(os.tmpdir(), '/renovate’);` and will instruct npm and yarn to do the same. To force Renovate to use a specific folder, set `process.env.TMPDIR` when running. The previous variable `RENOVATE_TMPDIR` is now deprecated and will be rewritten to TMPDIR.

Closes #1794
2018-09-18 05:26:09 +02:00
Rhys Arkins
c3a4b90411 chore: fix clean-cache paths 2018-09-05 11:03:06 +02:00
Rhys Arkins
b23a61b890 fix: use manager in changelog cache lookup key 2018-06-16 19:45:16 +02:00
Rhys Arkins
466cb07d02 refactor: changelog filename 2018-06-14 09:39:23 +02:00
Rhys Arkins
c89929d3e2 fix: rename changelog cache file 2018-05-19 08:22:37 +02:00
Țurcanu Dragomir
6c46ddf20e feat: validate packageRules selectors (#1810)
packageRules selectors should only ever be inside a packageRule object, or at the top level of a preset. This feature enforces this rule with a validation check.

Closes #1773
2018-04-12 12:13:39 +02:00
Rhys Arkins
a8d45394aa fix: init logger in cli validator 2018-04-12 11:52:52 +02:00
Rhys Arkins
e204b0df4b fix(config-validator): massage config before validating 2018-04-10 13:03:24 +02:00
Rhys Arkins
cb92a9e010 fix: validator needs to use async validate command
Closes #1734
2018-03-29 05:47:59 +02:00
Hutson Betts
d87aa62b37 fix(config-validator): support preset configs (#1635)
Fixes #1632
2018-03-09 18:47:35 +01:00
Rhys Arkins
40d16604e1 fix: set node env for bin script 2018-03-07 06:28:09 +01:00
Rhys Arkins
f67b75c9f1 feat: config validator cli tool
Adds “renovate-config-validator” as a new bin entry to package.json. Can be run without arguments and will check renovate.json, .renovaterc, .renovaterc.json and package.json. Returns non-zero exit code with a description if there are errors.
2018-03-07 06:10:17 +01:00
Rhys Arkins
ac68629190 docs: remove docs/configuration options
Instead refer to website and source code.
2018-01-11 10:49:21 +01:00
Rhys Arkins
d2cd755f37
feat: persistent disk cache for changelog data (#1163)
Use `cacache` to persist changelog results between runs.
2017-11-13 17:44:09 +01:00
Rhys Arkins
a08ad7ff28 feat: deprecate nodejs 6 support (#1061)
This commit drops support for nodejs 6 now that nodejs 8 has reached LTS. Renovate will now publish only the `lib/` directory and not `dist/`. Some babel is necessary to leave in-place because Jest otherwise crashes when encountering the spread operator.

BREAKING CHANGE: Node.js 6 is no longer supported
2017-11-01 13:13:55 +01: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
Rhys Arkins
1957bba62d feat: update embedded yarn to v1.0.1 (#778) 2017-09-07 20:34:53 +02:00
Rhys Arkins
47044a11e1 feat(yarn): Use embedded yarn version (#510)
Renovate now uses an embedded yarn binary. This way, the version of yarn used can be known + there is no requirement for Renovate admins to install yarn separately.
2017-07-21 08:47:05 +02:00
Rhys Arkins
cd54997d08 fix: Remove yarn version from package.json (#446)
This pinned yarn version prevents newer or older versions of yarn from installing renovate.
2017-07-05 18:12:58 +02:00
Rhys Arkins
48fa9bb923 fix: format json in config table correctly (#434)
Closes #427
2017-07-04 14:29:45 +02:00