forked from KelvinTegelaar/CIPP
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'KelvinTegelaar:main' into main
- Loading branch information
Showing
12 changed files
with
76 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
$Path = (Get-Item $PSScriptRoot).Parent.Parent.FullName | ||
|
||
if (-not(Get-Command npm)) { | ||
throw 'npm is required to install the CIPP development environment' | ||
} | ||
|
||
if (-not(Get-Command azurite)) { | ||
Write-Host 'Installing Azurite' | ||
npm install --global 'azurite' | ||
} | ||
|
||
if (-not(Get-Command swa)) { | ||
Write-Host 'Installing @azure/static-web-apps-cli' | ||
npm install --global '@azure/static-web-apps-cli' | ||
} | ||
|
||
if (-not(Get-Command func)) { | ||
Write-Host 'Installing Azure Functions Core Tools' | ||
npm install --global 'azure-functions-core-tools@4' --unsafe-perms true | ||
} | ||
|
||
if (-not(Get-Command yarn)) { | ||
Write-Host 'Installing Yarn' | ||
npm install --global yarn | ||
} | ||
|
||
if (-not(yarn list --global --pattern 'next' | Select-String -Pattern 'next')) { | ||
Write-Host 'Installing Next.js' | ||
yarn install --global next --network-timeout 500000 | ||
} | ||
|
||
yarn install --cwd (Join-Path $Path "CIPP") --network-timeout 500000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{ | ||
"version": "7.0.2" | ||
"version": "7.0.3" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters