Skip to content

Commit

Permalink
chore(lock): lock dependencies (#3606)
Browse files Browse the repository at this point in the history
Lock all dependencies using package-lock files. We've gone back and forth on this. The last time we removed the package-lock files we did so because we were unhappy with dependabot's version bumps. We now use renovate bot and they [recommend using a lock file](https://docs.renovatebot.com/dependency-pinning/#so-whats-best).

I hate a failing publish pipeline for the simple reason of babel pushing an update to their types 🙈

- chore(babel-types): support latest babel types definition
- chore(lock): lock dependencies
  • Loading branch information
nicojs committed Jun 28, 2022
1 parent b641cb6 commit e9fd562
Show file tree
Hide file tree
Showing 27 changed files with 18,422 additions and 16 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,4 @@ packages/report.*.json # Ignore heap dumps
*.tmp.txt
tsconfig.*.tsbuildinfo
packages/core/schema
packages/*/package-lock.json
__filterSpecs.js
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@
},
"scripts": {
"all": "npm run clean && npm run build && npm run lint && npm run test",
"postinstall": "lerna bootstrap --no-ci -- --legacy-peer-deps",
"postinstall": "lerna bootstrap -- --legacy-peer-deps",
"lint": "eslint . --resolve-plugins-relative-to . --ext .ts,.js",
"lint:fix": "npm run lint -- --fix",
"clean": "rimraf \"packages/*/{package-lock.json,.nyc_output,reports,coverage,src-generated,*.tsbuildinfo,.stryker-tmp,dist,testResources/tmp}\" \"packages/core/schema/stryker-schema.json\"",
"clean": "rimraf \"packages/*/{.nyc_output,reports,coverage,src-generated,*.tsbuildinfo,.stryker-tmp,dist,testResources/tmp}\" \"packages/core/schema/stryker-schema.json\"",
"generate": "node tasks/generate-json-schema-to-ts.js && node tasks/generate-mono-schema.js",
"prebuild": "npm run generate",
"build": "tsc -b && lerna run build",
Expand Down
1 change: 0 additions & 1 deletion packages/api/.npmrc

This file was deleted.

90 changes: 90 additions & 0 deletions packages/api/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion packages/core/.npmrc

This file was deleted.

Loading

0 comments on commit e9fd562

Please sign in to comment.