Browse Source

Merge pull request #7014 from abpframework/chore/volo-4295

Added the time log for the commands to the publish.ps1
pull/7017/head
Muhammed Altuğ 6 years ago
committed by GitHub
parent
commit
67276f900e
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      npm/ng-packs/packages/theme-basic/src/lib/theme-basic.module.ts
  2. 626
      npm/ng-packs/yarn.lock
  3. 6
      npm/publish.ps1

5
npm/ng-packs/packages/theme-basic/src/lib/theme-basic.module.ts

@ -5,6 +5,7 @@ import { NgbCollapseModule, NgbDropdownModule } from '@ng-bootstrap/ng-bootstrap
import {
NgxValidateCoreModule,
VALIDATION_ERROR_TEMPLATE,
VALIDATION_INVALID_CLASSES,
VALIDATION_TARGET_SELECTOR,
} from '@ngx-validate/core';
import { AccountLayoutComponent } from './components/account-layout/account-layout.component';
@ -70,6 +71,10 @@ export class ThemeBasicModule {
provide: VALIDATION_TARGET_SELECTOR,
useValue: '.form-group',
},
{
provide: VALIDATION_INVALID_CLASSES,
useValue: 'is-invalid',
},
],
};
}

626
npm/ng-packs/yarn.lock

File diff suppressed because it is too large

6
npm/publish.ps1

@ -39,6 +39,7 @@ $commands = (
)
foreach ($command in $commands) {
$timer = [System.Diagnostics.Stopwatch]::StartNew()
Write-Host $command
Invoke-Expression $command
if ($LASTEXITCODE -ne '0' -And $command -notlike '*cd *') {
@ -46,4 +47,9 @@ foreach ($command in $commands) {
Set-Location $RootFolder
exit $LASTEXITCODE
}
$timer.Stop()
$total = $timer.Elapsed
Write-Output "-------------------------"
Write-Output "$command command took $total (Hours:Minutes:Seconds.Milliseconds)"
Write-Output "-------------------------"
}
Loading…
Cancel
Save