-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: issue-5280 Ensure save flags update package.json #7233
base: latest
Are you sure you want to change the base?
Changes from 2 commits
0b07587
0b5416c
1f3c284
f7e4d7d
7db7c47
8e19394
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1813,6 +1813,7 @@ define('save-dev', { | |
return | ||
} | ||
|
||
flatOptions.save = true | ||
flatOptions.saveType = 'dev' | ||
}, | ||
}) | ||
|
@@ -1849,6 +1850,8 @@ define('save-optional', { | |
return | ||
} | ||
|
||
flatOptions.save = true | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
|
||
if (flatOptions.saveType === 'peerOptional') { | ||
return | ||
} | ||
|
@@ -1877,6 +1880,8 @@ define('save-peer', { | |
return | ||
} | ||
|
||
flatOptions.save = true | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
|
||
if (flatOptions.saveType === 'peerOptional') { | ||
return | ||
} | ||
|
@@ -1928,6 +1933,7 @@ define('save-prod', { | |
return | ||
} | ||
|
||
flatOptions.save = true | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
flatOptions.saveType = 'prod' | ||
}, | ||
}) | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
save-dev