From cd34e80479fa4680f0462329214d22584189a25b Mon Sep 17 00:00:00 2001 From: Brent Shaffer Date: Thu, 17 Sep 2026 01:53:19 +0000 Subject: [PATCH 1/3] chore: replace prepare script with prepublishOnly across workspace packages --- core/common/package.json | 2 +- core/common/system-test/fixtures/kitchen/package.json | 2 +- core/dev-packages/pack-n-play/package.json | 2 +- .../dev-packages/pack-n-play/test/fixtures/leaky/package.json | 2 +- core/dev-packages/pack-n-play/test/fixtures/pass/package.json | 2 +- .../baselines-esm/duplicate_methods_test-esm/package.json | 2 +- .../baselines/asset-esm/package.json | 2 +- .../gapic-generator-typescript/baselines/asset/package.json | 2 +- .../baselines/bigquery-storage-esm/package.json | 2 +- .../baselines/bigquery-storage/package.json | 2 +- .../baselines/bigquery-v2-esm/package.json | 2 +- .../baselines/bigquery-v2/package.json | 2 +- .../baselines/compute-esm/package.json | 2 +- .../gapic-generator-typescript/baselines/compute/package.json | 2 +- .../baselines/deprecatedtest-esm/package.json | 2 +- .../baselines/deprecatedtest/package.json | 2 +- .../baselines/disable-packing-test-esm/package.json | 2 +- .../baselines/disable-packing-test/package.json | 2 +- .../gapic-generator-typescript/baselines/dlp-esm/package.json | 2 +- .../gapic-generator-typescript/baselines/dlp/package.json | 2 +- .../baselines/duplicate_methods_test-esm/package.json | 2 +- .../baselines/duplicate_methods_test/package.json | 2 +- .../gapic-generator-typescript/baselines/kms-esm/package.json | 2 +- .../gapic-generator-typescript/baselines/kms/package.json | 2 +- .../baselines/logging-esm/package.json | 2 +- .../gapic-generator-typescript/baselines/logging/package.json | 2 +- .../baselines/monitoring-esm/package.json | 2 +- .../baselines/monitoring/package.json | 2 +- .../baselines/naming-esm/package.json | 2 +- .../gapic-generator-typescript/baselines/naming/package.json | 2 +- .../baselines/redis-esm/package.json | 2 +- .../gapic-generator-typescript/baselines/redis/package.json | 2 +- .../baselines/retail-esm/package.json | 2 +- .../gapic-generator-typescript/baselines/retail/package.json | 2 +- .../baselines/routingtest-esm/package.json | 2 +- .../baselines/routingtest/package.json | 2 +- .../baselines/showcase-esm/package.json | 2 +- .../baselines/showcase-legacy-esm/package.json | 2 +- .../baselines/showcase-legacy/package.json | 2 +- .../baselines/showcase/package.json | 2 +- .../baselines/tasks-esm/package.json | 2 +- .../gapic-generator-typescript/baselines/tasks/package.json | 2 +- .../baselines/texttospeech-esm/package.json | 2 +- .../baselines/texttospeech/package.json | 2 +- .../baselines/translate-esm/package.json | 2 +- .../baselines/translate/package.json | 2 +- .../baselines/videointelligence-esm/package.json | 2 +- .../baselines/videointelligence/package.json | 2 +- .../templates/cjs/typescript_gapic/package.json | 2 +- .../templates/esm/typescript_gapic/package.json | 2 +- .../google-cloud-speech-nodejs/speech-v1-nodejs/package.json | 2 +- .../speech-v1p1beta1-nodejs/package.json | 2 +- .../google-cloud-speech-nodejs/speech-v2-nodejs/package.json | 2 +- .../test-fixtures/google-cloud-speech/package.json | 2 +- .../google-cloud-tasks-nodejs/tasks-v2-nodejs/package.json | 2 +- .../tasks-v2beta2-nodejs/package.json | 2 +- core/packages/gapic-node-processing/package.json | 2 +- .../templates/bootstrap-templates/package.json | 2 +- .../analytics-data-v1alpha-nodejs/package.json | 2 +- .../google-analytics-data-v1beta-nodejs/package.json | 2 +- .../combined-library/google-analytics-data/package.json | 2 +- .../google-cloud-speech-nodejs/speech-v1-nodejs/package.json | 2 +- .../speech-v1p1beta1-nodejs/package.json | 2 +- .../google-cloud-speech-nodejs/speech-v2-nodejs/package.json | 2 +- .../combined-library/google-cloud-speech/package.json | 2 +- .../google-cloud-tasks-nodejs/tasks-v2-nodejs/package.json | 2 +- .../tasks-v2beta2-nodejs/package.json | 2 +- .../fixtures/combined-library/google-cloud-tasks/package.json | 2 +- core/packages/gax/package.json | 2 +- core/packages/gax/test/browser-test/package.json | 2 +- core/packages/gax/test/showcase-echo-client/package.json | 2 +- core/packages/gax/test/showcase-server/package.json | 2 +- core/packages/gax/test/test-application/package.json | 2 +- core/packages/gaxios/package.json | 2 +- core/packages/gaxios/system-test/fixtures/sample/package.json | 2 +- core/packages/gcp-metadata/package.json | 2 +- .../gcp-metadata/system-test/fixtures/kitchen/package.json | 2 +- core/packages/google-auth-library-nodejs/package.json | 2 +- .../system-test/fixtures/kitchen/package.json | 2 +- core/packages/logging-utils/package.json | 4 ++-- core/packages/nodejs-googleapis-common/package.json | 2 +- .../system-test/fixtures/kitchen/package.json | 2 +- core/packages/nodejs-proto-files/package.json | 4 ++-- core/packages/proto3-json-serializer-nodejs/package.json | 2 +- core/packages/teeny-request/package.json | 2 +- core/packages/tools/package.json | 4 ++-- core/packages/typeless-sample-bot/package.json | 2 +- core/paginator/package.json | 2 +- core/precise-date/package.json | 2 +- core/projectify/package.json | 2 +- core/promisify/package.json | 2 +- handwritten/bigquery-storage/package.json | 2 +- handwritten/bigquery/package.json | 2 +- handwritten/bigtable/package.json | 2 +- handwritten/cloud-profiler/package.json | 2 +- handwritten/cloud-profiler/system-test/busybench/package.json | 2 +- handwritten/datastore/package.json | 2 +- handwritten/error-reporting/package.json | 2 +- handwritten/firestore/package.json | 2 +- handwritten/google-cloud-dns/package.json | 2 +- handwritten/logging-bunyan/package.json | 2 +- handwritten/logging-winston/package.json | 2 +- handwritten/logging/package.json | 2 +- handwritten/pubsub/package.json | 2 +- handwritten/pubsub/system-test/fixtures/sample/package.json | 2 +- handwritten/spanner-driver/package.json | 2 +- handwritten/spanner/package.json | 2 +- handwritten/spanner/system-test/fixtures/sample/package.json | 2 +- handwritten/storage/package.json | 2 +- packages/google-ads-admanager/package.json | 2 +- packages/google-ads-datamanager/package.json | 2 +- packages/google-ai-generativelanguage/package.json | 2 +- packages/google-analytics-admin/package.json | 2 +- packages/google-analytics-data/package.json | 2 +- packages/google-api-apikeys/package.json | 2 +- packages/google-api-cloudquotas/package.json | 2 +- packages/google-api-servicecontrol/package.json | 2 +- packages/google-api-servicemanagement/package.json | 2 +- packages/google-api-serviceusage/package.json | 2 +- packages/google-appengine/package.json | 2 +- packages/google-apps-events-subscriptions/package.json | 2 +- packages/google-apps-meet/package.json | 2 +- packages/google-area120-tables/package.json | 2 +- packages/google-chat/package.json | 2 +- packages/google-cloud-accessapproval/package.json | 2 +- packages/google-cloud-advisorynotifications/package.json | 2 +- packages/google-cloud-agentidentity/package.json | 2 +- packages/google-cloud-agentregistry/package.json | 2 +- packages/google-cloud-aiplatform/package.json | 2 +- packages/google-cloud-alloydb/package.json | 2 +- packages/google-cloud-apigateway/package.json | 2 +- packages/google-cloud-apigeeconnect/package.json | 2 +- packages/google-cloud-apigeeregistry/package.json | 2 +- packages/google-cloud-apihub/package.json | 2 +- packages/google-cloud-apiregistry/package.json | 2 +- packages/google-cloud-apphub/package.json | 2 +- packages/google-cloud-appoptimize/package.json | 2 +- packages/google-cloud-apptopology/package.json | 2 +- packages/google-cloud-asset/package.json | 2 +- packages/google-cloud-assuredworkloads/package.json | 2 +- packages/google-cloud-auditmanager/package.json | 2 +- packages/google-cloud-automl/package.json | 2 +- packages/google-cloud-backupdr/package.json | 2 +- packages/google-cloud-baremetalsolution/package.json | 2 +- packages/google-cloud-batch/package.json | 2 +- packages/google-cloud-beyondcorp-appconnections/package.json | 2 +- packages/google-cloud-beyondcorp-appconnectors/package.json | 2 +- packages/google-cloud-beyondcorp-appgateways/package.json | 2 +- .../package.json | 2 +- packages/google-cloud-beyondcorp-clientgateways/package.json | 2 +- packages/google-cloud-bigquery-analyticshub/package.json | 2 +- packages/google-cloud-bigquery-connection/package.json | 2 +- packages/google-cloud-bigquery-dataexchange/package.json | 2 +- packages/google-cloud-bigquery-datapolicies/package.json | 2 +- packages/google-cloud-bigquery-datatransfer/package.json | 2 +- packages/google-cloud-bigquery-migration/package.json | 2 +- packages/google-cloud-bigquery-reservation/package.json | 2 +- packages/google-cloud-bigquery-storage-api/package.json | 2 +- packages/google-cloud-bigtable-api/package.json | 2 +- packages/google-cloud-billing-budgets/package.json | 2 +- packages/google-cloud-billing/package.json | 2 +- packages/google-cloud-binaryauthorization/package.json | 2 +- packages/google-cloud-capacityplanner/package.json | 2 +- packages/google-cloud-certificatemanager/package.json | 2 +- packages/google-cloud-ces/package.json | 2 +- packages/google-cloud-channel/package.json | 2 +- packages/google-cloud-chronicle/package.json | 2 +- packages/google-cloud-cloudcontrolspartner/package.json | 2 +- packages/google-cloud-clouddms/package.json | 2 +- packages/google-cloud-cloudsecuritycompliance/package.json | 2 +- .../google-cloud-commerce-consumer-procurement/package.json | 2 +- packages/google-cloud-commerceproducer/package.json | 2 +- packages/google-cloud-compute/package.json | 2 +- packages/google-cloud-confidentialcomputing/package.json | 2 +- packages/google-cloud-config/package.json | 2 +- packages/google-cloud-configdelivery/package.json | 2 +- packages/google-cloud-connectors/package.json | 2 +- packages/google-cloud-contactcenterinsights/package.json | 2 +- packages/google-cloud-contentwarehouse/package.json | 2 +- packages/google-cloud-databasecenter/package.json | 2 +- .../package.json | 2 +- packages/google-cloud-datacatalog-lineage/package.json | 2 +- packages/google-cloud-datacatalog/package.json | 2 +- packages/google-cloud-dataform/package.json | 2 +- packages/google-cloud-datafusion/package.json | 2 +- packages/google-cloud-datalabeling/package.json | 2 +- packages/google-cloud-dataplex/package.json | 2 +- packages/google-cloud-dataproc/package.json | 2 +- packages/google-cloud-dataqna/package.json | 2 +- packages/google-cloud-datastore-api/package.json | 2 +- packages/google-cloud-datastream/package.json | 2 +- packages/google-cloud-deploy/package.json | 2 +- packages/google-cloud-developerconnect/package.json | 2 +- packages/google-cloud-devicestreaming/package.json | 2 +- packages/google-cloud-dialogflow-cx/package.json | 2 +- packages/google-cloud-dialogflow/package.json | 2 +- packages/google-cloud-discoveryengine/package.json | 2 +- packages/google-cloud-documentai/package.json | 2 +- packages/google-cloud-domains/package.json | 2 +- packages/google-cloud-edgecontainer/package.json | 2 +- packages/google-cloud-edgenetwork/package.json | 2 +- packages/google-cloud-essentialcontacts/package.json | 2 +- packages/google-cloud-eventarc-publishing/package.json | 2 +- packages/google-cloud-eventarc/package.json | 2 +- packages/google-cloud-filestore/package.json | 2 +- packages/google-cloud-financialservices/package.json | 2 +- packages/google-cloud-firestore-api/package.json | 2 +- packages/google-cloud-ftp/package.json | 2 +- packages/google-cloud-functions/package.json | 2 +- packages/google-cloud-gdchardwaremanagement/package.json | 2 +- packages/google-cloud-geminidataanalytics/package.json | 2 +- packages/google-cloud-gkebackup/package.json | 2 +- packages/google-cloud-gkeconnect-gateway/package.json | 2 +- packages/google-cloud-gkehub/package.json | 2 +- packages/google-cloud-gkemulticloud/package.json | 2 +- packages/google-cloud-gkerecommender/package.json | 2 +- packages/google-cloud-gsuiteaddons/package.json | 2 +- packages/google-cloud-hypercomputecluster/package.json | 2 +- packages/google-cloud-iap/package.json | 2 +- packages/google-cloud-ids/package.json | 2 +- packages/google-cloud-iot/package.json | 2 +- packages/google-cloud-kms-inventory/package.json | 2 +- packages/google-cloud-kms/package.json | 2 +- packages/google-cloud-language/package.json | 2 +- packages/google-cloud-licensemanager/package.json | 2 +- packages/google-cloud-lifesciences/package.json | 2 +- packages/google-cloud-locationfinder/package.json | 2 +- packages/google-cloud-logging-api/package.json | 2 +- packages/google-cloud-lustre/package.json | 2 +- packages/google-cloud-maintenance-api/package.json | 2 +- packages/google-cloud-managedidentities/package.json | 2 +- .../google-cloud-managedkafka-schemaregistry/package.json | 2 +- packages/google-cloud-managedkafka/package.json | 2 +- packages/google-cloud-mediatranslation/package.json | 2 +- packages/google-cloud-memcache/package.json | 2 +- packages/google-cloud-memorystore/package.json | 2 +- packages/google-cloud-metastore/package.json | 2 +- packages/google-cloud-migrationcenter/package.json | 2 +- packages/google-cloud-modelarmor/package.json | 2 +- packages/google-cloud-monitoring/package.json | 2 +- packages/google-cloud-netapp/package.json | 2 +- packages/google-cloud-networkconnectivity/package.json | 2 +- packages/google-cloud-networkmanagement/package.json | 2 +- packages/google-cloud-networksecurity/package.json | 2 +- packages/google-cloud-networkservices/package.json | 2 +- packages/google-cloud-notebooks/package.json | 2 +- packages/google-cloud-oracledatabase/package.json | 2 +- .../google-cloud-orchestration-airflow-service/package.json | 2 +- packages/google-cloud-orgpolicy/package.json | 2 +- packages/google-cloud-osconfig/package.json | 2 +- packages/google-cloud-oslogin/package.json | 2 +- packages/google-cloud-parallelstore/package.json | 2 +- packages/google-cloud-parametermanager/package.json | 2 +- packages/google-cloud-phishingprotection/package.json | 2 +- packages/google-cloud-policysimulator/package.json | 2 +- packages/google-cloud-policytroubleshooter-iam/package.json | 2 +- packages/google-cloud-policytroubleshooter/package.json | 2 +- packages/google-cloud-privatecatalog/package.json | 2 +- packages/google-cloud-privilegedaccessmanager/package.json | 2 +- packages/google-cloud-productregistry/package.json | 2 +- packages/google-cloud-pubsub-api/package.json | 2 +- packages/google-cloud-rapidmigrationassessment/package.json | 2 +- packages/google-cloud-recaptchaenterprise/package.json | 2 +- packages/google-cloud-recommender/package.json | 2 +- packages/google-cloud-redis-cluster/package.json | 2 +- packages/google-cloud-redis/package.json | 2 +- packages/google-cloud-resourcemanager/package.json | 2 +- packages/google-cloud-retail/package.json | 2 +- packages/google-cloud-run/package.json | 2 +- .../google-cloud-saasplatform-saasservicemgmt/package.json | 2 +- packages/google-cloud-scheduler/package.json | 2 +- packages/google-cloud-secretmanager/package.json | 2 +- packages/google-cloud-securesourcemanager/package.json | 2 +- packages/google-cloud-security-privateca/package.json | 2 +- packages/google-cloud-security-publicca/package.json | 2 +- packages/google-cloud-securitycenter/package.json | 2 +- packages/google-cloud-securitycentermanagement/package.json | 2 +- packages/google-cloud-servicedirectory/package.json | 2 +- packages/google-cloud-servicehealth/package.json | 2 +- packages/google-cloud-shell/package.json | 2 +- packages/google-cloud-spanner-api/package.json | 2 +- packages/google-cloud-speech/package.json | 2 +- packages/google-cloud-sql/package.json | 2 +- packages/google-cloud-storagebatchoperations/package.json | 2 +- packages/google-cloud-storageinsights/package.json | 2 +- packages/google-cloud-support/package.json | 2 +- packages/google-cloud-talent/package.json | 2 +- packages/google-cloud-tasks/package.json | 2 +- packages/google-cloud-telcoautomation/package.json | 2 +- packages/google-cloud-texttospeech/package.json | 2 +- packages/google-cloud-tpu/package.json | 2 +- packages/google-cloud-translate/package.json | 2 +- packages/google-cloud-vectorsearch/package.json | 2 +- packages/google-cloud-video-livestream/package.json | 2 +- packages/google-cloud-video-stitcher/package.json | 2 +- packages/google-cloud-video-transcoder/package.json | 2 +- packages/google-cloud-videointelligence/package.json | 2 +- packages/google-cloud-vision/package.json | 2 +- packages/google-cloud-visionai/package.json | 2 +- packages/google-cloud-vmmigration/package.json | 2 +- packages/google-cloud-vmwareengine/package.json | 2 +- packages/google-cloud-vpcaccess/package.json | 2 +- packages/google-cloud-webrisk/package.json | 2 +- packages/google-cloud-websecurityscanner/package.json | 2 +- packages/google-cloud-workflows/package.json | 2 +- packages/google-cloud-workloadidentity/package.json | 2 +- packages/google-cloud-workloadmanager/package.json | 2 +- packages/google-cloud-workstations/package.json | 2 +- packages/google-container/package.json | 2 +- packages/google-dataflow/package.json | 2 +- packages/google-developer-knowledge/package.json | 2 +- packages/google-devicesandservices-health/package.json | 2 +- packages/google-devtools-artifactregistry/package.json | 2 +- packages/google-devtools-cloudbuild/package.json | 2 +- packages/google-devtools-cloudprofiler/package.json | 2 +- packages/google-devtools-containeranalysis/package.json | 2 +- packages/google-iam-credentials/package.json | 2 +- packages/google-iam/package.json | 2 +- packages/google-identity-accesscontextmanager/package.json | 2 +- packages/google-maps-addressvalidation/package.json | 2 +- packages/google-maps-areainsights/package.json | 2 +- packages/google-maps-fleetengine-delivery/package.json | 2 +- packages/google-maps-fleetengine/package.json | 2 +- packages/google-maps-geocode/package.json | 2 +- packages/google-maps-isochrones/package.json | 2 +- packages/google-maps-mapmanagement/package.json | 2 +- packages/google-maps-mapsplatformdatasets/package.json | 2 +- packages/google-maps-navconnect/package.json | 2 +- packages/google-maps-places/package.json | 2 +- packages/google-maps-routeoptimization/package.json | 2 +- packages/google-maps-routing/package.json | 2 +- packages/google-maps-solar/package.json | 2 +- packages/google-marketingplatform-admin/package.json | 2 +- packages/google-monitoring-dashboard/package.json | 2 +- packages/google-privacy-dlp/package.json | 2 +- packages/google-shopping-css/package.json | 2 +- packages/google-shopping-merchant-accounts/package.json | 2 +- packages/google-shopping-merchant-conversions/package.json | 2 +- packages/google-shopping-merchant-datasources/package.json | 2 +- packages/google-shopping-merchant-inventories/package.json | 2 +- .../google-shopping-merchant-issueresolution/package.json | 2 +- packages/google-shopping-merchant-lfp/package.json | 2 +- .../google-shopping-merchant-loyaltycustomers/package.json | 2 +- packages/google-shopping-merchant-notifications/package.json | 2 +- packages/google-shopping-merchant-ordertracking/package.json | 2 +- packages/google-shopping-merchant-products/package.json | 2 +- packages/google-shopping-merchant-promotions/package.json | 2 +- packages/google-shopping-merchant-quota/package.json | 2 +- packages/google-shopping-merchant-reports/package.json | 2 +- packages/google-shopping-merchant-reviews/package.json | 2 +- packages/google-storage-control/package.json | 2 +- packages/google-storagetransfer/package.json | 2 +- packages/google-streetview-publish/package.json | 2 +- packages/grafeas/package.json | 2 +- 354 files changed, 357 insertions(+), 357 deletions(-) diff --git a/core/common/package.json b/core/common/package.json index 43ec43a570f1..bd8698a90462 100644 --- a/core/common/package.json +++ b/core/common/package.json @@ -21,7 +21,7 @@ "scripts": { "docs": "jsdoc -c .jsdoc.js", "test": "c8 mocha build/test", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "pretest": "npm run compile", "compile": "tsc -p .", "fix": "gts fix", diff --git a/core/common/system-test/fixtures/kitchen/package.json b/core/common/system-test/fixtures/kitchen/package.json index 23134794590d..2952991f0a29 100644 --- a/core/common/system-test/fixtures/kitchen/package.json +++ b/core/common/system-test/fixtures/kitchen/package.json @@ -8,7 +8,7 @@ "clean": "gts clean", "compile": "tsc -p .", "fix": "gts fix", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "pretest": "npm run compile", "posttest": "npm run check", "start": "node build/src/index.js" diff --git a/core/dev-packages/pack-n-play/package.json b/core/dev-packages/pack-n-play/package.json index 0eb056e22950..67f16d502c15 100644 --- a/core/dev-packages/pack-n-play/package.json +++ b/core/dev-packages/pack-n-play/package.json @@ -24,7 +24,7 @@ "docs": "echo no docs needed", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "pretest": "npm run compile", "samples-test": "echo 'no test'", "system-test": "echo 'no test'", diff --git a/core/dev-packages/pack-n-play/test/fixtures/leaky/package.json b/core/dev-packages/pack-n-play/test/fixtures/leaky/package.json index 089c9cfda284..b72701e84ffd 100644 --- a/core/dev-packages/pack-n-play/test/fixtures/leaky/package.json +++ b/core/dev-packages/pack-n-play/test/fixtures/leaky/package.json @@ -11,7 +11,7 @@ ], "main": "build/src/index.js", "scripts": { - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "compile": "tsc -p tsconfig.json", "test": "mocha build/test", "pretest": "npm run compile", diff --git a/core/dev-packages/pack-n-play/test/fixtures/pass/package.json b/core/dev-packages/pack-n-play/test/fixtures/pass/package.json index b496bfdbaed2..3325d4023930 100644 --- a/core/dev-packages/pack-n-play/test/fixtures/pass/package.json +++ b/core/dev-packages/pack-n-play/test/fixtures/pass/package.json @@ -11,7 +11,7 @@ ], "main": "build/src/index.js", "scripts": { - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "compile": "tsc -p .", "test": "mocha build/test", "pretest": "npm run compile" diff --git a/core/generator/gapic-generator-typescript/baselines-esm/duplicate_methods_test-esm/package.json b/core/generator/gapic-generator-typescript/baselines-esm/duplicate_methods_test-esm/package.json index bccee397c2cd..b0263b0aa505 100644 --- a/core/generator/gapic-generator-typescript/baselines-esm/duplicate_methods_test-esm/package.json +++ b/core/generator/gapic-generator-typescript/baselines-esm/duplicate_methods_test-esm/package.json @@ -57,7 +57,7 @@ "postpack": "minifyProtoJson build/cjs && minifyProtoJson build/esm", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile-protos && npm run compile", + "prepublishOnly": "npm run compile-protos && npm run compile", "system-test:cjs": "c8 mocha build/cjs/system-test", "system-test:esm": "c8 mocha build/esm/system-test", "system-test": "npm run system-test:esm && npm run system-test:cjs", diff --git a/core/generator/gapic-generator-typescript/baselines/asset-esm/package.json b/core/generator/gapic-generator-typescript/baselines/asset-esm/package.json index ff401651157a..ffab57639e60 100644 --- a/core/generator/gapic-generator-typescript/baselines/asset-esm/package.json +++ b/core/generator/gapic-generator-typescript/baselines/asset-esm/package.json @@ -62,7 +62,7 @@ "postpack": "minifyProtoJson build/cjs && minifyProtoJson build/esm", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile-protos && npm run compile", + "prepublishOnly": "npm run compile-protos && npm run compile", "system-test:cjs": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/cjs/system-test", "system-test:esm": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/esm/system-test", "system-test": "npm run system-test:esm && npm run system-test:cjs", diff --git a/core/generator/gapic-generator-typescript/baselines/asset/package.json b/core/generator/gapic-generator-typescript/baselines/asset/package.json index 78edd37b9e97..52d42968ded5 100644 --- a/core/generator/gapic-generator-typescript/baselines/asset/package.json +++ b/core/generator/gapic-generator-typescript/baselines/asset/package.json @@ -35,7 +35,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile-protos && npm run compile", + "prepublishOnly": "npm run compile-protos && npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test" }, diff --git a/core/generator/gapic-generator-typescript/baselines/bigquery-storage-esm/package.json b/core/generator/gapic-generator-typescript/baselines/bigquery-storage-esm/package.json index 433f83918edf..5d356fad89d2 100644 --- a/core/generator/gapic-generator-typescript/baselines/bigquery-storage-esm/package.json +++ b/core/generator/gapic-generator-typescript/baselines/bigquery-storage-esm/package.json @@ -62,7 +62,7 @@ "postpack": "minifyProtoJson build/cjs && minifyProtoJson build/esm", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile-protos && npm run compile", + "prepublishOnly": "npm run compile-protos && npm run compile", "system-test:cjs": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/cjs/system-test", "system-test:esm": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/esm/system-test", "system-test": "npm run system-test:esm && npm run system-test:cjs", diff --git a/core/generator/gapic-generator-typescript/baselines/bigquery-storage/package.json b/core/generator/gapic-generator-typescript/baselines/bigquery-storage/package.json index 7bf3fb6e093b..b03e1085d698 100644 --- a/core/generator/gapic-generator-typescript/baselines/bigquery-storage/package.json +++ b/core/generator/gapic-generator-typescript/baselines/bigquery-storage/package.json @@ -35,7 +35,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile-protos && npm run compile", + "prepublishOnly": "npm run compile-protos && npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test" }, diff --git a/core/generator/gapic-generator-typescript/baselines/bigquery-v2-esm/package.json b/core/generator/gapic-generator-typescript/baselines/bigquery-v2-esm/package.json index 445fa07b0b14..1fbf0f3aeb91 100644 --- a/core/generator/gapic-generator-typescript/baselines/bigquery-v2-esm/package.json +++ b/core/generator/gapic-generator-typescript/baselines/bigquery-v2-esm/package.json @@ -68,7 +68,7 @@ "postpack": "minifyProtoJson build/cjs && minifyProtoJson build/esm", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile-protos && npm run compile", + "prepublishOnly": "npm run compile-protos && npm run compile", "system-test:cjs": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/cjs/system-test", "system-test:esm": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/esm/system-test", "system-test": "npm run system-test:esm && npm run system-test:cjs", diff --git a/core/generator/gapic-generator-typescript/baselines/bigquery-v2/package.json b/core/generator/gapic-generator-typescript/baselines/bigquery-v2/package.json index d2a1f7442159..8452b8573193 100644 --- a/core/generator/gapic-generator-typescript/baselines/bigquery-v2/package.json +++ b/core/generator/gapic-generator-typescript/baselines/bigquery-v2/package.json @@ -41,7 +41,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile-protos && npm run compile", + "prepublishOnly": "npm run compile-protos && npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test" }, diff --git a/core/generator/gapic-generator-typescript/baselines/compute-esm/package.json b/core/generator/gapic-generator-typescript/baselines/compute-esm/package.json index a1b679e7191f..4c6d402d75d5 100644 --- a/core/generator/gapic-generator-typescript/baselines/compute-esm/package.json +++ b/core/generator/gapic-generator-typescript/baselines/compute-esm/package.json @@ -63,7 +63,7 @@ "postpack": "minifyProtoJson build/cjs && minifyProtoJson build/esm", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile-protos && npm run compile", + "prepublishOnly": "npm run compile-protos && npm run compile", "system-test:cjs": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/cjs/system-test", "system-test:esm": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/esm/system-test", "system-test": "npm run system-test:esm && npm run system-test:cjs", diff --git a/core/generator/gapic-generator-typescript/baselines/compute/package.json b/core/generator/gapic-generator-typescript/baselines/compute/package.json index bab8a896e11f..675ebcd29f8e 100644 --- a/core/generator/gapic-generator-typescript/baselines/compute/package.json +++ b/core/generator/gapic-generator-typescript/baselines/compute/package.json @@ -36,7 +36,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile-protos && npm run compile", + "prepublishOnly": "npm run compile-protos && npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test" }, diff --git a/core/generator/gapic-generator-typescript/baselines/deprecatedtest-esm/package.json b/core/generator/gapic-generator-typescript/baselines/deprecatedtest-esm/package.json index b7c1c195c62c..6741e4601a74 100644 --- a/core/generator/gapic-generator-typescript/baselines/deprecatedtest-esm/package.json +++ b/core/generator/gapic-generator-typescript/baselines/deprecatedtest-esm/package.json @@ -62,7 +62,7 @@ "postpack": "minifyProtoJson build/cjs && minifyProtoJson build/esm", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile-protos && npm run compile", + "prepublishOnly": "npm run compile-protos && npm run compile", "system-test:cjs": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/cjs/system-test", "system-test:esm": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/esm/system-test", "system-test": "npm run system-test:esm && npm run system-test:cjs", diff --git a/core/generator/gapic-generator-typescript/baselines/deprecatedtest/package.json b/core/generator/gapic-generator-typescript/baselines/deprecatedtest/package.json index b47b7c11ab35..bca55c7810e2 100644 --- a/core/generator/gapic-generator-typescript/baselines/deprecatedtest/package.json +++ b/core/generator/gapic-generator-typescript/baselines/deprecatedtest/package.json @@ -35,7 +35,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile-protos && npm run compile", + "prepublishOnly": "npm run compile-protos && npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test" }, diff --git a/core/generator/gapic-generator-typescript/baselines/disable-packing-test-esm/package.json b/core/generator/gapic-generator-typescript/baselines/disable-packing-test-esm/package.json index 4e51610b8c24..0b8f311ca738 100644 --- a/core/generator/gapic-generator-typescript/baselines/disable-packing-test-esm/package.json +++ b/core/generator/gapic-generator-typescript/baselines/disable-packing-test-esm/package.json @@ -67,7 +67,7 @@ "postpack": "minifyProtoJson build/cjs && minifyProtoJson build/esm", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile-protos && npm run compile", + "prepublishOnly": "npm run compile-protos && npm run compile", "system-test:cjs": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/cjs/system-test", "system-test:esm": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/esm/system-test", "system-test": "npm run system-test:esm && npm run system-test:cjs", diff --git a/core/generator/gapic-generator-typescript/baselines/disable-packing-test/package.json b/core/generator/gapic-generator-typescript/baselines/disable-packing-test/package.json index 2505e58f46d9..b0d08b077962 100644 --- a/core/generator/gapic-generator-typescript/baselines/disable-packing-test/package.json +++ b/core/generator/gapic-generator-typescript/baselines/disable-packing-test/package.json @@ -40,7 +40,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile-protos && npm run compile", + "prepublishOnly": "npm run compile-protos && npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test" }, diff --git a/core/generator/gapic-generator-typescript/baselines/dlp-esm/package.json b/core/generator/gapic-generator-typescript/baselines/dlp-esm/package.json index e4edc2f983fa..37cd9882acb7 100644 --- a/core/generator/gapic-generator-typescript/baselines/dlp-esm/package.json +++ b/core/generator/gapic-generator-typescript/baselines/dlp-esm/package.json @@ -62,7 +62,7 @@ "postpack": "minifyProtoJson build/cjs && minifyProtoJson build/esm", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile-protos && npm run compile", + "prepublishOnly": "npm run compile-protos && npm run compile", "system-test:cjs": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/cjs/system-test", "system-test:esm": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/esm/system-test", "system-test": "npm run system-test:esm && npm run system-test:cjs", diff --git a/core/generator/gapic-generator-typescript/baselines/dlp/package.json b/core/generator/gapic-generator-typescript/baselines/dlp/package.json index d5063c84af95..ae83bafb3c4e 100644 --- a/core/generator/gapic-generator-typescript/baselines/dlp/package.json +++ b/core/generator/gapic-generator-typescript/baselines/dlp/package.json @@ -35,7 +35,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile-protos && npm run compile", + "prepublishOnly": "npm run compile-protos && npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test" }, diff --git a/core/generator/gapic-generator-typescript/baselines/duplicate_methods_test-esm/package.json b/core/generator/gapic-generator-typescript/baselines/duplicate_methods_test-esm/package.json index c122391a863d..81b7074dcf35 100644 --- a/core/generator/gapic-generator-typescript/baselines/duplicate_methods_test-esm/package.json +++ b/core/generator/gapic-generator-typescript/baselines/duplicate_methods_test-esm/package.json @@ -62,7 +62,7 @@ "postpack": "minifyProtoJson build/cjs && minifyProtoJson build/esm", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile-protos && npm run compile", + "prepublishOnly": "npm run compile-protos && npm run compile", "system-test:cjs": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/cjs/system-test", "system-test:esm": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/esm/system-test", "system-test": "npm run system-test:esm && npm run system-test:cjs", diff --git a/core/generator/gapic-generator-typescript/baselines/duplicate_methods_test/package.json b/core/generator/gapic-generator-typescript/baselines/duplicate_methods_test/package.json index 76e9092524ab..4e0919b6ec66 100644 --- a/core/generator/gapic-generator-typescript/baselines/duplicate_methods_test/package.json +++ b/core/generator/gapic-generator-typescript/baselines/duplicate_methods_test/package.json @@ -35,7 +35,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile-protos && npm run compile", + "prepublishOnly": "npm run compile-protos && npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test" }, diff --git a/core/generator/gapic-generator-typescript/baselines/kms-esm/package.json b/core/generator/gapic-generator-typescript/baselines/kms-esm/package.json index 95e30a2f6716..c1af7bf833c8 100644 --- a/core/generator/gapic-generator-typescript/baselines/kms-esm/package.json +++ b/core/generator/gapic-generator-typescript/baselines/kms-esm/package.json @@ -62,7 +62,7 @@ "postpack": "minifyProtoJson build/cjs && minifyProtoJson build/esm", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile-protos && npm run compile", + "prepublishOnly": "npm run compile-protos && npm run compile", "system-test:cjs": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/cjs/system-test", "system-test:esm": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/esm/system-test", "system-test": "npm run system-test:esm && npm run system-test:cjs", diff --git a/core/generator/gapic-generator-typescript/baselines/kms/package.json b/core/generator/gapic-generator-typescript/baselines/kms/package.json index dced5aa99ab9..25dd8e510dee 100644 --- a/core/generator/gapic-generator-typescript/baselines/kms/package.json +++ b/core/generator/gapic-generator-typescript/baselines/kms/package.json @@ -35,7 +35,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile-protos && npm run compile", + "prepublishOnly": "npm run compile-protos && npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test" }, diff --git a/core/generator/gapic-generator-typescript/baselines/logging-esm/package.json b/core/generator/gapic-generator-typescript/baselines/logging-esm/package.json index a11e7c43142b..0e7155188650 100644 --- a/core/generator/gapic-generator-typescript/baselines/logging-esm/package.json +++ b/core/generator/gapic-generator-typescript/baselines/logging-esm/package.json @@ -64,7 +64,7 @@ "postpack": "minifyProtoJson build/cjs && minifyProtoJson build/esm", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile-protos && npm run compile", + "prepublishOnly": "npm run compile-protos && npm run compile", "system-test:cjs": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/cjs/system-test", "system-test:esm": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/esm/system-test", "system-test": "npm run system-test:esm && npm run system-test:cjs", diff --git a/core/generator/gapic-generator-typescript/baselines/logging/package.json b/core/generator/gapic-generator-typescript/baselines/logging/package.json index ad7830a98da6..26d51f45aee4 100644 --- a/core/generator/gapic-generator-typescript/baselines/logging/package.json +++ b/core/generator/gapic-generator-typescript/baselines/logging/package.json @@ -37,7 +37,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile-protos && npm run compile", + "prepublishOnly": "npm run compile-protos && npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test" }, diff --git a/core/generator/gapic-generator-typescript/baselines/monitoring-esm/package.json b/core/generator/gapic-generator-typescript/baselines/monitoring-esm/package.json index bf804ea0172f..c797b448922e 100644 --- a/core/generator/gapic-generator-typescript/baselines/monitoring-esm/package.json +++ b/core/generator/gapic-generator-typescript/baselines/monitoring-esm/package.json @@ -67,7 +67,7 @@ "postpack": "minifyProtoJson build/cjs && minifyProtoJson build/esm", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile-protos && npm run compile", + "prepublishOnly": "npm run compile-protos && npm run compile", "system-test:cjs": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/cjs/system-test", "system-test:esm": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/esm/system-test", "system-test": "npm run system-test:esm && npm run system-test:cjs", diff --git a/core/generator/gapic-generator-typescript/baselines/monitoring/package.json b/core/generator/gapic-generator-typescript/baselines/monitoring/package.json index ed6b51f46f6c..7d94d2437d2f 100644 --- a/core/generator/gapic-generator-typescript/baselines/monitoring/package.json +++ b/core/generator/gapic-generator-typescript/baselines/monitoring/package.json @@ -40,7 +40,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile-protos && npm run compile", + "prepublishOnly": "npm run compile-protos && npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test" }, diff --git a/core/generator/gapic-generator-typescript/baselines/naming-esm/package.json b/core/generator/gapic-generator-typescript/baselines/naming-esm/package.json index 9807bdb13a47..c124a69c07f6 100644 --- a/core/generator/gapic-generator-typescript/baselines/naming-esm/package.json +++ b/core/generator/gapic-generator-typescript/baselines/naming-esm/package.json @@ -62,7 +62,7 @@ "postpack": "minifyProtoJson build/cjs && minifyProtoJson build/esm", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile-protos && npm run compile", + "prepublishOnly": "npm run compile-protos && npm run compile", "system-test:cjs": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/cjs/system-test", "system-test:esm": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/esm/system-test", "system-test": "npm run system-test:esm && npm run system-test:cjs", diff --git a/core/generator/gapic-generator-typescript/baselines/naming/package.json b/core/generator/gapic-generator-typescript/baselines/naming/package.json index f43ced36a09e..bf8d38161170 100644 --- a/core/generator/gapic-generator-typescript/baselines/naming/package.json +++ b/core/generator/gapic-generator-typescript/baselines/naming/package.json @@ -35,7 +35,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile-protos && npm run compile", + "prepublishOnly": "npm run compile-protos && npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test" }, diff --git a/core/generator/gapic-generator-typescript/baselines/redis-esm/package.json b/core/generator/gapic-generator-typescript/baselines/redis-esm/package.json index 8ebbdd8047cd..1092b2d35d1b 100644 --- a/core/generator/gapic-generator-typescript/baselines/redis-esm/package.json +++ b/core/generator/gapic-generator-typescript/baselines/redis-esm/package.json @@ -62,7 +62,7 @@ "postpack": "minifyProtoJson build/cjs && minifyProtoJson build/esm", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile-protos && npm run compile", + "prepublishOnly": "npm run compile-protos && npm run compile", "system-test:cjs": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/cjs/system-test", "system-test:esm": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/esm/system-test", "system-test": "npm run system-test:esm && npm run system-test:cjs", diff --git a/core/generator/gapic-generator-typescript/baselines/redis/package.json b/core/generator/gapic-generator-typescript/baselines/redis/package.json index 1dccb3396686..8ec1eeabbbac 100644 --- a/core/generator/gapic-generator-typescript/baselines/redis/package.json +++ b/core/generator/gapic-generator-typescript/baselines/redis/package.json @@ -35,7 +35,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile-protos && npm run compile", + "prepublishOnly": "npm run compile-protos && npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test" }, diff --git a/core/generator/gapic-generator-typescript/baselines/retail-esm/package.json b/core/generator/gapic-generator-typescript/baselines/retail-esm/package.json index c410d5cad173..dcec650bff12 100644 --- a/core/generator/gapic-generator-typescript/baselines/retail-esm/package.json +++ b/core/generator/gapic-generator-typescript/baselines/retail-esm/package.json @@ -76,7 +76,7 @@ "postpack": "minifyProtoJson build/cjs && minifyProtoJson build/esm", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile-protos && npm run compile", + "prepublishOnly": "npm run compile-protos && npm run compile", "system-test:cjs": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/cjs/system-test", "system-test:esm": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/esm/system-test", "system-test": "npm run system-test:esm && npm run system-test:cjs", diff --git a/core/generator/gapic-generator-typescript/baselines/retail/package.json b/core/generator/gapic-generator-typescript/baselines/retail/package.json index e54f4fdb778b..72331e27c1b6 100644 --- a/core/generator/gapic-generator-typescript/baselines/retail/package.json +++ b/core/generator/gapic-generator-typescript/baselines/retail/package.json @@ -49,7 +49,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile-protos && npm run compile", + "prepublishOnly": "npm run compile-protos && npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test" }, diff --git a/core/generator/gapic-generator-typescript/baselines/routingtest-esm/package.json b/core/generator/gapic-generator-typescript/baselines/routingtest-esm/package.json index 374d8c6bb5ac..1a83ee245ed5 100644 --- a/core/generator/gapic-generator-typescript/baselines/routingtest-esm/package.json +++ b/core/generator/gapic-generator-typescript/baselines/routingtest-esm/package.json @@ -62,7 +62,7 @@ "postpack": "minifyProtoJson build/cjs && minifyProtoJson build/esm", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile-protos && npm run compile", + "prepublishOnly": "npm run compile-protos && npm run compile", "system-test:cjs": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/cjs/system-test", "system-test:esm": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/esm/system-test", "system-test": "npm run system-test:esm && npm run system-test:cjs", diff --git a/core/generator/gapic-generator-typescript/baselines/routingtest/package.json b/core/generator/gapic-generator-typescript/baselines/routingtest/package.json index 1671745ca4b6..97a23b5aaa59 100644 --- a/core/generator/gapic-generator-typescript/baselines/routingtest/package.json +++ b/core/generator/gapic-generator-typescript/baselines/routingtest/package.json @@ -35,7 +35,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile-protos && npm run compile", + "prepublishOnly": "npm run compile-protos && npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test" }, diff --git a/core/generator/gapic-generator-typescript/baselines/showcase-esm/package.json b/core/generator/gapic-generator-typescript/baselines/showcase-esm/package.json index 4e51610b8c24..0b8f311ca738 100644 --- a/core/generator/gapic-generator-typescript/baselines/showcase-esm/package.json +++ b/core/generator/gapic-generator-typescript/baselines/showcase-esm/package.json @@ -67,7 +67,7 @@ "postpack": "minifyProtoJson build/cjs && minifyProtoJson build/esm", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile-protos && npm run compile", + "prepublishOnly": "npm run compile-protos && npm run compile", "system-test:cjs": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/cjs/system-test", "system-test:esm": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/esm/system-test", "system-test": "npm run system-test:esm && npm run system-test:cjs", diff --git a/core/generator/gapic-generator-typescript/baselines/showcase-legacy-esm/package.json b/core/generator/gapic-generator-typescript/baselines/showcase-legacy-esm/package.json index ab498c429ba9..b3cb1bc8ef88 100644 --- a/core/generator/gapic-generator-typescript/baselines/showcase-legacy-esm/package.json +++ b/core/generator/gapic-generator-typescript/baselines/showcase-legacy-esm/package.json @@ -62,7 +62,7 @@ "postpack": "minifyProtoJson build/cjs && minifyProtoJson build/esm", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile-protos && npm run compile", + "prepublishOnly": "npm run compile-protos && npm run compile", "system-test:cjs": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/cjs/system-test", "system-test:esm": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/esm/system-test", "system-test": "npm run system-test:esm && npm run system-test:cjs", diff --git a/core/generator/gapic-generator-typescript/baselines/showcase-legacy/package.json b/core/generator/gapic-generator-typescript/baselines/showcase-legacy/package.json index d9771c018c78..f1cca03ef11e 100644 --- a/core/generator/gapic-generator-typescript/baselines/showcase-legacy/package.json +++ b/core/generator/gapic-generator-typescript/baselines/showcase-legacy/package.json @@ -35,7 +35,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile-protos && npm run compile", + "prepublishOnly": "npm run compile-protos && npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test" }, diff --git a/core/generator/gapic-generator-typescript/baselines/showcase/package.json b/core/generator/gapic-generator-typescript/baselines/showcase/package.json index 2505e58f46d9..b0d08b077962 100644 --- a/core/generator/gapic-generator-typescript/baselines/showcase/package.json +++ b/core/generator/gapic-generator-typescript/baselines/showcase/package.json @@ -40,7 +40,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile-protos && npm run compile", + "prepublishOnly": "npm run compile-protos && npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test" }, diff --git a/core/generator/gapic-generator-typescript/baselines/tasks-esm/package.json b/core/generator/gapic-generator-typescript/baselines/tasks-esm/package.json index 26d98dff9f0e..ff6aab0093c6 100644 --- a/core/generator/gapic-generator-typescript/baselines/tasks-esm/package.json +++ b/core/generator/gapic-generator-typescript/baselines/tasks-esm/package.json @@ -62,7 +62,7 @@ "postpack": "minifyProtoJson build/cjs && minifyProtoJson build/esm", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile-protos && npm run compile", + "prepublishOnly": "npm run compile-protos && npm run compile", "system-test:cjs": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/cjs/system-test", "system-test:esm": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/esm/system-test", "system-test": "npm run system-test:esm && npm run system-test:cjs", diff --git a/core/generator/gapic-generator-typescript/baselines/tasks/package.json b/core/generator/gapic-generator-typescript/baselines/tasks/package.json index 5ed60474dc81..07845a61cb6a 100644 --- a/core/generator/gapic-generator-typescript/baselines/tasks/package.json +++ b/core/generator/gapic-generator-typescript/baselines/tasks/package.json @@ -35,7 +35,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile-protos && npm run compile", + "prepublishOnly": "npm run compile-protos && npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test" }, diff --git a/core/generator/gapic-generator-typescript/baselines/texttospeech-esm/package.json b/core/generator/gapic-generator-typescript/baselines/texttospeech-esm/package.json index 2fe9064f9829..154497cd2a4a 100644 --- a/core/generator/gapic-generator-typescript/baselines/texttospeech-esm/package.json +++ b/core/generator/gapic-generator-typescript/baselines/texttospeech-esm/package.json @@ -62,7 +62,7 @@ "postpack": "minifyProtoJson build/cjs && minifyProtoJson build/esm", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile-protos && npm run compile", + "prepublishOnly": "npm run compile-protos && npm run compile", "system-test:cjs": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/cjs/system-test", "system-test:esm": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/esm/system-test", "system-test": "npm run system-test:esm && npm run system-test:cjs", diff --git a/core/generator/gapic-generator-typescript/baselines/texttospeech/package.json b/core/generator/gapic-generator-typescript/baselines/texttospeech/package.json index 37c19c76be90..0604f653f7fe 100644 --- a/core/generator/gapic-generator-typescript/baselines/texttospeech/package.json +++ b/core/generator/gapic-generator-typescript/baselines/texttospeech/package.json @@ -35,7 +35,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile-protos && npm run compile", + "prepublishOnly": "npm run compile-protos && npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test" }, diff --git a/core/generator/gapic-generator-typescript/baselines/translate-esm/package.json b/core/generator/gapic-generator-typescript/baselines/translate-esm/package.json index 95a1c411bc02..4a6b3f34ce6f 100644 --- a/core/generator/gapic-generator-typescript/baselines/translate-esm/package.json +++ b/core/generator/gapic-generator-typescript/baselines/translate-esm/package.json @@ -62,7 +62,7 @@ "postpack": "minifyProtoJson build/cjs && minifyProtoJson build/esm", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile-protos && npm run compile", + "prepublishOnly": "npm run compile-protos && npm run compile", "system-test:cjs": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/cjs/system-test", "system-test:esm": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/esm/system-test", "system-test": "npm run system-test:esm && npm run system-test:cjs", diff --git a/core/generator/gapic-generator-typescript/baselines/translate/package.json b/core/generator/gapic-generator-typescript/baselines/translate/package.json index 0fbec88bef91..c7d806fde96c 100644 --- a/core/generator/gapic-generator-typescript/baselines/translate/package.json +++ b/core/generator/gapic-generator-typescript/baselines/translate/package.json @@ -35,7 +35,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile-protos && npm run compile", + "prepublishOnly": "npm run compile-protos && npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test" }, diff --git a/core/generator/gapic-generator-typescript/baselines/videointelligence-esm/package.json b/core/generator/gapic-generator-typescript/baselines/videointelligence-esm/package.json index fc62713ec879..1c2409360da5 100644 --- a/core/generator/gapic-generator-typescript/baselines/videointelligence-esm/package.json +++ b/core/generator/gapic-generator-typescript/baselines/videointelligence-esm/package.json @@ -62,7 +62,7 @@ "postpack": "minifyProtoJson build/cjs && minifyProtoJson build/esm", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile-protos && npm run compile", + "prepublishOnly": "npm run compile-protos && npm run compile", "system-test:cjs": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/cjs/system-test", "system-test:esm": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/esm/system-test", "system-test": "npm run system-test:esm && npm run system-test:cjs", diff --git a/core/generator/gapic-generator-typescript/baselines/videointelligence/package.json b/core/generator/gapic-generator-typescript/baselines/videointelligence/package.json index 91300a440c6d..9afba116165d 100644 --- a/core/generator/gapic-generator-typescript/baselines/videointelligence/package.json +++ b/core/generator/gapic-generator-typescript/baselines/videointelligence/package.json @@ -35,7 +35,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile-protos && npm run compile", + "prepublishOnly": "npm run compile-protos && npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test" }, diff --git a/core/generator/gapic-generator-typescript/templates/cjs/typescript_gapic/package.json b/core/generator/gapic-generator-typescript/templates/cjs/typescript_gapic/package.json index 1d35c469371c..e58343765238 100644 --- a/core/generator/gapic-generator-typescript/templates/cjs/typescript_gapic/package.json +++ b/core/generator/gapic-generator-typescript/templates/cjs/typescript_gapic/package.json @@ -35,7 +35,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile-protos && npm run compile", + "prepublishOnly": "npm run compile-protos && npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test" }, diff --git a/core/generator/gapic-generator-typescript/templates/esm/typescript_gapic/package.json b/core/generator/gapic-generator-typescript/templates/esm/typescript_gapic/package.json index fc5baeee3798..ce841d806bcd 100644 --- a/core/generator/gapic-generator-typescript/templates/esm/typescript_gapic/package.json +++ b/core/generator/gapic-generator-typescript/templates/esm/typescript_gapic/package.json @@ -62,7 +62,7 @@ "postpack": "minifyProtoJson build/cjs && minifyProtoJson build/esm", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile-protos && npm run compile", + "prepublishOnly": "npm run compile-protos && npm run compile", "system-test:cjs": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/cjs/system-test", "system-test:esm": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/esm/system-test", "system-test": "npm run system-test:esm && npm run system-test:cjs", diff --git a/core/generator/gapic-generator-typescript/test-fixtures/google-cloud-speech-nodejs/speech-v1-nodejs/package.json b/core/generator/gapic-generator-typescript/test-fixtures/google-cloud-speech-nodejs/speech-v1-nodejs/package.json index c34d505b65a1..37dd280c3482 100644 --- a/core/generator/gapic-generator-typescript/test-fixtures/google-cloud-speech-nodejs/speech-v1-nodejs/package.json +++ b/core/generator/gapic-generator-typescript/test-fixtures/google-cloud-speech-nodejs/speech-v1-nodejs/package.json @@ -31,7 +31,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile-protos && npm run compile", + "prepublishOnly": "npm run compile-protos && npm run compile", "system-test": "c8 mocha build/system-test", "test": "c8 mocha build/test" }, diff --git a/core/generator/gapic-generator-typescript/test-fixtures/google-cloud-speech-nodejs/speech-v1p1beta1-nodejs/package.json b/core/generator/gapic-generator-typescript/test-fixtures/google-cloud-speech-nodejs/speech-v1p1beta1-nodejs/package.json index c34d505b65a1..37dd280c3482 100644 --- a/core/generator/gapic-generator-typescript/test-fixtures/google-cloud-speech-nodejs/speech-v1p1beta1-nodejs/package.json +++ b/core/generator/gapic-generator-typescript/test-fixtures/google-cloud-speech-nodejs/speech-v1p1beta1-nodejs/package.json @@ -31,7 +31,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile-protos && npm run compile", + "prepublishOnly": "npm run compile-protos && npm run compile", "system-test": "c8 mocha build/system-test", "test": "c8 mocha build/test" }, diff --git a/core/generator/gapic-generator-typescript/test-fixtures/google-cloud-speech-nodejs/speech-v2-nodejs/package.json b/core/generator/gapic-generator-typescript/test-fixtures/google-cloud-speech-nodejs/speech-v2-nodejs/package.json index c496a335765e..e3d1399f5af8 100644 --- a/core/generator/gapic-generator-typescript/test-fixtures/google-cloud-speech-nodejs/speech-v2-nodejs/package.json +++ b/core/generator/gapic-generator-typescript/test-fixtures/google-cloud-speech-nodejs/speech-v2-nodejs/package.json @@ -30,7 +30,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile-protos && npm run compile", + "prepublishOnly": "npm run compile-protos && npm run compile", "system-test": "c8 mocha build/system-test", "test": "c8 mocha build/test" }, diff --git a/core/generator/gapic-generator-typescript/test-fixtures/google-cloud-speech/package.json b/core/generator/gapic-generator-typescript/test-fixtures/google-cloud-speech/package.json index c34d505b65a1..37dd280c3482 100644 --- a/core/generator/gapic-generator-typescript/test-fixtures/google-cloud-speech/package.json +++ b/core/generator/gapic-generator-typescript/test-fixtures/google-cloud-speech/package.json @@ -31,7 +31,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile-protos && npm run compile", + "prepublishOnly": "npm run compile-protos && npm run compile", "system-test": "c8 mocha build/system-test", "test": "c8 mocha build/test" }, diff --git a/core/generator/gapic-generator-typescript/test-fixtures/google-cloud-tasks-nodejs/tasks-v2-nodejs/package.json b/core/generator/gapic-generator-typescript/test-fixtures/google-cloud-tasks-nodejs/tasks-v2-nodejs/package.json index 2630a43e78ff..ac7099ceec1f 100644 --- a/core/generator/gapic-generator-typescript/test-fixtures/google-cloud-tasks-nodejs/tasks-v2-nodejs/package.json +++ b/core/generator/gapic-generator-typescript/test-fixtures/google-cloud-tasks-nodejs/tasks-v2-nodejs/package.json @@ -57,7 +57,7 @@ "postpack": "minifyProtoJson build/cjs && minifyProtoJson build/esm", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile-protos && npm run compile", + "prepublishOnly": "npm run compile-protos && npm run compile", "system-test:cjs": "c8 mocha build/cjs/system-test", "system-test:esm": "c8 mocha build/esm/system-test", "system-test": "npm run system-test:esm && npm run system-test:cjs", diff --git a/core/generator/gapic-generator-typescript/test-fixtures/google-cloud-tasks-nodejs/tasks-v2beta2-nodejs/package.json b/core/generator/gapic-generator-typescript/test-fixtures/google-cloud-tasks-nodejs/tasks-v2beta2-nodejs/package.json index 2630a43e78ff..ac7099ceec1f 100644 --- a/core/generator/gapic-generator-typescript/test-fixtures/google-cloud-tasks-nodejs/tasks-v2beta2-nodejs/package.json +++ b/core/generator/gapic-generator-typescript/test-fixtures/google-cloud-tasks-nodejs/tasks-v2beta2-nodejs/package.json @@ -57,7 +57,7 @@ "postpack": "minifyProtoJson build/cjs && minifyProtoJson build/esm", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile-protos && npm run compile", + "prepublishOnly": "npm run compile-protos && npm run compile", "system-test:cjs": "c8 mocha build/cjs/system-test", "system-test:esm": "c8 mocha build/esm/system-test", "system-test": "npm run system-test:esm && npm run system-test:cjs", diff --git a/core/packages/gapic-node-processing/package.json b/core/packages/gapic-node-processing/package.json index 36f4919305d9..6d969c7d16a4 100644 --- a/core/packages/gapic-node-processing/package.json +++ b/core/packages/gapic-node-processing/package.json @@ -8,7 +8,7 @@ "compile": "tsc -p .", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "pretest": "npm run compile", "samples-test": "echo 'FIXME: no sample tests'", "system-test": "echo 'FIXME: no system tests'", diff --git a/core/packages/gapic-node-processing/templates/bootstrap-templates/package.json b/core/packages/gapic-node-processing/templates/bootstrap-templates/package.json index 97f1cd64da9b..7ae81111ba48 100644 --- a/core/packages/gapic-node-processing/templates/bootstrap-templates/package.json +++ b/core/packages/gapic-node-processing/templates/bootstrap-templates/package.json @@ -36,7 +36,7 @@ "fix": "gts fix", "lint": "gts check", "postpack": "minifyProtoJson", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "system-test": "c8 mocha build/system-test", "test": "c8 mocha build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/core/packages/gapic-node-processing/test/fixtures/combined-library/google-analytics-data-nodejs/analytics-data-v1alpha-nodejs/package.json b/core/packages/gapic-node-processing/test/fixtures/combined-library/google-analytics-data-nodejs/analytics-data-v1alpha-nodejs/package.json index fde4a73f5409..26301b6d5859 100644 --- a/core/packages/gapic-node-processing/test/fixtures/combined-library/google-analytics-data-nodejs/analytics-data-v1alpha-nodejs/package.json +++ b/core/packages/gapic-node-processing/test/fixtures/combined-library/google-analytics-data-nodejs/analytics-data-v1alpha-nodejs/package.json @@ -30,7 +30,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile-protos && npm run compile", + "prepublishOnly": "npm run compile-protos && npm run compile", "system-test": "c8 mocha build/system-test", "test": "c8 mocha build/test" }, diff --git a/core/packages/gapic-node-processing/test/fixtures/combined-library/google-analytics-data-nodejs/google-analytics-data-v1beta-nodejs/package.json b/core/packages/gapic-node-processing/test/fixtures/combined-library/google-analytics-data-nodejs/google-analytics-data-v1beta-nodejs/package.json index ef3d12cbb81f..d13312a51029 100644 --- a/core/packages/gapic-node-processing/test/fixtures/combined-library/google-analytics-data-nodejs/google-analytics-data-v1beta-nodejs/package.json +++ b/core/packages/gapic-node-processing/test/fixtures/combined-library/google-analytics-data-nodejs/google-analytics-data-v1beta-nodejs/package.json @@ -30,7 +30,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile-protos && npm run compile", + "prepublishOnly": "npm run compile-protos && npm run compile", "system-test": "c8 mocha build/system-test", "test": "c8 mocha build/test" }, diff --git a/core/packages/gapic-node-processing/test/fixtures/combined-library/google-analytics-data/package.json b/core/packages/gapic-node-processing/test/fixtures/combined-library/google-analytics-data/package.json index fde4a73f5409..26301b6d5859 100644 --- a/core/packages/gapic-node-processing/test/fixtures/combined-library/google-analytics-data/package.json +++ b/core/packages/gapic-node-processing/test/fixtures/combined-library/google-analytics-data/package.json @@ -30,7 +30,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile-protos && npm run compile", + "prepublishOnly": "npm run compile-protos && npm run compile", "system-test": "c8 mocha build/system-test", "test": "c8 mocha build/test" }, diff --git a/core/packages/gapic-node-processing/test/fixtures/combined-library/google-cloud-speech-nodejs/speech-v1-nodejs/package.json b/core/packages/gapic-node-processing/test/fixtures/combined-library/google-cloud-speech-nodejs/speech-v1-nodejs/package.json index 6f5b8ace815e..421a111acc87 100644 --- a/core/packages/gapic-node-processing/test/fixtures/combined-library/google-cloud-speech-nodejs/speech-v1-nodejs/package.json +++ b/core/packages/gapic-node-processing/test/fixtures/combined-library/google-cloud-speech-nodejs/speech-v1-nodejs/package.json @@ -31,7 +31,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile-protos && npm run compile", + "prepublishOnly": "npm run compile-protos && npm run compile", "system-test": "c8 mocha build/system-test", "test": "c8 mocha build/test" }, diff --git a/core/packages/gapic-node-processing/test/fixtures/combined-library/google-cloud-speech-nodejs/speech-v1p1beta1-nodejs/package.json b/core/packages/gapic-node-processing/test/fixtures/combined-library/google-cloud-speech-nodejs/speech-v1p1beta1-nodejs/package.json index 6f5b8ace815e..421a111acc87 100644 --- a/core/packages/gapic-node-processing/test/fixtures/combined-library/google-cloud-speech-nodejs/speech-v1p1beta1-nodejs/package.json +++ b/core/packages/gapic-node-processing/test/fixtures/combined-library/google-cloud-speech-nodejs/speech-v1p1beta1-nodejs/package.json @@ -31,7 +31,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile-protos && npm run compile", + "prepublishOnly": "npm run compile-protos && npm run compile", "system-test": "c8 mocha build/system-test", "test": "c8 mocha build/test" }, diff --git a/core/packages/gapic-node-processing/test/fixtures/combined-library/google-cloud-speech-nodejs/speech-v2-nodejs/package.json b/core/packages/gapic-node-processing/test/fixtures/combined-library/google-cloud-speech-nodejs/speech-v2-nodejs/package.json index edc31ae482a9..e464b67d5091 100644 --- a/core/packages/gapic-node-processing/test/fixtures/combined-library/google-cloud-speech-nodejs/speech-v2-nodejs/package.json +++ b/core/packages/gapic-node-processing/test/fixtures/combined-library/google-cloud-speech-nodejs/speech-v2-nodejs/package.json @@ -30,7 +30,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile-protos && npm run compile", + "prepublishOnly": "npm run compile-protos && npm run compile", "system-test": "c8 mocha build/system-test", "test": "c8 mocha build/test" }, diff --git a/core/packages/gapic-node-processing/test/fixtures/combined-library/google-cloud-speech/package.json b/core/packages/gapic-node-processing/test/fixtures/combined-library/google-cloud-speech/package.json index 6f5b8ace815e..421a111acc87 100644 --- a/core/packages/gapic-node-processing/test/fixtures/combined-library/google-cloud-speech/package.json +++ b/core/packages/gapic-node-processing/test/fixtures/combined-library/google-cloud-speech/package.json @@ -31,7 +31,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile-protos && npm run compile", + "prepublishOnly": "npm run compile-protos && npm run compile", "system-test": "c8 mocha build/system-test", "test": "c8 mocha build/test" }, diff --git a/core/packages/gapic-node-processing/test/fixtures/combined-library/google-cloud-tasks-nodejs/tasks-v2-nodejs/package.json b/core/packages/gapic-node-processing/test/fixtures/combined-library/google-cloud-tasks-nodejs/tasks-v2-nodejs/package.json index b5dfa2eb48e9..e572d47ce045 100644 --- a/core/packages/gapic-node-processing/test/fixtures/combined-library/google-cloud-tasks-nodejs/tasks-v2-nodejs/package.json +++ b/core/packages/gapic-node-processing/test/fixtures/combined-library/google-cloud-tasks-nodejs/tasks-v2-nodejs/package.json @@ -57,7 +57,7 @@ "postpack": "minifyProtoJson build/cjs && minifyProtoJson build/esm", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile-protos && npm run compile", + "prepublishOnly": "npm run compile-protos && npm run compile", "system-test:cjs": "c8 mocha build/cjs/system-test", "system-test:esm": "c8 mocha build/esm/system-test", "system-test": "npm run system-test:esm && npm run system-test:cjs", diff --git a/core/packages/gapic-node-processing/test/fixtures/combined-library/google-cloud-tasks-nodejs/tasks-v2beta2-nodejs/package.json b/core/packages/gapic-node-processing/test/fixtures/combined-library/google-cloud-tasks-nodejs/tasks-v2beta2-nodejs/package.json index 791dbda73481..1111ff452a9f 100644 --- a/core/packages/gapic-node-processing/test/fixtures/combined-library/google-cloud-tasks-nodejs/tasks-v2beta2-nodejs/package.json +++ b/core/packages/gapic-node-processing/test/fixtures/combined-library/google-cloud-tasks-nodejs/tasks-v2beta2-nodejs/package.json @@ -58,7 +58,7 @@ "postpack": "minifyProtoJson build/cjs && minifyProtoJson build/esm", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile-protos && npm run compile", + "prepublishOnly": "npm run compile-protos && npm run compile", "system-test:cjs": "c8 mocha build/cjs/system-test", "system-test:esm": "c8 mocha build/esm/system-test", "system-test": "npm run system-test:esm && npm run system-test:cjs", diff --git a/core/packages/gapic-node-processing/test/fixtures/combined-library/google-cloud-tasks/package.json b/core/packages/gapic-node-processing/test/fixtures/combined-library/google-cloud-tasks/package.json index b5dfa2eb48e9..e572d47ce045 100644 --- a/core/packages/gapic-node-processing/test/fixtures/combined-library/google-cloud-tasks/package.json +++ b/core/packages/gapic-node-processing/test/fixtures/combined-library/google-cloud-tasks/package.json @@ -57,7 +57,7 @@ "postpack": "minifyProtoJson build/cjs && minifyProtoJson build/esm", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile-protos && npm run compile", + "prepublishOnly": "npm run compile-protos && npm run compile", "system-test:cjs": "c8 mocha build/cjs/system-test", "system-test:esm": "c8 mocha build/esm/system-test", "system-test": "npm run system-test:esm && npm run system-test:cjs", diff --git a/core/packages/gax/package.json b/core/packages/gax/package.json index a866acd83a1e..f59b09da0397 100644 --- a/core/packages/gax/package.json +++ b/core/packages/gax/package.json @@ -76,7 +76,7 @@ "compile-status-protos": "pbjs -t json google/rpc/status.proto google/rpc/error_details.proto -p ./protos > protos/status.json", "compile-http-protos": "pbjs -t static-module -r http_proto --keep-case google/api/http.proto -p ./protos > protos/http.js && pbts protos/http.js -o protos/http.d.ts", "fix": "gts fix", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "system-test": "c8 mocha build/test/system-test --timeout 600000 && pnpm run test-application", "samples-test": "cd samples/ && pnpm link ../ && pnpm test && cd ../", "browser-test": "cd test/browser-test && pnpm run prefetch && pnpm install && pnpm test", diff --git a/core/packages/gax/test/browser-test/package.json b/core/packages/gax/test/browser-test/package.json index 62ff7e52b322..043faefb8121 100644 --- a/core/packages/gax/test/browser-test/package.json +++ b/core/packages/gax/test/browser-test/package.json @@ -19,7 +19,7 @@ "prefetch-showcase-echo-client": "cd ../showcase-echo-client && npm run prefetch && npm install && npm pack && mv showcase-echo-client*.tgz ../browser-test/showcase-echo-client.tgz", "prefetch-showcase-server": "cd ../showcase-server && npm install && npm pack && mv showcase-server*.tgz ../browser-test/showcase-server.tgz", "prefetch": "npm run prefetch-cleanup && npm run prefetch-google-gax && npm run prefetch-showcase-echo-client && npm run prefetch-showcase-server", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "pretest": "npm run compile", "test": "karma start" }, diff --git a/core/packages/gax/test/showcase-echo-client/package.json b/core/packages/gax/test/showcase-echo-client/package.json index b3fd84846873..b512b064818b 100644 --- a/core/packages/gax/test/showcase-echo-client/package.json +++ b/core/packages/gax/test/showcase-echo-client/package.json @@ -29,7 +29,7 @@ "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "prefetch": "rm -rf node_modules package-lock.json google-gax*.tgz gapic-tools*.tgz && cd ../.. && npm pack && mv google-gax*.tgz test/showcase-echo-client/google-gax.tgz && cd ../tools && npm install && npm pack && mv gapic-tools*.tgz ../gax/test/showcase-echo-client/gapic-tools.tgz", - "prepare": "npm run compile-protos && npm run compile" + "prepublishOnly": "npm run compile-protos && npm run compile" }, "dependencies": { "google-gax": "./google-gax.tgz" diff --git a/core/packages/gax/test/showcase-server/package.json b/core/packages/gax/test/showcase-server/package.json index 16bd6546d281..1e0531bbc027 100644 --- a/core/packages/gax/test/showcase-server/package.json +++ b/core/packages/gax/test/showcase-server/package.json @@ -11,7 +11,7 @@ "keywords": [], "scripts": { "compile": "tsc", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "pretest": "npm run compile", "posttest": "npm run lint", "start": "node build/src/index.js" diff --git a/core/packages/gax/test/test-application/package.json b/core/packages/gax/test/test-application/package.json index 8e7440667956..69335da3794a 100644 --- a/core/packages/gax/test/test-application/package.json +++ b/core/packages/gax/test/test-application/package.json @@ -16,7 +16,7 @@ "prefetch-showcase-echo-client": "cd ../showcase-echo-client && npm run prefetch && npm install && npm pack && mv showcase-echo-client*.tgz ../test-application/showcase-echo-client.tgz", "prefetch-showcase-server": "cd ../showcase-server && npm install && npm pack && mv showcase-server*.tgz ../test-application/showcase-server.tgz", "prefetch": "npm run prefetch-cleanup && npm run prefetch-google-gax && npm run prefetch-showcase-echo-client && npm run prefetch-showcase-server", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "start": "node build/src/index.js" }, "devDependencies": { diff --git a/core/packages/gaxios/package.json b/core/packages/gaxios/package.json index c47eb122e94d..607ba9de7d9f 100644 --- a/core/packages/gaxios/package.json +++ b/core/packages/gaxios/package.json @@ -31,7 +31,7 @@ "system-test": "mocha build/esm/system-test --timeout 80000", "compile": "tsc -b ./tsconfig.json ./tsconfig.cjs.json && node utils/enable-esm.mjs", "fix": "gts fix", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "pretest": "npm run compile", "webpack": "webpack", "prebrowser-test": "npm run compile", diff --git a/core/packages/gaxios/system-test/fixtures/sample/package.json b/core/packages/gaxios/system-test/fixtures/sample/package.json index 15b72dff9322..fe8c03822dd9 100644 --- a/core/packages/gaxios/system-test/fixtures/sample/package.json +++ b/core/packages/gaxios/system-test/fixtures/sample/package.json @@ -7,7 +7,7 @@ "clean": "gts clean", "compile": "tsc -p .", "fix": "gts fix", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "pretest": "npm run compile", "posttest": "npm run check", "start": "node build/src/index.js" diff --git a/core/packages/gcp-metadata/package.json b/core/packages/gcp-metadata/package.json index 836b6799db48..b5a11b9c5b6e 100644 --- a/core/packages/gcp-metadata/package.json +++ b/core/packages/gcp-metadata/package.json @@ -17,7 +17,7 @@ "compile": "cross-env NODE_OPTIONS=--max-old-space-size=8192 tsc -p .", "fix": "gts fix", "pretest": "npm run compile", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "samples-test": "npm link && cd samples/ && npm link ../ && npm test && cd ../", "presystem-test": "npm run compile", "system-test": "mocha build/system-test --timeout 600000", diff --git a/core/packages/gcp-metadata/system-test/fixtures/kitchen/package.json b/core/packages/gcp-metadata/system-test/fixtures/kitchen/package.json index 63aaedc9dd4a..d95cbbd00587 100644 --- a/core/packages/gcp-metadata/system-test/fixtures/kitchen/package.json +++ b/core/packages/gcp-metadata/system-test/fixtures/kitchen/package.json @@ -7,7 +7,7 @@ "clean": "gts clean", "compile": "tsc -p .", "fix": "gts fix", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "pretest": "npm run compile", "posttest": "npm run check", "start": "node build/src/index.js" diff --git a/core/packages/google-auth-library-nodejs/package.json b/core/packages/google-auth-library-nodejs/package.json index b21d30c40c91..459660c2833d 100644 --- a/core/packages/google-auth-library-nodejs/package.json +++ b/core/packages/google-auth-library-nodejs/package.json @@ -71,7 +71,7 @@ "scripts": { "test": "c8 mocha build/test", "clean": "gts clean", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "lint": "gts check --no-inline-config", "compile": "tsc -p .", "fix": "gts fix", diff --git a/core/packages/google-auth-library-nodejs/system-test/fixtures/kitchen/package.json b/core/packages/google-auth-library-nodejs/system-test/fixtures/kitchen/package.json index adf029203c3f..56edd8c51f9e 100644 --- a/core/packages/google-auth-library-nodejs/system-test/fixtures/kitchen/package.json +++ b/core/packages/google-auth-library-nodejs/system-test/fixtures/kitchen/package.json @@ -7,7 +7,7 @@ "clean": "gts clean", "compile": "tsc -p .", "fix": "gts fix", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "pretest": "npm run compile", "posttest": "npm run check", "start": "node build/src/index.js" diff --git a/core/packages/logging-utils/package.json b/core/packages/logging-utils/package.json index a66e9b00e190..6016c18e357f 100644 --- a/core/packages/logging-utils/package.json +++ b/core/packages/logging-utils/package.json @@ -8,13 +8,13 @@ "build/src" ], "scripts": { - "pretest": "npm run prepare", + "pretest": "npm run compile", "test": "c8 mocha build/test", "lint": "gts check test src samples", "clean": "gts clean", "compile": "tsc -p .", "fix": "gts fix", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "precompile": "gts clean", "samples-test": "cd samples/ && npm link ../ && npm install && npm test && cd ../", "system-test": "echo no system tests 🙀", diff --git a/core/packages/nodejs-googleapis-common/package.json b/core/packages/nodejs-googleapis-common/package.json index ac610521f084..bba05ef7cfdb 100644 --- a/core/packages/nodejs-googleapis-common/package.json +++ b/core/packages/nodejs-googleapis-common/package.json @@ -21,7 +21,7 @@ "system-test": "c8 mocha build/system-test --timeout 600000", "presystem-test": "npm run compile", "fix": "gts fix", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "pretest": "npm run compile", "lint": "gts check", "samples-test": "mocha build/samples-test", diff --git a/core/packages/nodejs-googleapis-common/system-test/fixtures/kitchen/package.json b/core/packages/nodejs-googleapis-common/system-test/fixtures/kitchen/package.json index 2640ffc3ae54..d9c206d52479 100644 --- a/core/packages/nodejs-googleapis-common/system-test/fixtures/kitchen/package.json +++ b/core/packages/nodejs-googleapis-common/system-test/fixtures/kitchen/package.json @@ -7,7 +7,7 @@ "clean": "gts clean", "compile": "tsc -p .", "fix": "gts fix", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "pretest": "npm run compile", "posttest": "npm run check", "start": "node build/src/index.js" diff --git a/core/packages/nodejs-proto-files/package.json b/core/packages/nodejs-proto-files/package.json index 7b00fd452bd2..a20e4af7171a 100644 --- a/core/packages/nodejs-proto-files/package.json +++ b/core/packages/nodejs-proto-files/package.json @@ -28,7 +28,7 @@ "grpc" ], "scripts": { - "prepare": "npm run compile && node ./build/tools/prepublish.js", + "prepublishOnly": "npm run compile && node ./build/tools/prepublish.js", "lint": "gts check", "test": "c8 mocha build/test", "fix": "gts fix", @@ -37,7 +37,7 @@ "docs": "jsdoc -c .jsdoc.js", "clean": "gts clean", "compile": "tsc -p .", - "pretest": "npm run prepare && npm run compile", + "pretest": "npm run prepublishOnly && npm run compile", "prelint": "cd samples; npm link ../; npm install", "precompile": "gts clean" }, diff --git a/core/packages/proto3-json-serializer-nodejs/package.json b/core/packages/proto3-json-serializer-nodejs/package.json index f3560a5bc4be..281d0e2a998e 100644 --- a/core/packages/proto3-json-serializer-nodejs/package.json +++ b/core/packages/proto3-json-serializer-nodejs/package.json @@ -29,7 +29,7 @@ "clean": "gts clean && rm -f tsconfig.tsbuildinfo", "compile": "tsc --build", "fix": "gts fix", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "pretest": "npm run compile", "compile-test-protos": "cd test-fixtures/proto && pbjs -t json test.proto > test.json", "docs": "jsdoc -c .jsdoc.js", diff --git a/core/packages/teeny-request/package.json b/core/packages/teeny-request/package.json index ed5ffe3a5bf2..28c5c195843d 100644 --- a/core/packages/teeny-request/package.json +++ b/core/packages/teeny-request/package.json @@ -14,7 +14,7 @@ "lint": "gts check", "clean": "gts clean", "fix": "gts fix", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "docs": "jsdoc -c .jsdoc.js", "system-test": "echo no system test", "samples-test": "echo no samples", diff --git a/core/packages/tools/package.json b/core/packages/tools/package.json index 50a27acd39b5..879197f5585d 100644 --- a/core/packages/tools/package.json +++ b/core/packages/tools/package.json @@ -9,13 +9,13 @@ "!build/src/**/*.map" ], "scripts": { - "pretest": "npm run prepare", + "pretest": "npm run compile", "test": "c8 mocha build/test", "lint": "gts check test src", "clean": "gts clean", "compile": "tsc -p . && cp -r test/fixtures build/test", "fix": "gts fix", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "precompile": "gts clean", "system-test": "echo 'no system-test'", "samples-test": "echo 'no samples'", diff --git a/core/packages/typeless-sample-bot/package.json b/core/packages/typeless-sample-bot/package.json index 708b1c115f5a..45f12b1df641 100644 --- a/core/packages/typeless-sample-bot/package.json +++ b/core/packages/typeless-sample-bot/package.json @@ -16,7 +16,7 @@ ], "scripts": { "compile": "tsc -p .", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "pretest": "npm run compile", "test": "c8 mocha build/test --recursive", "snapshots-update": "SNAPSHOT_UPDATE=1 npm test", diff --git a/core/paginator/package.json b/core/paginator/package.json index 2c2d9c3a24ef..c03433e002b5 100644 --- a/core/paginator/package.json +++ b/core/paginator/package.json @@ -14,7 +14,7 @@ "compile": "tsc -p .", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "pretest": "npm run compile", "docs": "jsdoc -c .jsdoc.js", "samples-test": "echo 'no samples test'", diff --git a/core/precise-date/package.json b/core/precise-date/package.json index 72bbf96d23a5..288291dfa58d 100644 --- a/core/precise-date/package.json +++ b/core/precise-date/package.json @@ -15,7 +15,7 @@ "clean": "gts clean", "compile": "tsc -p .", "fix": "gts fix", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "pretest": "npm run compile", "docs": "mkdir docs && touch docs/noop.html", "presystem-test": "npm run compile", diff --git a/core/projectify/package.json b/core/projectify/package.json index 7d46b64af9cb..b45b706481f6 100644 --- a/core/projectify/package.json +++ b/core/projectify/package.json @@ -15,7 +15,7 @@ "clean": "gts clean", "compile": "tsc -p .", "fix": "gts fix", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "pretest": "pnpm run compile", "docs": "jsdoc -c .jsdoc.js", "system-test": "echo 'no system test'", diff --git a/core/promisify/package.json b/core/promisify/package.json index 69e3f065c299..b04542fd38fb 100644 --- a/core/promisify/package.json +++ b/core/promisify/package.json @@ -14,7 +14,7 @@ "lint": "gts check", "compile": "tsc -p .", "fix": "gts fix", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "pretest": "npm run compile", "docs": "jsdoc -c .jsdoc.js", "presystem-test": "npm run compile", diff --git a/handwritten/bigquery-storage/package.json b/handwritten/bigquery-storage/package.json index bf7e1432110d..27f2b9f0d64d 100644 --- a/handwritten/bigquery-storage/package.json +++ b/handwritten/bigquery-storage/package.json @@ -20,7 +20,7 @@ "fix": "gts fix", "prelint": "cd samples; npm link ../; npm install", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "system-test": "c8 mocha build/system-test --timeout 600000", "test": "c8 mocha build/test", "samples-test": "cd samples/ && npm link ../ && npm test && cd ../", diff --git a/handwritten/bigquery/package.json b/handwritten/bigquery/package.json index 77f104d5c9f9..a07705d4975c 100644 --- a/handwritten/bigquery/package.json +++ b/handwritten/bigquery/package.json @@ -43,7 +43,7 @@ "compile": "tsc -p . && cp src/types.d.ts build/src/", "fix": "gts fix", "predocs": "pnpm run compile", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "pretest": "pnpm run compile", "types": "node scripts/gen-types.js", "prelint": "cd samples; pnpm link ../; pnpm install", diff --git a/handwritten/bigtable/package.json b/handwritten/bigtable/package.json index 9a70efeb8a5a..3035faf06352 100644 --- a/handwritten/bigtable/package.json +++ b/handwritten/bigtable/package.json @@ -36,7 +36,7 @@ "fix": "gts fix", "prelint": "cd samples; pnpm link ../; pnpm install", "lint": "gts check", - "prepare": "npm run compile-protos && npm run compile", + "prepublishOnly": "npm run compile-protos && npm run compile", "samples-test": "cd samples/ && pnpm link ../ && pnpm install && pnpm test && cd ../", "snippet-test": "mocha samples/api-reference-doc-snippets/tests/*.js --timeout 600000 --retries 3", "presystem-test": "pnpm run compile", diff --git a/handwritten/cloud-profiler/package.json b/handwritten/cloud-profiler/package.json index 559b07ec13c2..89f99e28f2e2 100644 --- a/handwritten/cloud-profiler/package.json +++ b/handwritten/cloud-profiler/package.json @@ -19,7 +19,7 @@ "lint": "gts check", "docs": "jsdoc -c .jsdoc.js", "prelint": "cd samples; npm link ../; npm install", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "pretest": "pnpm run compile && node-gyp rebuild --directory node_modules/pprof", "license-check": "jsgl --local .", "precompile": "gts clean" diff --git a/handwritten/cloud-profiler/system-test/busybench/package.json b/handwritten/cloud-profiler/system-test/busybench/package.json index 1be063434844..163605923151 100644 --- a/handwritten/cloud-profiler/system-test/busybench/package.json +++ b/handwritten/cloud-profiler/system-test/busybench/package.json @@ -18,7 +18,7 @@ "clean": "gts clean", "compile": "tsc -p .", "fix": "gts fix", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "pretest": "npm run compile", "posttest": "npm run check" }, diff --git a/handwritten/datastore/package.json b/handwritten/datastore/package.json index 463484771676..8cc5afac9604 100644 --- a/handwritten/datastore/package.json +++ b/handwritten/datastore/package.json @@ -33,7 +33,7 @@ "fix": "gts fix", "prelint": "cd samples; npm link ../; npm install", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "samples-test": "cd samples/ && npm link ../ && npm install && npm test && cd ../", "presystem-test": "npm run compile", "system-test": "mocha build/system-test --timeout 600000", diff --git a/handwritten/error-reporting/package.json b/handwritten/error-reporting/package.json index 3e76487cb13b..6f091019226f 100644 --- a/handwritten/error-reporting/package.json +++ b/handwritten/error-reporting/package.json @@ -27,7 +27,7 @@ "clean": "gts clean", "compile": "tsc -p .", "fix": "gts fix", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "pretest": "pnpm run compile", "license-check": "jsgl --local .", "precompile": "gts clean" diff --git a/handwritten/firestore/package.json b/handwritten/firestore/package.json index a2361ef21e36..394e5e73de21 100644 --- a/handwritten/firestore/package.json +++ b/handwritten/firestore/package.json @@ -60,7 +60,7 @@ "compile": "tsc -p .", "postcompile": "node scripts/init-directories.js && cp -r dev/protos build && cp dev/conformance/test-definition.proto build/conformance && cp dev/conformance/conformance-tests/*.json build/conformance/conformance-tests && minifyProtoJson", "fix": "gts fix", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "precompile": "gts clean" }, "dependencies": { diff --git a/handwritten/google-cloud-dns/package.json b/handwritten/google-cloud-dns/package.json index fb5231cf35b4..818a4529ee3a 100644 --- a/handwritten/google-cloud-dns/package.json +++ b/handwritten/google-cloud-dns/package.json @@ -40,7 +40,7 @@ "clean": "gts clean", "compile": "tsc -p .", "fix": "gts fix", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "pretest": "pnpm run compile", "prelint": "cd samples; pnpm link ../; pnpm install", "precompile": "gts clean" diff --git a/handwritten/logging-bunyan/package.json b/handwritten/logging-bunyan/package.json index 3199847d50e3..714722d16e4e 100644 --- a/handwritten/logging-bunyan/package.json +++ b/handwritten/logging-bunyan/package.json @@ -47,7 +47,7 @@ "compile": "tsc -p .", "postcompile": "cpy \"src/types/*\" build/src/types", "fix": "gts fix", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "pretest": "pnpm run compile", "prelint": "cd samples; npm link ../; npm install", "precompile": "gts clean" diff --git a/handwritten/logging-winston/package.json b/handwritten/logging-winston/package.json index e40d311283ab..fe894de70413 100644 --- a/handwritten/logging-winston/package.json +++ b/handwritten/logging-winston/package.json @@ -46,7 +46,7 @@ "clean": "gts clean", "compile": "tsc -p .", "fix": "gts fix", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "pretest": "pnpm run compile", "prelint": "cd samples; npm link ../; npm install", "precompile": "gts clean" diff --git a/handwritten/logging/package.json b/handwritten/logging/package.json index a21e95421467..1da38836fe48 100644 --- a/handwritten/logging/package.json +++ b/handwritten/logging/package.json @@ -35,7 +35,7 @@ "fix": "gts fix", "prelint": "cd samples; npm link ../; npm install", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "samples-test": "cd samples/ && npm link ../ && npm test && cd ../", "presystem-test": "pnpm run compile", "system-test": "mocha build/system-test --timeout 600000", diff --git a/handwritten/pubsub/package.json b/handwritten/pubsub/package.json index ebec8ad828c1..7acf2d24223f 100644 --- a/handwritten/pubsub/package.json +++ b/handwritten/pubsub/package.json @@ -43,7 +43,7 @@ "clean": "gts clean", "compile": "tsc -p . && cp -r protos build/", "compile-protos": "compileProtos src", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "pretest": "pnpm run compile", "benchwrapper": "node bin/benchwrapper.js", "prelint": "cd samples; pnpm link ../; pnpm install", diff --git a/handwritten/pubsub/system-test/fixtures/sample/package.json b/handwritten/pubsub/system-test/fixtures/sample/package.json index 8667c0f81e33..aea2f061b03d 100644 --- a/handwritten/pubsub/system-test/fixtures/sample/package.json +++ b/handwritten/pubsub/system-test/fixtures/sample/package.json @@ -6,7 +6,7 @@ "clean": "gts clean", "compile": "tsc -p .", "fix": "gts fix", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "pretest": "npm run compile", "posttest": "npm run check", "start": "node build/src/index.js" diff --git a/handwritten/spanner-driver/package.json b/handwritten/spanner-driver/package.json index 38c76ba4747a..e5c3f70568bb 100644 --- a/handwritten/spanner-driver/package.json +++ b/handwritten/spanner-driver/package.json @@ -37,7 +37,7 @@ "compile": "pnpm run compile:esm && pnpm run compile:cjs", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "pretest": "pnpm run compile", "test:esm": "c8 mocha build/esm/test/unit/**/*.js", "test:cjs": "c8 mocha build/cjs/test/unit/**/*.js", diff --git a/handwritten/spanner/package.json b/handwritten/spanner/package.json index 0bd522a07d7a..d09eec28f08e 100644 --- a/handwritten/spanner/package.json +++ b/handwritten/spanner/package.json @@ -42,7 +42,7 @@ "fix": "gts fix", "clean": "gts clean", "compile": "tsc -p . && cp -r protos build && cp -r test/data build/test", - "prepare": "cp -r protos build && npm run compile", + "prepublishOnly": "cp -r protos build && npm run compile", "pretest": "pnpm run compile", "presystem-test": "pnpm run compile", "preobservability-test": "pnpm run compile", diff --git a/handwritten/spanner/system-test/fixtures/sample/package.json b/handwritten/spanner/system-test/fixtures/sample/package.json index 590bb1b3861c..d7fc5f9a95a7 100644 --- a/handwritten/spanner/system-test/fixtures/sample/package.json +++ b/handwritten/spanner/system-test/fixtures/sample/package.json @@ -6,7 +6,7 @@ "clean": "gts clean", "compile": "tsc -p .", "fix": "gts fix", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "pretest": "npm run compile", "posttest": "npm run check", "start": "node build/src/index.js" diff --git a/handwritten/storage/package.json b/handwritten/storage/package.json index 76772fe64aa8..67fa1724af75 100644 --- a/handwritten/storage/package.json +++ b/handwritten/storage/package.json @@ -63,7 +63,7 @@ "precompile": "rm -rf build/", "preconformance-test": "pnpm run compile:cjs --sourceMap", "predocs": "pnpm run compile:cjs --sourceMap", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "presystem-test:esm": "pnpm run compile:esm", "presystem-test": "pnpm run compile --sourceMap", "pretest": "pnpm run compile --sourceMap", diff --git a/packages/google-ads-admanager/package.json b/packages/google-ads-admanager/package.json index f486f2cec546..89efe770df91 100644 --- a/packages/google-ads-admanager/package.json +++ b/packages/google-ads-admanager/package.json @@ -36,7 +36,7 @@ "fix": "gts fix", "lint": "gts check", "postpack": "minifyProtoJson", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-ads-datamanager/package.json b/packages/google-ads-datamanager/package.json index 58a800057131..cc17e449725d 100644 --- a/packages/google-ads-datamanager/package.json +++ b/packages/google-ads-datamanager/package.json @@ -36,7 +36,7 @@ "fix": "gts fix", "lint": "gts check", "postpack": "minifyProtoJson", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-ai-generativelanguage/package.json b/packages/google-ai-generativelanguage/package.json index 5c2a8df171f5..b119b4dfe61f 100644 --- a/packages/google-ai-generativelanguage/package.json +++ b/packages/google-ai-generativelanguage/package.json @@ -35,7 +35,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "system-test": "npm run compile && c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test", "samples-test": "npm run compile && cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-analytics-admin/package.json b/packages/google-analytics-admin/package.json index 8095bdab4d75..27b1d4626334 100644 --- a/packages/google-analytics-admin/package.json +++ b/packages/google-analytics-admin/package.json @@ -35,7 +35,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-analytics-data/package.json b/packages/google-analytics-data/package.json index 326b42e96a9d..9b0ed4f5d36f 100644 --- a/packages/google-analytics-data/package.json +++ b/packages/google-analytics-data/package.json @@ -35,7 +35,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-api-apikeys/package.json b/packages/google-api-apikeys/package.json index 94ce7dd5e4e6..01a93ceb8a3b 100644 --- a/packages/google-api-apikeys/package.json +++ b/packages/google-api-apikeys/package.json @@ -36,7 +36,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-api-cloudquotas/package.json b/packages/google-api-cloudquotas/package.json index 80868a2283b6..9641c8e0fa1a 100644 --- a/packages/google-api-cloudquotas/package.json +++ b/packages/google-api-cloudquotas/package.json @@ -36,7 +36,7 @@ "fix": "gts fix", "lint": "gts check", "postpack": "minifyProtoJson", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-api-servicecontrol/package.json b/packages/google-api-servicecontrol/package.json index a0fd84ba9156..81de4cd709ee 100644 --- a/packages/google-api-servicecontrol/package.json +++ b/packages/google-api-servicecontrol/package.json @@ -36,7 +36,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-api-servicemanagement/package.json b/packages/google-api-servicemanagement/package.json index 0a8977ad5f96..fbc82cd230e4 100644 --- a/packages/google-api-servicemanagement/package.json +++ b/packages/google-api-servicemanagement/package.json @@ -35,7 +35,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-api-serviceusage/package.json b/packages/google-api-serviceusage/package.json index b05369a8d6fb..bf2e6e527cda 100644 --- a/packages/google-api-serviceusage/package.json +++ b/packages/google-api-serviceusage/package.json @@ -35,7 +35,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-appengine/package.json b/packages/google-appengine/package.json index 0840bf852bd6..30b9178bfc7b 100644 --- a/packages/google-appengine/package.json +++ b/packages/google-appengine/package.json @@ -42,7 +42,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-apps-events-subscriptions/package.json b/packages/google-apps-events-subscriptions/package.json index 14f92f139add..7bbbda4d4fde 100644 --- a/packages/google-apps-events-subscriptions/package.json +++ b/packages/google-apps-events-subscriptions/package.json @@ -36,7 +36,7 @@ "fix": "gts fix", "lint": "gts check", "postpack": "minifyProtoJson", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-apps-meet/package.json b/packages/google-apps-meet/package.json index a858d19a1b9c..9d2a8e0efe6c 100644 --- a/packages/google-apps-meet/package.json +++ b/packages/google-apps-meet/package.json @@ -36,7 +36,7 @@ "fix": "gts fix", "lint": "gts check", "postpack": "minifyProtoJson", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-area120-tables/package.json b/packages/google-area120-tables/package.json index 188a84db2976..b45009480a6f 100644 --- a/packages/google-area120-tables/package.json +++ b/packages/google-area120-tables/package.json @@ -35,7 +35,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-chat/package.json b/packages/google-chat/package.json index 0eb1cb7bbb8f..a4379a78b10b 100644 --- a/packages/google-chat/package.json +++ b/packages/google-chat/package.json @@ -36,7 +36,7 @@ "fix": "gts fix", "lint": "gts check", "postpack": "minifyProtoJson", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-accessapproval/package.json b/packages/google-cloud-accessapproval/package.json index 455a0f6fd473..6aeca9b920e3 100644 --- a/packages/google-cloud-accessapproval/package.json +++ b/packages/google-cloud-accessapproval/package.json @@ -35,7 +35,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-advisorynotifications/package.json b/packages/google-cloud-advisorynotifications/package.json index b9451cddbe2f..772dcf2cbc44 100644 --- a/packages/google-cloud-advisorynotifications/package.json +++ b/packages/google-cloud-advisorynotifications/package.json @@ -36,7 +36,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-agentidentity/package.json b/packages/google-cloud-agentidentity/package.json index 1b7fa084f501..9993e8f94b78 100644 --- a/packages/google-cloud-agentidentity/package.json +++ b/packages/google-cloud-agentidentity/package.json @@ -35,7 +35,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile-protos && npm run compile", + "prepublishOnly": "npm run compile-protos && npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test" }, diff --git a/packages/google-cloud-agentregistry/package.json b/packages/google-cloud-agentregistry/package.json index 9c3768d68532..d0435175f508 100644 --- a/packages/google-cloud-agentregistry/package.json +++ b/packages/google-cloud-agentregistry/package.json @@ -35,7 +35,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile-protos && npm run compile", + "prepublishOnly": "npm run compile-protos && npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test" }, diff --git a/packages/google-cloud-aiplatform/package.json b/packages/google-cloud-aiplatform/package.json index 9da277454e37..4815ae9fd6f8 100644 --- a/packages/google-cloud-aiplatform/package.json +++ b/packages/google-cloud-aiplatform/package.json @@ -43,7 +43,7 @@ "docs": "NODE_OPTIONS=--max-old-space-size=8192 jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-alloydb/package.json b/packages/google-cloud-alloydb/package.json index cd439f1e9035..da8f175cb8be 100644 --- a/packages/google-cloud-alloydb/package.json +++ b/packages/google-cloud-alloydb/package.json @@ -36,7 +36,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-apigateway/package.json b/packages/google-cloud-apigateway/package.json index 960655f4f595..36d8aed754e2 100644 --- a/packages/google-cloud-apigateway/package.json +++ b/packages/google-cloud-apigateway/package.json @@ -35,7 +35,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-apigeeconnect/package.json b/packages/google-cloud-apigeeconnect/package.json index 23d9a8581c40..51379f170e28 100644 --- a/packages/google-cloud-apigeeconnect/package.json +++ b/packages/google-cloud-apigeeconnect/package.json @@ -35,7 +35,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-apigeeregistry/package.json b/packages/google-cloud-apigeeregistry/package.json index 0e960ccef230..41d0cb91b333 100644 --- a/packages/google-cloud-apigeeregistry/package.json +++ b/packages/google-cloud-apigeeregistry/package.json @@ -34,7 +34,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "system-test": "npm run compile && c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test", "samples-test": "npm run compile && cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-apihub/package.json b/packages/google-cloud-apihub/package.json index d7ffedc7fabd..330c5d11d85d 100644 --- a/packages/google-cloud-apihub/package.json +++ b/packages/google-cloud-apihub/package.json @@ -36,7 +36,7 @@ "fix": "gts fix", "lint": "gts check", "postpack": "minifyProtoJson", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-apiregistry/package.json b/packages/google-cloud-apiregistry/package.json index 80cf3287fdc6..1bfe6db75ca6 100644 --- a/packages/google-cloud-apiregistry/package.json +++ b/packages/google-cloud-apiregistry/package.json @@ -36,7 +36,7 @@ "fix": "gts fix", "lint": "gts check", "postpack": "minifyProtoJson", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-apphub/package.json b/packages/google-cloud-apphub/package.json index 6c1f486b7123..d85b3cd55693 100644 --- a/packages/google-cloud-apphub/package.json +++ b/packages/google-cloud-apphub/package.json @@ -36,7 +36,7 @@ "fix": "gts fix", "lint": "gts check", "postpack": "minifyProtoJson", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-appoptimize/package.json b/packages/google-cloud-appoptimize/package.json index 0558fd186710..7ded182ecef6 100644 --- a/packages/google-cloud-appoptimize/package.json +++ b/packages/google-cloud-appoptimize/package.json @@ -36,7 +36,7 @@ "fix": "gts fix", "lint": "gts check", "postpack": "minifyProtoJson", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-apptopology/package.json b/packages/google-cloud-apptopology/package.json index 09986da567ac..6b80f421f72f 100644 --- a/packages/google-cloud-apptopology/package.json +++ b/packages/google-cloud-apptopology/package.json @@ -35,7 +35,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile-protos && npm run compile", + "prepublishOnly": "npm run compile-protos && npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test" }, diff --git a/packages/google-cloud-asset/package.json b/packages/google-cloud-asset/package.json index 9755f5969c21..8b377c4740e0 100644 --- a/packages/google-cloud-asset/package.json +++ b/packages/google-cloud-asset/package.json @@ -38,7 +38,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-assuredworkloads/package.json b/packages/google-cloud-assuredworkloads/package.json index aa5bf01f0387..413477e31cc2 100644 --- a/packages/google-cloud-assuredworkloads/package.json +++ b/packages/google-cloud-assuredworkloads/package.json @@ -35,7 +35,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-auditmanager/package.json b/packages/google-cloud-auditmanager/package.json index 3a1a4211ad91..1fb3fd12d539 100644 --- a/packages/google-cloud-auditmanager/package.json +++ b/packages/google-cloud-auditmanager/package.json @@ -36,7 +36,7 @@ "fix": "gts fix", "lint": "gts check", "postpack": "minifyProtoJson", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-automl/package.json b/packages/google-cloud-automl/package.json index 5844ca6da135..ba08e468ae0c 100644 --- a/packages/google-cloud-automl/package.json +++ b/packages/google-cloud-automl/package.json @@ -41,7 +41,7 @@ "clean": "gts clean", "compile": "tsc -p . && cp -r protos build/", "compile-protos": "compileProtos src", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "precompile": "gts clean" }, "dependencies": { diff --git a/packages/google-cloud-backupdr/package.json b/packages/google-cloud-backupdr/package.json index bcf1130f359f..ab6d761cca0b 100644 --- a/packages/google-cloud-backupdr/package.json +++ b/packages/google-cloud-backupdr/package.json @@ -36,7 +36,7 @@ "fix": "gts fix", "lint": "gts check", "postpack": "minifyProtoJson", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-baremetalsolution/package.json b/packages/google-cloud-baremetalsolution/package.json index a24d79375fa2..e8baa13254b1 100644 --- a/packages/google-cloud-baremetalsolution/package.json +++ b/packages/google-cloud-baremetalsolution/package.json @@ -35,7 +35,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-batch/package.json b/packages/google-cloud-batch/package.json index a6b7d44ac39e..9a38d6b4b291 100644 --- a/packages/google-cloud-batch/package.json +++ b/packages/google-cloud-batch/package.json @@ -36,7 +36,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-beyondcorp-appconnections/package.json b/packages/google-cloud-beyondcorp-appconnections/package.json index 837236c2208e..ae9d4e222f4e 100644 --- a/packages/google-cloud-beyondcorp-appconnections/package.json +++ b/packages/google-cloud-beyondcorp-appconnections/package.json @@ -36,7 +36,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-beyondcorp-appconnectors/package.json b/packages/google-cloud-beyondcorp-appconnectors/package.json index f224d6f35cfe..8c290af9c574 100644 --- a/packages/google-cloud-beyondcorp-appconnectors/package.json +++ b/packages/google-cloud-beyondcorp-appconnectors/package.json @@ -36,7 +36,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-beyondcorp-appgateways/package.json b/packages/google-cloud-beyondcorp-appgateways/package.json index 8abc71a1b434..539a74e9dd10 100644 --- a/packages/google-cloud-beyondcorp-appgateways/package.json +++ b/packages/google-cloud-beyondcorp-appgateways/package.json @@ -36,7 +36,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-beyondcorp-clientconnectorservices/package.json b/packages/google-cloud-beyondcorp-clientconnectorservices/package.json index 02bc6fbe83ff..ad93e90c9bcc 100644 --- a/packages/google-cloud-beyondcorp-clientconnectorservices/package.json +++ b/packages/google-cloud-beyondcorp-clientconnectorservices/package.json @@ -36,7 +36,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-beyondcorp-clientgateways/package.json b/packages/google-cloud-beyondcorp-clientgateways/package.json index 2183d3e3c096..995aea771145 100644 --- a/packages/google-cloud-beyondcorp-clientgateways/package.json +++ b/packages/google-cloud-beyondcorp-clientgateways/package.json @@ -36,7 +36,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-bigquery-analyticshub/package.json b/packages/google-cloud-bigquery-analyticshub/package.json index 8823d4f39894..cf076502497a 100644 --- a/packages/google-cloud-bigquery-analyticshub/package.json +++ b/packages/google-cloud-bigquery-analyticshub/package.json @@ -36,7 +36,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-bigquery-connection/package.json b/packages/google-cloud-bigquery-connection/package.json index 2392d8218b27..4c1b0de5a9bf 100644 --- a/packages/google-cloud-bigquery-connection/package.json +++ b/packages/google-cloud-bigquery-connection/package.json @@ -35,7 +35,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-bigquery-dataexchange/package.json b/packages/google-cloud-bigquery-dataexchange/package.json index 932aed4085b5..4957e112297b 100644 --- a/packages/google-cloud-bigquery-dataexchange/package.json +++ b/packages/google-cloud-bigquery-dataexchange/package.json @@ -36,7 +36,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-bigquery-datapolicies/package.json b/packages/google-cloud-bigquery-datapolicies/package.json index eb23f85ab4f6..1425ea435344 100644 --- a/packages/google-cloud-bigquery-datapolicies/package.json +++ b/packages/google-cloud-bigquery-datapolicies/package.json @@ -36,7 +36,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-bigquery-datatransfer/package.json b/packages/google-cloud-bigquery-datatransfer/package.json index 24eb304dc6cb..5c4d62cb2c5d 100644 --- a/packages/google-cloud-bigquery-datatransfer/package.json +++ b/packages/google-cloud-bigquery-datatransfer/package.json @@ -39,7 +39,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-bigquery-migration/package.json b/packages/google-cloud-bigquery-migration/package.json index e2873329620a..93e7ed2365f1 100644 --- a/packages/google-cloud-bigquery-migration/package.json +++ b/packages/google-cloud-bigquery-migration/package.json @@ -34,7 +34,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "system-test": "npm run compile && c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test", "samples-test": "npm run compile && cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-bigquery-reservation/package.json b/packages/google-cloud-bigquery-reservation/package.json index d9b0437bfc03..101c35b2003d 100644 --- a/packages/google-cloud-bigquery-reservation/package.json +++ b/packages/google-cloud-bigquery-reservation/package.json @@ -36,7 +36,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-bigquery-storage-api/package.json b/packages/google-cloud-bigquery-storage-api/package.json index 8f1999a4bbeb..0b4005d1c4ed 100644 --- a/packages/google-cloud-bigquery-storage-api/package.json +++ b/packages/google-cloud-bigquery-storage-api/package.json @@ -36,7 +36,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile-protos && npm run compile", + "prepublishOnly": "npm run compile-protos && npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test" }, diff --git a/packages/google-cloud-bigtable-api/package.json b/packages/google-cloud-bigtable-api/package.json index ff0e14570fa0..679269022818 100644 --- a/packages/google-cloud-bigtable-api/package.json +++ b/packages/google-cloud-bigtable-api/package.json @@ -36,7 +36,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile-protos && npm run compile", + "prepublishOnly": "npm run compile-protos && npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test" }, diff --git a/packages/google-cloud-billing-budgets/package.json b/packages/google-cloud-billing-budgets/package.json index af310fd4a407..c0bd0c19973c 100644 --- a/packages/google-cloud-billing-budgets/package.json +++ b/packages/google-cloud-billing-budgets/package.json @@ -37,7 +37,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-billing/package.json b/packages/google-cloud-billing/package.json index 75d1ce8b114a..4f81408bf5d2 100644 --- a/packages/google-cloud-billing/package.json +++ b/packages/google-cloud-billing/package.json @@ -22,7 +22,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-binaryauthorization/package.json b/packages/google-cloud-binaryauthorization/package.json index 9fb01cc7e410..97aa76292351 100644 --- a/packages/google-cloud-binaryauthorization/package.json +++ b/packages/google-cloud-binaryauthorization/package.json @@ -35,7 +35,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-capacityplanner/package.json b/packages/google-cloud-capacityplanner/package.json index 2746d9ba8032..eaeb324e2327 100644 --- a/packages/google-cloud-capacityplanner/package.json +++ b/packages/google-cloud-capacityplanner/package.json @@ -36,7 +36,7 @@ "fix": "gts fix", "lint": "gts check", "postpack": "minifyProtoJson", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-certificatemanager/package.json b/packages/google-cloud-certificatemanager/package.json index 9d3e85548f67..19176030db54 100644 --- a/packages/google-cloud-certificatemanager/package.json +++ b/packages/google-cloud-certificatemanager/package.json @@ -36,7 +36,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-ces/package.json b/packages/google-cloud-ces/package.json index 2847417ab64d..9120c161b33c 100644 --- a/packages/google-cloud-ces/package.json +++ b/packages/google-cloud-ces/package.json @@ -36,7 +36,7 @@ "fix": "gts fix", "lint": "gts check", "postpack": "minifyProtoJson", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-channel/package.json b/packages/google-cloud-channel/package.json index 2f0678131e1b..2baf10c323e2 100644 --- a/packages/google-cloud-channel/package.json +++ b/packages/google-cloud-channel/package.json @@ -36,7 +36,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-chronicle/package.json b/packages/google-cloud-chronicle/package.json index e6b2b64c1022..ba40e5e84265 100644 --- a/packages/google-cloud-chronicle/package.json +++ b/packages/google-cloud-chronicle/package.json @@ -36,7 +36,7 @@ "fix": "gts fix", "lint": "gts check", "postpack": "minifyProtoJson", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-cloudcontrolspartner/package.json b/packages/google-cloud-cloudcontrolspartner/package.json index 40352d762a61..ae0217c88db3 100644 --- a/packages/google-cloud-cloudcontrolspartner/package.json +++ b/packages/google-cloud-cloudcontrolspartner/package.json @@ -36,7 +36,7 @@ "fix": "gts fix", "lint": "gts check", "postpack": "minifyProtoJson", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-clouddms/package.json b/packages/google-cloud-clouddms/package.json index a8783652d3f5..8ff7b320d12e 100644 --- a/packages/google-cloud-clouddms/package.json +++ b/packages/google-cloud-clouddms/package.json @@ -36,7 +36,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-cloudsecuritycompliance/package.json b/packages/google-cloud-cloudsecuritycompliance/package.json index 5f777e5e3acc..c050dc62f3a4 100644 --- a/packages/google-cloud-cloudsecuritycompliance/package.json +++ b/packages/google-cloud-cloudsecuritycompliance/package.json @@ -36,7 +36,7 @@ "fix": "gts fix", "lint": "gts check", "postpack": "minifyProtoJson", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-commerce-consumer-procurement/package.json b/packages/google-cloud-commerce-consumer-procurement/package.json index 54b518aa33c4..2ff258a92280 100644 --- a/packages/google-cloud-commerce-consumer-procurement/package.json +++ b/packages/google-cloud-commerce-consumer-procurement/package.json @@ -36,7 +36,7 @@ "fix": "gts fix", "lint": "gts check", "postpack": "minifyProtoJson", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-commerceproducer/package.json b/packages/google-cloud-commerceproducer/package.json index 12d813c9cd1f..cf5d7abd8280 100644 --- a/packages/google-cloud-commerceproducer/package.json +++ b/packages/google-cloud-commerceproducer/package.json @@ -35,7 +35,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile-protos && npm run compile", + "prepublishOnly": "npm run compile-protos && npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test" }, diff --git a/packages/google-cloud-compute/package.json b/packages/google-cloud-compute/package.json index 29ce75a6de83..62ce59765bef 100644 --- a/packages/google-cloud-compute/package.json +++ b/packages/google-cloud-compute/package.json @@ -115,7 +115,7 @@ "docs": "node --max-old-space-size=8192 ./node_modules/.bin/jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-confidentialcomputing/package.json b/packages/google-cloud-confidentialcomputing/package.json index b8dfecf7b5c8..29ba23976769 100644 --- a/packages/google-cloud-confidentialcomputing/package.json +++ b/packages/google-cloud-confidentialcomputing/package.json @@ -35,7 +35,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-config/package.json b/packages/google-cloud-config/package.json index a9ed3c8140c4..e7642fdafbcf 100644 --- a/packages/google-cloud-config/package.json +++ b/packages/google-cloud-config/package.json @@ -36,7 +36,7 @@ "fix": "gts fix", "lint": "gts check", "postpack": "minifyProtoJson", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-configdelivery/package.json b/packages/google-cloud-configdelivery/package.json index bc2aec3bac1d..0441fda94cc9 100644 --- a/packages/google-cloud-configdelivery/package.json +++ b/packages/google-cloud-configdelivery/package.json @@ -36,7 +36,7 @@ "fix": "gts fix", "lint": "gts check", "postpack": "minifyProtoJson", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-connectors/package.json b/packages/google-cloud-connectors/package.json index 9548c87a659a..b4ecc33fd63e 100644 --- a/packages/google-cloud-connectors/package.json +++ b/packages/google-cloud-connectors/package.json @@ -36,7 +36,7 @@ "fix": "gts fix", "lint": "gts check", "postpack": "minifyProtoJson", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-contactcenterinsights/package.json b/packages/google-cloud-contactcenterinsights/package.json index d72e8fee75da..63eaa6393476 100644 --- a/packages/google-cloud-contactcenterinsights/package.json +++ b/packages/google-cloud-contactcenterinsights/package.json @@ -35,7 +35,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-contentwarehouse/package.json b/packages/google-cloud-contentwarehouse/package.json index 0174aef01346..aebd0a31b335 100644 --- a/packages/google-cloud-contentwarehouse/package.json +++ b/packages/google-cloud-contentwarehouse/package.json @@ -36,7 +36,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-databasecenter/package.json b/packages/google-cloud-databasecenter/package.json index af77665bd513..a735e2a990ff 100644 --- a/packages/google-cloud-databasecenter/package.json +++ b/packages/google-cloud-databasecenter/package.json @@ -36,7 +36,7 @@ "fix": "gts fix", "lint": "gts check", "postpack": "minifyProtoJson", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-datacatalog-lineage-configmanagement/package.json b/packages/google-cloud-datacatalog-lineage-configmanagement/package.json index 89b201ea3cde..3cfaf940e42f 100644 --- a/packages/google-cloud-datacatalog-lineage-configmanagement/package.json +++ b/packages/google-cloud-datacatalog-lineage-configmanagement/package.json @@ -36,7 +36,7 @@ "fix": "gts fix", "lint": "gts check", "postpack": "minifyProtoJson", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-datacatalog-lineage/package.json b/packages/google-cloud-datacatalog-lineage/package.json index 0dc65fd9e173..7a9909a6f7b2 100644 --- a/packages/google-cloud-datacatalog-lineage/package.json +++ b/packages/google-cloud-datacatalog-lineage/package.json @@ -36,7 +36,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-datacatalog/package.json b/packages/google-cloud-datacatalog/package.json index 1108524b94cf..0b3cb68840e4 100644 --- a/packages/google-cloud-datacatalog/package.json +++ b/packages/google-cloud-datacatalog/package.json @@ -56,7 +56,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-dataform/package.json b/packages/google-cloud-dataform/package.json index edd67e9f0ce0..7c97097d3de6 100644 --- a/packages/google-cloud-dataform/package.json +++ b/packages/google-cloud-dataform/package.json @@ -36,7 +36,7 @@ "fix": "gts fix", "lint": "gts check", "postpack": "minifyProtoJson", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-datafusion/package.json b/packages/google-cloud-datafusion/package.json index 304d98803506..cb9f11026fc8 100644 --- a/packages/google-cloud-datafusion/package.json +++ b/packages/google-cloud-datafusion/package.json @@ -35,7 +35,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-datalabeling/package.json b/packages/google-cloud-datalabeling/package.json index 94fc8d86bce1..953fd09afbac 100644 --- a/packages/google-cloud-datalabeling/package.json +++ b/packages/google-cloud-datalabeling/package.json @@ -38,7 +38,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-dataplex/package.json b/packages/google-cloud-dataplex/package.json index 7b81bc25af07..b4b98c05116d 100644 --- a/packages/google-cloud-dataplex/package.json +++ b/packages/google-cloud-dataplex/package.json @@ -37,7 +37,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-dataproc/package.json b/packages/google-cloud-dataproc/package.json index ee0a622e980a..92b93ba79b6c 100644 --- a/packages/google-cloud-dataproc/package.json +++ b/packages/google-cloud-dataproc/package.json @@ -38,7 +38,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-dataqna/package.json b/packages/google-cloud-dataqna/package.json index 70251c6045ff..a9fc778cc220 100644 --- a/packages/google-cloud-dataqna/package.json +++ b/packages/google-cloud-dataqna/package.json @@ -36,7 +36,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-datastore-api/package.json b/packages/google-cloud-datastore-api/package.json index f574fc775de2..892f0ddfc86c 100644 --- a/packages/google-cloud-datastore-api/package.json +++ b/packages/google-cloud-datastore-api/package.json @@ -35,7 +35,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile-protos && npm run compile", + "prepublishOnly": "npm run compile-protos && npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test" }, diff --git a/packages/google-cloud-datastream/package.json b/packages/google-cloud-datastream/package.json index af48e0f3bf30..c0fa85484628 100644 --- a/packages/google-cloud-datastream/package.json +++ b/packages/google-cloud-datastream/package.json @@ -35,7 +35,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-deploy/package.json b/packages/google-cloud-deploy/package.json index 73e7de008f1d..4000129fad7f 100644 --- a/packages/google-cloud-deploy/package.json +++ b/packages/google-cloud-deploy/package.json @@ -36,7 +36,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-developerconnect/package.json b/packages/google-cloud-developerconnect/package.json index 0417a0647766..c7ae67291662 100644 --- a/packages/google-cloud-developerconnect/package.json +++ b/packages/google-cloud-developerconnect/package.json @@ -36,7 +36,7 @@ "fix": "gts fix", "lint": "gts check", "postpack": "minifyProtoJson", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-devicestreaming/package.json b/packages/google-cloud-devicestreaming/package.json index c1b0fb439302..d64e5accd7f3 100644 --- a/packages/google-cloud-devicestreaming/package.json +++ b/packages/google-cloud-devicestreaming/package.json @@ -36,7 +36,7 @@ "fix": "gts fix", "lint": "gts check", "postpack": "minifyProtoJson", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-dialogflow-cx/package.json b/packages/google-cloud-dialogflow-cx/package.json index bfa9c83a7ada..c2bf18352818 100644 --- a/packages/google-cloud-dialogflow-cx/package.json +++ b/packages/google-cloud-dialogflow-cx/package.json @@ -46,7 +46,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-dialogflow/package.json b/packages/google-cloud-dialogflow/package.json index 1dfc400190a0..d180691abf5f 100644 --- a/packages/google-cloud-dialogflow/package.json +++ b/packages/google-cloud-dialogflow/package.json @@ -38,7 +38,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-discoveryengine/package.json b/packages/google-cloud-discoveryengine/package.json index 54526667b4c4..2f1c7b70be1c 100644 --- a/packages/google-cloud-discoveryengine/package.json +++ b/packages/google-cloud-discoveryengine/package.json @@ -36,7 +36,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-documentai/package.json b/packages/google-cloud-documentai/package.json index 4c69d30f41c2..93fb2b8b47a5 100644 --- a/packages/google-cloud-documentai/package.json +++ b/packages/google-cloud-documentai/package.json @@ -22,7 +22,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-domains/package.json b/packages/google-cloud-domains/package.json index 1879d0d73a96..944a7fac6c16 100644 --- a/packages/google-cloud-domains/package.json +++ b/packages/google-cloud-domains/package.json @@ -35,7 +35,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-edgecontainer/package.json b/packages/google-cloud-edgecontainer/package.json index a00f4ab3f43c..60f8aa8720f4 100644 --- a/packages/google-cloud-edgecontainer/package.json +++ b/packages/google-cloud-edgecontainer/package.json @@ -36,7 +36,7 @@ "fix": "gts fix", "lint": "gts check", "postpack": "minifyProtoJson", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-edgenetwork/package.json b/packages/google-cloud-edgenetwork/package.json index 354bed6a06ad..13f6f757f4ed 100644 --- a/packages/google-cloud-edgenetwork/package.json +++ b/packages/google-cloud-edgenetwork/package.json @@ -36,7 +36,7 @@ "fix": "gts fix", "lint": "gts check", "postpack": "minifyProtoJson", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-essentialcontacts/package.json b/packages/google-cloud-essentialcontacts/package.json index d52aedee4a87..62ff45b6679c 100644 --- a/packages/google-cloud-essentialcontacts/package.json +++ b/packages/google-cloud-essentialcontacts/package.json @@ -35,7 +35,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-eventarc-publishing/package.json b/packages/google-cloud-eventarc-publishing/package.json index e1ed7e1563d9..f967357d4aea 100644 --- a/packages/google-cloud-eventarc-publishing/package.json +++ b/packages/google-cloud-eventarc-publishing/package.json @@ -35,7 +35,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-eventarc/package.json b/packages/google-cloud-eventarc/package.json index 49ea486e8756..48d01c48cb1e 100644 --- a/packages/google-cloud-eventarc/package.json +++ b/packages/google-cloud-eventarc/package.json @@ -35,7 +35,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-filestore/package.json b/packages/google-cloud-filestore/package.json index 71cafa46eb07..97b9668cf36c 100644 --- a/packages/google-cloud-filestore/package.json +++ b/packages/google-cloud-filestore/package.json @@ -35,7 +35,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-financialservices/package.json b/packages/google-cloud-financialservices/package.json index 0a82f7403a4f..cd7b5d05a9e9 100644 --- a/packages/google-cloud-financialservices/package.json +++ b/packages/google-cloud-financialservices/package.json @@ -36,7 +36,7 @@ "fix": "gts fix", "lint": "gts check", "postpack": "minifyProtoJson", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-firestore-api/package.json b/packages/google-cloud-firestore-api/package.json index c02a3b220763..0ecd33b305d3 100644 --- a/packages/google-cloud-firestore-api/package.json +++ b/packages/google-cloud-firestore-api/package.json @@ -74,7 +74,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile-protos && npm run compile", + "prepublishOnly": "npm run compile-protos && npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test" }, diff --git a/packages/google-cloud-ftp/package.json b/packages/google-cloud-ftp/package.json index d8d1a57b63d2..b80cdf1e7620 100644 --- a/packages/google-cloud-ftp/package.json +++ b/packages/google-cloud-ftp/package.json @@ -35,7 +35,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile-protos && npm run compile", + "prepublishOnly": "npm run compile-protos && npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test" }, diff --git a/packages/google-cloud-functions/package.json b/packages/google-cloud-functions/package.json index 02fbda028c93..8791de952a6f 100644 --- a/packages/google-cloud-functions/package.json +++ b/packages/google-cloud-functions/package.json @@ -35,7 +35,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-gdchardwaremanagement/package.json b/packages/google-cloud-gdchardwaremanagement/package.json index 5b269cfe8cbf..b3b0ccd36287 100644 --- a/packages/google-cloud-gdchardwaremanagement/package.json +++ b/packages/google-cloud-gdchardwaremanagement/package.json @@ -36,7 +36,7 @@ "fix": "gts fix", "lint": "gts check", "postpack": "minifyProtoJson", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-geminidataanalytics/package.json b/packages/google-cloud-geminidataanalytics/package.json index f85f28817466..2257105857d1 100644 --- a/packages/google-cloud-geminidataanalytics/package.json +++ b/packages/google-cloud-geminidataanalytics/package.json @@ -36,7 +36,7 @@ "fix": "gts fix", "lint": "gts check", "postpack": "minifyProtoJson", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-gkebackup/package.json b/packages/google-cloud-gkebackup/package.json index 71b6e44651b5..ebb6c914612b 100644 --- a/packages/google-cloud-gkebackup/package.json +++ b/packages/google-cloud-gkebackup/package.json @@ -35,7 +35,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-gkeconnect-gateway/package.json b/packages/google-cloud-gkeconnect-gateway/package.json index b38b16c02645..573157cb1247 100644 --- a/packages/google-cloud-gkeconnect-gateway/package.json +++ b/packages/google-cloud-gkeconnect-gateway/package.json @@ -36,7 +36,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-gkehub/package.json b/packages/google-cloud-gkehub/package.json index 5010206bd0d7..caf0ea4990a9 100644 --- a/packages/google-cloud-gkehub/package.json +++ b/packages/google-cloud-gkehub/package.json @@ -35,7 +35,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-gkemulticloud/package.json b/packages/google-cloud-gkemulticloud/package.json index 0d6d5c059369..8493d5275c4a 100644 --- a/packages/google-cloud-gkemulticloud/package.json +++ b/packages/google-cloud-gkemulticloud/package.json @@ -36,7 +36,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-gkerecommender/package.json b/packages/google-cloud-gkerecommender/package.json index 90da8bac1ee2..9f8ad8ba50fc 100644 --- a/packages/google-cloud-gkerecommender/package.json +++ b/packages/google-cloud-gkerecommender/package.json @@ -36,7 +36,7 @@ "fix": "gts fix", "lint": "gts check", "postpack": "minifyProtoJson", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-gsuiteaddons/package.json b/packages/google-cloud-gsuiteaddons/package.json index 6514aba8dbe0..3e0dd0bed99f 100644 --- a/packages/google-cloud-gsuiteaddons/package.json +++ b/packages/google-cloud-gsuiteaddons/package.json @@ -36,7 +36,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-hypercomputecluster/package.json b/packages/google-cloud-hypercomputecluster/package.json index 47ed39041cbb..bcbe27717e42 100644 --- a/packages/google-cloud-hypercomputecluster/package.json +++ b/packages/google-cloud-hypercomputecluster/package.json @@ -36,7 +36,7 @@ "fix": "gts fix", "lint": "gts check", "postpack": "minifyProtoJson", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-iap/package.json b/packages/google-cloud-iap/package.json index fa8582a6c594..aeda42beb82b 100644 --- a/packages/google-cloud-iap/package.json +++ b/packages/google-cloud-iap/package.json @@ -35,7 +35,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-ids/package.json b/packages/google-cloud-ids/package.json index acafda9fd250..194d20a57f67 100644 --- a/packages/google-cloud-ids/package.json +++ b/packages/google-cloud-ids/package.json @@ -35,7 +35,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-iot/package.json b/packages/google-cloud-iot/package.json index f6be7964b723..7ecea6358bb8 100644 --- a/packages/google-cloud-iot/package.json +++ b/packages/google-cloud-iot/package.json @@ -38,7 +38,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-kms-inventory/package.json b/packages/google-cloud-kms-inventory/package.json index f89d73222114..f16b59bec4de 100644 --- a/packages/google-cloud-kms-inventory/package.json +++ b/packages/google-cloud-kms-inventory/package.json @@ -36,7 +36,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-kms/package.json b/packages/google-cloud-kms/package.json index 92c79b50586a..4b983a8d73b3 100644 --- a/packages/google-cloud-kms/package.json +++ b/packages/google-cloud-kms/package.json @@ -38,7 +38,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-language/package.json b/packages/google-cloud-language/package.json index 039e85f2f393..e11d18bb1611 100644 --- a/packages/google-cloud-language/package.json +++ b/packages/google-cloud-language/package.json @@ -42,7 +42,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-licensemanager/package.json b/packages/google-cloud-licensemanager/package.json index bfbdebffd97a..faf478af51bb 100644 --- a/packages/google-cloud-licensemanager/package.json +++ b/packages/google-cloud-licensemanager/package.json @@ -36,7 +36,7 @@ "fix": "gts fix", "lint": "gts check", "postpack": "minifyProtoJson", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-lifesciences/package.json b/packages/google-cloud-lifesciences/package.json index 920a31ea374c..c12246ec3795 100644 --- a/packages/google-cloud-lifesciences/package.json +++ b/packages/google-cloud-lifesciences/package.json @@ -35,7 +35,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-locationfinder/package.json b/packages/google-cloud-locationfinder/package.json index 27a5601c64a6..2770a6e53daa 100644 --- a/packages/google-cloud-locationfinder/package.json +++ b/packages/google-cloud-locationfinder/package.json @@ -36,7 +36,7 @@ "fix": "gts fix", "lint": "gts check", "postpack": "minifyProtoJson", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-logging-api/package.json b/packages/google-cloud-logging-api/package.json index 82302f387bb9..8595afbf7516 100644 --- a/packages/google-cloud-logging-api/package.json +++ b/packages/google-cloud-logging-api/package.json @@ -37,7 +37,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile-protos && npm run compile", + "prepublishOnly": "npm run compile-protos && npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test" }, diff --git a/packages/google-cloud-lustre/package.json b/packages/google-cloud-lustre/package.json index 8325ca15f975..eb13c3360906 100644 --- a/packages/google-cloud-lustre/package.json +++ b/packages/google-cloud-lustre/package.json @@ -36,7 +36,7 @@ "fix": "gts fix", "lint": "gts check", "postpack": "minifyProtoJson", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-maintenance-api/package.json b/packages/google-cloud-maintenance-api/package.json index aa4619d8e4c4..0aaa166251ef 100644 --- a/packages/google-cloud-maintenance-api/package.json +++ b/packages/google-cloud-maintenance-api/package.json @@ -36,7 +36,7 @@ "fix": "gts fix", "lint": "gts check", "postpack": "minifyProtoJson", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-managedidentities/package.json b/packages/google-cloud-managedidentities/package.json index 5c62e8df1f51..10d5feaef148 100644 --- a/packages/google-cloud-managedidentities/package.json +++ b/packages/google-cloud-managedidentities/package.json @@ -35,7 +35,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-managedkafka-schemaregistry/package.json b/packages/google-cloud-managedkafka-schemaregistry/package.json index a99a28269025..51515494a8ee 100644 --- a/packages/google-cloud-managedkafka-schemaregistry/package.json +++ b/packages/google-cloud-managedkafka-schemaregistry/package.json @@ -36,7 +36,7 @@ "fix": "gts fix", "lint": "gts check", "postpack": "minifyProtoJson", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-managedkafka/package.json b/packages/google-cloud-managedkafka/package.json index 3791629dbae6..81a11ccbdaa5 100644 --- a/packages/google-cloud-managedkafka/package.json +++ b/packages/google-cloud-managedkafka/package.json @@ -36,7 +36,7 @@ "fix": "gts fix", "lint": "gts check", "postpack": "minifyProtoJson", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-mediatranslation/package.json b/packages/google-cloud-mediatranslation/package.json index a582add05015..bc36aaf91dc9 100644 --- a/packages/google-cloud-mediatranslation/package.json +++ b/packages/google-cloud-mediatranslation/package.json @@ -23,7 +23,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-memcache/package.json b/packages/google-cloud-memcache/package.json index 7024d99d8d0b..20919e710182 100644 --- a/packages/google-cloud-memcache/package.json +++ b/packages/google-cloud-memcache/package.json @@ -23,7 +23,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-memorystore/package.json b/packages/google-cloud-memorystore/package.json index 5770b4eab3de..4a0ca77e8d73 100644 --- a/packages/google-cloud-memorystore/package.json +++ b/packages/google-cloud-memorystore/package.json @@ -36,7 +36,7 @@ "fix": "gts fix", "lint": "gts check", "postpack": "minifyProtoJson", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-metastore/package.json b/packages/google-cloud-metastore/package.json index a984c13ac654..62b6dad94f8f 100644 --- a/packages/google-cloud-metastore/package.json +++ b/packages/google-cloud-metastore/package.json @@ -35,7 +35,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-migrationcenter/package.json b/packages/google-cloud-migrationcenter/package.json index e2c1bf8957ae..596b5f8fd792 100644 --- a/packages/google-cloud-migrationcenter/package.json +++ b/packages/google-cloud-migrationcenter/package.json @@ -36,7 +36,7 @@ "fix": "gts fix", "lint": "gts check", "postpack": "minifyProtoJson", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-modelarmor/package.json b/packages/google-cloud-modelarmor/package.json index 1e380f94aec7..1f821864d9d4 100644 --- a/packages/google-cloud-modelarmor/package.json +++ b/packages/google-cloud-modelarmor/package.json @@ -36,7 +36,7 @@ "fix": "gts fix", "lint": "gts check", "postpack": "minifyProtoJson", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-monitoring/package.json b/packages/google-cloud-monitoring/package.json index 247fa0f62ceb..ce2f8dd9d6ef 100644 --- a/packages/google-cloud-monitoring/package.json +++ b/packages/google-cloud-monitoring/package.json @@ -38,7 +38,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-netapp/package.json b/packages/google-cloud-netapp/package.json index 427ab4f9daaa..900254edead9 100644 --- a/packages/google-cloud-netapp/package.json +++ b/packages/google-cloud-netapp/package.json @@ -36,7 +36,7 @@ "fix": "gts fix", "lint": "gts check", "postpack": "minifyProtoJson", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-networkconnectivity/package.json b/packages/google-cloud-networkconnectivity/package.json index 4f96424bf275..524cc001d244 100644 --- a/packages/google-cloud-networkconnectivity/package.json +++ b/packages/google-cloud-networkconnectivity/package.json @@ -35,7 +35,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-networkmanagement/package.json b/packages/google-cloud-networkmanagement/package.json index 86f58299df2d..cbb878751f06 100644 --- a/packages/google-cloud-networkmanagement/package.json +++ b/packages/google-cloud-networkmanagement/package.json @@ -35,7 +35,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-networksecurity/package.json b/packages/google-cloud-networksecurity/package.json index 29504352edc4..6dab41524cf3 100644 --- a/packages/google-cloud-networksecurity/package.json +++ b/packages/google-cloud-networksecurity/package.json @@ -35,7 +35,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-networkservices/package.json b/packages/google-cloud-networkservices/package.json index 2e22b0033d1e..67a39d8726ea 100644 --- a/packages/google-cloud-networkservices/package.json +++ b/packages/google-cloud-networkservices/package.json @@ -36,7 +36,7 @@ "fix": "gts fix", "lint": "gts check", "postpack": "minifyProtoJson", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-notebooks/package.json b/packages/google-cloud-notebooks/package.json index 24e5f7ee196b..e7328767abb4 100644 --- a/packages/google-cloud-notebooks/package.json +++ b/packages/google-cloud-notebooks/package.json @@ -35,7 +35,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-oracledatabase/package.json b/packages/google-cloud-oracledatabase/package.json index 4f9c4405f01d..904664d68a91 100644 --- a/packages/google-cloud-oracledatabase/package.json +++ b/packages/google-cloud-oracledatabase/package.json @@ -36,7 +36,7 @@ "fix": "gts fix", "lint": "gts check", "postpack": "minifyProtoJson", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-orchestration-airflow-service/package.json b/packages/google-cloud-orchestration-airflow-service/package.json index 888d50ba01ff..04866659e089 100644 --- a/packages/google-cloud-orchestration-airflow-service/package.json +++ b/packages/google-cloud-orchestration-airflow-service/package.json @@ -35,7 +35,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-orgpolicy/package.json b/packages/google-cloud-orgpolicy/package.json index 6f6d26580b77..04b44bb706d9 100644 --- a/packages/google-cloud-orgpolicy/package.json +++ b/packages/google-cloud-orgpolicy/package.json @@ -35,7 +35,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-osconfig/package.json b/packages/google-cloud-osconfig/package.json index 5560f8165ab9..793efa686402 100644 --- a/packages/google-cloud-osconfig/package.json +++ b/packages/google-cloud-osconfig/package.json @@ -22,7 +22,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-oslogin/package.json b/packages/google-cloud-oslogin/package.json index 12fca17a2fe8..782808d4fd69 100644 --- a/packages/google-cloud-oslogin/package.json +++ b/packages/google-cloud-oslogin/package.json @@ -41,7 +41,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-parallelstore/package.json b/packages/google-cloud-parallelstore/package.json index 54aeaed0c4f5..8c4028df4b18 100644 --- a/packages/google-cloud-parallelstore/package.json +++ b/packages/google-cloud-parallelstore/package.json @@ -36,7 +36,7 @@ "fix": "gts fix", "lint": "gts check", "postpack": "minifyProtoJson", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-parametermanager/package.json b/packages/google-cloud-parametermanager/package.json index 9b0c47fe80b6..61eb4bc6afd4 100644 --- a/packages/google-cloud-parametermanager/package.json +++ b/packages/google-cloud-parametermanager/package.json @@ -36,7 +36,7 @@ "fix": "gts fix", "lint": "gts check", "postpack": "minifyProtoJson", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-phishingprotection/package.json b/packages/google-cloud-phishingprotection/package.json index 6fe25d8e58b4..07af6da4d785 100644 --- a/packages/google-cloud-phishingprotection/package.json +++ b/packages/google-cloud-phishingprotection/package.json @@ -55,7 +55,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-policysimulator/package.json b/packages/google-cloud-policysimulator/package.json index f6b7e52bb4e4..e22fddc7363b 100644 --- a/packages/google-cloud-policysimulator/package.json +++ b/packages/google-cloud-policysimulator/package.json @@ -36,7 +36,7 @@ "fix": "gts fix", "lint": "gts check", "postpack": "minifyProtoJson", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-policytroubleshooter-iam/package.json b/packages/google-cloud-policytroubleshooter-iam/package.json index 894875293698..1fb3778e6d91 100644 --- a/packages/google-cloud-policytroubleshooter-iam/package.json +++ b/packages/google-cloud-policytroubleshooter-iam/package.json @@ -37,7 +37,7 @@ "fix": "gts fix", "lint": "gts check", "prelint": "cd samples; npm link ../; npm i", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", "test": "c8 mocha --config ../../.mocharc.cjs build/test" diff --git a/packages/google-cloud-policytroubleshooter/package.json b/packages/google-cloud-policytroubleshooter/package.json index b9a881b94168..610f2b69ad19 100644 --- a/packages/google-cloud-policytroubleshooter/package.json +++ b/packages/google-cloud-policytroubleshooter/package.json @@ -36,7 +36,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-privatecatalog/package.json b/packages/google-cloud-privatecatalog/package.json index 9bff53fdcdc9..bc09f6f5b865 100644 --- a/packages/google-cloud-privatecatalog/package.json +++ b/packages/google-cloud-privatecatalog/package.json @@ -35,7 +35,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-privilegedaccessmanager/package.json b/packages/google-cloud-privilegedaccessmanager/package.json index 51edd669d4b4..d067654e9c14 100644 --- a/packages/google-cloud-privilegedaccessmanager/package.json +++ b/packages/google-cloud-privilegedaccessmanager/package.json @@ -36,7 +36,7 @@ "fix": "gts fix", "lint": "gts check", "postpack": "minifyProtoJson", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-productregistry/package.json b/packages/google-cloud-productregistry/package.json index 303533a6cd11..68dcf9db1ae2 100644 --- a/packages/google-cloud-productregistry/package.json +++ b/packages/google-cloud-productregistry/package.json @@ -35,7 +35,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile-protos && npm run compile", + "prepublishOnly": "npm run compile-protos && npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test" }, diff --git a/packages/google-cloud-pubsub-api/package.json b/packages/google-cloud-pubsub-api/package.json index acb8a88b4fbc..ff39d488d1cc 100644 --- a/packages/google-cloud-pubsub-api/package.json +++ b/packages/google-cloud-pubsub-api/package.json @@ -37,7 +37,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile-protos && npm run compile", + "prepublishOnly": "npm run compile-protos && npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test" }, diff --git a/packages/google-cloud-rapidmigrationassessment/package.json b/packages/google-cloud-rapidmigrationassessment/package.json index 6249b23927cd..c656406b8c6b 100644 --- a/packages/google-cloud-rapidmigrationassessment/package.json +++ b/packages/google-cloud-rapidmigrationassessment/package.json @@ -36,7 +36,7 @@ "fix": "gts fix", "lint": "gts check", "postpack": "minifyProtoJson", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-recaptchaenterprise/package.json b/packages/google-cloud-recaptchaenterprise/package.json index df5a57676246..5d2ff649e74b 100644 --- a/packages/google-cloud-recaptchaenterprise/package.json +++ b/packages/google-cloud-recaptchaenterprise/package.json @@ -55,7 +55,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-recommender/package.json b/packages/google-cloud-recommender/package.json index 1a9a7b568842..d6efbf07a2fc 100644 --- a/packages/google-cloud-recommender/package.json +++ b/packages/google-cloud-recommender/package.json @@ -23,7 +23,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-redis-cluster/package.json b/packages/google-cloud-redis-cluster/package.json index e8862deb86ce..33c575cfef58 100644 --- a/packages/google-cloud-redis-cluster/package.json +++ b/packages/google-cloud-redis-cluster/package.json @@ -36,7 +36,7 @@ "fix": "gts fix", "lint": "gts check", "postpack": "minifyProtoJson", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-redis/package.json b/packages/google-cloud-redis/package.json index 0f30ac0aa6d2..31b0e4a6ceb3 100644 --- a/packages/google-cloud-redis/package.json +++ b/packages/google-cloud-redis/package.json @@ -39,7 +39,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-resourcemanager/package.json b/packages/google-cloud-resourcemanager/package.json index 82acd540d699..d8fbecad1e38 100644 --- a/packages/google-cloud-resourcemanager/package.json +++ b/packages/google-cloud-resourcemanager/package.json @@ -39,7 +39,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-retail/package.json b/packages/google-cloud-retail/package.json index f06620526d25..eb6168671465 100644 --- a/packages/google-cloud-retail/package.json +++ b/packages/google-cloud-retail/package.json @@ -38,7 +38,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-run/package.json b/packages/google-cloud-run/package.json index 5274e9e8ead7..314c5d072467 100644 --- a/packages/google-cloud-run/package.json +++ b/packages/google-cloud-run/package.json @@ -31,7 +31,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-saasplatform-saasservicemgmt/package.json b/packages/google-cloud-saasplatform-saasservicemgmt/package.json index a8cb934b5ace..025e0973f5fd 100644 --- a/packages/google-cloud-saasplatform-saasservicemgmt/package.json +++ b/packages/google-cloud-saasplatform-saasservicemgmt/package.json @@ -36,7 +36,7 @@ "fix": "gts fix", "lint": "gts check", "postpack": "minifyProtoJson", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-scheduler/package.json b/packages/google-cloud-scheduler/package.json index b6370f4e5ffc..71a1d361445d 100644 --- a/packages/google-cloud-scheduler/package.json +++ b/packages/google-cloud-scheduler/package.json @@ -35,7 +35,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-secretmanager/package.json b/packages/google-cloud-secretmanager/package.json index 6cc47f202403..2fa18d29b3d1 100644 --- a/packages/google-cloud-secretmanager/package.json +++ b/packages/google-cloud-secretmanager/package.json @@ -31,7 +31,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-securesourcemanager/package.json b/packages/google-cloud-securesourcemanager/package.json index 9d2f533cd666..6bb5de2e171e 100644 --- a/packages/google-cloud-securesourcemanager/package.json +++ b/packages/google-cloud-securesourcemanager/package.json @@ -36,7 +36,7 @@ "fix": "gts fix", "lint": "gts check", "postpack": "minifyProtoJson", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-security-privateca/package.json b/packages/google-cloud-security-privateca/package.json index bb94f2eb49de..b787dd2be731 100644 --- a/packages/google-cloud-security-privateca/package.json +++ b/packages/google-cloud-security-privateca/package.json @@ -35,7 +35,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-security-publicca/package.json b/packages/google-cloud-security-publicca/package.json index 82e0acfa2202..6165a63d009c 100644 --- a/packages/google-cloud-security-publicca/package.json +++ b/packages/google-cloud-security-publicca/package.json @@ -36,7 +36,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-securitycenter/package.json b/packages/google-cloud-securitycenter/package.json index fc7d7caa9ba3..3dab98925af4 100644 --- a/packages/google-cloud-securitycenter/package.json +++ b/packages/google-cloud-securitycenter/package.json @@ -25,7 +25,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-securitycentermanagement/package.json b/packages/google-cloud-securitycentermanagement/package.json index 459186431ef3..513b367c1cda 100644 --- a/packages/google-cloud-securitycentermanagement/package.json +++ b/packages/google-cloud-securitycentermanagement/package.json @@ -36,7 +36,7 @@ "fix": "gts fix", "lint": "gts check", "postpack": "minifyProtoJson", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-servicedirectory/package.json b/packages/google-cloud-servicedirectory/package.json index 991585683ff1..6b42e4e1cc29 100644 --- a/packages/google-cloud-servicedirectory/package.json +++ b/packages/google-cloud-servicedirectory/package.json @@ -22,7 +22,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-servicehealth/package.json b/packages/google-cloud-servicehealth/package.json index e32154c58d08..a7de848f0ff1 100644 --- a/packages/google-cloud-servicehealth/package.json +++ b/packages/google-cloud-servicehealth/package.json @@ -36,7 +36,7 @@ "fix": "gts fix", "lint": "gts check", "postpack": "minifyProtoJson", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-shell/package.json b/packages/google-cloud-shell/package.json index 9c1312cef8f0..be79f1d8782f 100644 --- a/packages/google-cloud-shell/package.json +++ b/packages/google-cloud-shell/package.json @@ -36,7 +36,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-spanner-api/package.json b/packages/google-cloud-spanner-api/package.json index e82eb65190cf..2a1af3d24899 100644 --- a/packages/google-cloud-spanner-api/package.json +++ b/packages/google-cloud-spanner-api/package.json @@ -35,7 +35,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile-protos && npm run compile", + "prepublishOnly": "npm run compile-protos && npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test" }, diff --git a/packages/google-cloud-speech/package.json b/packages/google-cloud-speech/package.json index bbeae8e70523..5230d91e949f 100644 --- a/packages/google-cloud-speech/package.json +++ b/packages/google-cloud-speech/package.json @@ -40,7 +40,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile-protos && npm run compile", + "prepublishOnly": "npm run compile-protos && npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-sql/package.json b/packages/google-cloud-sql/package.json index 288ae53b414d..7f58e2759245 100644 --- a/packages/google-cloud-sql/package.json +++ b/packages/google-cloud-sql/package.json @@ -36,7 +36,7 @@ "fix": "gts fix", "lint": "gts check", "postpack": "minifyProtoJson", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-storagebatchoperations/package.json b/packages/google-cloud-storagebatchoperations/package.json index cb79b23698c3..ac699237ecd2 100644 --- a/packages/google-cloud-storagebatchoperations/package.json +++ b/packages/google-cloud-storagebatchoperations/package.json @@ -36,7 +36,7 @@ "fix": "gts fix", "lint": "gts check", "postpack": "minifyProtoJson", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-storageinsights/package.json b/packages/google-cloud-storageinsights/package.json index a927e72bfed9..035ed6f134ad 100644 --- a/packages/google-cloud-storageinsights/package.json +++ b/packages/google-cloud-storageinsights/package.json @@ -35,7 +35,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test", "postpack": "minifyProtoJson", diff --git a/packages/google-cloud-support/package.json b/packages/google-cloud-support/package.json index 252a13c1d9b1..c7e33c0a720e 100644 --- a/packages/google-cloud-support/package.json +++ b/packages/google-cloud-support/package.json @@ -36,7 +36,7 @@ "fix": "gts fix", "lint": "gts check", "postpack": "minifyProtoJson", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-talent/package.json b/packages/google-cloud-talent/package.json index 5beb09c6df95..b0f9a78bc6cb 100644 --- a/packages/google-cloud-talent/package.json +++ b/packages/google-cloud-talent/package.json @@ -38,7 +38,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-tasks/package.json b/packages/google-cloud-tasks/package.json index 6eb8209a2878..475406071dfc 100644 --- a/packages/google-cloud-tasks/package.json +++ b/packages/google-cloud-tasks/package.json @@ -61,7 +61,7 @@ "postpack": "minifyProtoJson", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile-protos && npm run compile", + "prepublishOnly": "npm run compile-protos && npm run compile", "system-test:cjs": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/cjs/system-test", "system-test:esm": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/esm/system-test", "system-test": "npm run system-test:esm && npm run system-test:cjs", diff --git a/packages/google-cloud-telcoautomation/package.json b/packages/google-cloud-telcoautomation/package.json index 64b7b8e2c3ac..2b29c94b52ed 100644 --- a/packages/google-cloud-telcoautomation/package.json +++ b/packages/google-cloud-telcoautomation/package.json @@ -36,7 +36,7 @@ "fix": "gts fix", "lint": "gts check", "postpack": "minifyProtoJson", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-texttospeech/package.json b/packages/google-cloud-texttospeech/package.json index e9f46a28f224..e5bd2a6c135c 100644 --- a/packages/google-cloud-texttospeech/package.json +++ b/packages/google-cloud-texttospeech/package.json @@ -38,7 +38,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-tpu/package.json b/packages/google-cloud-tpu/package.json index 80b4eef68c45..3f263a28b8d6 100644 --- a/packages/google-cloud-tpu/package.json +++ b/packages/google-cloud-tpu/package.json @@ -35,7 +35,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-translate/package.json b/packages/google-cloud-translate/package.json index 05552987c6ad..ff035dbb5eb7 100644 --- a/packages/google-cloud-translate/package.json +++ b/packages/google-cloud-translate/package.json @@ -39,7 +39,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-vectorsearch/package.json b/packages/google-cloud-vectorsearch/package.json index bdb5397a14c2..dead752a754d 100644 --- a/packages/google-cloud-vectorsearch/package.json +++ b/packages/google-cloud-vectorsearch/package.json @@ -36,7 +36,7 @@ "fix": "gts fix", "lint": "gts check", "postpack": "minifyProtoJson", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-video-livestream/package.json b/packages/google-cloud-video-livestream/package.json index c602138f2afc..f588eb4c68bd 100644 --- a/packages/google-cloud-video-livestream/package.json +++ b/packages/google-cloud-video-livestream/package.json @@ -35,7 +35,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-video-stitcher/package.json b/packages/google-cloud-video-stitcher/package.json index 319d564756ff..faeb9bcbd501 100644 --- a/packages/google-cloud-video-stitcher/package.json +++ b/packages/google-cloud-video-stitcher/package.json @@ -35,7 +35,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-video-transcoder/package.json b/packages/google-cloud-video-transcoder/package.json index 54d437e10cf9..19bd33eff8d6 100644 --- a/packages/google-cloud-video-transcoder/package.json +++ b/packages/google-cloud-video-transcoder/package.json @@ -35,7 +35,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-videointelligence/package.json b/packages/google-cloud-videointelligence/package.json index 23c39e86bd2f..168a96b744c6 100644 --- a/packages/google-cloud-videointelligence/package.json +++ b/packages/google-cloud-videointelligence/package.json @@ -39,7 +39,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-vision/package.json b/packages/google-cloud-vision/package.json index a5b87b3d5867..9c5752dd2ab8 100644 --- a/packages/google-cloud-vision/package.json +++ b/packages/google-cloud-vision/package.json @@ -39,7 +39,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-visionai/package.json b/packages/google-cloud-visionai/package.json index a5f62266f243..41d0292e92db 100644 --- a/packages/google-cloud-visionai/package.json +++ b/packages/google-cloud-visionai/package.json @@ -36,7 +36,7 @@ "fix": "gts fix", "lint": "gts check", "postpack": "minifyProtoJson", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-vmmigration/package.json b/packages/google-cloud-vmmigration/package.json index 449a77e844f8..a379d563c786 100644 --- a/packages/google-cloud-vmmigration/package.json +++ b/packages/google-cloud-vmmigration/package.json @@ -35,7 +35,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-vmwareengine/package.json b/packages/google-cloud-vmwareengine/package.json index edcf85828964..38c30f5037cd 100644 --- a/packages/google-cloud-vmwareengine/package.json +++ b/packages/google-cloud-vmwareengine/package.json @@ -36,7 +36,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-vpcaccess/package.json b/packages/google-cloud-vpcaccess/package.json index f6bc3f7cfae3..bb8abf519c0f 100644 --- a/packages/google-cloud-vpcaccess/package.json +++ b/packages/google-cloud-vpcaccess/package.json @@ -35,7 +35,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-webrisk/package.json b/packages/google-cloud-webrisk/package.json index a66e504ba630..d7767ad2351a 100644 --- a/packages/google-cloud-webrisk/package.json +++ b/packages/google-cloud-webrisk/package.json @@ -56,7 +56,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-websecurityscanner/package.json b/packages/google-cloud-websecurityscanner/package.json index a674e8b071c6..340779029dfe 100644 --- a/packages/google-cloud-websecurityscanner/package.json +++ b/packages/google-cloud-websecurityscanner/package.json @@ -35,7 +35,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-workflows/package.json b/packages/google-cloud-workflows/package.json index 8a91a0643a10..d0049166ab59 100644 --- a/packages/google-cloud-workflows/package.json +++ b/packages/google-cloud-workflows/package.json @@ -35,7 +35,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-workloadidentity/package.json b/packages/google-cloud-workloadidentity/package.json index b2ada36a9220..958240451b50 100644 --- a/packages/google-cloud-workloadidentity/package.json +++ b/packages/google-cloud-workloadidentity/package.json @@ -35,7 +35,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile-protos && npm run compile", + "prepublishOnly": "npm run compile-protos && npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test" }, diff --git a/packages/google-cloud-workloadmanager/package.json b/packages/google-cloud-workloadmanager/package.json index 6601bd0317a8..fc7e7c1abe55 100644 --- a/packages/google-cloud-workloadmanager/package.json +++ b/packages/google-cloud-workloadmanager/package.json @@ -36,7 +36,7 @@ "fix": "gts fix", "lint": "gts check", "postpack": "minifyProtoJson", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-cloud-workstations/package.json b/packages/google-cloud-workstations/package.json index c18d41d72d1e..c0a404617deb 100644 --- a/packages/google-cloud-workstations/package.json +++ b/packages/google-cloud-workstations/package.json @@ -36,7 +36,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-container/package.json b/packages/google-container/package.json index a305afa89a9c..200967467bc9 100644 --- a/packages/google-container/package.json +++ b/packages/google-container/package.json @@ -38,7 +38,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-dataflow/package.json b/packages/google-dataflow/package.json index 7e870d5c7b7d..50b2a3231464 100644 --- a/packages/google-dataflow/package.json +++ b/packages/google-dataflow/package.json @@ -35,7 +35,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-developer-knowledge/package.json b/packages/google-developer-knowledge/package.json index b720560a36e2..ab41e3cfd535 100644 --- a/packages/google-developer-knowledge/package.json +++ b/packages/google-developer-knowledge/package.json @@ -35,7 +35,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile-protos && npm run compile", + "prepublishOnly": "npm run compile-protos && npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test" }, diff --git a/packages/google-devicesandservices-health/package.json b/packages/google-devicesandservices-health/package.json index ae9290769f0e..4b997afe5c01 100644 --- a/packages/google-devicesandservices-health/package.json +++ b/packages/google-devicesandservices-health/package.json @@ -36,7 +36,7 @@ "fix": "gts fix", "lint": "gts check", "postpack": "minifyProtoJson", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-devtools-artifactregistry/package.json b/packages/google-devtools-artifactregistry/package.json index 58141edfb235..e96efc89ef17 100644 --- a/packages/google-devtools-artifactregistry/package.json +++ b/packages/google-devtools-artifactregistry/package.json @@ -36,7 +36,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-devtools-cloudbuild/package.json b/packages/google-devtools-cloudbuild/package.json index e331cfa1a123..d0e7c4a13011 100644 --- a/packages/google-devtools-cloudbuild/package.json +++ b/packages/google-devtools-cloudbuild/package.json @@ -51,7 +51,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-devtools-cloudprofiler/package.json b/packages/google-devtools-cloudprofiler/package.json index 6c13d8fc1d59..1aff71f9943b 100644 --- a/packages/google-devtools-cloudprofiler/package.json +++ b/packages/google-devtools-cloudprofiler/package.json @@ -36,7 +36,7 @@ "fix": "gts fix", "lint": "gts check", "postpack": "minifyProtoJson", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-devtools-containeranalysis/package.json b/packages/google-devtools-containeranalysis/package.json index c812f55f4f52..451d800b07bd 100644 --- a/packages/google-devtools-containeranalysis/package.json +++ b/packages/google-devtools-containeranalysis/package.json @@ -37,7 +37,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-iam-credentials/package.json b/packages/google-iam-credentials/package.json index 1c8d7bdb2819..9897936c84c6 100644 --- a/packages/google-iam-credentials/package.json +++ b/packages/google-iam-credentials/package.json @@ -35,7 +35,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-iam/package.json b/packages/google-iam/package.json index ee0d293a8af9..bc9d2cd145a2 100644 --- a/packages/google-iam/package.json +++ b/packages/google-iam/package.json @@ -36,7 +36,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-identity-accesscontextmanager/package.json b/packages/google-identity-accesscontextmanager/package.json index 4720c03b6a9b..c684ca58b83d 100644 --- a/packages/google-identity-accesscontextmanager/package.json +++ b/packages/google-identity-accesscontextmanager/package.json @@ -35,7 +35,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-maps-addressvalidation/package.json b/packages/google-maps-addressvalidation/package.json index b972fb82297a..ed89aa73ab2b 100644 --- a/packages/google-maps-addressvalidation/package.json +++ b/packages/google-maps-addressvalidation/package.json @@ -36,7 +36,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-maps-areainsights/package.json b/packages/google-maps-areainsights/package.json index e852c7594cb3..5e8de06b4268 100644 --- a/packages/google-maps-areainsights/package.json +++ b/packages/google-maps-areainsights/package.json @@ -36,7 +36,7 @@ "fix": "gts fix", "lint": "gts check", "postpack": "minifyProtoJson", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-maps-fleetengine-delivery/package.json b/packages/google-maps-fleetengine-delivery/package.json index 6b473994347a..0509abcc2376 100644 --- a/packages/google-maps-fleetengine-delivery/package.json +++ b/packages/google-maps-fleetengine-delivery/package.json @@ -36,7 +36,7 @@ "fix": "gts fix", "lint": "gts check", "postpack": "minifyProtoJson", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-maps-fleetengine/package.json b/packages/google-maps-fleetengine/package.json index 853afd69e113..6299ec228183 100644 --- a/packages/google-maps-fleetengine/package.json +++ b/packages/google-maps-fleetengine/package.json @@ -36,7 +36,7 @@ "fix": "gts fix", "lint": "gts check", "postpack": "minifyProtoJson", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-maps-geocode/package.json b/packages/google-maps-geocode/package.json index 006dedc9fc20..1806ef991f58 100644 --- a/packages/google-maps-geocode/package.json +++ b/packages/google-maps-geocode/package.json @@ -36,7 +36,7 @@ "fix": "gts fix", "lint": "gts check", "postpack": "minifyProtoJson", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-maps-isochrones/package.json b/packages/google-maps-isochrones/package.json index c137e4bfac59..22491f6e7953 100644 --- a/packages/google-maps-isochrones/package.json +++ b/packages/google-maps-isochrones/package.json @@ -35,7 +35,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile-protos && npm run compile", + "prepublishOnly": "npm run compile-protos && npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test" }, diff --git a/packages/google-maps-mapmanagement/package.json b/packages/google-maps-mapmanagement/package.json index 78cdef08f482..c0fc95effc08 100644 --- a/packages/google-maps-mapmanagement/package.json +++ b/packages/google-maps-mapmanagement/package.json @@ -38,7 +38,7 @@ "fix": "gts fix", "lint": "gts check", "postpack": "minifyProtoJson", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-maps-mapsplatformdatasets/package.json b/packages/google-maps-mapsplatformdatasets/package.json index 5ab39d786be5..151fa5f1b343 100644 --- a/packages/google-maps-mapsplatformdatasets/package.json +++ b/packages/google-maps-mapsplatformdatasets/package.json @@ -36,7 +36,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-maps-navconnect/package.json b/packages/google-maps-navconnect/package.json index 3854b47d6204..48c2e9df758b 100644 --- a/packages/google-maps-navconnect/package.json +++ b/packages/google-maps-navconnect/package.json @@ -36,7 +36,7 @@ "fix": "gts fix", "lint": "gts check", "postpack": "minifyProtoJson", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-maps-places/package.json b/packages/google-maps-places/package.json index c248800849c5..bdd79842d9f6 100644 --- a/packages/google-maps-places/package.json +++ b/packages/google-maps-places/package.json @@ -36,7 +36,7 @@ "fix": "gts fix", "lint": "gts check", "postpack": "minifyProtoJson", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-maps-routeoptimization/package.json b/packages/google-maps-routeoptimization/package.json index 37bc2faa2bad..a3cf5767144c 100644 --- a/packages/google-maps-routeoptimization/package.json +++ b/packages/google-maps-routeoptimization/package.json @@ -36,7 +36,7 @@ "fix": "gts fix", "lint": "gts check", "postpack": "minifyProtoJson", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-maps-routing/package.json b/packages/google-maps-routing/package.json index 5a586540e925..94bd926d700c 100644 --- a/packages/google-maps-routing/package.json +++ b/packages/google-maps-routing/package.json @@ -36,7 +36,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-maps-solar/package.json b/packages/google-maps-solar/package.json index 60b2d0112246..957015446ab3 100644 --- a/packages/google-maps-solar/package.json +++ b/packages/google-maps-solar/package.json @@ -36,7 +36,7 @@ "fix": "gts fix", "lint": "gts check", "postpack": "minifyProtoJson", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-marketingplatform-admin/package.json b/packages/google-marketingplatform-admin/package.json index a8c156c7ff55..765147ca472f 100644 --- a/packages/google-marketingplatform-admin/package.json +++ b/packages/google-marketingplatform-admin/package.json @@ -36,7 +36,7 @@ "fix": "gts fix", "lint": "gts check", "postpack": "minifyProtoJson", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-monitoring-dashboard/package.json b/packages/google-monitoring-dashboard/package.json index fb86a983d886..6213f39efeaf 100644 --- a/packages/google-monitoring-dashboard/package.json +++ b/packages/google-monitoring-dashboard/package.json @@ -23,7 +23,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-privacy-dlp/package.json b/packages/google-privacy-dlp/package.json index 6464d93bd9b9..c534ec6f29a3 100644 --- a/packages/google-privacy-dlp/package.json +++ b/packages/google-privacy-dlp/package.json @@ -38,7 +38,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-shopping-css/package.json b/packages/google-shopping-css/package.json index fd2c8a14c786..902609c1ae95 100644 --- a/packages/google-shopping-css/package.json +++ b/packages/google-shopping-css/package.json @@ -36,7 +36,7 @@ "fix": "gts fix", "lint": "gts check", "postpack": "minifyProtoJson", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-shopping-merchant-accounts/package.json b/packages/google-shopping-merchant-accounts/package.json index b55bbbaa34c1..aec6d8223b88 100644 --- a/packages/google-shopping-merchant-accounts/package.json +++ b/packages/google-shopping-merchant-accounts/package.json @@ -36,7 +36,7 @@ "fix": "gts fix", "lint": "gts check", "postpack": "minifyProtoJson", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-shopping-merchant-conversions/package.json b/packages/google-shopping-merchant-conversions/package.json index 4af3cf98b76a..802abbef30d6 100644 --- a/packages/google-shopping-merchant-conversions/package.json +++ b/packages/google-shopping-merchant-conversions/package.json @@ -36,7 +36,7 @@ "fix": "gts fix", "lint": "gts check", "postpack": "minifyProtoJson", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-shopping-merchant-datasources/package.json b/packages/google-shopping-merchant-datasources/package.json index 265706e9e77e..97bf31384557 100644 --- a/packages/google-shopping-merchant-datasources/package.json +++ b/packages/google-shopping-merchant-datasources/package.json @@ -36,7 +36,7 @@ "fix": "gts fix", "lint": "gts check", "postpack": "minifyProtoJson", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-shopping-merchant-inventories/package.json b/packages/google-shopping-merchant-inventories/package.json index f884ecfbde56..9c30ffae88ea 100644 --- a/packages/google-shopping-merchant-inventories/package.json +++ b/packages/google-shopping-merchant-inventories/package.json @@ -36,7 +36,7 @@ "fix": "gts fix", "lint": "gts check", "postpack": "minifyProtoJson", - "prepare": "npm run compile-protos && npm run compile", + "prepublishOnly": "npm run compile-protos && npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-shopping-merchant-issueresolution/package.json b/packages/google-shopping-merchant-issueresolution/package.json index 5e0c6d96777f..99428ed6c316 100644 --- a/packages/google-shopping-merchant-issueresolution/package.json +++ b/packages/google-shopping-merchant-issueresolution/package.json @@ -36,7 +36,7 @@ "fix": "gts fix", "lint": "gts check", "postpack": "minifyProtoJson", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-shopping-merchant-lfp/package.json b/packages/google-shopping-merchant-lfp/package.json index 8d20d3f97bb4..7754f0747d56 100644 --- a/packages/google-shopping-merchant-lfp/package.json +++ b/packages/google-shopping-merchant-lfp/package.json @@ -36,7 +36,7 @@ "fix": "gts fix", "lint": "gts check", "postpack": "minifyProtoJson", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-shopping-merchant-loyaltycustomers/package.json b/packages/google-shopping-merchant-loyaltycustomers/package.json index eaf5a05ae568..1add8263fca6 100644 --- a/packages/google-shopping-merchant-loyaltycustomers/package.json +++ b/packages/google-shopping-merchant-loyaltycustomers/package.json @@ -35,7 +35,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile-protos && npm run compile", + "prepublishOnly": "npm run compile-protos && npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test" }, diff --git a/packages/google-shopping-merchant-notifications/package.json b/packages/google-shopping-merchant-notifications/package.json index 1a29077bb735..a7e4c265e579 100644 --- a/packages/google-shopping-merchant-notifications/package.json +++ b/packages/google-shopping-merchant-notifications/package.json @@ -36,7 +36,7 @@ "fix": "gts fix", "lint": "gts check", "postpack": "minifyProtoJson", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-shopping-merchant-ordertracking/package.json b/packages/google-shopping-merchant-ordertracking/package.json index 830e206ae42c..18f2c851195b 100644 --- a/packages/google-shopping-merchant-ordertracking/package.json +++ b/packages/google-shopping-merchant-ordertracking/package.json @@ -36,7 +36,7 @@ "fix": "gts fix", "lint": "gts check", "postpack": "minifyProtoJson", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-shopping-merchant-products/package.json b/packages/google-shopping-merchant-products/package.json index 40cd46d68739..cc68a686ced5 100644 --- a/packages/google-shopping-merchant-products/package.json +++ b/packages/google-shopping-merchant-products/package.json @@ -36,7 +36,7 @@ "fix": "gts fix", "lint": "gts check", "postpack": "minifyProtoJson", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-shopping-merchant-promotions/package.json b/packages/google-shopping-merchant-promotions/package.json index 049328b7b014..feef1748dbf0 100644 --- a/packages/google-shopping-merchant-promotions/package.json +++ b/packages/google-shopping-merchant-promotions/package.json @@ -36,7 +36,7 @@ "fix": "gts fix", "lint": "gts check", "postpack": "minifyProtoJson", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-shopping-merchant-quota/package.json b/packages/google-shopping-merchant-quota/package.json index 8c9dc6a2c9e0..ebae51b3b45a 100644 --- a/packages/google-shopping-merchant-quota/package.json +++ b/packages/google-shopping-merchant-quota/package.json @@ -36,7 +36,7 @@ "fix": "gts fix", "lint": "gts check", "postpack": "minifyProtoJson", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-shopping-merchant-reports/package.json b/packages/google-shopping-merchant-reports/package.json index 25cbb5d1201f..412d61682ea0 100644 --- a/packages/google-shopping-merchant-reports/package.json +++ b/packages/google-shopping-merchant-reports/package.json @@ -36,7 +36,7 @@ "fix": "gts fix", "lint": "gts check", "postpack": "minifyProtoJson", - "prepare": "npm run compile-protos && npm run compile", + "prepublishOnly": "npm run compile-protos && npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-shopping-merchant-reviews/package.json b/packages/google-shopping-merchant-reviews/package.json index 75b9b279c0da..eb30ad83ab1e 100644 --- a/packages/google-shopping-merchant-reviews/package.json +++ b/packages/google-shopping-merchant-reviews/package.json @@ -36,7 +36,7 @@ "fix": "gts fix", "lint": "gts check", "postpack": "minifyProtoJson", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-storage-control/package.json b/packages/google-storage-control/package.json index 1fa704fc7e51..aa28c2487a70 100644 --- a/packages/google-storage-control/package.json +++ b/packages/google-storage-control/package.json @@ -37,7 +37,7 @@ "fix": "gts fix", "lint": "gts check", "postpack": "minifyProtoJson", - "prepare": "npm run fix-and-gen && npm run compile-protos && npm run compile", + "prepublishOnly": "npm run fix-and-gen && npm run compile-protos && npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-storagetransfer/package.json b/packages/google-storagetransfer/package.json index 58c9897947cf..774bea08d9ff 100644 --- a/packages/google-storagetransfer/package.json +++ b/packages/google-storagetransfer/package.json @@ -35,7 +35,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/google-streetview-publish/package.json b/packages/google-streetview-publish/package.json index 5b9dd7ba285b..454d939fee16 100644 --- a/packages/google-streetview-publish/package.json +++ b/packages/google-streetview-publish/package.json @@ -36,7 +36,7 @@ "fix": "gts fix", "lint": "gts check", "postpack": "minifyProtoJson", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test", "test": "c8 mocha --config ../../.mocharc.cjs build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", diff --git a/packages/grafeas/package.json b/packages/grafeas/package.json index 1aae2978f6a9..de354f409df8 100644 --- a/packages/grafeas/package.json +++ b/packages/grafeas/package.json @@ -53,7 +53,7 @@ "docs": "jsdoc -c .jsdoc.js", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepublishOnly": "npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", From 5b8f78e22a5a3b60101b7004aa8e30785847e727 Mon Sep 17 00:00:00 2001 From: Brent Shaffer Date: Thu, 17 Sep 2026 03:29:26 +0000 Subject: [PATCH 2/3] fix(ci): compile packages before tests and address review comments --- .github/workflows/generator-tests.yaml | 6 ++- ci/run_single_test.sh | 40 ++++++++++++------- core/packages/nodejs-proto-files/package.json | 2 +- handwritten/spanner/package.json | 2 +- 4 files changed, 31 insertions(+), 19 deletions(-) diff --git a/.github/workflows/generator-tests.yaml b/.github/workflows/generator-tests.yaml index f349e705b5a2..2b02057fa67c 100644 --- a/.github/workflows/generator-tests.yaml +++ b/.github/workflows/generator-tests.yaml @@ -96,8 +96,8 @@ jobs: echo "--- Testing library $lib ---" cd "library/.test-out-$lib" pnpm install --no-frozen-lockfile --ignore-workspace --silent + pnpm run prepublishOnly pnpm test - pnpm run compile pnpm run system-test ) & PIDS+=($!) @@ -130,8 +130,8 @@ jobs: echo "--- Testing ESM library $lib ---" cd "library/.test-out-$lib-esm" pnpm install --no-frozen-lockfile --ignore-workspace --silent + pnpm run prepublishOnly pnpm test - pnpm run compile pnpm run system-test ) & PIDS+=($!) @@ -161,6 +161,7 @@ jobs: set -ex cd generator/gapic-generator-typescript/test-fixtures/google-cloud-speech pnpm install --no-frozen-lockfile --ignore-workspace --silent + pnpm run prepublishOnly pnpm test pnpm run system-test @@ -176,5 +177,6 @@ jobs: set -ex cd generator/gapic-generator-typescript/test-fixtures/google-cloud-tasks pnpm install --no-frozen-lockfile --ignore-workspace --silent + pnpm run prepublishOnly pnpm test pnpm run system-test diff --git a/ci/run_single_test.sh b/ci/run_single_test.sh index 8a03dfa4ff71..5ea88c952814 100755 --- a/ci/run_single_test.sh +++ b/ci/run_single_test.sh @@ -51,21 +51,31 @@ if command -v cygpath >/dev/null 2>&1; then PNPMFILE_PATH=$(cygpath -m "${PNPMFILE_PATH}") fi -echo "pnpm install --engine-strict --pnpmfile \"${PNPMFILE_PATH}\"" -if ! pnpm install --engine-strict --pnpmfile "${PNPMFILE_PATH}"; then - echo "::error title=PNPM Install Failed::pnpm install failed in $(pwd)." - echo "" - echo "====================================================================================================" - echo "❌ PNPM Install Failed" - echo "" - echo "If this failure is caused by an outdated lockfile or changed package.json dependencies, run:" - echo " pnpm install --no-frozen-lockfile" - echo " git add pnpm-lock.yaml" - echo " git commit -m \"chore: update pnpm-lock.yaml\"" - echo " git push" - echo "====================================================================================================" - echo "" - exit 1 +if [ ! -d "node_modules" ]; then + echo "pnpm install --engine-strict --pnpmfile \"${PNPMFILE_PATH}\"" + if ! pnpm install --engine-strict --pnpmfile "${PNPMFILE_PATH}"; then + echo "::error title=PNPM Install Failed::pnpm install failed in $(pwd)." + echo "" + echo "====================================================================================================" + echo "❌ PNPM Install Failed" + echo "" + echo "If this failure is caused by an outdated lockfile or changed package.json dependencies, run:" + echo " pnpm install --no-frozen-lockfile" + echo " git add pnpm-lock.yaml" + echo " git commit -m \"chore: update pnpm-lock.yaml\"" + echo " git push" + echo "====================================================================================================" + echo "" + exit 1 + fi +fi + +if [ ! -d "build" ] && [ "${TEST_TYPE}" != "lint" ]; then + if grep -q '"prepublishOnly":' package.json; then + ${TEST_CMD} run prepublishOnly + elif grep -q '"compile":' package.json; then + ${TEST_CMD} run compile + fi fi diff --git a/core/packages/nodejs-proto-files/package.json b/core/packages/nodejs-proto-files/package.json index a20e4af7171a..6372941acacd 100644 --- a/core/packages/nodejs-proto-files/package.json +++ b/core/packages/nodejs-proto-files/package.json @@ -37,7 +37,7 @@ "docs": "jsdoc -c .jsdoc.js", "clean": "gts clean", "compile": "tsc -p .", - "pretest": "npm run prepublishOnly && npm run compile", + "pretest": "npm run prepublishOnly", "prelint": "cd samples; npm link ../; npm install", "precompile": "gts clean" }, diff --git a/handwritten/spanner/package.json b/handwritten/spanner/package.json index d09eec28f08e..d141949791d7 100644 --- a/handwritten/spanner/package.json +++ b/handwritten/spanner/package.json @@ -42,7 +42,7 @@ "fix": "gts fix", "clean": "gts clean", "compile": "tsc -p . && cp -r protos build && cp -r test/data build/test", - "prepublishOnly": "cp -r protos build && npm run compile", + "prepublishOnly": "npm run compile", "pretest": "pnpm run compile", "presystem-test": "pnpm run compile", "preobservability-test": "pnpm run compile", From 3f8690ba0812080d3b81a243ce8e2014ce2b5838 Mon Sep 17 00:00:00 2001 From: Brent Shaffer Date: Thu, 17 Sep 2026 20:40:08 +0000 Subject: [PATCH 3/3] fix(ci): fix bun script invocation, add missing presystem-test scripts, restore prepare on test fixtures --- ci/run_single_test.sh | 4 ++-- core/common/system-test/fixtures/kitchen/package.json | 2 +- .../dev-packages/pack-n-play/test/fixtures/leaky/package.json | 2 +- core/dev-packages/pack-n-play/test/fixtures/pass/package.json | 2 +- core/packages/gax/test/browser-test/package.json | 2 +- core/packages/gax/test/showcase-echo-client/package.json | 2 +- core/packages/gax/test/showcase-server/package.json | 2 +- core/packages/gax/test/test-application/package.json | 2 +- core/packages/gaxios/system-test/fixtures/sample/package.json | 2 +- .../gcp-metadata/system-test/fixtures/kitchen/package.json | 2 +- .../system-test/fixtures/kitchen/package.json | 2 +- .../system-test/fixtures/kitchen/package.json | 2 +- handwritten/bigquery-storage/package.json | 2 ++ handwritten/cloud-profiler/system-test/busybench/package.json | 2 +- handwritten/pubsub/system-test/fixtures/sample/package.json | 2 +- handwritten/spanner-driver/package.json | 1 + handwritten/spanner/system-test/fixtures/sample/package.json | 2 +- 17 files changed, 19 insertions(+), 16 deletions(-) diff --git a/ci/run_single_test.sh b/ci/run_single_test.sh index 5ea88c952814..c6f051924547 100755 --- a/ci/run_single_test.sh +++ b/ci/run_single_test.sh @@ -72,9 +72,9 @@ fi if [ ! -d "build" ] && [ "${TEST_TYPE}" != "lint" ]; then if grep -q '"prepublishOnly":' package.json; then - ${TEST_CMD} run prepublishOnly + ${TEST_CMD} prepublishOnly elif grep -q '"compile":' package.json; then - ${TEST_CMD} run compile + ${TEST_CMD} compile fi fi diff --git a/core/common/system-test/fixtures/kitchen/package.json b/core/common/system-test/fixtures/kitchen/package.json index 2952991f0a29..23134794590d 100644 --- a/core/common/system-test/fixtures/kitchen/package.json +++ b/core/common/system-test/fixtures/kitchen/package.json @@ -8,7 +8,7 @@ "clean": "gts clean", "compile": "tsc -p .", "fix": "gts fix", - "prepublishOnly": "npm run compile", + "prepare": "npm run compile", "pretest": "npm run compile", "posttest": "npm run check", "start": "node build/src/index.js" diff --git a/core/dev-packages/pack-n-play/test/fixtures/leaky/package.json b/core/dev-packages/pack-n-play/test/fixtures/leaky/package.json index b72701e84ffd..089c9cfda284 100644 --- a/core/dev-packages/pack-n-play/test/fixtures/leaky/package.json +++ b/core/dev-packages/pack-n-play/test/fixtures/leaky/package.json @@ -11,7 +11,7 @@ ], "main": "build/src/index.js", "scripts": { - "prepublishOnly": "npm run compile", + "prepare": "npm run compile", "compile": "tsc -p tsconfig.json", "test": "mocha build/test", "pretest": "npm run compile", diff --git a/core/dev-packages/pack-n-play/test/fixtures/pass/package.json b/core/dev-packages/pack-n-play/test/fixtures/pass/package.json index 3325d4023930..b496bfdbaed2 100644 --- a/core/dev-packages/pack-n-play/test/fixtures/pass/package.json +++ b/core/dev-packages/pack-n-play/test/fixtures/pass/package.json @@ -11,7 +11,7 @@ ], "main": "build/src/index.js", "scripts": { - "prepublishOnly": "npm run compile", + "prepare": "npm run compile", "compile": "tsc -p .", "test": "mocha build/test", "pretest": "npm run compile" diff --git a/core/packages/gax/test/browser-test/package.json b/core/packages/gax/test/browser-test/package.json index 043faefb8121..62ff7e52b322 100644 --- a/core/packages/gax/test/browser-test/package.json +++ b/core/packages/gax/test/browser-test/package.json @@ -19,7 +19,7 @@ "prefetch-showcase-echo-client": "cd ../showcase-echo-client && npm run prefetch && npm install && npm pack && mv showcase-echo-client*.tgz ../browser-test/showcase-echo-client.tgz", "prefetch-showcase-server": "cd ../showcase-server && npm install && npm pack && mv showcase-server*.tgz ../browser-test/showcase-server.tgz", "prefetch": "npm run prefetch-cleanup && npm run prefetch-google-gax && npm run prefetch-showcase-echo-client && npm run prefetch-showcase-server", - "prepublishOnly": "npm run compile", + "prepare": "npm run compile", "pretest": "npm run compile", "test": "karma start" }, diff --git a/core/packages/gax/test/showcase-echo-client/package.json b/core/packages/gax/test/showcase-echo-client/package.json index b512b064818b..b3fd84846873 100644 --- a/core/packages/gax/test/showcase-echo-client/package.json +++ b/core/packages/gax/test/showcase-echo-client/package.json @@ -29,7 +29,7 @@ "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", "compile-protos": "compileProtos src", "prefetch": "rm -rf node_modules package-lock.json google-gax*.tgz gapic-tools*.tgz && cd ../.. && npm pack && mv google-gax*.tgz test/showcase-echo-client/google-gax.tgz && cd ../tools && npm install && npm pack && mv gapic-tools*.tgz ../gax/test/showcase-echo-client/gapic-tools.tgz", - "prepublishOnly": "npm run compile-protos && npm run compile" + "prepare": "npm run compile-protos && npm run compile" }, "dependencies": { "google-gax": "./google-gax.tgz" diff --git a/core/packages/gax/test/showcase-server/package.json b/core/packages/gax/test/showcase-server/package.json index 1e0531bbc027..16bd6546d281 100644 --- a/core/packages/gax/test/showcase-server/package.json +++ b/core/packages/gax/test/showcase-server/package.json @@ -11,7 +11,7 @@ "keywords": [], "scripts": { "compile": "tsc", - "prepublishOnly": "npm run compile", + "prepare": "npm run compile", "pretest": "npm run compile", "posttest": "npm run lint", "start": "node build/src/index.js" diff --git a/core/packages/gax/test/test-application/package.json b/core/packages/gax/test/test-application/package.json index 69335da3794a..8e7440667956 100644 --- a/core/packages/gax/test/test-application/package.json +++ b/core/packages/gax/test/test-application/package.json @@ -16,7 +16,7 @@ "prefetch-showcase-echo-client": "cd ../showcase-echo-client && npm run prefetch && npm install && npm pack && mv showcase-echo-client*.tgz ../test-application/showcase-echo-client.tgz", "prefetch-showcase-server": "cd ../showcase-server && npm install && npm pack && mv showcase-server*.tgz ../test-application/showcase-server.tgz", "prefetch": "npm run prefetch-cleanup && npm run prefetch-google-gax && npm run prefetch-showcase-echo-client && npm run prefetch-showcase-server", - "prepublishOnly": "npm run compile", + "prepare": "npm run compile", "start": "node build/src/index.js" }, "devDependencies": { diff --git a/core/packages/gaxios/system-test/fixtures/sample/package.json b/core/packages/gaxios/system-test/fixtures/sample/package.json index fe8c03822dd9..15b72dff9322 100644 --- a/core/packages/gaxios/system-test/fixtures/sample/package.json +++ b/core/packages/gaxios/system-test/fixtures/sample/package.json @@ -7,7 +7,7 @@ "clean": "gts clean", "compile": "tsc -p .", "fix": "gts fix", - "prepublishOnly": "npm run compile", + "prepare": "npm run compile", "pretest": "npm run compile", "posttest": "npm run check", "start": "node build/src/index.js" diff --git a/core/packages/gcp-metadata/system-test/fixtures/kitchen/package.json b/core/packages/gcp-metadata/system-test/fixtures/kitchen/package.json index d95cbbd00587..63aaedc9dd4a 100644 --- a/core/packages/gcp-metadata/system-test/fixtures/kitchen/package.json +++ b/core/packages/gcp-metadata/system-test/fixtures/kitchen/package.json @@ -7,7 +7,7 @@ "clean": "gts clean", "compile": "tsc -p .", "fix": "gts fix", - "prepublishOnly": "npm run compile", + "prepare": "npm run compile", "pretest": "npm run compile", "posttest": "npm run check", "start": "node build/src/index.js" diff --git a/core/packages/google-auth-library-nodejs/system-test/fixtures/kitchen/package.json b/core/packages/google-auth-library-nodejs/system-test/fixtures/kitchen/package.json index 56edd8c51f9e..adf029203c3f 100644 --- a/core/packages/google-auth-library-nodejs/system-test/fixtures/kitchen/package.json +++ b/core/packages/google-auth-library-nodejs/system-test/fixtures/kitchen/package.json @@ -7,7 +7,7 @@ "clean": "gts clean", "compile": "tsc -p .", "fix": "gts fix", - "prepublishOnly": "npm run compile", + "prepare": "npm run compile", "pretest": "npm run compile", "posttest": "npm run check", "start": "node build/src/index.js" diff --git a/core/packages/nodejs-googleapis-common/system-test/fixtures/kitchen/package.json b/core/packages/nodejs-googleapis-common/system-test/fixtures/kitchen/package.json index d9c206d52479..2640ffc3ae54 100644 --- a/core/packages/nodejs-googleapis-common/system-test/fixtures/kitchen/package.json +++ b/core/packages/nodejs-googleapis-common/system-test/fixtures/kitchen/package.json @@ -7,7 +7,7 @@ "clean": "gts clean", "compile": "tsc -p .", "fix": "gts fix", - "prepublishOnly": "npm run compile", + "prepare": "npm run compile", "pretest": "npm run compile", "posttest": "npm run check", "start": "node build/src/index.js" diff --git a/handwritten/bigquery-storage/package.json b/handwritten/bigquery-storage/package.json index 27f2b9f0d64d..75eebc541c37 100644 --- a/handwritten/bigquery-storage/package.json +++ b/handwritten/bigquery-storage/package.json @@ -21,7 +21,9 @@ "prelint": "cd samples; npm link ../; npm install", "lint": "gts check", "prepublishOnly": "npm run compile", + "presystem-test": "pnpm run compile", "system-test": "c8 mocha build/system-test --timeout 600000", + "pretest": "pnpm run compile", "test": "c8 mocha build/test", "samples-test": "cd samples/ && npm link ../ && npm test && cd ../", "precompile": "gts clean" diff --git a/handwritten/cloud-profiler/system-test/busybench/package.json b/handwritten/cloud-profiler/system-test/busybench/package.json index 163605923151..1be063434844 100644 --- a/handwritten/cloud-profiler/system-test/busybench/package.json +++ b/handwritten/cloud-profiler/system-test/busybench/package.json @@ -18,7 +18,7 @@ "clean": "gts clean", "compile": "tsc -p .", "fix": "gts fix", - "prepublishOnly": "npm run compile", + "prepare": "npm run compile", "pretest": "npm run compile", "posttest": "npm run check" }, diff --git a/handwritten/pubsub/system-test/fixtures/sample/package.json b/handwritten/pubsub/system-test/fixtures/sample/package.json index aea2f061b03d..8667c0f81e33 100644 --- a/handwritten/pubsub/system-test/fixtures/sample/package.json +++ b/handwritten/pubsub/system-test/fixtures/sample/package.json @@ -6,7 +6,7 @@ "clean": "gts clean", "compile": "tsc -p .", "fix": "gts fix", - "prepublishOnly": "npm run compile", + "prepare": "npm run compile", "pretest": "npm run compile", "posttest": "npm run check", "start": "node build/src/index.js" diff --git a/handwritten/spanner-driver/package.json b/handwritten/spanner-driver/package.json index e5c3f70568bb..d5490a555016 100644 --- a/handwritten/spanner-driver/package.json +++ b/handwritten/spanner-driver/package.json @@ -42,6 +42,7 @@ "test:esm": "c8 mocha build/esm/test/unit/**/*.js", "test:cjs": "c8 mocha build/cjs/test/unit/**/*.js", "test": "pnpm run test:esm && pnpm run test:cjs", + "presystem-test": "pnpm run compile", "system-test": "mocha build/esm/system-test/**/*.js --timeout 60000", "test:pg-suite": "node test/pg-suite/run_pg_suite.cjs" }, diff --git a/handwritten/spanner/system-test/fixtures/sample/package.json b/handwritten/spanner/system-test/fixtures/sample/package.json index d7fc5f9a95a7..590bb1b3861c 100644 --- a/handwritten/spanner/system-test/fixtures/sample/package.json +++ b/handwritten/spanner/system-test/fixtures/sample/package.json @@ -6,7 +6,7 @@ "clean": "gts clean", "compile": "tsc -p .", "fix": "gts fix", - "prepublishOnly": "npm run compile", + "prepare": "npm run compile", "pretest": "npm run compile", "posttest": "npm run check", "start": "node build/src/index.js"