Skip to content

Commit 4fd14b7

Browse files
Add notes on PSDependOptions for clarity on user scope installation
1 parent cdf38c7 commit 4fd14b7

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

requirements.psd1

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
11
@{
2+
# NOTE:
3+
# PSDependOptions with Target = 'CurrentUser' installs all declared module
4+
# dependencies into the current user's scope rather than system-wide.
5+
# This can impact multi-user development or shared build environments,
6+
# where each user/agent will get their own copy of the dependencies.
7+
PSDependOptions = @{
8+
Target = 'CurrentUser'
9+
}
210
'InvokeBuild' = @{
311
'Version' = '5.14.22'
412
'Repository' = 'PSGallery'

0 commit comments

Comments
 (0)