Enable building eventhubs in the new engineering system
And disable the automatic publishing for eventhubs packages
This commit is contained in:
Родитель
8161955b21
Коммит
a7f0023e02
|
@ -102,7 +102,13 @@ function isPackageFolderPath(folderPath: string, packagesToIgnore: string[]): bo
|
|||
return result;
|
||||
}
|
||||
|
||||
export const packagesToIgnore: string[] = ["@azure/keyvault", "@azure/template", "@azure/service-bus"];
|
||||
export const packagesToIgnore: string[] = [
|
||||
"@azure/event-hubs",
|
||||
"@azure/event-processor-host",
|
||||
"@azure/keyvault",
|
||||
"@azure/service-bus",
|
||||
"@azure/template"
|
||||
];
|
||||
export const folderNamesToIgnore: string[] = ["node_modules"];
|
||||
|
||||
export function getPackageFolderPaths(packagesFolderPath: string): string[] | undefined {
|
||||
|
@ -111,4 +117,4 @@ export function getPackageFolderPaths(packagesFolderPath: string): string[] | un
|
|||
condition: (folderPath: string) => isPackageFolderPath(folderPath, packagesToIgnore),
|
||||
folderCondition: (folderPath: string) => !contains(folderNamesToIgnore, getName(folderPath))
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
10
package.json
10
package.json
|
@ -32,22 +32,32 @@
|
|||
"check:everything": "ts-node ./.scripts/checkEverything.ts",
|
||||
"latest": "ts-node ./.scripts/latest.ts",
|
||||
"local": "ts-node ./.scripts/local.ts",
|
||||
"install-client-eventhubs": "cd packages/@azure/eventhubs/client && npm install",
|
||||
"install-client-event-processor-host": "cd packages/@azure/eventhubs/processor && npm install",
|
||||
"install-client-keyvault": "cd packages/@azure/keyvault && npm install",
|
||||
"install-client-template": "cd packages/@azure/template && npm install",
|
||||
"install-client-servicebus": "cd packages/@azure/servicebus/data-plane && npm install",
|
||||
"install-client": "npm-run-all -p -l install-client-*",
|
||||
"build-client-eventhubs": "cd packages/@azure/eventhubs/client && npm run build",
|
||||
"build-client-event-processor-host": "cd packages/@azure/eventhubs/processor && npm run build",
|
||||
"build-client-keyvault": "cd packages/@azure/keyvault && npm run build",
|
||||
"build-client-template": "cd packages/@azure/template && npm run build",
|
||||
"build-client-servicebus": "cd packages/@azure/servicebus/data-plane && npm run build",
|
||||
"build-client": "npm-run-all -p -l build-client-*",
|
||||
"pack-client-eventhubs": "cd packages/@azure/eventhubs/client && npm pack",
|
||||
"pack-client-event-processor-host": "cd packages/@azure/eventhubs/processor && npm pack",
|
||||
"pack-client-keyvault": "cd packages/@azure/keyvault && npm pack",
|
||||
"pack-client-template": "cd packages/@azure/template && npm pack",
|
||||
"pack-client-servicebus": "cd packages/@azure/servicebus/data-plane && npm pack",
|
||||
"pack-client": "npm-run-all -p -l pack-client-*",
|
||||
"test-client-template": "cd packages/@azure/template && npm run test",
|
||||
"test-client": "npm-run-all -p -l \"test-client-* -- {@}\"",
|
||||
"live-test-client-eventhubs": "cd packages/@azure/eventhubs/client && npm run unit",
|
||||
"live-test-client-event-processor-host": "cd packages/@azure/eventhubs/processor && npm run unit",
|
||||
"live-test-client-servicebus": "cd packages/@azure/servicebus/data-plane && npm run unit",
|
||||
"live-test-client": "npm-run-all -p -l \"live-test-client-* -- {@}\"",
|
||||
"audit-client-eventhubs": "cd packages/@azure/eventhubs/client && npm i --package-lock-only && npm audit",
|
||||
"audit-client-event-processor-host": "cd packages/@azure/eventhubs/processor && npm i --package-lock-only && npm audit",
|
||||
"audit-client-keyvault": "cd packages/@azure/keyvault && npm i --package-lock-only && npm audit",
|
||||
"audit-client-template": "cd packages/@azure/template && npm i --package-lock-only && npm audit",
|
||||
"audit-client-servicebus": "cd packages/@azure/servicebus/data-plane && npm i --package-lock-only && npm audit",
|
||||
|
|
Загрузка…
Ссылка в новой задаче