Skip to content

Commit

Permalink
Enable building eventhubs in the new engineering system
Browse files Browse the repository at this point in the history
And disable the automatic publishing for eventhubs packages
  • Loading branch information
jeremymeng committed Feb 15, 2019
1 parent 8161955 commit a7f0023
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .scripts/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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 changes: 10 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit a7f0023

Please sign in to comment.