Commit graph

302 commits

Author SHA1 Message Date
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