Skip to content

Commit

Permalink
Removed --no-save, which is different in npm and other package managers
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianRappl committed Nov 13, 2024
1 parent a2e6f33 commit c2deee1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Piral Changelog

## 1.7.3 (tbd)

- Fixed `pilet upgrade` command with `npm` client not changing *package.json*

## 1.7.2 (November 8, 2024)

- Fixed removal of `MutationEvent` in recent Chrome in `piral-blazor` (#724) by @dheid
Expand Down
2 changes: 1 addition & 1 deletion src/tooling/piral-cli/src/apps/upgrade-pilet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ export async function upgradePilet(baseDir = process.cwd(), options: UpgradePile
if (!monorepoRef) {
// only install the latest if the shell does come from remote
progress(`Updating npm package to %s ...`, packageRef);
await installNpmPackage(npmClient, packageRef, root, '--no-save');
await installNpmPackage(npmClient, packageRef, root);
}

const piralInfo = await readPiralPackage(root, sourceName);
Expand Down

0 comments on commit c2deee1

Please sign in to comment.