Rhys Arkins
642061b9c3
refactor: reduce written npm files ( #6240 )
2020-05-14 21:04:10 +02:00
Rhys Arkins
08922f4fba
fix: quote remaining artifacts
2020-05-11 18:25:52 +02:00
Rhys Arkins
9777173461
refactor: remove unused mutex options ( #6175 )
2020-05-08 20:17:50 +02:00
Rhys Arkins
899b351643
refactor: split extractAllDependencies logic
2020-05-03 17:03:23 +02:00
Rhys Arkins
53ca91301f
chore: import linting ( #6105 )
2020-05-01 18:03:48 +02:00
Rhys Arkins
ff5921fd86
fix: check if lerna file found after parsing
2020-04-21 17:09:03 +02:00
Rhys Arkins
5145c044ff
refactor: manager extract readLocalFile instead of platform.getFile
2020-04-19 11:41:21 +02:00
Rhys Arkins
7f652315a3
test: fix coveralls coverage
2020-04-14 19:04:46 +02:00
Christophe Hurpeau
ccf8569165
feat: yarn 2 ( #5657 )
...
* feat: yarn 2
* Apply suggestions from code review
Co-Authored-By: Michael Kriese <michael.kriese@visualon.de>
* refactor: move yarnMajorVersion test
* test: apply patch from @JamieMagee
see https://github.com/renovatebot/renovate/pull/5657#issuecomment-611205192
* test: update snapshots
* prettier-fix
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Jamie Magee <jamie.magee@gmail.com>
2020-04-13 11:23:47 +02:00
Michael Kriese
19b789abe7
feat(lerna): use docker and npx ( #5940 )
2020-04-13 07:43:39 +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
59d140fc25
feat(internal): template fields enforcement ( #5880 )
2020-04-06 12:55:34 +02:00
k2snowman69
5ba8570699
feat(npm): Added host rules support ( #5164 )
2020-03-30 09:04:25 +02:00
Jamie Magee
5ce5ef39c1
chore(internal): disallow implicit braces ( #5730 )
2020-03-17 12:15:22 +01:00
Michael Kriese
d78d211b4c
feat: npm resolutions ( #5689 )
2020-03-11 07:17:42 +01:00
Rhys Arkins
09e381cead
fix: Revert "feat(npm): update resolutions ( #5636 )"
...
This reverts commit c974929a62
.
2020-03-10 14:58:03 +01:00
Michael Kriese
c974929a62
feat(npm): update resolutions ( #5636 )
2020-03-10 06:52:27 +01:00
Rhys Arkins
b7a01d39a6
fix(npm): check res.stderr
2020-03-09 20:34:28 +01:00
Viral Ruparel
92d123a1f8
fix: create constants for skipReason
( #5660 )
2020-03-09 05:34:16 +01:00
Rhys Arkins
4f71eff4ab
chore: fix types ( #5645 )
2020-03-05 16:01:03 +01:00
Michael Kriese
92722fc00c
feat: deprecate yarn v1.9.4 ( #5629 )
2020-03-03 08:46:47 +01:00
Rhys Arkins
6293edc19a
feat: replace datasource constants with IDs ( #5595 )
...
Co-Authored-By: Michael Kriese <michael.kriese@visualon.de>
2020-03-01 08:01:12 +01:00
Rhys Arkins
b610cf4dae
feat: rename github/gitlab datasources ( #5581 )
2020-02-27 21:36:31 +01:00
Rhys Arkins
cb5da82acc
docs: move manager docs out of config options ( #5410 )
2020-02-25 06:45:00 +01:00
Rhys Arkins
f1d0b7b5fe
refactor: lower some levels from info to debug
...
Ref #5555
2020-02-24 09:26:42 +01:00
Rhys Arkins
f0f8fd195e
fix: stdout/err initialization
2020-02-22 07:13:11 +01:00
Rhys Arkins
5dbfd54aff
refactor: centralize matchAt and replaceAt ( #5540 )
2020-02-21 14:52:48 +01:00
Rhys Arkins
485f66914e
feat: versionScheme -> versioning ( #5504 )
2020-02-18 08:34:10 +01:00
Rhys Arkins
12166f5540
fix(datasource): better DatasourceError handling
2020-02-14 09:19:45 +01:00
Rhys Arkins
5d454ca3ff
fix(yarn): offline integrity hash ( #5449 )
2020-02-13 06:39:07 +01:00
Michael Kriese
26c03731a4
chore(datasource): move test files to lib ( #5426 )
2020-02-11 05:08:10 +00:00
Rhys Arkins
864e554db9
feat: dynamic manager config ( #5392 )
2020-02-07 18:25:27 +00:00
Rhys Arkins
9e6b9e769a
fix(lerna): try/catch lerna.json parsing
2020-02-06 17:15:03 +01:00
Sourav Das
987e0a2bfd
refactor(function): Update Dependency Function ( #5146 )
2020-02-06 13:01:21 +00:00
Michael Kriese
2ffad1363e
chore(eslint): stricter settings ( #5375 )
2020-02-05 18:17:20 +00:00
Michael Kriese
4004f46c0b
refactor(test): move manager tests to lib ( #5300 )
2020-02-05 01:14:31 +01:00
Michael Kriese
8719f70dea
chore(eslint): simplify / update settings ( #5296 )
2020-02-04 10:37:00 +01:00
Rhys Arkins
e12d8f0437
refactor: remove unnecessary manager literals
2020-02-03 14:16:23 +01:00
Sourav Das
520429f1bd
feat(constants): Version Scheme Constants ( #5159 )
2020-01-21 17:11:25 +01:00
Sergio Zharinov
ef7357d022
fix(exec): Refactor binarySource out to global setting ( #5190 )
...
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-01-20 16:50:32 +01:00
Sourav Das
6dc76f2e46
feat(constants): Language list constants ( #5167 )
...
1. All languages are moved to constants/languages.ts
2. Updated all the references
2020-01-17 10:14:20 +01:00
Sourav Das
4e7c938ec7
feat(constants): Manager Constants ( #5168 )
2020-01-16 16:22:33 +01:00
renovate[bot]
36a37dada8
chore(deps): update dependency prettier to v1.19.1 ( #5169 )
...
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-01-16 16:21:07 +01:00
Sourav Das
58c444cb7e
feat(constants): Data Source and Binary Source Constants ( #5157 )
2020-01-16 12:14:35 +01:00
Rhys Arkins
57300ead3d
feat: centralized exec timing ( #5153 )
2020-01-15 08:14:44 +01:00
Sourav Das
ee153e560e
feat: use error constants ( #5088 ) ( #5100 )
...
Use defined error constants throughout codebase.
2020-01-12 08:50:11 +01:00
Rhys Arkins
1617a193c0
refactor: move util/exec to own folder ( #5125 )
...
Also moves related docker and env files
2020-01-10 16:39:15 +01:00
Sergio Zharinov
1e5924430d
refactor: Avoid excessive process.env modifications ( #5114 )
2020-01-07 15:32:21 +00:00
Kirill Romanov
60faf8391b
fix(npm): remove pnpm bug 992 workaround ( #5002 )
2019-12-16 12:13:13 +02:00
Rhys Arkins
66ab41488c
feat: ignoreScripts ( #4963 )
...
Adds new `ignoreScripts` config option. If set to true, managers such as npm and composer will skip running install scripts even if trustLevel is configured to high.
Closes #4567
2019-12-11 13:59:03 +02:00
Jamie Magee
b3390514a4
refactor(eslint): fix eslint warnings in manager ( #4865 )
2019-11-23 21:44:55 +01:00
Rhys Arkins
a12ef53b9c
fix: escape docker volumes and working dir values
2019-11-23 11:08:16 +01:00
Kirill Romanov
edc2dc3bac
fix(pnpm): stop ignore pnpmfile with high trust level ( #4845 )
2019-11-22 10:05:25 +01:00
Dominykas Blyžė
0d2db9032c
fix(npm): use package-lock as shrinkwrap when maintaining shrinkwrap ( #4776 )
...
When running the `lockFileMaintenance`, the lock file is removed before it gets recreated. When the lock file is not present, npm creates a `package-lock.json` by default, so we need to rename it to `npm-shrinkwrap.json` when we want to get an updated version.
2019-11-07 10:59:55 +01:00
Björn Dahlgren
24a9e290fd
feat: Allow specifying Docker user ( #4578 )
2019-10-05 13:56:58 +02:00
Nihal
87863f165e
feat: support for volta ( #4512 )
2019-09-25 11:01:35 +02:00
Michael Kriese
331863d211
feat(platform): remove global platform variable ( #4455 )
2019-09-10 09:50:29 +02:00
Rhys Arkins
a32c8f4ccc
fix: Revert "feat(platform): remove global platform variable ( #4448 )"
...
This reverts commit b5c9dc8e0b
.
2019-09-09 06:55:30 +02:00
Michael Kriese
b5c9dc8e0b
feat(platform): remove global platform variable ( #4448 )
2019-09-09 04:40:52 +02:00
Rhys Arkins
d0a32a53f7
logs: downgrade npm update logging
2019-08-27 15:17:36 +02:00
IKEDA Sho
081a23e6fc
chore(manager): add more type annotations ( #4344 )
2019-08-22 17:42:35 +02:00
Rhys Arkins
7379d548a9
feat(npm): dockerMapDotfiles ( #4219 )
2019-07-30 07:43:36 +02:00
Rhys Arkins
e8eb055b46
fix(npm): remove copyLocalLibs functionality
2019-07-28 21:34:38 +02:00
Michael Kriese
6f99118f7c
feat(manager): convert to typescript ( #4148 )
2019-07-25 08:17:19 +02:00
Michael Kriese
709a2bc1ec
fix(manager): add missing encodings ( #4166 )
2019-07-24 10:29:48 +02:00
Michael Kriese
fd847da4a8
fix: refactor exec ( #4155 )
2019-07-23 14:39:15 +02:00
Rhys Arkins
b8b435b0fa
feat(npm): support binarySource=docker ( #4150 )
2019-07-23 10:20:27 +02:00
Rhys Arkins
eee428f973
feat(pnpm): support binarySource=docker ( #4151 )
2019-07-23 08:50:09 +02:00
azu
6333646e6d
fix(npm): fix detecting logic of npmClient ( #4130 )
...
fix(npm): fix detecting logic of npmClient
2019-07-20 09:46:47 +02:00
Rhys Arkins
34a96ad327
fix(yarn): no utf for added offline modules
...
Closes #4126
2019-07-19 11:20:52 +02:00
Michael Kriese
d97737914e
refactor: add js type check ( #4098 )
2019-07-17 10:14:56 +02:00
Rhys Arkins
7fc1207683
feat(yarn): support yarn offline mirror ( #4102 )
...
Look for .yarnrc in same directory as yarn.lock. If found, look for yarn-offine-mirror line and check that folder for changes.
Closes #1452
2019-07-17 09:13:07 +02:00
Michael Kriese
855d5fbae3
fix: fix logging ( #4100 )
2019-07-16 13:47:29 +02:00
Jamie Magee
f334c568a5
feat(typescript): convert logger to typescript ( #3671 )
2019-07-15 11:04:05 +02:00
praveshtora
aaa80f8055
fix: Pass PROXY in child Process ( #4013 )
2019-07-13 08:23:03 +02:00
Rhys Arkins
32009378de
fix(npm): full npm install if deduping
...
Closes #3972
2019-06-27 10:39:03 +03:00
Rhys Arkins
14c3e7e9e4
fix(lerna): detect undeclared npmClient=yarn
2019-06-03 22:24:40 +02:00
Rhys Arkins
9219d34521
fix(yarn): run yarn again after dedupe ( #3871 )
2019-06-03 10:05:56 +02:00
Rhys Arkins
5f11c5e8d9
feat: hostRules rewrite ( #3801 )
...
Rewrites hostRules for increased flexibility. Includes renames of existing fields within a hostRule:
- `endpoint` -> `baseUrl`
- `host` -> `hostName`
Additionally, `domainName` has been added. Migration scripts should take care of these for users but it's recommended to update configs to match the new fields anyway.
2019-05-24 17:40:39 +02:00
Michael Kriese
5f213255d0
test: fix coverage ( #3794 )
2019-05-24 15:01:07 +02:00
Rhys Arkins
c02abf0976
feat: rename hostRules.platform to hostRules.hostType ( #3768 )
...
Refactors hostRules to use field “hostType” instead of “platform”. hostType can include datasources like npm, maven, pypi, etc.
2019-05-21 13:20:09 +02:00
Rhys Arkins
dbb1332a04
fix(npm): ignoreNpmrcFile until artifact generation
2019-05-20 23:37:43 +02:00
Rhys Arkins
735121fd39
fix(npm): remove npmrc file before artifacts if ignored
2019-05-20 20:59:15 +02:00
Rhys Arkins
f9596fc7ea
chore: less debug logging
2019-05-15 07:33:22 +02:00
Rhys Arkins
49c4ad07c7
fix(lerna): support update-lockfile with npm ( #3623 )
...
This fix allows update-lockfile updates to work with lerna/npm where there is a package-lock.json in every package. Still won’t work if there’s a mix of update-lockfile and non/update-lockfile updates within one branch though.
2019-05-02 18:16:22 +02:00
Rhys Arkins
e17f998fb7
fix(npm): catch disk-space error in stderr
2019-04-28 23:04:51 +02:00
Rhys Arkins
f68414fb2f
fix: less debug logging, more trace
2019-04-28 22:08:06 +02:00
Rhys Arkins
01753f986e
fix(lerna): check for both shrinkwrap and package lock
2019-04-28 10:51:21 +02:00
Michael Kriese
99530c4a85
fix(pnpm): shrinkwrap -> pnpm-lock ( #3602 )
2019-04-26 13:35:37 +02:00
Rhys Arkins
fa6dea0373
fix(npm): internalPackages typo
2019-04-25 18:26:23 +02:00
Rhys Arkins
924a43d090
fix(npm): full install for npm shrinkwrap
2019-04-25 09:31:09 +02:00
Rhys Arkins
2b4bf85b63
fix: run minimatch with dotfile matching enabled
2019-04-25 07:00:52 +02:00
Rhys Arkins
28f3ab69a6
fix(npm): lerna npm shrinkwrap lockFileMaintenance
2019-04-24 15:47:06 +02:00
Rhys Arkins
b3ad425b53
feat(npm): support package aliases ( #3577 )
...
Closes #3575
2019-04-23 10:48:09 +02:00
Wu Haotian
05e9c57a35
fix(npm): always run lerna bootstrap
with --no-ci
( #3571 )
...
fix(npm): always run `lerna bootstrap` with `--no-ci`
2019-04-21 10:52:41 +02:00
Rhys Arkins
3460dbe08c
fix(npm): remove local .npmrc file if ignoring
...
In gitFs, it’s not enough to just skip writing a .npmrc file if we are ignoring it - the file is already in the file system so we need to delete it so that npm/yarn don’t try to use it.
2019-04-16 23:09:35 +02:00
Rhys Arkins
6b1695e16d
fix(pnpm): define store location explicitly
2019-04-10 12:13:52 +02:00
Rhys Arkins
a599eab231
feat: unify file locations ( #3507 )
...
feat: unify file locations
2019-04-09 17:14:08 +02:00
Rhys Arkins
2419878761
logs: dedupe err.message
2019-04-08 08:52:04 +02:00
Rhys Arkins
c55481f78e
fix(npm): check string before comparing
...
Closes #3479
2019-04-03 23:12:03 +03:00