Add checkEverything.ts
This commit is contained in:
Родитель
a8c34a5165
Коммит
a97f42f4dc
|
@ -0,0 +1,3 @@
|
|||
import { checkEverything } from "@ts-common/azure-js-dev-tools";
|
||||
|
||||
checkEverything();
|
|
@ -0,0 +1,3 @@
|
|||
import { checkForOnlyCalls } from "@ts-common/azure-js-dev-tools";
|
||||
|
||||
checkForOnlyCalls();
|
|
@ -1,3 +1,3 @@
|
|||
import { checkPackageJsonVersion } from "@ts-common/azure-js-dev-tools";
|
||||
|
||||
process.exitCode = checkPackageJsonVersion(__dirname);
|
||||
checkPackageJsonVersion();
|
|
@ -1,3 +0,0 @@
|
|||
import { checkTestsForOnly, resolvePath } from "@ts-common/azure-js-dev-tools";
|
||||
|
||||
checkTestsForOnly(resolvePath(__dirname, "..", "test"));
|
|
@ -2,6 +2,22 @@ trigger:
|
|||
- master
|
||||
|
||||
jobs:
|
||||
- job: Check_Everything
|
||||
pool:
|
||||
vmImage: 'Ubuntu 16.04'
|
||||
steps:
|
||||
- task: Npm@1
|
||||
displayName: 'npm install'
|
||||
inputs:
|
||||
command: custom
|
||||
verbose: false
|
||||
customCommand: install
|
||||
- task: Npm@1
|
||||
displayName: 'npm run check:everything -- --azure-devops'
|
||||
inputs:
|
||||
command: custom
|
||||
verbose: false
|
||||
customCommand: run check:everything -- --azure-devops
|
||||
- job: Test
|
||||
pool:
|
||||
vmImage: 'Ubuntu 16.04'
|
||||
|
@ -53,36 +69,4 @@ jobs:
|
|||
TargetFolder: drop
|
||||
- task: PublishBuildArtifacts@1
|
||||
inputs:
|
||||
pathtoPublish: $(Build.SourcesDirectory)/drop
|
||||
- job: Check_Tests_For_Only
|
||||
pool:
|
||||
vmImage: 'Ubuntu 16.04'
|
||||
steps:
|
||||
- task: Npm@1
|
||||
displayName: 'npm install'
|
||||
inputs:
|
||||
command: custom
|
||||
verbose: false
|
||||
customCommand: install
|
||||
- task: Npm@1
|
||||
displayName: 'npm run check:testsforonly -- --azure-devops'
|
||||
inputs:
|
||||
command: custom
|
||||
verbose: false
|
||||
customCommand: run check:testsforonly -- --azure-devops
|
||||
- job: Check_PackageJson_Version_Number
|
||||
pool:
|
||||
vmImage: 'Ubuntu 16.04'
|
||||
steps:
|
||||
- task: Npm@1
|
||||
displayName: 'npm install'
|
||||
inputs:
|
||||
command: custom
|
||||
verbose: false
|
||||
customCommand: install
|
||||
- task: Npm@1
|
||||
displayName: 'npm run check:packagejsonversion -- --azure-devops'
|
||||
inputs:
|
||||
command: custom
|
||||
verbose: false
|
||||
customCommand: run check:packagejsonversion -- --azure-devops
|
||||
pathtoPublish: $(Build.SourcesDirectory)/drop
|
|
@ -5,7 +5,7 @@
|
|||
"email": "azsdkteam@microsoft.com",
|
||||
"url": "https://github.com/Azure/ms-rest-azure-js"
|
||||
},
|
||||
"version": "1.2.3",
|
||||
"version": "1.2.4",
|
||||
"description": "Isomorphic Azure client runtime for Typescript/node.js/browser javascript client libraries generated using AutoRest",
|
||||
"tags": [
|
||||
"isomorphic",
|
||||
|
@ -41,11 +41,11 @@
|
|||
],
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@azure/ms-rest-js": "^1.2.4",
|
||||
"@azure/ms-rest-js": "^1.2.5",
|
||||
"tslib": "^1.9.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@ts-common/azure-js-dev-tools": "^0.5.5",
|
||||
"@ts-common/azure-js-dev-tools": "^0.6.0",
|
||||
"@types/chai": "^4.1.4",
|
||||
"@types/mocha": "^5.2.1",
|
||||
"@types/node": "^10.9.4",
|
||||
|
@ -107,7 +107,8 @@
|
|||
"local": "ts-node ./.scripts/local.ts",
|
||||
"latest": "ts-node ./.scripts/latest.ts",
|
||||
"check:packagejsonversion": "ts-node ./.scripts/checkPackageJsonVersion.ts",
|
||||
"check:testsforonly": "ts-node ./.scripts/checkTestsForOnly.ts"
|
||||
"check:foronlycalls": "ts-node ./.scripts/checkForOnlyCalls.ts",
|
||||
"check:everything": "ts-node ./.scripts/checkEverything.ts"
|
||||
},
|
||||
"sideEffects": false
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче