Commit graph

400 commits

Author SHA1 Message Date
Ian Walter
71b1b58c28
feat(pnpm): Adding --recursive flag to pnpm install (#6850)
Closes #2015: pnpm recursive support

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-07-29 07:16:08 +02:00
Grégory Joseph
b72bf4c8e5
fix(lerna): Fix support for Lerna when package.json is not at the root of the repo (#6675)
* fix(lerna): Fix support for Lerna when package.json is not at the root of the repo

Pass the PackageFile object to generateLockFiles, and use that rather than hardcode 'package.json'
Closes #6574

* Add test for #6574 - loads package.json from the given file, not root

* Alternative approach: don't re-load the file at all, deps are already specified. Unsure about tests

* Making eslint happy

* Add tests for getLernaVersion (and some fixes along the way)

* Copy/pasta error -- that test function didn't need to be async

* Wrap lerna tests in a describe(getName)

* Adapted snapshot file

Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-07-18 16:40:35 +02:00
Jamie Magee
456245aabe
chore(eslint): enable typescript 3.7 rules (#6765) 2020-07-18 08:42:32 +02:00
Misha Kaletsky
fb8e34dbc8
fix: revert: add currentValue to yarn upgrade command (#6775)
* Revert "fix: add currentValue to yarn upgrade command (#6759)"

This reverts commit 1c00491310.

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-07-17 14:13:20 +02:00
Misha Kaletsky
1c00491310
fix: add currentValue to yarn upgrade command (#6759)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-07-17 13:42:12 +02:00
Sergio Zharinov
c3fc80a285
refactor: Call 'fs-extra' functions via proxies (#6683)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-07-06 11:17:06 +02:00
Rhys Arkins
52cddfde8b
refactor: remove branch functions from platform (#6676) 2020-07-04 18:15:29 +02:00
Rhys Arkins
ab0ebfeeb4
refactor: remove getFile/getFileList from platform (#6674) 2020-07-04 14:28:49 +02:00
Rhys Arkins
ac59df7c7e
refactor: remove getRepoStatus from platform (#6672) 2020-07-04 13:52:33 +02:00
Sergio Zharinov
78e319f0fc
refactor: Import from 'fs-extra' explicitly (#6673) 2020-07-04 12:47:52 +02:00
Sergio Zharinov
1137112130
refactor: Separate 'git' and 'fs' util modules (#6665) 2020-07-03 16:47:00 +02:00
Sergio Zharinov
679176f26e
test(git): Decouple 'gitfs/fs' and 'gitfs/git' in tests (#6661) 2020-07-03 15:08:16 +02:00
Rhys Arkins
abfdae3c88
refactor(npm): skip internal packages earlier (#6639) 2020-06-30 12:05:44 +02:00
Rhys Arkins
ec1598587c
refactor: move util/fs under util/gitfs (#6618) 2020-06-28 11:57:57 +02:00
Jamie Magee
350a70f389
refactor: remove lodash, add fast-deep-equal (#6496) 2020-06-26 11:31:23 +02:00
Rhys Arkins
ceb7c22e04
fix(lerna): ignore scripts (#6581) 2020-06-25 07:43:15 +02:00
Rhys Arkins
031ad87b62 refactor: move ExternalHostError 2020-06-23 11:44:52 +02:00
Rhys Arkins
52a074e041
refactor: ExternalHostError (#6563) 2020-06-22 21:28:02 +02:00
Rhys Arkins
12c6698305 chore: better link for skipInstalls 2020-06-15 14:08:22 +02:00
Rhys Arkins
07d3afcd2a
feat(npm): call lerna directly instead of via npx (#6434)
BREAKING CHANGE: If installing renovate from npm, and also using lerna, then you now must install lerna prior to running renovate.
2020-06-05 07:30:13 +02:00
Rhys Arkins
a3d715981f fix(npm): delete lock files before lock file maintenance 2020-06-03 12:28:37 +02:00
Rhys Arkins
098ed9a09c feat(lerna): dynamic npm and yarn versioning
Closes #6369
2020-06-03 08:06:28 +02:00
Rhys Arkins
3a49eeaaf6 fix(yarn): yarn not npm typo 2020-06-03 07:26:05 +02:00
Rhys Arkins
9f30c11464 feat(yarn): dynamic version selection
Closes #6281
2020-06-03 07:24:53 +02:00
Rhys Arkins
2e0e69c954 feat(pnpm): dynamic version selection
Closes #6361
2020-06-03 07:13:36 +02:00
Rhys Arkins
04289fb158 fix(yarn): always ignore engines and platform 2020-06-03 07:01:30 +02:00
Rhys Arkins
8a7d0c2316 feat(pnpm): extract pnpm from engines for updating 2020-06-03 06:59:56 +02:00
Rhys Arkins
fac38a1dae
feat(npm): dynamic npm version install (#6415)
Closes #6360
2020-06-03 06:38:20 +02:00
Rhys Arkins
baa25aa0cf fix(npm): ignore scripts even for package lock only 2020-06-02 23:14:43 +02:00
Rhys Arkins
5dafa051ff refactor(npm): extract node compatibility 2020-06-02 22:14:04 +02:00
Rhys Arkins
f8ad10e69e refactor: pass config to getNodeConstraint 2020-06-02 20:09:54 +02:00
Rhys Arkins
6c798e5fcd fix(yarn): don’t massage out yarn-path 2020-06-02 19:42:20 +02:00
Rhys Arkins
6516cc1d50
feat(lerna): use docker exec (#6407)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-06-02 14:41:03 +02:00
Rhys Arkins
8d4970b60a
feat(npm): dynamic node tag selection (#6405)
Detects preferred node version for npm, yarn and pnpm docker calls.
2020-06-02 10:46:02 +02:00
Rhys Arkins
d56e8575a6 fix(npm): don’t massage engines and scripts 2020-06-02 09:15:39 +02:00
Rhys Arkins
c24c510dfc
fix: npm docker use util/exec/docker (#6383) 2020-06-02 08:57:16 +02:00
Rhys Arkins
b5b3f606f9 fix(npm): don’t massage name, engines, scripts 2020-06-02 07:17:04 +02:00
Rhys Arkins
85fabeef97 fix(yarn): set network timeout 2020-06-01 07:24:28 +02:00
Rhys Arkins
d88159f235 refactor: yarn/pnpm env 2020-05-30 19:59:31 +02:00
Rhys Arkins
f9dcf36cbc fix(yarn): try/catch yarnrc check 2020-05-30 12:40:50 +02:00
Rhys Arkins
d474fd2a77
feat(yarn): optimize installs by skipping node_modules (#6381)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-05-30 10:57:07 +02:00
Rhys Arkins
0d6a0a0aaa
feat(internal): yarn use util/env/docker (#6286)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-05-29 08:43:09 +02:00
Christophe Hurpeau
13842f655a
feat(yarn): update yarn-deduplicate to v2 (#6326) 2020-05-26 11:12:55 +02:00
Rhys Arkins
0853fd4a74 refactor: revert yarnv2 logic 2020-05-20 11:17:20 +02:00
Rhys Arkins
dad4e12492 chore: remove unused yarnIntegrity and mutex 2020-05-20 11:17:06 +02:00
Rhys Arkins
680edf3d1a
refactor: pnpm lockfile updates use util/exec docker (#6282) 2020-05-19 18:11:08 +02:00
Rhys Arkins
8b2bba2e2a fix(pnpm): use renovate/node for artifacts generation 2020-05-19 13:48:03 +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
Jamie Magee
53ce3cf4d6
chore(jest): add eslint jest checks (#5986) 2020-05-18 14:33:44 +02:00
Rhys Arkins
26fd21cd53
refactor: parentBranch -> reuseExistingBranch (#6236) 2020-05-15 12:45:03 +02:00