Skip to content

Commit f489005

Browse files
authored
[AAWF-420] Add prepack hook to build the common and the service package (#2264)
* add prepack hook * common hook as well
1 parent 59aad4c commit f489005

File tree

86 files changed

+86
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

86 files changed

+86
-0
lines changed

packages/datadog-api-client/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
"main": "./dist/index.js",
2525
"typings": "./dist/index.d.ts",
2626
"scripts": {
27+
"prepack": "yarn build",
2728
"build": "tsc"
2829
},
2930
"dependencies": {

services/action_connection/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"main": "./dist/index.js",
2626
"typings": "./dist/index.d.ts",
2727
"scripts": {
28+
"prepack": "yarn workspace @datadog/datadog-api-client build && yarn build",
2829
"build": "tsc"
2930
},
3031
"dependencies": {

services/agentless_scanning/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"main": "./dist/index.js",
2626
"typings": "./dist/index.d.ts",
2727
"scripts": {
28+
"prepack": "yarn workspace @datadog/datadog-api-client build && yarn build",
2829
"build": "tsc"
2930
},
3031
"dependencies": {

services/api_management/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"main": "./dist/index.js",
2626
"typings": "./dist/index.d.ts",
2727
"scripts": {
28+
"prepack": "yarn workspace @datadog/datadog-api-client build && yarn build",
2829
"build": "tsc"
2930
},
3031
"dependencies": {

services/apm_retention_filters/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"main": "./dist/index.js",
2626
"typings": "./dist/index.d.ts",
2727
"scripts": {
28+
"prepack": "yarn workspace @datadog/datadog-api-client build && yarn build",
2829
"build": "tsc"
2930
},
3031
"dependencies": {

services/app_builder/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"main": "./dist/index.js",
2626
"typings": "./dist/index.d.ts",
2727
"scripts": {
28+
"prepack": "yarn workspace @datadog/datadog-api-client build && yarn build",
2829
"build": "tsc"
2930
},
3031
"dependencies": {

services/application_security/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"main": "./dist/index.js",
2626
"typings": "./dist/index.d.ts",
2727
"scripts": {
28+
"prepack": "yarn workspace @datadog/datadog-api-client build && yarn build",
2829
"build": "tsc"
2930
},
3031
"dependencies": {

services/audit/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"main": "./dist/index.js",
2626
"typings": "./dist/index.d.ts",
2727
"scripts": {
28+
"prepack": "yarn workspace @datadog/datadog-api-client build && yarn build",
2829
"build": "tsc"
2930
},
3031
"dependencies": {

services/auth_n_mappings/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"main": "./dist/index.js",
2626
"typings": "./dist/index.d.ts",
2727
"scripts": {
28+
"prepack": "yarn workspace @datadog/datadog-api-client build && yarn build",
2829
"build": "tsc"
2930
},
3031
"dependencies": {

services/authentication/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"main": "./dist/index.js",
2626
"typings": "./dist/index.d.ts",
2727
"scripts": {
28+
"prepack": "yarn workspace @datadog/datadog-api-client build && yarn build",
2829
"build": "tsc"
2930
},
3031
"dependencies": {

services/aws_integration/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"main": "./dist/index.js",
2626
"typings": "./dist/index.d.ts",
2727
"scripts": {
28+
"prepack": "yarn workspace @datadog/datadog-api-client build && yarn build",
2829
"build": "tsc"
2930
},
3031
"dependencies": {

services/aws_logs_integration/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"main": "./dist/index.js",
2626
"typings": "./dist/index.d.ts",
2727
"scripts": {
28+
"prepack": "yarn workspace @datadog/datadog-api-client build && yarn build",
2829
"build": "tsc"
2930
},
3031
"dependencies": {

services/azure_integration/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"main": "./dist/index.js",
2626
"typings": "./dist/index.d.ts",
2727
"scripts": {
28+
"prepack": "yarn workspace @datadog/datadog-api-client build && yarn build",
2829
"build": "tsc"
2930
},
3031
"dependencies": {

services/case_management/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"main": "./dist/index.js",
2626
"typings": "./dist/index.d.ts",
2727
"scripts": {
28+
"prepack": "yarn workspace @datadog/datadog-api-client build && yarn build",
2829
"build": "tsc"
2930
},
3031
"dependencies": {

services/ci_visibility_pipelines/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"main": "./dist/index.js",
2626
"typings": "./dist/index.d.ts",
2727
"scripts": {
28+
"prepack": "yarn workspace @datadog/datadog-api-client build && yarn build",
2829
"build": "tsc"
2930
},
3031
"dependencies": {

services/ci_visibility_tests/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"main": "./dist/index.js",
2626
"typings": "./dist/index.d.ts",
2727
"scripts": {
28+
"prepack": "yarn workspace @datadog/datadog-api-client build && yarn build",
2829
"build": "tsc"
2930
},
3031
"dependencies": {

services/cloud_cost_management/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"main": "./dist/index.js",
2626
"typings": "./dist/index.d.ts",
2727
"scripts": {
28+
"prepack": "yarn workspace @datadog/datadog-api-client build && yarn build",
2829
"build": "tsc"
2930
},
3031
"dependencies": {

services/cloud_network_monitoring/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"main": "./dist/index.js",
2626
"typings": "./dist/index.d.ts",
2727
"scripts": {
28+
"prepack": "yarn workspace @datadog/datadog-api-client build && yarn build",
2829
"build": "tsc"
2930
},
3031
"dependencies": {

services/cloudflare_integration/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"main": "./dist/index.js",
2626
"typings": "./dist/index.d.ts",
2727
"scripts": {
28+
"prepack": "yarn workspace @datadog/datadog-api-client build && yarn build",
2829
"build": "tsc"
2930
},
3031
"dependencies": {

services/confluent_cloud/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"main": "./dist/index.js",
2626
"typings": "./dist/index.d.ts",
2727
"scripts": {
28+
"prepack": "yarn workspace @datadog/datadog-api-client build && yarn build",
2829
"build": "tsc"
2930
},
3031
"dependencies": {

services/container_images/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"main": "./dist/index.js",
2626
"typings": "./dist/index.d.ts",
2727
"scripts": {
28+
"prepack": "yarn workspace @datadog/datadog-api-client build && yarn build",
2829
"build": "tsc"
2930
},
3031
"dependencies": {

services/containers/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"main": "./dist/index.js",
2626
"typings": "./dist/index.d.ts",
2727
"scripts": {
28+
"prepack": "yarn workspace @datadog/datadog-api-client build && yarn build",
2829
"build": "tsc"
2930
},
3031
"dependencies": {

services/csm_agents/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"main": "./dist/index.js",
2626
"typings": "./dist/index.d.ts",
2727
"scripts": {
28+
"prepack": "yarn workspace @datadog/datadog-api-client build && yarn build",
2829
"build": "tsc"
2930
},
3031
"dependencies": {

services/csm_coverage_analysis/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"main": "./dist/index.js",
2626
"typings": "./dist/index.d.ts",
2727
"scripts": {
28+
"prepack": "yarn workspace @datadog/datadog-api-client build && yarn build",
2829
"build": "tsc"
2930
},
3031
"dependencies": {

services/csm_threats/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"main": "./dist/index.js",
2626
"typings": "./dist/index.d.ts",
2727
"scripts": {
28+
"prepack": "yarn workspace @datadog/datadog-api-client build && yarn build",
2829
"build": "tsc"
2930
},
3031
"dependencies": {

services/dashboard_lists/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"main": "./dist/index.js",
2626
"typings": "./dist/index.d.ts",
2727
"scripts": {
28+
"prepack": "yarn workspace @datadog/datadog-api-client build && yarn build",
2829
"build": "tsc"
2930
},
3031
"dependencies": {

services/dashboards/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"main": "./dist/index.js",
2626
"typings": "./dist/index.d.ts",
2727
"scripts": {
28+
"prepack": "yarn workspace @datadog/datadog-api-client build && yarn build",
2829
"build": "tsc"
2930
},
3031
"dependencies": {

services/data_deletion/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"main": "./dist/index.js",
2626
"typings": "./dist/index.d.ts",
2727
"scripts": {
28+
"prepack": "yarn workspace @datadog/datadog-api-client build && yarn build",
2829
"build": "tsc"
2930
},
3031
"dependencies": {

services/domain_allowlist/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"main": "./dist/index.js",
2626
"typings": "./dist/index.d.ts",
2727
"scripts": {
28+
"prepack": "yarn workspace @datadog/datadog-api-client build && yarn build",
2829
"build": "tsc"
2930
},
3031
"dependencies": {

services/dora_metrics/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"main": "./dist/index.js",
2626
"typings": "./dist/index.d.ts",
2727
"scripts": {
28+
"prepack": "yarn workspace @datadog/datadog-api-client build && yarn build",
2829
"build": "tsc"
2930
},
3031
"dependencies": {

services/downtimes/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"main": "./dist/index.js",
2626
"typings": "./dist/index.d.ts",
2727
"scripts": {
28+
"prepack": "yarn workspace @datadog/datadog-api-client build && yarn build",
2829
"build": "tsc"
2930
},
3031
"dependencies": {

services/events/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"main": "./dist/index.js",
2626
"typings": "./dist/index.d.ts",
2727
"scripts": {
28+
"prepack": "yarn workspace @datadog/datadog-api-client build && yarn build",
2829
"build": "tsc"
2930
},
3031
"dependencies": {

services/fastly_integration/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"main": "./dist/index.js",
2626
"typings": "./dist/index.d.ts",
2727
"scripts": {
28+
"prepack": "yarn workspace @datadog/datadog-api-client build && yarn build",
2829
"build": "tsc"
2930
},
3031
"dependencies": {

services/gcp_integration/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"main": "./dist/index.js",
2626
"typings": "./dist/index.d.ts",
2727
"scripts": {
28+
"prepack": "yarn workspace @datadog/datadog-api-client build && yarn build",
2829
"build": "tsc"
2930
},
3031
"dependencies": {

services/hosts/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"main": "./dist/index.js",
2626
"typings": "./dist/index.d.ts",
2727
"scripts": {
28+
"prepack": "yarn workspace @datadog/datadog-api-client build && yarn build",
2829
"build": "tsc"
2930
},
3031
"dependencies": {

services/incident_services/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"main": "./dist/index.js",
2626
"typings": "./dist/index.d.ts",
2727
"scripts": {
28+
"prepack": "yarn workspace @datadog/datadog-api-client build && yarn build",
2829
"build": "tsc"
2930
},
3031
"dependencies": {

services/incident_teams/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"main": "./dist/index.js",
2626
"typings": "./dist/index.d.ts",
2727
"scripts": {
28+
"prepack": "yarn workspace @datadog/datadog-api-client build && yarn build",
2829
"build": "tsc"
2930
},
3031
"dependencies": {

services/incidents/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"main": "./dist/index.js",
2626
"typings": "./dist/index.d.ts",
2727
"scripts": {
28+
"prepack": "yarn workspace @datadog/datadog-api-client build && yarn build",
2829
"build": "tsc"
2930
},
3031
"dependencies": {

services/ip_allowlist/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"main": "./dist/index.js",
2626
"typings": "./dist/index.d.ts",
2727
"scripts": {
28+
"prepack": "yarn workspace @datadog/datadog-api-client build && yarn build",
2829
"build": "tsc"
2930
},
3031
"dependencies": {

services/ip_ranges/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"main": "./dist/index.js",
2626
"typings": "./dist/index.d.ts",
2727
"scripts": {
28+
"prepack": "yarn workspace @datadog/datadog-api-client build && yarn build",
2829
"build": "tsc"
2930
},
3031
"dependencies": {

services/key_management/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"main": "./dist/index.js",
2626
"typings": "./dist/index.d.ts",
2727
"scripts": {
28+
"prepack": "yarn workspace @datadog/datadog-api-client build && yarn build",
2829
"build": "tsc"
2930
},
3031
"dependencies": {

services/logs/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"main": "./dist/index.js",
2626
"typings": "./dist/index.d.ts",
2727
"scripts": {
28+
"prepack": "yarn workspace @datadog/datadog-api-client build && yarn build",
2829
"build": "tsc"
2930
},
3031
"dependencies": {

services/logs_archives/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"main": "./dist/index.js",
2626
"typings": "./dist/index.d.ts",
2727
"scripts": {
28+
"prepack": "yarn workspace @datadog/datadog-api-client build && yarn build",
2829
"build": "tsc"
2930
},
3031
"dependencies": {

services/logs_custom_destinations/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"main": "./dist/index.js",
2626
"typings": "./dist/index.d.ts",
2727
"scripts": {
28+
"prepack": "yarn workspace @datadog/datadog-api-client build && yarn build",
2829
"build": "tsc"
2930
},
3031
"dependencies": {

services/logs_indexes/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"main": "./dist/index.js",
2626
"typings": "./dist/index.d.ts",
2727
"scripts": {
28+
"prepack": "yarn workspace @datadog/datadog-api-client build && yarn build",
2829
"build": "tsc"
2930
},
3031
"dependencies": {

services/logs_metrics/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"main": "./dist/index.js",
2626
"typings": "./dist/index.d.ts",
2727
"scripts": {
28+
"prepack": "yarn workspace @datadog/datadog-api-client build && yarn build",
2829
"build": "tsc"
2930
},
3031
"dependencies": {

services/logs_pipelines/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"main": "./dist/index.js",
2626
"typings": "./dist/index.d.ts",
2727
"scripts": {
28+
"prepack": "yarn workspace @datadog/datadog-api-client build && yarn build",
2829
"build": "tsc"
2930
},
3031
"dependencies": {

services/metrics/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"main": "./dist/index.js",
2626
"typings": "./dist/index.d.ts",
2727
"scripts": {
28+
"prepack": "yarn workspace @datadog/datadog-api-client build && yarn build",
2829
"build": "tsc"
2930
},
3031
"dependencies": {

services/microsoft_teams_integration/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"main": "./dist/index.js",
2626
"typings": "./dist/index.d.ts",
2727
"scripts": {
28+
"prepack": "yarn workspace @datadog/datadog-api-client build && yarn build",
2829
"build": "tsc"
2930
},
3031
"dependencies": {

services/monitors/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"main": "./dist/index.js",
2626
"typings": "./dist/index.d.ts",
2727
"scripts": {
28+
"prepack": "yarn workspace @datadog/datadog-api-client build && yarn build",
2829
"build": "tsc"
2930
},
3031
"dependencies": {

0 commit comments

Comments
 (0)