diff --git a/.scripts/common.ts b/.scripts/common.ts index 595641e39d2..4799263c803 100644 --- a/.scripts/common.ts +++ b/.scripts/common.ts @@ -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)) }); -} \ No newline at end of file +} diff --git a/package.json b/package.json index 28bda1c38c3..25778ad91c5 100644 --- a/package.json +++ b/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",