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": {

0 commit comments

Comments
 (0)