Skip to content

Commit 0b723eb

Browse files
author
freddydk
committed
use submodules
1 parent 240b5cc commit 0b723eb

17 files changed

+75
-36
lines changed

BC.ALGoHelper.module.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@
88
"Desktop"
99
],
1010
"RequiredModules": [
11-
"BC.HelperFunctions",
12-
"BC.AuthenticationHelper"
11+
"BC.HelperFunctions"
1312
],
1413
"files": [
1514
"InitializeModule.ps1",

BC.ALGoHelper.psm1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ param(
77
-Silent:$Silent `
88
-bcContainerHelperConfigFile $bcContainerHelperConfigFile `
99
-moduleName $MyInvocation.MyCommand.Name `
10-
-moduleDependencies @( 'BC.HelperFunctions', 'BC.AuthenticationHelper' )
10+
-moduleDependencies @( 'BC.HelperFunctions' )
1111

1212
. (Join-Path $PSScriptRoot "HelperFunctions.ps1")
1313

BC.AppSourceHelper.module.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@
88
"Desktop"
99
],
1010
"RequiredModules": [
11-
"BC.HelperFunctions",
12-
"BC.AuthenticationHelper"
11+
"BC.HelperFunctions"
1312
],
1413
"files": [
1514
"InitializeModule.ps1",

BC.AppSourceHelper.psm1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ param(
77
-Silent:$Silent `
88
-bcContainerHelperConfigFile $bcContainerHelperConfigFile `
99
-moduleName $MyInvocation.MyCommand.Name `
10-
-moduleDependencies @( 'BC.HelperFunctions', 'BC.AuthenticationHelper' )
10+
-moduleDependencies @( 'BC.HelperFunctions' )
1111

1212
. (Join-Path $PSScriptRoot "HelperFunctions.ps1")
1313

BC.AuthenticationHelper.psm1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ param(
1111

1212
. (Join-Path $PSScriptRoot "HelperFunctions.ps1")
1313

14-
# BC SaaS specific functions
14+
# BC Authentication helper functions
1515
. (Join-Path $PSScriptRoot "Auth\New-BcAuthContext.ps1")
1616
. (Join-Path $PSScriptRoot "Auth\Renew-BcAuthContext.ps1")

BC.HelperFunctions.module.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"HelperFunctions.ps1",
1313
"TelemetryHelper.ps1",
1414
"Microsoft.ApplicationInsights.dll",
15-
"Common\\*"
15+
"Common\\*",
16+
"Auth\\*"
1617
]
1718
}

BC.HelperFunctions.psm1

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,3 +215,7 @@ Export-ModuleMember -Function TrackException
215215
. (Join-Path $PSScriptRoot "Common\Invoke-gh.ps1")
216216
. (Join-Path $PSScriptRoot "Common\Invoke-git.ps1")
217217
. (Join-Path $PSScriptRoot "Common\ConvertTo-OrderedDictionary.ps1")
218+
219+
# BC Authentication helper functions
220+
. (Join-Path $PSScriptRoot "Auth\New-BcAuthContext.ps1")
221+
. (Join-Path $PSScriptRoot "Auth\Renew-BcAuthContext.ps1")

BC.NuGetHelper.module.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@
88
"Desktop"
99
],
1010
"RequiredModules": [
11-
"BC.HelperFunctions",
12-
"BC.AuthenticationHelper"
11+
"BC.HelperFunctions"
1312
],
1413
"files": [
1514
"InitializeModule.ps1",

BC.NuGetHelper.psm1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ param(
77
-Silent:$Silent `
88
-bcContainerHelperConfigFile $bcContainerHelperConfigFile `
99
-moduleName $MyInvocation.MyCommand.Name `
10-
-moduleDependencies @( 'BC.HelperFunctions', 'BC.AuthenticationHelper' )
10+
-moduleDependencies @( 'BC.HelperFunctions' )
1111

1212
. (Join-Path $PSScriptRoot "HelperFunctions.ps1")
1313

BC.SaasHelper.module.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@
88
"Desktop"
99
],
1010
"RequiredModules": [
11-
"BC.HelperFunctions",
12-
"BC.AuthenticationHelper"
11+
"BC.HelperFunctions"
1312
],
1413
"files": [
1514
"InitializeModule.ps1",

0 commit comments

Comments
 (0)