From 170f7d57b8fd344d182a8e758867b8124722eebc Mon Sep 17 00:00:00 2001 From: sofisl <55454395+sofisl@users.noreply.github.com> Date: Thu, 6 Apr 2023 12:01:31 -0700 Subject: [PATCH] fix: minify JSON and JS files, and remove .map files (#4143) * fix: implement minification changes to Node packages --- packages/gapic-node-templating/package.json | 1 + packages/google-analytics-admin/package.json | 6 +- packages/google-analytics-data/package.json | 6 +- packages/google-api-apikeys/package.json | 6 +- .../google-api-servicecontrol/package.json | 6 +- .../google-api-servicemanagement/package.json | 6 +- packages/google-api-serviceusage/package.json | 6 +- packages/google-appengine/package.json | 6 +- packages/google-area120-tables/package.json | 6 +- .../google-cloud-accessapproval/package.json | 6 +- .../package.json | 6 +- packages/google-cloud-aiplatform/package.json | 6 +- packages/google-cloud-alloydb/package.json | 6 +- packages/google-cloud-apigateway/package.json | 6 +- .../google-cloud-apigeeconnect/package.json | 6 +- packages/google-cloud-asset/package.json | 6 +- .../package.json | 6 +- .../package.json | 6 +- packages/google-cloud-batch/package.json | 6 +- .../package.json | 6 +- .../package.json | 6 +- .../package.json | 6 +- .../package.json | 6 +- .../package.json | 6 +- .../package.json | 6 +- .../package.json | 6 +- .../package.json | 6 +- .../package.json | 6 +- .../package.json | 8 +- .../package.json | 6 +- .../google-cloud-billing-budgets/package.json | 8 +- packages/google-cloud-billing/package.json | 6 +- .../package.json | 6 +- .../package.json | 6 +- packages/google-cloud-channel/package.json | 6 +- packages/google-cloud-clouddms/package.json | 6 +- packages/google-cloud-compute/package.json | 4 +- .../package.json | 6 +- .../package.json | 6 +- .../package.json | 6 +- .../google-cloud-datacatalog/package.json | 6 +- packages/google-cloud-dataform/package.json | 6 +- packages/google-cloud-datafusion/package.json | 6 +- .../google-cloud-datalabeling/package.json | 6 +- packages/google-cloud-dataplex/package.json | 6 +- packages/google-cloud-dataproc/package.json | 6 +- packages/google-cloud-dataqna/package.json | 6 +- packages/google-cloud-datastream/package.json | 6 +- packages/google-cloud-deploy/package.json | 6 +- .../google-cloud-dialogflow-cx/package.json | 6 +- packages/google-cloud-dialogflow/package.json | 6 +- .../google-cloud-discoveryengine/package.json | 6 +- packages/google-cloud-documentai/package.json | 6 +- packages/google-cloud-domains/package.json | 6 +- .../package.json | 6 +- .../package.json | 6 +- packages/google-cloud-eventarc/package.json | 6 +- packages/google-cloud-filestore/package.json | 6 +- packages/google-cloud-functions/package.json | 6 +- packages/google-cloud-gaming/package.json | 6 +- packages/google-cloud-gkebackup/package.json | 6 +- .../package.json | 6 +- packages/google-cloud-gkehub/package.json | 6 +- .../google-cloud-gkemulticloud/package.json | 6 +- .../google-cloud-gsuiteaddons/package.json | 6 +- packages/google-cloud-iap/package.json | 6 +- packages/google-cloud-ids/package.json | 6 +- packages/google-cloud-iot/package.json | 8 +- .../google-cloud-kms-inventory/package.json | 6 +- packages/google-cloud-kms/package.json | 6 +- packages/google-cloud-language/package.json | 6 +- .../google-cloud-lifesciences/package.json | 6 +- .../package.json | 6 +- .../package.json | 8 +- packages/google-cloud-memcache/package.json | 6 +- packages/google-cloud-metastore/package.json | 6 +- packages/google-cloud-monitoring/package.json | 6 +- .../package.json | 6 +- .../package.json | 6 +- .../google-cloud-networksecurity/package.json | 6 +- packages/google-cloud-notebooks/package.json | 6 +- .../google-cloud-optimization/package.json | 6 +- .../package.json | 6 +- packages/google-cloud-orgpolicy/package.json | 6 +- packages/google-cloud-osconfig/package.json | 6 +- packages/google-cloud-oslogin/package.json | 6 +- .../package.json | 6 +- .../package.json | 6 +- .../google-cloud-privatecatalog/package.json | 6 +- .../package.json | 6 +- .../google-cloud-recommender/package.json | 6 +- packages/google-cloud-redis/package.json | 6 +- .../google-cloud-resourcemanager/package.json | 6 +- .../package.json | 6 +- packages/google-cloud-retail/package.json | 6 +- packages/google-cloud-run/package.json | 6 +- packages/google-cloud-scheduler/package.json | 6 +- .../google-cloud-secretmanager/package.json | 6 +- .../package.json | 6 +- .../package.json | 6 +- .../google-cloud-securitycenter/package.json | 6 +- .../package.json | 6 +- packages/google-cloud-shell/package.json | 6 +- packages/google-cloud-speech/package.json | 6 +- packages/google-cloud-talent/package.json | 6 +- packages/google-cloud-tasks/package.json | 6 +- .../google-cloud-texttospeech/package.json | 6 +- packages/google-cloud-tpu/package.json | 6 +- packages/google-cloud-translate/package.json | 4 +- .../package.json | 6 +- .../google-cloud-video-stitcher/package.json | 6 +- .../package.json | 6 +- .../package.json | 6 +- packages/google-cloud-vision/package.json | 6 +- .../google-cloud-vmmigration/package.json | 6 +- .../google-cloud-vmwareengine/package.json | 6 +- packages/google-cloud-vpcaccess/package.json | 6 +- packages/google-cloud-webrisk/package.json | 6 +- .../package.json | 6 +- .../package.json | 6 +- .../google-cloud-workstations/package.json | 6 +- packages/google-container/package.json | 6 +- packages/google-dataflow/package.json | 6 +- .../package.json | 6 +- .../google-devtools-cloudbuild/package.json | 6 +- .../package.json | 4 +- packages/google-iam-credentials/package.json | 6 +- packages/google-iam/package.json | 73 +++++++++++++++++++ .../package.json | 6 +- .../package.json | 6 +- .../package.json | 6 +- packages/google-maps-routing/package.json | 6 +- .../google-monitoring-dashboard/package.json | 6 +- packages/google-privacy-dlp/package.json | 6 +- packages/google-storagetransfer/package.json | 6 +- packages/grafeas/package.json | 5 +- packages/typeless-sample-bot/package.json | 1 + 137 files changed, 611 insertions(+), 269 deletions(-) diff --git a/packages/gapic-node-templating/package.json b/packages/gapic-node-templating/package.json index 831c5ad8d51..f6eb7f9504e 100644 --- a/packages/gapic-node-templating/package.json +++ b/packages/gapic-node-templating/package.json @@ -46,3 +46,4 @@ "yargs": "^17.5.1" } } + diff --git a/packages/google-analytics-admin/package.json b/packages/google-analytics-admin/package.json index d25d8c01c69..cc3ea1ac1bb 100644 --- a/packages/google-analytics-admin/package.json +++ b/packages/google-analytics-admin/package.json @@ -12,7 +12,8 @@ "main": "build/src/index.js", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -29,7 +30,7 @@ ], "scripts": { "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "docs": "jsdoc -c .jsdoc.js", "predocs-test": "npm run docs", @@ -69,3 +70,4 @@ }, "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-analytics-admin" } + diff --git a/packages/google-analytics-data/package.json b/packages/google-analytics-data/package.json index 984631a07d9..90b9960579d 100644 --- a/packages/google-analytics-data/package.json +++ b/packages/google-analytics-data/package.json @@ -12,7 +12,8 @@ "main": "build/src/index.js", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -29,7 +30,7 @@ ], "scripts": { "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "docs": "jsdoc -c .jsdoc.js", "predocs-test": "npm run docs", @@ -69,3 +70,4 @@ }, "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-analytics-data" } + diff --git a/packages/google-api-apikeys/package.json b/packages/google-api-apikeys/package.json index 29d6a2e4e8c..d828a0ed38b 100644 --- a/packages/google-api-apikeys/package.json +++ b/packages/google-api-apikeys/package.json @@ -13,7 +13,8 @@ "main": "build/src/index.js", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -30,7 +31,7 @@ ], "scripts": { "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "docs": "jsdoc -c .jsdoc.js", "predocs-test": "npm run docs", @@ -69,3 +70,4 @@ "node": ">=12.0.0" } } + diff --git a/packages/google-api-servicecontrol/package.json b/packages/google-api-servicecontrol/package.json index aa8d77884dc..0349fab6fc6 100644 --- a/packages/google-api-servicecontrol/package.json +++ b/packages/google-api-servicecontrol/package.json @@ -12,7 +12,8 @@ "main": "build/src/index.js", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -30,7 +31,7 @@ ], "scripts": { "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "docs": "jsdoc -c .jsdoc.js", "predocs-test": "npm run docs", @@ -70,3 +71,4 @@ }, "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-api-servicecontrol" } + diff --git a/packages/google-api-servicemanagement/package.json b/packages/google-api-servicemanagement/package.json index 58d49e0f12a..ab085e84bdf 100644 --- a/packages/google-api-servicemanagement/package.json +++ b/packages/google-api-servicemanagement/package.json @@ -12,7 +12,8 @@ "main": "build/src/index.js", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -29,7 +30,7 @@ ], "scripts": { "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "docs": "jsdoc -c .jsdoc.js", "predocs-test": "npm run docs", @@ -69,3 +70,4 @@ }, "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-api-servicemanagement" } + diff --git a/packages/google-api-serviceusage/package.json b/packages/google-api-serviceusage/package.json index 602caf1fa39..05dcbf17c4f 100644 --- a/packages/google-api-serviceusage/package.json +++ b/packages/google-api-serviceusage/package.json @@ -12,7 +12,8 @@ "main": "build/src/index.js", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -29,7 +30,7 @@ ], "scripts": { "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "docs": "jsdoc -c .jsdoc.js", "predocs-test": "npm run docs", @@ -69,3 +70,4 @@ }, "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-api-serviceusage" } + diff --git a/packages/google-appengine/package.json b/packages/google-appengine/package.json index 00e51787ad5..1d8fbaeaa10 100644 --- a/packages/google-appengine/package.json +++ b/packages/google-appengine/package.json @@ -12,7 +12,8 @@ "main": "build/src/index.js", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -36,7 +37,7 @@ ], "scripts": { "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "docs": "jsdoc -c .jsdoc.js", "predocs-test": "npm run docs", @@ -76,3 +77,4 @@ }, "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-appengine" } + diff --git a/packages/google-area120-tables/package.json b/packages/google-area120-tables/package.json index 179722b1f10..8fe641c098a 100644 --- a/packages/google-area120-tables/package.json +++ b/packages/google-area120-tables/package.json @@ -12,7 +12,8 @@ "main": "build/src/index.js", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -29,7 +30,7 @@ ], "scripts": { "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "docs": "jsdoc -c .jsdoc.js", "prelint": "cd samples; npm link ../; npm i", @@ -69,3 +70,4 @@ }, "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-area120-tables" } + diff --git a/packages/google-cloud-accessapproval/package.json b/packages/google-cloud-accessapproval/package.json index 0cbd25c8c5f..0ba397e3a3b 100644 --- a/packages/google-cloud-accessapproval/package.json +++ b/packages/google-cloud-accessapproval/package.json @@ -12,7 +12,8 @@ "main": "build/src/index.js", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -29,7 +30,7 @@ ], "scripts": { "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "docs": "jsdoc -c .jsdoc.js", "predocs-test": "npm run docs", @@ -69,3 +70,4 @@ }, "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-accessapproval" } + diff --git a/packages/google-cloud-advisorynotifications/package.json b/packages/google-cloud-advisorynotifications/package.json index 19caa8a3f27..1a6ed5e9094 100644 --- a/packages/google-cloud-advisorynotifications/package.json +++ b/packages/google-cloud-advisorynotifications/package.json @@ -12,7 +12,8 @@ "main": "build/src/index.js", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-advisorynotifications", "keywords": [ @@ -30,7 +31,7 @@ ], "scripts": { "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "docs": "jsdoc -c .jsdoc.js", "predocs-test": "npm run docs", @@ -69,3 +70,4 @@ "node": ">=12.0.0" } } + diff --git a/packages/google-cloud-aiplatform/package.json b/packages/google-cloud-aiplatform/package.json index 94e0f408c7a..9465613f3f8 100644 --- a/packages/google-cloud-aiplatform/package.json +++ b/packages/google-cloud-aiplatform/package.json @@ -12,7 +12,8 @@ "main": "build/src/index.js", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -37,7 +38,7 @@ ], "scripts": { "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "docs": "NODE_OPTIONS=--max-old-space-size=8192 jsdoc -c .jsdoc.js", "predocs-test": "npm run docs", @@ -78,3 +79,4 @@ }, "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-aiplatform" } + diff --git a/packages/google-cloud-alloydb/package.json b/packages/google-cloud-alloydb/package.json index f276e5d92e3..bd378d02521 100644 --- a/packages/google-cloud-alloydb/package.json +++ b/packages/google-cloud-alloydb/package.json @@ -12,7 +12,8 @@ "main": "build/src/index.js", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-alloydb", "keywords": [ @@ -30,7 +31,7 @@ ], "scripts": { "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "docs": "jsdoc -c .jsdoc.js", "predocs-test": "npm run docs", @@ -69,3 +70,4 @@ "node": ">=12.0.0" } } + diff --git a/packages/google-cloud-apigateway/package.json b/packages/google-cloud-apigateway/package.json index da67670ee9d..09764aa6777 100644 --- a/packages/google-cloud-apigateway/package.json +++ b/packages/google-cloud-apigateway/package.json @@ -12,7 +12,8 @@ "main": "build/src/index.js", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -29,7 +30,7 @@ ], "scripts": { "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "docs": "jsdoc -c .jsdoc.js", "predocs-test": "npm run docs", @@ -69,3 +70,4 @@ }, "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-apigateway" } + diff --git a/packages/google-cloud-apigeeconnect/package.json b/packages/google-cloud-apigeeconnect/package.json index 32aa87e597e..97f8dfdb578 100644 --- a/packages/google-cloud-apigeeconnect/package.json +++ b/packages/google-cloud-apigeeconnect/package.json @@ -12,7 +12,8 @@ "main": "build/src/index.js", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -29,7 +30,7 @@ ], "scripts": { "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "docs": "jsdoc -c .jsdoc.js", "predocs-test": "npm run docs", @@ -69,3 +70,4 @@ }, "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-apigeeconnect" } + diff --git a/packages/google-cloud-asset/package.json b/packages/google-cloud-asset/package.json index 4085e9e6c7c..a53c7ee03ce 100644 --- a/packages/google-cloud-asset/package.json +++ b/packages/google-cloud-asset/package.json @@ -15,7 +15,8 @@ "main": "build/src/index.js", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -34,7 +35,7 @@ "samples-test": "npm run compile && cd samples/ && npm link ../ && npm i && npm test", "samples-test-suite": "cd samples/ && npm link ../ && npm test && cd ../", "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "docs": "jsdoc -c .jsdoc.js", "docs-test": "linkinator docs", @@ -72,3 +73,4 @@ }, "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-asset" } + diff --git a/packages/google-cloud-assuredworkloads/package.json b/packages/google-cloud-assuredworkloads/package.json index c7cbf28df88..37d7c385d3f 100644 --- a/packages/google-cloud-assuredworkloads/package.json +++ b/packages/google-cloud-assuredworkloads/package.json @@ -12,7 +12,8 @@ "main": "build/src/index.js", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -29,7 +30,7 @@ ], "scripts": { "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "docs": "jsdoc -c .jsdoc.js", "predocs-test": "npm run docs", @@ -69,3 +70,4 @@ }, "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-assuredworkloads" } + diff --git a/packages/google-cloud-baremetalsolution/package.json b/packages/google-cloud-baremetalsolution/package.json index c2aad9b4ec3..721095409cc 100644 --- a/packages/google-cloud-baremetalsolution/package.json +++ b/packages/google-cloud-baremetalsolution/package.json @@ -12,7 +12,8 @@ "main": "build/src/index.js", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -29,7 +30,7 @@ ], "scripts": { "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "docs": "jsdoc -c .jsdoc.js", "predocs-test": "npm run docs", @@ -69,3 +70,4 @@ }, "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-baremetalsolution" } + diff --git a/packages/google-cloud-batch/package.json b/packages/google-cloud-batch/package.json index b1aa922c4e4..e4bd5c102b1 100644 --- a/packages/google-cloud-batch/package.json +++ b/packages/google-cloud-batch/package.json @@ -13,7 +13,8 @@ "main": "build/src/index.js", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -30,7 +31,7 @@ ], "scripts": { "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "docs": "jsdoc -c .jsdoc.js", "predocs-test": "npm run docs", @@ -69,3 +70,4 @@ "node": ">=12.0.0" } } + diff --git a/packages/google-cloud-beyondcorp-appconnections/package.json b/packages/google-cloud-beyondcorp-appconnections/package.json index 41cb96c0346..1e7ba0cb5b5 100644 --- a/packages/google-cloud-beyondcorp-appconnections/package.json +++ b/packages/google-cloud-beyondcorp-appconnections/package.json @@ -13,7 +13,8 @@ "main": "build/src/index.js", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -30,7 +31,7 @@ ], "scripts": { "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "docs": "jsdoc -c .jsdoc.js", "predocs-test": "npm run docs", @@ -69,3 +70,4 @@ "node": ">=12.0.0" } } + diff --git a/packages/google-cloud-beyondcorp-appconnectors/package.json b/packages/google-cloud-beyondcorp-appconnectors/package.json index 2aab2a5745e..dab9c614dcc 100644 --- a/packages/google-cloud-beyondcorp-appconnectors/package.json +++ b/packages/google-cloud-beyondcorp-appconnectors/package.json @@ -13,7 +13,8 @@ "main": "build/src/index.js", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -30,7 +31,7 @@ ], "scripts": { "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "docs": "jsdoc -c .jsdoc.js", "predocs-test": "npm run docs", @@ -69,3 +70,4 @@ "node": ">=12.0.0" } } + diff --git a/packages/google-cloud-beyondcorp-appgateways/package.json b/packages/google-cloud-beyondcorp-appgateways/package.json index 48a931ae77f..dc50a88727a 100644 --- a/packages/google-cloud-beyondcorp-appgateways/package.json +++ b/packages/google-cloud-beyondcorp-appgateways/package.json @@ -13,7 +13,8 @@ "main": "build/src/index.js", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -30,7 +31,7 @@ ], "scripts": { "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "docs": "jsdoc -c .jsdoc.js", "predocs-test": "npm run docs", @@ -69,3 +70,4 @@ "node": ">=12.0.0" } } + diff --git a/packages/google-cloud-beyondcorp-clientconnectorservices/package.json b/packages/google-cloud-beyondcorp-clientconnectorservices/package.json index 65d1bae71ae..17380cdd8da 100644 --- a/packages/google-cloud-beyondcorp-clientconnectorservices/package.json +++ b/packages/google-cloud-beyondcorp-clientconnectorservices/package.json @@ -13,7 +13,8 @@ "main": "build/src/index.js", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -30,7 +31,7 @@ ], "scripts": { "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "docs": "jsdoc -c .jsdoc.js", "predocs-test": "npm run docs", @@ -69,3 +70,4 @@ "node": ">=12.0.0" } } + diff --git a/packages/google-cloud-beyondcorp-clientgateways/package.json b/packages/google-cloud-beyondcorp-clientgateways/package.json index 64aea129af8..e55863028e8 100644 --- a/packages/google-cloud-beyondcorp-clientgateways/package.json +++ b/packages/google-cloud-beyondcorp-clientgateways/package.json @@ -13,7 +13,8 @@ "main": "build/src/index.js", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -30,7 +31,7 @@ ], "scripts": { "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "docs": "jsdoc -c .jsdoc.js", "predocs-test": "npm run docs", @@ -69,3 +70,4 @@ "node": ">=12.0.0" } } + diff --git a/packages/google-cloud-bigquery-analyticshub/package.json b/packages/google-cloud-bigquery-analyticshub/package.json index 9867f04fd55..84e80796aae 100644 --- a/packages/google-cloud-bigquery-analyticshub/package.json +++ b/packages/google-cloud-bigquery-analyticshub/package.json @@ -13,7 +13,8 @@ "main": "build/src/index.js", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -30,7 +31,7 @@ ], "scripts": { "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "docs": "jsdoc -c .jsdoc.js", "predocs-test": "npm run docs", @@ -69,3 +70,4 @@ "node": ">=12.0.0" } } + diff --git a/packages/google-cloud-bigquery-connection/package.json b/packages/google-cloud-bigquery-connection/package.json index bb353161385..60681280dbc 100644 --- a/packages/google-cloud-bigquery-connection/package.json +++ b/packages/google-cloud-bigquery-connection/package.json @@ -12,7 +12,8 @@ "main": "build/src/index.js", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -29,7 +30,7 @@ ], "scripts": { "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "docs": "jsdoc -c .jsdoc.js", "predocs-test": "npm run docs", @@ -69,3 +70,4 @@ }, "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-bigquery-connection" } + diff --git a/packages/google-cloud-bigquery-dataexchange/package.json b/packages/google-cloud-bigquery-dataexchange/package.json index 8034affad09..b9e2edd024d 100644 --- a/packages/google-cloud-bigquery-dataexchange/package.json +++ b/packages/google-cloud-bigquery-dataexchange/package.json @@ -13,7 +13,8 @@ "main": "build/src/index.js", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -30,7 +31,7 @@ ], "scripts": { "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "docs": "jsdoc -c .jsdoc.js", "predocs-test": "npm run docs", @@ -69,3 +70,4 @@ "node": ">=v12.0.0" } } + diff --git a/packages/google-cloud-bigquery-datapolicies/package.json b/packages/google-cloud-bigquery-datapolicies/package.json index 99b16d0efd8..9a8af26de2b 100644 --- a/packages/google-cloud-bigquery-datapolicies/package.json +++ b/packages/google-cloud-bigquery-datapolicies/package.json @@ -13,7 +13,8 @@ "main": "build/src/index.js", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -30,7 +31,7 @@ ], "scripts": { "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "docs": "jsdoc -c .jsdoc.js", "predocs-test": "npm run docs", @@ -69,3 +70,4 @@ "node": ">=12.0.0" } } + diff --git a/packages/google-cloud-bigquery-datatransfer/package.json b/packages/google-cloud-bigquery-datatransfer/package.json index 59b7456649b..d97f87a8ba4 100644 --- a/packages/google-cloud-bigquery-datatransfer/package.json +++ b/packages/google-cloud-bigquery-datatransfer/package.json @@ -16,7 +16,8 @@ "main": "build/src/index.js", "files": [ "build/protos", - "build/src" + "build/src", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -41,9 +42,9 @@ "docs-test": "linkinator docs", "predocs-test": "npm run docs", "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", - "prepare": "npm run compile", + "prepare": "npm run compile-protos && npm run compile", "prelint": "cd samples; npm link ../; npm install", "precompile": "gts clean" }, @@ -70,3 +71,4 @@ "webpack-cli": "^5.0.0" } } + diff --git a/packages/google-cloud-bigquery-reservation/package.json b/packages/google-cloud-bigquery-reservation/package.json index ebaef3175b1..a32021aab1b 100644 --- a/packages/google-cloud-bigquery-reservation/package.json +++ b/packages/google-cloud-bigquery-reservation/package.json @@ -13,7 +13,8 @@ "main": "build/src/index.js", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -30,7 +31,7 @@ ], "scripts": { "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "docs": "jsdoc -c .jsdoc.js", "predocs-test": "npm run docs", @@ -69,3 +70,4 @@ "node": ">=12.0.0" } } + diff --git a/packages/google-cloud-billing-budgets/package.json b/packages/google-cloud-billing-budgets/package.json index 1287396ab51..e977b8b738c 100644 --- a/packages/google-cloud-billing-budgets/package.json +++ b/packages/google-cloud-billing-budgets/package.json @@ -11,7 +11,8 @@ "main": "build/src/index.js", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "devDependencies": { "@types/mocha": "^9.0.0", @@ -34,9 +35,9 @@ "lint": "gts check", "clean": "gts clean", "fix": "gts fix", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", - "prepare": "npm run compile", + "prepare": "npm run compile-protos && npm run compile", "pretest": "npm run compile", "test": "c8 mocha build/test", "system-test": "npm run compile && c8 mocha build/system-test", @@ -55,3 +56,4 @@ }, "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-billing-budgets" } + diff --git a/packages/google-cloud-billing/package.json b/packages/google-cloud-billing/package.json index 6273d300e40..37c292925cc 100644 --- a/packages/google-cloud-billing/package.json +++ b/packages/google-cloud-billing/package.json @@ -11,12 +11,13 @@ "author": "Google LLC", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "main": "build/src/index.js", "scripts": { "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "docs": "jsdoc -c .jsdoc.js", "docs-test": "linkinator docs", @@ -57,3 +58,4 @@ }, "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-billing" } + diff --git a/packages/google-cloud-binaryauthorization/package.json b/packages/google-cloud-binaryauthorization/package.json index 31a050bcd32..0fd569a568a 100644 --- a/packages/google-cloud-binaryauthorization/package.json +++ b/packages/google-cloud-binaryauthorization/package.json @@ -12,7 +12,8 @@ "main": "build/src/index.js", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -29,7 +30,7 @@ ], "scripts": { "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "docs": "jsdoc -c .jsdoc.js", "predocs-test": "npm run docs", @@ -69,3 +70,4 @@ }, "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-binaryauthorization" } + diff --git a/packages/google-cloud-certificatemanager/package.json b/packages/google-cloud-certificatemanager/package.json index f78eaa5b5bf..aaa7885a7aa 100644 --- a/packages/google-cloud-certificatemanager/package.json +++ b/packages/google-cloud-certificatemanager/package.json @@ -13,7 +13,8 @@ "main": "build/src/index.js", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -30,7 +31,7 @@ ], "scripts": { "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "docs": "jsdoc -c .jsdoc.js", "predocs-test": "npm run docs", @@ -70,3 +71,4 @@ "node": ">=12.0.0" } } + diff --git a/packages/google-cloud-channel/package.json b/packages/google-cloud-channel/package.json index 95351b78c79..874f992a5f9 100644 --- a/packages/google-cloud-channel/package.json +++ b/packages/google-cloud-channel/package.json @@ -12,7 +12,8 @@ "main": "build/src/index.js", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -29,7 +30,7 @@ ], "scripts": { "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "docs": "jsdoc -c .jsdoc.js", "predocs-test": "npm run docs", @@ -69,3 +70,4 @@ }, "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-channel" } + diff --git a/packages/google-cloud-clouddms/package.json b/packages/google-cloud-clouddms/package.json index c238884729f..a11378948b5 100644 --- a/packages/google-cloud-clouddms/package.json +++ b/packages/google-cloud-clouddms/package.json @@ -15,7 +15,8 @@ "main": "build/src/index.js", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -32,7 +33,7 @@ "samples-test": "npm run compile && cd samples/ && npm link ../ && npm i && npm test", "samples-test-suite": "cd samples/ && npm link ../ && npm test && cd ../", "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "docs": "jsdoc -c .jsdoc.js", "docs-test": "linkinator docs", @@ -70,3 +71,4 @@ }, "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-clouddms" } + diff --git a/packages/google-cloud-compute/package.json b/packages/google-cloud-compute/package.json index b7227f14cf1..b025216c3f8 100644 --- a/packages/google-cloud-compute/package.json +++ b/packages/google-cloud-compute/package.json @@ -15,7 +15,8 @@ "main": "build/src/index.js", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -149,3 +150,4 @@ }, "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-compute" } + diff --git a/packages/google-cloud-contactcenterinsights/package.json b/packages/google-cloud-contactcenterinsights/package.json index 6b78294ed6a..059db92105a 100644 --- a/packages/google-cloud-contactcenterinsights/package.json +++ b/packages/google-cloud-contactcenterinsights/package.json @@ -12,7 +12,8 @@ "main": "build/src/index.js", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -29,7 +30,7 @@ ], "scripts": { "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "docs": "jsdoc -c .jsdoc.js", "predocs-test": "npm run docs", @@ -69,3 +70,4 @@ }, "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-contactcenterinsights" } + diff --git a/packages/google-cloud-contentwarehouse/package.json b/packages/google-cloud-contentwarehouse/package.json index 5383ae66114..73778255314 100644 --- a/packages/google-cloud-contentwarehouse/package.json +++ b/packages/google-cloud-contentwarehouse/package.json @@ -13,7 +13,8 @@ "main": "build/src/index.js", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -30,7 +31,7 @@ ], "scripts": { "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "docs": "jsdoc -c .jsdoc.js", "predocs-test": "npm run docs", @@ -69,3 +70,4 @@ "node": ">=12.0.0" } } + diff --git a/packages/google-cloud-datacatalog-lineage/package.json b/packages/google-cloud-datacatalog-lineage/package.json index e7dfdf2c7c2..9f0e7e5510c 100644 --- a/packages/google-cloud-datacatalog-lineage/package.json +++ b/packages/google-cloud-datacatalog-lineage/package.json @@ -12,7 +12,8 @@ "main": "build/src/index.js", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-datacatalog-lineage", "keywords": [ @@ -30,7 +31,7 @@ ], "scripts": { "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "docs": "jsdoc -c .jsdoc.js", "predocs-test": "npm run docs", @@ -69,3 +70,4 @@ "node": ">=12.0.0" } } + diff --git a/packages/google-cloud-datacatalog/package.json b/packages/google-cloud-datacatalog/package.json index 0e80f7e8c5e..08caf5ca403 100644 --- a/packages/google-cloud-datacatalog/package.json +++ b/packages/google-cloud-datacatalog/package.json @@ -13,7 +13,8 @@ "build/src", "build/protos", "AUTHORS", - "COPYING" + "COPYING", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -56,7 +57,7 @@ "docs-test": "linkinator docs", "samples-test": "npm run compile && cd samples/ && npm link ../ && npm i && npm test", "system-test": "npm run compile && c8 mocha build/system-test", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "prepare": "npm run compile-protos && npm run compile", "pretest": "npm run compile", @@ -70,3 +71,4 @@ }, "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-datacatalog" } + diff --git a/packages/google-cloud-dataform/package.json b/packages/google-cloud-dataform/package.json index f54704786aa..c16226a965b 100644 --- a/packages/google-cloud-dataform/package.json +++ b/packages/google-cloud-dataform/package.json @@ -12,7 +12,8 @@ "main": "build/src/index.js", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -29,7 +30,7 @@ ], "scripts": { "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "docs": "jsdoc -c .jsdoc.js", "predocs-test": "npm run docs", @@ -69,3 +70,4 @@ }, "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-dataform" } + diff --git a/packages/google-cloud-datafusion/package.json b/packages/google-cloud-datafusion/package.json index c154c192855..ee6d72ddd0e 100644 --- a/packages/google-cloud-datafusion/package.json +++ b/packages/google-cloud-datafusion/package.json @@ -12,7 +12,8 @@ "main": "build/src/index.js", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -29,7 +30,7 @@ ], "scripts": { "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "docs": "jsdoc -c .jsdoc.js", "predocs-test": "npm run docs", @@ -69,3 +70,4 @@ }, "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-datafusion" } + diff --git a/packages/google-cloud-datalabeling/package.json b/packages/google-cloud-datalabeling/package.json index d19b5a7b431..d2a3e1e4d1f 100644 --- a/packages/google-cloud-datalabeling/package.json +++ b/packages/google-cloud-datalabeling/package.json @@ -15,7 +15,8 @@ "main": "build/src/index.js", "files": [ "build/protos", - "build/src" + "build/src", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -39,7 +40,7 @@ "fix": "gts fix", "docs-test": "linkinator docs", "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "predocs-test": "npm run docs", "prepare": "npm run compile", @@ -70,3 +71,4 @@ }, "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-datalabeling" } + diff --git a/packages/google-cloud-dataplex/package.json b/packages/google-cloud-dataplex/package.json index 5d9e4f129bc..112c3bc5cf2 100644 --- a/packages/google-cloud-dataplex/package.json +++ b/packages/google-cloud-dataplex/package.json @@ -13,7 +13,8 @@ "main": "build/src/index.js", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -32,7 +33,7 @@ "samples-test": "npm run compile && cd samples/ && npm link ../ && npm i && npm test", "samples-test-suite": "cd samples/ && npm link ../ && npm test && cd ../", "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "docs": "jsdoc -c .jsdoc.js", "predocs-test": "npm run docs", @@ -70,3 +71,4 @@ "node": ">=12.0.0" } } + diff --git a/packages/google-cloud-dataproc/package.json b/packages/google-cloud-dataproc/package.json index da1fe7944e5..bf6c7de0572 100644 --- a/packages/google-cloud-dataproc/package.json +++ b/packages/google-cloud-dataproc/package.json @@ -15,7 +15,8 @@ "main": "build/src/index.js", "files": [ "build/protos", - "build/src" + "build/src", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -41,7 +42,7 @@ "predocs-test": "npm run docs", "prelint": "cd samples; npm link ../; npm install", "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "prepare": "npm run compile", "precompile": "gts clean" @@ -71,3 +72,4 @@ }, "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-dataproc" } + diff --git a/packages/google-cloud-dataqna/package.json b/packages/google-cloud-dataqna/package.json index 1c87465a5b9..2084f020a90 100644 --- a/packages/google-cloud-dataqna/package.json +++ b/packages/google-cloud-dataqna/package.json @@ -12,7 +12,8 @@ "main": "build/src/index.js", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -30,7 +31,7 @@ ], "scripts": { "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "docs": "jsdoc -c .jsdoc.js", "predocs-test": "npm run docs", @@ -70,3 +71,4 @@ }, "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-dataqna" } + diff --git a/packages/google-cloud-datastream/package.json b/packages/google-cloud-datastream/package.json index a6f0ea95d48..f28739690c1 100644 --- a/packages/google-cloud-datastream/package.json +++ b/packages/google-cloud-datastream/package.json @@ -12,7 +12,8 @@ "main": "build/src/index.js", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -29,7 +30,7 @@ ], "scripts": { "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "docs": "jsdoc -c .jsdoc.js", "predocs-test": "npm run docs", @@ -69,3 +70,4 @@ }, "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-datastream" } + diff --git a/packages/google-cloud-deploy/package.json b/packages/google-cloud-deploy/package.json index 67cae9c3b7c..fcf076ae5d6 100644 --- a/packages/google-cloud-deploy/package.json +++ b/packages/google-cloud-deploy/package.json @@ -13,7 +13,8 @@ "main": "build/src/index.js", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -30,7 +31,7 @@ ], "scripts": { "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "docs": "jsdoc -c .jsdoc.js", "predocs-test": "npm run docs", @@ -69,3 +70,4 @@ "node": ">=12.0.0" } } + diff --git a/packages/google-cloud-dialogflow-cx/package.json b/packages/google-cloud-dialogflow-cx/package.json index 9161ee96a63..ace415b1b8f 100644 --- a/packages/google-cloud-dialogflow-cx/package.json +++ b/packages/google-cloud-dialogflow-cx/package.json @@ -12,7 +12,8 @@ "main": "build/src/index.js", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -40,7 +41,7 @@ ], "scripts": { "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "docs": "jsdoc -c .jsdoc.js", "predocs-test": "npm run docs", @@ -80,3 +81,4 @@ }, "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-dialogflow-cx" } + diff --git a/packages/google-cloud-dialogflow/package.json b/packages/google-cloud-dialogflow/package.json index ee79513b436..a01e98c5509 100644 --- a/packages/google-cloud-dialogflow/package.json +++ b/packages/google-cloud-dialogflow/package.json @@ -15,7 +15,8 @@ "main": "build/src/index.js", "files": [ "build/protos", - "build/src" + "build/src", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -39,7 +40,7 @@ "fix": "gts fix", "docs-test": "linkinator docs", "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "predocs-test": "npm run docs", "prepare": "npm run compile-protos && npm run compile", @@ -71,3 +72,4 @@ }, "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-dialogflow" } + diff --git a/packages/google-cloud-discoveryengine/package.json b/packages/google-cloud-discoveryengine/package.json index 61cf5a42730..4f1431a7603 100644 --- a/packages/google-cloud-discoveryengine/package.json +++ b/packages/google-cloud-discoveryengine/package.json @@ -13,7 +13,8 @@ "main": "build/src/index.js", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -30,7 +31,7 @@ ], "scripts": { "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "docs": "jsdoc -c .jsdoc.js", "predocs-test": "npm run docs", @@ -69,3 +70,4 @@ "node": ">=12.0.0" } } + diff --git a/packages/google-cloud-documentai/package.json b/packages/google-cloud-documentai/package.json index 267f6fa6767..78309d1842a 100644 --- a/packages/google-cloud-documentai/package.json +++ b/packages/google-cloud-documentai/package.json @@ -11,12 +11,13 @@ "author": "Google LLC", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "main": "build/src/index.js", "scripts": { "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "docs": "jsdoc -c .jsdoc.js", "docs-test": "linkinator docs", @@ -58,3 +59,4 @@ }, "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-documentai" } + diff --git a/packages/google-cloud-domains/package.json b/packages/google-cloud-domains/package.json index 56839bd0313..3381d0e3bff 100644 --- a/packages/google-cloud-domains/package.json +++ b/packages/google-cloud-domains/package.json @@ -12,7 +12,8 @@ "main": "build/src/index.js", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -29,7 +30,7 @@ ], "scripts": { "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "docs": "jsdoc -c .jsdoc.js", "predocs-test": "npm run docs", @@ -69,3 +70,4 @@ }, "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-domains" } + diff --git a/packages/google-cloud-essentialcontacts/package.json b/packages/google-cloud-essentialcontacts/package.json index 2c704c8fe00..e5e39cf24e9 100644 --- a/packages/google-cloud-essentialcontacts/package.json +++ b/packages/google-cloud-essentialcontacts/package.json @@ -12,7 +12,8 @@ "main": "build/src/index.js", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -29,7 +30,7 @@ ], "scripts": { "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "docs": "jsdoc -c .jsdoc.js", "samples-test": "npm run compile && cd samples/ && npm link ../ && npm i && npm test", @@ -69,3 +70,4 @@ }, "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-essentialcontacts" } + diff --git a/packages/google-cloud-eventarc-publishing/package.json b/packages/google-cloud-eventarc-publishing/package.json index 8f864b710e6..b73b961f5fd 100644 --- a/packages/google-cloud-eventarc-publishing/package.json +++ b/packages/google-cloud-eventarc-publishing/package.json @@ -12,7 +12,8 @@ "main": "build/src/index.js", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -29,7 +30,7 @@ ], "scripts": { "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "docs": "jsdoc -c .jsdoc.js", "predocs-test": "npm run docs", @@ -69,3 +70,4 @@ }, "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-eventarc-publishing" } + diff --git a/packages/google-cloud-eventarc/package.json b/packages/google-cloud-eventarc/package.json index 9699911aa43..2ee2c4d7fe6 100644 --- a/packages/google-cloud-eventarc/package.json +++ b/packages/google-cloud-eventarc/package.json @@ -12,7 +12,8 @@ "main": "build/src/index.js", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -29,7 +30,7 @@ ], "scripts": { "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "docs": "jsdoc -c .jsdoc.js", "predocs-test": "npm run docs", @@ -69,3 +70,4 @@ }, "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-eventarc" } + diff --git a/packages/google-cloud-filestore/package.json b/packages/google-cloud-filestore/package.json index e9ed155c87d..d377025e532 100644 --- a/packages/google-cloud-filestore/package.json +++ b/packages/google-cloud-filestore/package.json @@ -12,7 +12,8 @@ "main": "build/src/index.js", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -29,7 +30,7 @@ ], "scripts": { "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "docs": "jsdoc -c .jsdoc.js", "predocs-test": "npm run docs", @@ -69,3 +70,4 @@ }, "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-filestore" } + diff --git a/packages/google-cloud-functions/package.json b/packages/google-cloud-functions/package.json index 25caf5a7d1a..405794078bb 100644 --- a/packages/google-cloud-functions/package.json +++ b/packages/google-cloud-functions/package.json @@ -12,7 +12,8 @@ "main": "build/src/index.js", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -29,7 +30,7 @@ ], "scripts": { "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "docs": "jsdoc -c .jsdoc.js", "predocs-test": "npm run docs", @@ -69,3 +70,4 @@ }, "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-functions" } + diff --git a/packages/google-cloud-gaming/package.json b/packages/google-cloud-gaming/package.json index d564028415f..e649064af6e 100644 --- a/packages/google-cloud-gaming/package.json +++ b/packages/google-cloud-gaming/package.json @@ -11,12 +11,13 @@ "author": "Google LLC", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "main": "build/src/index.js", "scripts": { "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "docs": "jsdoc -c .jsdoc.js", "docs-test": "linkinator docs", @@ -57,3 +58,4 @@ }, "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-gaming" } + diff --git a/packages/google-cloud-gkebackup/package.json b/packages/google-cloud-gkebackup/package.json index a8d2db814c1..6790dcb8bb6 100644 --- a/packages/google-cloud-gkebackup/package.json +++ b/packages/google-cloud-gkebackup/package.json @@ -12,7 +12,8 @@ "main": "build/src/index.js", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -29,7 +30,7 @@ ], "scripts": { "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "docs": "jsdoc -c .jsdoc.js", "predocs-test": "npm run docs", @@ -69,3 +70,4 @@ }, "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-gkebackup" } + diff --git a/packages/google-cloud-gkeconnect-gateway/package.json b/packages/google-cloud-gkeconnect-gateway/package.json index 99be92c46c3..fe2fb9e4cb1 100644 --- a/packages/google-cloud-gkeconnect-gateway/package.json +++ b/packages/google-cloud-gkeconnect-gateway/package.json @@ -13,7 +13,8 @@ "main": "build/src/index.js", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -30,7 +31,7 @@ ], "scripts": { "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "docs": "jsdoc -c .jsdoc.js", "predocs-test": "npm run docs", @@ -69,3 +70,4 @@ "node": ">=12.0.0" } } + diff --git a/packages/google-cloud-gkehub/package.json b/packages/google-cloud-gkehub/package.json index d5b216dd6a7..b438323555d 100644 --- a/packages/google-cloud-gkehub/package.json +++ b/packages/google-cloud-gkehub/package.json @@ -12,7 +12,8 @@ "main": "build/src/index.js", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -29,7 +30,7 @@ ], "scripts": { "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "docs": "jsdoc -c .jsdoc.js", "predocs-test": "npm run docs", @@ -69,3 +70,4 @@ }, "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-gkehub" } + diff --git a/packages/google-cloud-gkemulticloud/package.json b/packages/google-cloud-gkemulticloud/package.json index 44e5a5f7218..cadc72e4d73 100644 --- a/packages/google-cloud-gkemulticloud/package.json +++ b/packages/google-cloud-gkemulticloud/package.json @@ -13,7 +13,8 @@ "main": "build/src/index.js", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -30,7 +31,7 @@ ], "scripts": { "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "docs": "jsdoc -c .jsdoc.js", "predocs-test": "npm run docs", @@ -69,3 +70,4 @@ "node": ">=12.0.0" } } + diff --git a/packages/google-cloud-gsuiteaddons/package.json b/packages/google-cloud-gsuiteaddons/package.json index 676f3b41a02..a9a2f228f4e 100644 --- a/packages/google-cloud-gsuiteaddons/package.json +++ b/packages/google-cloud-gsuiteaddons/package.json @@ -12,7 +12,8 @@ "main": "build/src/index.js", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-gsuiteaddons", "keywords": [ @@ -30,7 +31,7 @@ ], "scripts": { "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "docs": "jsdoc -c .jsdoc.js", "predocs-test": "npm run docs", @@ -69,3 +70,4 @@ "node": ">=12.0.0" } } + diff --git a/packages/google-cloud-iap/package.json b/packages/google-cloud-iap/package.json index 22ac0fe543f..9508f97a74d 100644 --- a/packages/google-cloud-iap/package.json +++ b/packages/google-cloud-iap/package.json @@ -12,7 +12,8 @@ "main": "build/src/index.js", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -29,7 +30,7 @@ ], "scripts": { "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "docs": "jsdoc -c .jsdoc.js", "predocs-test": "npm run docs", @@ -69,3 +70,4 @@ }, "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-iap" } + diff --git a/packages/google-cloud-ids/package.json b/packages/google-cloud-ids/package.json index 409f41f9c10..75b0e78ad52 100644 --- a/packages/google-cloud-ids/package.json +++ b/packages/google-cloud-ids/package.json @@ -12,7 +12,8 @@ "main": "build/src/index.js", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -29,7 +30,7 @@ ], "scripts": { "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "docs": "jsdoc -c .jsdoc.js", "predocs-test": "npm run docs", @@ -69,3 +70,4 @@ }, "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-ids" } + diff --git a/packages/google-cloud-iot/package.json b/packages/google-cloud-iot/package.json index 788b90150d1..78cffda549f 100644 --- a/packages/google-cloud-iot/package.json +++ b/packages/google-cloud-iot/package.json @@ -15,7 +15,8 @@ "main": "build/src/index.js", "files": [ "build/protos", - "build/src" + "build/src", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -40,9 +41,9 @@ "docs-test": "linkinator docs", "predocs-test": "npm run docs", "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", - "prepare": "npm run compile", + "prepare": "npm run compile-protos && npm run compile", "prelint": "cd samples; npm link ../; npm install", "precompile": "gts clean" }, @@ -70,3 +71,4 @@ }, "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-iot" } + diff --git a/packages/google-cloud-kms-inventory/package.json b/packages/google-cloud-kms-inventory/package.json index e757deaab31..005087c9686 100644 --- a/packages/google-cloud-kms-inventory/package.json +++ b/packages/google-cloud-kms-inventory/package.json @@ -12,7 +12,8 @@ "main": "build/src/index.js", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -31,7 +32,7 @@ "scripts": { "clean": "gts clean", "compile-protos": "compileProtos src", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "docs-test": "linkinator docs", "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", @@ -71,3 +72,4 @@ }, "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-kms-inventory" } + diff --git a/packages/google-cloud-kms/package.json b/packages/google-cloud-kms/package.json index fcc49ce4ac8..3e975c5de18 100644 --- a/packages/google-cloud-kms/package.json +++ b/packages/google-cloud-kms/package.json @@ -15,7 +15,8 @@ "main": "build/src/index.js", "files": [ "build/protos", - "build/src" + "build/src", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -33,7 +34,7 @@ "scripts": { "clean": "gts clean", "compile-protos": "compileProtos src", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "docs-test": "linkinator docs", "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", @@ -70,3 +71,4 @@ }, "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-kms" } + diff --git a/packages/google-cloud-language/package.json b/packages/google-cloud-language/package.json index 68cce5f31c9..6da4579f3df 100644 --- a/packages/google-cloud-language/package.json +++ b/packages/google-cloud-language/package.json @@ -19,7 +19,8 @@ "build/src", "AUTHORS", "CONTRIBUTORS", - "LICENSE" + "LICENSE", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -43,7 +44,7 @@ "fix": "gts fix", "docs-test": "linkinator docs", "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "predocs-test": "npm run docs", "prepare": "npm run compile", @@ -74,3 +75,4 @@ "webpack-cli": "^5.0.0" } } + diff --git a/packages/google-cloud-lifesciences/package.json b/packages/google-cloud-lifesciences/package.json index 8602451f8cf..7ea8d7f3131 100644 --- a/packages/google-cloud-lifesciences/package.json +++ b/packages/google-cloud-lifesciences/package.json @@ -12,7 +12,8 @@ "main": "build/src/index.js", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -29,7 +30,7 @@ ], "scripts": { "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "docs": "jsdoc -c .jsdoc.js", "predocs-test": "npm run docs", @@ -69,3 +70,4 @@ }, "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-lifesciences" } + diff --git a/packages/google-cloud-managedidentities/package.json b/packages/google-cloud-managedidentities/package.json index 3282328391d..fca7dfa3ff9 100644 --- a/packages/google-cloud-managedidentities/package.json +++ b/packages/google-cloud-managedidentities/package.json @@ -12,7 +12,8 @@ "main": "build/src/index.js", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -29,7 +30,7 @@ ], "scripts": { "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "docs": "jsdoc -c .jsdoc.js", "predocs-test": "npm run docs", @@ -69,3 +70,4 @@ }, "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-managedidentities" } + diff --git a/packages/google-cloud-mediatranslation/package.json b/packages/google-cloud-mediatranslation/package.json index c110d10c17b..d6f0c812ccd 100644 --- a/packages/google-cloud-mediatranslation/package.json +++ b/packages/google-cloud-mediatranslation/package.json @@ -11,18 +11,19 @@ "author": "Google LLC", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "main": "build/src/index.js", "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-mediatranslation", "scripts": { "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "docs": "jsdoc -c .jsdoc.js", "docs-test": "linkinator docs", "predocs-test": "npm run docs", - "prepare": "npm run compile && npm run compile-protos && npm run compile", + "prepare": "npm run compile-protos && npm run compile", "system-test": "npm run compile && c8 mocha build/system-test", "test": "c8 mocha build/test", "fix": "gts fix", @@ -57,3 +58,4 @@ "node": ">=12.0.0" } } + diff --git a/packages/google-cloud-memcache/package.json b/packages/google-cloud-memcache/package.json index 0de66e8d539..d588ae59a34 100644 --- a/packages/google-cloud-memcache/package.json +++ b/packages/google-cloud-memcache/package.json @@ -13,11 +13,12 @@ "main": "build/src/index.js", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "scripts": { "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "docs": "jsdoc -c .jsdoc.js", "predocs-test": "npm run docs", @@ -57,3 +58,4 @@ "node": ">=12.0.0" } } + diff --git a/packages/google-cloud-metastore/package.json b/packages/google-cloud-metastore/package.json index 8bda239a8b4..9c87a78005e 100644 --- a/packages/google-cloud-metastore/package.json +++ b/packages/google-cloud-metastore/package.json @@ -12,7 +12,8 @@ "main": "build/src/index.js", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -29,7 +30,7 @@ ], "scripts": { "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "docs": "jsdoc -c .jsdoc.js", "predocs-test": "npm run docs", @@ -69,3 +70,4 @@ }, "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-metastore" } + diff --git a/packages/google-cloud-monitoring/package.json b/packages/google-cloud-monitoring/package.json index 80154cc4301..1c4afa5cf47 100644 --- a/packages/google-cloud-monitoring/package.json +++ b/packages/google-cloud-monitoring/package.json @@ -15,7 +15,8 @@ "main": "build/src/index.js", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -41,7 +42,7 @@ "predocs-test": "npm run docs", "prelint": "cd samples; npm link ../; npm install", "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "prepare": "npm run compile", "precompile": "gts clean" @@ -71,3 +72,4 @@ }, "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-monitoring" } + diff --git a/packages/google-cloud-networkconnectivity/package.json b/packages/google-cloud-networkconnectivity/package.json index 7406a30b8eb..aa93b4a5a09 100644 --- a/packages/google-cloud-networkconnectivity/package.json +++ b/packages/google-cloud-networkconnectivity/package.json @@ -12,7 +12,8 @@ "main": "build/src/index.js", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -29,7 +30,7 @@ ], "scripts": { "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "docs": "jsdoc -c .jsdoc.js", "predocs-test": "npm run docs", @@ -69,3 +70,4 @@ }, "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-networkconnectivity" } + diff --git a/packages/google-cloud-networkmanagement/package.json b/packages/google-cloud-networkmanagement/package.json index c67192014ba..d785608eaa5 100644 --- a/packages/google-cloud-networkmanagement/package.json +++ b/packages/google-cloud-networkmanagement/package.json @@ -12,7 +12,8 @@ "main": "build/src/index.js", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -29,7 +30,7 @@ ], "scripts": { "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "docs": "jsdoc -c .jsdoc.js", "predocs-test": "npm run docs", @@ -69,3 +70,4 @@ }, "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-networkmanagement" } + diff --git a/packages/google-cloud-networksecurity/package.json b/packages/google-cloud-networksecurity/package.json index 0d25f396348..f82329555e6 100644 --- a/packages/google-cloud-networksecurity/package.json +++ b/packages/google-cloud-networksecurity/package.json @@ -12,7 +12,8 @@ "main": "build/src/index.js", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -29,7 +30,7 @@ ], "scripts": { "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "docs": "jsdoc -c .jsdoc.js", "predocs-test": "npm run docs", @@ -69,3 +70,4 @@ }, "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-networksecurity" } + diff --git a/packages/google-cloud-notebooks/package.json b/packages/google-cloud-notebooks/package.json index 23a73e9dd7f..a5091bae431 100644 --- a/packages/google-cloud-notebooks/package.json +++ b/packages/google-cloud-notebooks/package.json @@ -12,7 +12,8 @@ "main": "build/src/index.js", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -29,7 +30,7 @@ ], "scripts": { "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "docs": "jsdoc -c .jsdoc.js", "predocs-test": "npm run docs", @@ -69,3 +70,4 @@ }, "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-notebooks" } + diff --git a/packages/google-cloud-optimization/package.json b/packages/google-cloud-optimization/package.json index a3f393dbdea..f3b95d9740c 100644 --- a/packages/google-cloud-optimization/package.json +++ b/packages/google-cloud-optimization/package.json @@ -12,7 +12,8 @@ "main": "build/src/index.js", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -29,7 +30,7 @@ ], "scripts": { "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "docs": "jsdoc -c .jsdoc.js", "predocs-test": "npm run docs", @@ -69,3 +70,4 @@ }, "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-optimization" } + diff --git a/packages/google-cloud-orchestration-airflow-service/package.json b/packages/google-cloud-orchestration-airflow-service/package.json index 95f345dcd2f..12a253ecdc8 100644 --- a/packages/google-cloud-orchestration-airflow-service/package.json +++ b/packages/google-cloud-orchestration-airflow-service/package.json @@ -12,7 +12,8 @@ "main": "build/src/index.js", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -29,7 +30,7 @@ ], "scripts": { "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "docs": "jsdoc -c .jsdoc.js", "predocs-test": "npm run docs", @@ -69,3 +70,4 @@ }, "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-orchestration-airflow-service" } + diff --git a/packages/google-cloud-orgpolicy/package.json b/packages/google-cloud-orgpolicy/package.json index b8d6e88cee1..0b0d03cc9d6 100644 --- a/packages/google-cloud-orgpolicy/package.json +++ b/packages/google-cloud-orgpolicy/package.json @@ -12,7 +12,8 @@ "main": "build/src/index.js", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -29,7 +30,7 @@ ], "scripts": { "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "docs": "jsdoc -c .jsdoc.js", "predocs-test": "npm run docs", @@ -69,3 +70,4 @@ }, "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-orgpolicy" } + diff --git a/packages/google-cloud-osconfig/package.json b/packages/google-cloud-osconfig/package.json index 824c395087d..fdf934d260a 100644 --- a/packages/google-cloud-osconfig/package.json +++ b/packages/google-cloud-osconfig/package.json @@ -12,11 +12,12 @@ "main": "build/src/index.js", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "scripts": { "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "docs": "jsdoc -c .jsdoc.js", "predocs-test": "npm run docs", @@ -55,3 +56,4 @@ }, "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-osconfig" } + diff --git a/packages/google-cloud-oslogin/package.json b/packages/google-cloud-oslogin/package.json index 3b5b85bcf82..55e82598f85 100644 --- a/packages/google-cloud-oslogin/package.json +++ b/packages/google-cloud-oslogin/package.json @@ -18,7 +18,8 @@ "build/protos", "build/src", "AUTHORS", - "COPYING" + "COPYING", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -43,7 +44,7 @@ "docs-test": "linkinator docs", "predocs-test": "npm run docs", "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "prepare": "npm run compile", "prelint": "cd samples; npm link ../; npm install", @@ -72,3 +73,4 @@ "webpack-cli": "^5.0.0" } } + diff --git a/packages/google-cloud-phishingprotection/package.json b/packages/google-cloud-phishingprotection/package.json index d4781d5535b..94a0fa2bd4e 100644 --- a/packages/google-cloud-phishingprotection/package.json +++ b/packages/google-cloud-phishingprotection/package.json @@ -12,7 +12,8 @@ "main": "build/src/index.js", "files": [ "build/protos", - "build/src" + "build/src", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -60,7 +61,7 @@ "predocs-test": "npm run docs", "docs-test": "linkinator docs", "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "prepare": "npm run compile", "prelint": "cd samples; npm link ../; npm install", @@ -71,3 +72,4 @@ "node": ">=12.0.0" } } + diff --git a/packages/google-cloud-policytroubleshooter/package.json b/packages/google-cloud-policytroubleshooter/package.json index df76cae5f92..7aa17393590 100644 --- a/packages/google-cloud-policytroubleshooter/package.json +++ b/packages/google-cloud-policytroubleshooter/package.json @@ -13,7 +13,8 @@ "main": "build/src/index.js", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -30,7 +31,7 @@ ], "scripts": { "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "docs": "jsdoc -c .jsdoc.js", "predocs-test": "npm run docs", @@ -69,3 +70,4 @@ "node": ">=12.0.0" } } + diff --git a/packages/google-cloud-privatecatalog/package.json b/packages/google-cloud-privatecatalog/package.json index c2d9b40df28..e816cee41f9 100644 --- a/packages/google-cloud-privatecatalog/package.json +++ b/packages/google-cloud-privatecatalog/package.json @@ -12,7 +12,8 @@ "main": "build/src/index.js", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -29,7 +30,7 @@ ], "scripts": { "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "docs": "jsdoc -c .jsdoc.js", "predocs-test": "npm run docs", @@ -69,3 +70,4 @@ }, "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-privatecatalog" } + diff --git a/packages/google-cloud-recaptchaenterprise/package.json b/packages/google-cloud-recaptchaenterprise/package.json index da3349129f2..67920acc33a 100644 --- a/packages/google-cloud-recaptchaenterprise/package.json +++ b/packages/google-cloud-recaptchaenterprise/package.json @@ -13,7 +13,8 @@ "build/protos", "build/src", "AUTHORS", - "COPYING" + "COPYING", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -59,7 +60,7 @@ "test": "c8 mocha build/test", "docs-test": "linkinator docs", "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "predocs-test": "npm run docs", "prepare": "npm run compile", @@ -72,3 +73,4 @@ }, "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-recaptchaenterprise" } + diff --git a/packages/google-cloud-recommender/package.json b/packages/google-cloud-recommender/package.json index c72b2a75b4a..0758063d7f1 100644 --- a/packages/google-cloud-recommender/package.json +++ b/packages/google-cloud-recommender/package.json @@ -12,12 +12,13 @@ "author": "Google LLC", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "main": "build/src/index.js", "scripts": { "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "docs": "jsdoc -c .jsdoc.js", "docs-test": "linkinator docs", @@ -57,3 +58,4 @@ "node": ">=12.0.0" } } + diff --git a/packages/google-cloud-redis/package.json b/packages/google-cloud-redis/package.json index 2e9b2d85f64..83a0584c7b0 100644 --- a/packages/google-cloud-redis/package.json +++ b/packages/google-cloud-redis/package.json @@ -16,7 +16,8 @@ "main": "build/src/index.js", "files": [ "build/protos", - "build/src" + "build/src", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -39,7 +40,7 @@ "lint": "gts check", "fix": "gts fix", "docs-test": "linkinator docs", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "predocs-test": "npm run docs", "prepare": "npm run compile-protos && npm run compile", @@ -72,3 +73,4 @@ "webpack-cli": "^5.0.0" } } + diff --git a/packages/google-cloud-resourcemanager/package.json b/packages/google-cloud-resourcemanager/package.json index 41e1b402c60..c48f9ca699f 100644 --- a/packages/google-cloud-resourcemanager/package.json +++ b/packages/google-cloud-resourcemanager/package.json @@ -17,7 +17,8 @@ "types": "./build/src/index.d.ts", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -33,7 +34,7 @@ ], "scripts": { "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "docs": "jsdoc -c .jsdoc.js", "predocs-test": "npm run docs", @@ -70,3 +71,4 @@ "webpack-cli": "^5.0.0" } } + diff --git a/packages/google-cloud-resourcesettings/package.json b/packages/google-cloud-resourcesettings/package.json index 9b4f7e456d6..e3b534d8e14 100644 --- a/packages/google-cloud-resourcesettings/package.json +++ b/packages/google-cloud-resourcesettings/package.json @@ -12,7 +12,8 @@ "main": "build/src/index.js", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -29,7 +30,7 @@ ], "scripts": { "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "docs": "jsdoc -c .jsdoc.js", "predocs-test": "npm run docs", @@ -69,3 +70,4 @@ }, "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-resourcesettings" } + diff --git a/packages/google-cloud-retail/package.json b/packages/google-cloud-retail/package.json index b1b2159e716..1d86cb2461a 100644 --- a/packages/google-cloud-retail/package.json +++ b/packages/google-cloud-retail/package.json @@ -12,7 +12,8 @@ "main": "build/src/index.js", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -32,7 +33,7 @@ ], "scripts": { "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "docs": "jsdoc -c .jsdoc.js", "predocs-test": "npm run docs", @@ -72,3 +73,4 @@ }, "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-retail" } + diff --git a/packages/google-cloud-run/package.json b/packages/google-cloud-run/package.json index 259ab59172c..98053a415e9 100644 --- a/packages/google-cloud-run/package.json +++ b/packages/google-cloud-run/package.json @@ -11,7 +11,8 @@ "author": "Google LLC", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "keywords": [ "secrets", @@ -25,7 +26,7 @@ "main": "build/src/index.js", "scripts": { "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "docs": "jsdoc -c .jsdoc.js", "predocs-test": "npm run docs", @@ -66,3 +67,4 @@ }, "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-run" } + diff --git a/packages/google-cloud-scheduler/package.json b/packages/google-cloud-scheduler/package.json index 16eb6cc6d9e..320161f0e0e 100644 --- a/packages/google-cloud-scheduler/package.json +++ b/packages/google-cloud-scheduler/package.json @@ -15,7 +15,8 @@ "main": "build/src/index.js", "files": [ "build/protos", - "build/src" + "build/src", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -36,7 +37,7 @@ "system-test": "npm run compile && c8 mocha build/system-test", "docs-test": "linkinator docs", "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "predocs-test": "npm run docs", "prepare": "npm run compile", @@ -66,3 +67,4 @@ }, "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-scheduler" } + diff --git a/packages/google-cloud-secretmanager/package.json b/packages/google-cloud-secretmanager/package.json index 9d7cabeaf73..81c60c242aa 100644 --- a/packages/google-cloud-secretmanager/package.json +++ b/packages/google-cloud-secretmanager/package.json @@ -11,7 +11,8 @@ "author": "Google LLC", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "keywords": [ "secrets", @@ -25,7 +26,7 @@ "main": "build/src/index.js", "scripts": { "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "docs": "jsdoc -c .jsdoc.js", "predocs-test": "npm run docs", @@ -66,3 +67,4 @@ }, "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-secretmanager" } + diff --git a/packages/google-cloud-security-privateca/package.json b/packages/google-cloud-security-privateca/package.json index 3963708e6fb..defe26f53d9 100644 --- a/packages/google-cloud-security-privateca/package.json +++ b/packages/google-cloud-security-privateca/package.json @@ -12,7 +12,8 @@ "main": "build/src/index.js", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -29,7 +30,7 @@ ], "scripts": { "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "docs": "jsdoc -c .jsdoc.js", "predocs-test": "npm run docs", @@ -69,3 +70,4 @@ }, "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-security-privateca" } + diff --git a/packages/google-cloud-security-publicca/package.json b/packages/google-cloud-security-publicca/package.json index 13929666296..9474ffec64a 100644 --- a/packages/google-cloud-security-publicca/package.json +++ b/packages/google-cloud-security-publicca/package.json @@ -13,7 +13,8 @@ "main": "build/src/index.js", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -30,7 +31,7 @@ ], "scripts": { "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "docs": "jsdoc -c .jsdoc.js", "predocs-test": "npm run docs", @@ -69,3 +70,4 @@ "node": ">=12.0.0" } } + diff --git a/packages/google-cloud-securitycenter/package.json b/packages/google-cloud-securitycenter/package.json index 5eacc7d1dae..355fda4e70a 100644 --- a/packages/google-cloud-securitycenter/package.json +++ b/packages/google-cloud-securitycenter/package.json @@ -14,12 +14,13 @@ }, "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "main": "build/src/index.js", "scripts": { "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "docs": "jsdoc -c .jsdoc.js", "docs-test": "linkinator docs", "fix": "gts fix", @@ -67,3 +68,4 @@ }, "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-securitycenter" } + diff --git a/packages/google-cloud-servicedirectory/package.json b/packages/google-cloud-servicedirectory/package.json index 5cedad5a775..3983249826f 100644 --- a/packages/google-cloud-servicedirectory/package.json +++ b/packages/google-cloud-servicedirectory/package.json @@ -11,12 +11,13 @@ "author": "Google LLC", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "main": "build/src/index.js", "scripts": { "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "docs": "jsdoc -c .jsdoc.js", "docs-test": "linkinator docs", @@ -56,3 +57,4 @@ }, "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-servicedirectory" } + diff --git a/packages/google-cloud-shell/package.json b/packages/google-cloud-shell/package.json index 01c3fa10bb4..e4143fa3bde 100644 --- a/packages/google-cloud-shell/package.json +++ b/packages/google-cloud-shell/package.json @@ -13,7 +13,8 @@ "main": "build/src/index.js", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -30,7 +31,7 @@ ], "scripts": { "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "docs": "jsdoc -c .jsdoc.js", "predocs-test": "npm run docs", @@ -69,3 +70,4 @@ "node": ">=12.0.0" } } + diff --git a/packages/google-cloud-speech/package.json b/packages/google-cloud-speech/package.json index 1cc8e54942b..4d56e74eb3f 100644 --- a/packages/google-cloud-speech/package.json +++ b/packages/google-cloud-speech/package.json @@ -17,7 +17,8 @@ "build/protos", "build/src", "AUTHORS", - "LICENSE" + "LICENSE", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -41,7 +42,7 @@ "fix": "gts fix", "docs-test": "linkinator docs", "predocs-test": "npm run docs", - "compile": "tsc -p . && cp system-test/*.js build/system-test/ && cp -r protos build/", + "compile": "tsc -p . && cp system-test/*.js build/system-test/ && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "prepare": "npm run compile-protos && npm run compile", "pretest": "npm run compile", @@ -79,3 +80,4 @@ }, "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-speech" } + diff --git a/packages/google-cloud-talent/package.json b/packages/google-cloud-talent/package.json index 03a13f98c95..c9dc3699cbf 100644 --- a/packages/google-cloud-talent/package.json +++ b/packages/google-cloud-talent/package.json @@ -15,7 +15,8 @@ "main": "build/src/index.js", "files": [ "build/protos", - "build/src" + "build/src", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -41,7 +42,7 @@ "docs-test": "linkinator docs", "prelint": "cd samples; npm link ../; npm install", "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "prepare": "npm run compile-protos && npm run compile", "precompile": "gts clean" @@ -70,3 +71,4 @@ }, "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-talent" } + diff --git a/packages/google-cloud-tasks/package.json b/packages/google-cloud-tasks/package.json index 82dd7656e26..b9ce860fc3e 100644 --- a/packages/google-cloud-tasks/package.json +++ b/packages/google-cloud-tasks/package.json @@ -15,7 +15,8 @@ "main": "build/src/index.js", "files": [ "build/protos", - "build/src" + "build/src", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -39,7 +40,7 @@ "docs": "jsdoc -c .jsdoc.js", "docs-test": "linkinator docs", "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "predocs-test": "npm run docs", "prepare": "npm run compile", @@ -71,3 +72,4 @@ }, "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-tasks" } + diff --git a/packages/google-cloud-texttospeech/package.json b/packages/google-cloud-texttospeech/package.json index a250e19d53b..d836616ff15 100644 --- a/packages/google-cloud-texttospeech/package.json +++ b/packages/google-cloud-texttospeech/package.json @@ -15,7 +15,8 @@ "main": "build/src/index.js", "files": [ "build/protos", - "build/src" + "build/src", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -39,7 +40,7 @@ "fix": "gts fix", "docs-test": "linkinator docs", "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "predocs-test": "npm run docs", "prepare": "npm run compile", @@ -71,3 +72,4 @@ }, "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-texttospeech" } + diff --git a/packages/google-cloud-tpu/package.json b/packages/google-cloud-tpu/package.json index e5641eb5521..d9b9bb8dab0 100644 --- a/packages/google-cloud-tpu/package.json +++ b/packages/google-cloud-tpu/package.json @@ -12,7 +12,8 @@ "main": "build/src/index.js", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -29,7 +30,7 @@ ], "scripts": { "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "docs": "jsdoc -c .jsdoc.js", "predocs-test": "npm run docs", @@ -69,3 +70,4 @@ }, "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-tpu" } + diff --git a/packages/google-cloud-translate/package.json b/packages/google-cloud-translate/package.json index 0dee2396c6d..83e963c1ef9 100644 --- a/packages/google-cloud-translate/package.json +++ b/packages/google-cloud-translate/package.json @@ -17,6 +17,7 @@ "files": [ "build/src", "build/protos", + "!build/src/**/*.map", "!build/src/**/*.map" ], "keywords": [ @@ -38,7 +39,7 @@ "samples-test": "npm run compile && cd samples/ && npm link ../ && npm i && npm test", "system-test": "npm run compile && c8 mocha build/system-test", "test": "c8 mocha build/test", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "fix": "gts fix", "prepare": "npm run compile-protos && npm run compile", @@ -82,3 +83,4 @@ }, "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-translate" } + diff --git a/packages/google-cloud-video-livestream/package.json b/packages/google-cloud-video-livestream/package.json index 14925d6c258..b547d63ec9d 100644 --- a/packages/google-cloud-video-livestream/package.json +++ b/packages/google-cloud-video-livestream/package.json @@ -12,7 +12,8 @@ "main": "build/src/index.js", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -29,7 +30,7 @@ ], "scripts": { "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "docs": "jsdoc -c .jsdoc.js", "predocs-test": "npm run docs", @@ -69,3 +70,4 @@ }, "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-video-livestream" } + diff --git a/packages/google-cloud-video-stitcher/package.json b/packages/google-cloud-video-stitcher/package.json index b46a0e2da76..90a35fd7bd0 100644 --- a/packages/google-cloud-video-stitcher/package.json +++ b/packages/google-cloud-video-stitcher/package.json @@ -12,7 +12,8 @@ "main": "build/src/index.js", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -29,7 +30,7 @@ ], "scripts": { "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "docs": "jsdoc -c .jsdoc.js", "predocs-test": "npm run docs", @@ -69,3 +70,4 @@ }, "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-video-stitcher" } + diff --git a/packages/google-cloud-video-transcoder/package.json b/packages/google-cloud-video-transcoder/package.json index 9812da895b6..ae6b5743537 100644 --- a/packages/google-cloud-video-transcoder/package.json +++ b/packages/google-cloud-video-transcoder/package.json @@ -12,7 +12,8 @@ "main": "build/src/index.js", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -29,7 +30,7 @@ ], "scripts": { "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "docs": "jsdoc -c .jsdoc.js", "predocs-test": "npm run docs", @@ -68,3 +69,4 @@ }, "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-video-transcoder" } + diff --git a/packages/google-cloud-videointelligence/package.json b/packages/google-cloud-videointelligence/package.json index 1f00a72b8d4..18a3606c2b8 100644 --- a/packages/google-cloud-videointelligence/package.json +++ b/packages/google-cloud-videointelligence/package.json @@ -16,7 +16,8 @@ "files": [ "build/protos", "build/src", - "LICENSE" + "LICENSE", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -42,7 +43,7 @@ "predocs-test": "npm run docs", "prelint": "cd samples; npm link ../; npm install", "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "prepare": "npm run compile", "precompile": "gts clean" @@ -71,3 +72,4 @@ }, "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-videointelligence" } + diff --git a/packages/google-cloud-vision/package.json b/packages/google-cloud-vision/package.json index c165ce11a6f..579932fec94 100644 --- a/packages/google-cloud-vision/package.json +++ b/packages/google-cloud-vision/package.json @@ -16,7 +16,8 @@ "types": "build/src/index.d.ts", "files": [ "build/protos", - "build/src" + "build/src", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -43,7 +44,7 @@ "predocs-test": "npm run docs", "prelint": "cd samples; npm link ../; npm install", "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "prepare": "npm run compile", "precompile": "gts clean" @@ -79,3 +80,4 @@ }, "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-vision" } + diff --git a/packages/google-cloud-vmmigration/package.json b/packages/google-cloud-vmmigration/package.json index a2c128b2e4f..1dfdd460a14 100644 --- a/packages/google-cloud-vmmigration/package.json +++ b/packages/google-cloud-vmmigration/package.json @@ -12,7 +12,8 @@ "main": "build/src/index.js", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -29,7 +30,7 @@ ], "scripts": { "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "docs": "jsdoc -c .jsdoc.js", "predocs-test": "npm run docs", @@ -70,3 +71,4 @@ }, "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-vmmigration" } + diff --git a/packages/google-cloud-vmwareengine/package.json b/packages/google-cloud-vmwareengine/package.json index 570cf2fd8ca..5c26f3af8b6 100644 --- a/packages/google-cloud-vmwareengine/package.json +++ b/packages/google-cloud-vmwareengine/package.json @@ -12,7 +12,8 @@ "main": "build/src/index.js", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-vmwareengine", "keywords": [ @@ -30,7 +31,7 @@ ], "scripts": { "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "docs": "jsdoc -c .jsdoc.js", "predocs-test": "npm run docs", @@ -69,3 +70,4 @@ "node": ">=12.0.0" } } + diff --git a/packages/google-cloud-vpcaccess/package.json b/packages/google-cloud-vpcaccess/package.json index 5428006f73d..b80dbd4a0c4 100644 --- a/packages/google-cloud-vpcaccess/package.json +++ b/packages/google-cloud-vpcaccess/package.json @@ -12,7 +12,8 @@ "main": "build/src/index.js", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -29,7 +30,7 @@ ], "scripts": { "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "docs": "jsdoc -c .jsdoc.js", "predocs-test": "npm run docs", @@ -69,3 +70,4 @@ }, "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-vpcaccess" } + diff --git a/packages/google-cloud-webrisk/package.json b/packages/google-cloud-webrisk/package.json index 53a43b2e62d..b212027850c 100644 --- a/packages/google-cloud-webrisk/package.json +++ b/packages/google-cloud-webrisk/package.json @@ -11,7 +11,8 @@ "main": "build/src/index.js", "files": [ "build/protos", - "build/src" + "build/src", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -61,7 +62,7 @@ "samples-test": "npm run compile && cd samples/ && npm link ../ && npm i && npm test", "system-test": "npm run compile && c8 mocha build/system-test", "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "prepare": "npm run compile", "pretest": "npm run compile", @@ -74,3 +75,4 @@ }, "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-webrisk" } + diff --git a/packages/google-cloud-websecurityscanner/package.json b/packages/google-cloud-websecurityscanner/package.json index ec08a48934c..69925ce6fec 100644 --- a/packages/google-cloud-websecurityscanner/package.json +++ b/packages/google-cloud-websecurityscanner/package.json @@ -12,7 +12,8 @@ "main": "build/src/index.js", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -29,7 +30,7 @@ ], "scripts": { "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "docs": "jsdoc -c .jsdoc.js", "predocs-test": "npm run docs", @@ -69,3 +70,4 @@ }, "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-websecurityscanner" } + diff --git a/packages/google-cloud-workflows-executions/package.json b/packages/google-cloud-workflows-executions/package.json index fac2c25cffa..5777cfef749 100644 --- a/packages/google-cloud-workflows-executions/package.json +++ b/packages/google-cloud-workflows-executions/package.json @@ -12,7 +12,8 @@ "main": "build/src/index.js", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -29,7 +30,7 @@ ], "scripts": { "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "docs": "jsdoc -c .jsdoc.js", "predocs-test": "npm run docs", @@ -70,3 +71,4 @@ }, "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-workflows-executions" } + diff --git a/packages/google-cloud-workstations/package.json b/packages/google-cloud-workstations/package.json index cd0f2353b16..bd8229198df 100644 --- a/packages/google-cloud-workstations/package.json +++ b/packages/google-cloud-workstations/package.json @@ -12,7 +12,8 @@ "main": "build/src/index.js", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-workstations", "keywords": [ @@ -30,7 +31,7 @@ ], "scripts": { "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "docs": "jsdoc -c .jsdoc.js", "predocs-test": "npm run docs", @@ -69,3 +70,4 @@ "node": ">=12.0.0" } } + diff --git a/packages/google-container/package.json b/packages/google-container/package.json index 5861cf25301..e3f2302d5d5 100644 --- a/packages/google-container/package.json +++ b/packages/google-container/package.json @@ -15,7 +15,8 @@ "main": "build/src/index.js", "files": [ "build/protos", - "build/src" + "build/src", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -39,7 +40,7 @@ "docs": "jsdoc -c .jsdoc.js", "docs-test": "linkinator docs", "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "predocs-test": "npm run docs", "prepare": "npm run compile-protos && npm run compile", @@ -70,3 +71,4 @@ }, "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-container" } + diff --git a/packages/google-dataflow/package.json b/packages/google-dataflow/package.json index 89c7c48e9de..b1e1b593250 100644 --- a/packages/google-dataflow/package.json +++ b/packages/google-dataflow/package.json @@ -12,7 +12,8 @@ "main": "build/src/index.js", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -29,7 +30,7 @@ ], "scripts": { "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "docs": "jsdoc -c .jsdoc.js", "predocs-test": "npm run docs", @@ -69,3 +70,4 @@ }, "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-dataflow" } + diff --git a/packages/google-devtools-artifactregistry/package.json b/packages/google-devtools-artifactregistry/package.json index be8df9ab715..065d7c14d24 100644 --- a/packages/google-devtools-artifactregistry/package.json +++ b/packages/google-devtools-artifactregistry/package.json @@ -13,7 +13,8 @@ "main": "build/src/index.js", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -30,7 +31,7 @@ ], "scripts": { "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "docs": "jsdoc -c .jsdoc.js", "predocs-test": "npm run docs", @@ -69,3 +70,4 @@ "node": ">=12.0.0" } } + diff --git a/packages/google-devtools-cloudbuild/package.json b/packages/google-devtools-cloudbuild/package.json index 760aaf5e195..7c1274aeadb 100644 --- a/packages/google-devtools-cloudbuild/package.json +++ b/packages/google-devtools-cloudbuild/package.json @@ -12,7 +12,8 @@ "browser": "src/browser.js", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -48,7 +49,7 @@ "lint": "gts check", "clean": "gts clean", "fix": "gts fix", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "prepare": "npm run compile-protos && npm run compile", "pretest": "npm run compile", @@ -69,3 +70,4 @@ }, "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-devtools-cloudbuild" } + diff --git a/packages/google-devtools-containeranalysis/package.json b/packages/google-devtools-containeranalysis/package.json index 14fe06744b3..6f973d6b1d0 100644 --- a/packages/google-devtools-containeranalysis/package.json +++ b/packages/google-devtools-containeranalysis/package.json @@ -8,7 +8,8 @@ "main": "build/src/index.js", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -66,3 +67,4 @@ "node": ">=v12" } } + diff --git a/packages/google-iam-credentials/package.json b/packages/google-iam-credentials/package.json index 498fd4ce11b..50ed35e36c0 100644 --- a/packages/google-iam-credentials/package.json +++ b/packages/google-iam-credentials/package.json @@ -12,7 +12,8 @@ "main": "build/src/index.js", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -29,7 +30,7 @@ ], "scripts": { "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "docs": "jsdoc -c .jsdoc.js", "predocs-test": "npm run docs", @@ -69,3 +70,4 @@ }, "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-iam-credentials" } + diff --git a/packages/google-iam/package.json b/packages/google-iam/package.json index d5dc1cd0877..2b75818143f 100644 --- a/packages/google-iam/package.json +++ b/packages/google-iam/package.json @@ -1,4 +1,76 @@ { + "name": "@google-cloud/iam", + "version": "0.3.1", + "description": "Identity and Access Management client for Node.js", + "repository": { + "type": "git", + "url": "https://github.com/googleapis/google-cloud-node.git", + "directory": "packages/google-iam" + }, + "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-iam", + "license": "Apache-2.0", + "author": "Google LLC", + "main": "build/src/index.js", + "files": [ + "build/src", + "build/protos", + "!build/src/**/*.map" + ], + "keywords": [ + "google apis client", + "google api client", + "google apis", + "google api", + "google", + "google cloud platform", + "google cloud", + "cloud", + "google iam", + "iam", + "Identity and Access Management" + ], + "scripts": { + "clean": "gts clean", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", + "compile-protos": "compileProtos src", + "docs": "jsdoc -c .jsdoc.js", + "predocs-test": "npm run docs", + "docs-test": "linkinator docs", + "fix": "gts fix", + "lint": "gts check", + "prepare": "npm run compile-protos && npm run compile", + "system-test": "npm run compile && c8 mocha build/system-test", + "test": "c8 mocha build/test", + "samples-test": "npm run compile && cd samples/ && npm link ../ && npm i && npm test", + "prelint": "cd samples; npm link ../; npm i" + }, + "dependencies": { + "google-gax": "^3.5.2" + }, + "devDependencies": { + "@types/mocha": "^9.0.0", + "@types/node": "^18.0.0", + "@types/sinon": "^10.0.0", + "c8": "^7.3.5", + "gts": "^3.1.0", + "jsdoc": "^4.0.0", + "jsdoc-fresh": "^2.0.0", + "jsdoc-region-tag": "^2.0.0", + "linkinator": "^4.0.0", + "mocha": "^9.2.2", + "null-loader": "^4.0.1", + "pack-n-play": "^1.0.0-2", + "sinon": "^15.0.0", + "ts-loader": "^9.0.0", + "typescript": "^4.6.4", + "webpack": "^5.9.0", + "webpack-cli": "^5.0.0" + }, + "engines": { + "node": ">=12.0.0" + } +} +======= "name": "@google-cloud/iam", "version": "0.3.1", "description": "Identity and Access Management client for Node.js", @@ -69,3 +141,4 @@ "node": ">=12.0.0" } } + diff --git a/packages/google-identity-accesscontextmanager/package.json b/packages/google-identity-accesscontextmanager/package.json index 69afbaa8255..ae96135f215 100644 --- a/packages/google-identity-accesscontextmanager/package.json +++ b/packages/google-identity-accesscontextmanager/package.json @@ -12,7 +12,8 @@ "main": "build/src/index.js", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -29,7 +30,7 @@ ], "scripts": { "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "docs": "jsdoc -c .jsdoc.js", "predocs-test": "npm run docs", @@ -69,3 +70,4 @@ }, "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-identity-accesscontextmanager" } + diff --git a/packages/google-maps-addressvalidation/package.json b/packages/google-maps-addressvalidation/package.json index 15927632b81..df491da9e31 100644 --- a/packages/google-maps-addressvalidation/package.json +++ b/packages/google-maps-addressvalidation/package.json @@ -13,7 +13,8 @@ "main": "build/src/index.js", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -30,7 +31,7 @@ ], "scripts": { "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "docs": "jsdoc -c .jsdoc.js", "predocs-test": "npm run docs", @@ -69,3 +70,4 @@ "node": ">=12.0.0" } } + diff --git a/packages/google-maps-mapsplatformdatasets/package.json b/packages/google-maps-mapsplatformdatasets/package.json index dd57a1ec839..e21789bfa3b 100644 --- a/packages/google-maps-mapsplatformdatasets/package.json +++ b/packages/google-maps-mapsplatformdatasets/package.json @@ -12,7 +12,8 @@ "main": "build/src/index.js", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-maps-mapsplatformdatasets", "keywords": [ @@ -30,7 +31,7 @@ ], "scripts": { "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "docs": "jsdoc -c .jsdoc.js", "predocs-test": "npm run docs", @@ -69,3 +70,4 @@ "node": ">=12.0.0" } } + diff --git a/packages/google-maps-routing/package.json b/packages/google-maps-routing/package.json index b8b46f579bd..88d0ad25284 100644 --- a/packages/google-maps-routing/package.json +++ b/packages/google-maps-routing/package.json @@ -13,7 +13,8 @@ "main": "build/src/index.js", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -30,7 +31,7 @@ ], "scripts": { "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "docs": "jsdoc -c .jsdoc.js", "predocs-test": "npm run docs", @@ -69,3 +70,4 @@ "node": ">=12.0.0" } } + diff --git a/packages/google-monitoring-dashboard/package.json b/packages/google-monitoring-dashboard/package.json index a5666806d78..aeaefdfee4b 100644 --- a/packages/google-monitoring-dashboard/package.json +++ b/packages/google-monitoring-dashboard/package.json @@ -12,12 +12,13 @@ "author": "Google LLC", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "main": "build/src/index.js", "scripts": { "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "docs": "jsdoc -c .jsdoc.js", "docs-test": "linkinator docs", @@ -57,3 +58,4 @@ "node": ">=12.0.0" } } + diff --git a/packages/google-privacy-dlp/package.json b/packages/google-privacy-dlp/package.json index 681c1c35ce2..06d6a9ff342 100644 --- a/packages/google-privacy-dlp/package.json +++ b/packages/google-privacy-dlp/package.json @@ -15,7 +15,8 @@ "main": "build/src/index.js", "files": [ "build/protos", - "build/src" + "build/src", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -39,7 +40,7 @@ "fix": "gts fix", "docs-test": "linkinator docs", "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "predocs-test": "npm run docs", "prepare": "npm run compile-protos && npm run compile", @@ -70,3 +71,4 @@ }, "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-privacy-dlp" } + diff --git a/packages/google-storagetransfer/package.json b/packages/google-storagetransfer/package.json index ec2516201c2..c11322c2287 100644 --- a/packages/google-storagetransfer/package.json +++ b/packages/google-storagetransfer/package.json @@ -12,7 +12,8 @@ "main": "build/src/index.js", "files": [ "build/src", - "build/protos" + "build/protos", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -29,7 +30,7 @@ ], "scripts": { "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "docs": "jsdoc -c .jsdoc.js", "predocs-test": "npm run docs", @@ -69,3 +70,4 @@ }, "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-storagetransfer" } + diff --git a/packages/grafeas/package.json b/packages/grafeas/package.json index 1b27b9b68eb..dfd9de453d7 100644 --- a/packages/grafeas/package.json +++ b/packages/grafeas/package.json @@ -11,7 +11,8 @@ "main": "build/src/index.js", "files": [ "build/protos", - "build/src" + "build/src", + "!build/src/**/*.map" ], "keywords": [ "google apis client", @@ -59,7 +60,7 @@ "predocs-test": "npm run docs", "docs-test": "linkinator docs", "clean": "gts clean", - "compile": "tsc -p . && cp -r protos build/", + "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "prepare": "npm run compile", "prelint": "cd samples; npm link ../; npm install", diff --git a/packages/typeless-sample-bot/package.json b/packages/typeless-sample-bot/package.json index 400a8206611..24417842896 100644 --- a/packages/typeless-sample-bot/package.json +++ b/packages/typeless-sample-bot/package.json @@ -53,3 +53,4 @@ "typescript": "^4.6.3" } } +