Skip to content

Commit

Permalink
fix default pure add in workspaces
Browse files Browse the repository at this point in the history
  • Loading branch information
wclr committed Aug 25, 2021
1 parent 214ab03 commit f2d963b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Yalc changelog

## 1.0.0.pre.54 (Unreleased)

- fix default pure add in workspaces (regression)

## 1.0.0.pre.53 (2021-04-28)

- support ^/~/\* workspace package resolution while publish
Expand Down
3 changes: 1 addition & 2 deletions src/yalc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -163,12 +163,11 @@ yargs
.help(true)
},
handler: (argv) => {
const pure = !!argv.pure
return addPackages(argv._.slice(1), {
dev: argv.dev,
linkDep: argv.link,
restore: argv.restore,
pure,
pure: argv.pure,
workspace: argv.workspace,
update: argv.update || argv.upgrade,
workingDir: process.cwd(),
Expand Down

0 comments on commit f2d963b

Please sign in to comment.