Skip to content

Commit

Permalink
create package lock only after migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
timonmasberg committed Jul 3, 2023
1 parent f78a373 commit f713aad
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ As I have done this mostly just to fit our needs over at [Kordis](https://github
Also tests are currently rare ;)
I highly appreciate any contribution.
Make sure to run `npm all` before pushing and to check-in the `dist` folder if you make changes in `src`.
Make sure to run `npm run all` before pushing and to check-in the `dist` folder if you make changes in `src`.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -21428,7 +21428,7 @@ function migrate(keepMigrationsFile, legacyPeerDeps) {
env: Object.assign(Object.assign({}, process.env), { npm_config_yes: 'true', npm_config_legacy_peer_deps: String(legacyPeerDeps) })
});
// sometimes migrations change packages without installing them, so naivly install dependencies here again
yield (0, exec_1.exec)('npm i', [], {
yield (0, exec_1.exec)('npm i --package-lock-only', [], {
env: Object.assign(Object.assign({}, process.env), { npm_config_legacy_peer_deps: String(legacyPeerDeps) })
});
if (!keepMigrationsFile) {
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

0 comments on commit f713aad

Please sign in to comment.