Created by: gabegorelick
-
Delete package-lock.json. Bull currently has both yarn.lock and package-lock.json files. When both are present, TravisCI uses yarn, so in practice npm has not been used by CI. But the presence of a package-lock.json file meant that contributors were not sure which lock file, if any, needed to be updated. Yarn also logs a scary warning if it detects a package-lock.json file.
-
Cache yarn dependencies in TravisCI. This should make CI jobs somewhat faster.
-
Update yarn.lock file and ensure that it remains in sync with package.json changes by using
--frozen-lockfile
.