Skip to content

Commit 816216b

Browse files
authored
fix: Do not publish the protos to npm (#8079)
## Description This change solves https://togithub.com/googleapis/librarian/issues/4820 and ensures that the .proto files don't get published to npm. ## Impact This just cleans up the built packages. It will make customer dependencies smaller which could improve the performance of their applications by shrinking their node_modules folders. ## Testing Only package.json files are modified in this change so tests against the source code aren't really required here.
1 parent 6ac6160 commit 816216b

223 files changed

Lines changed: 92 additions & 315 deletions

File tree

Some content is hidden

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

packages/google-ads-admanager/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@
1111
"author": "Google LLC",
1212
"main": "build/src/index.js",
1313
"files": [
14-
"build/src",
15-
"build/protos"
14+
"build/src"
1615
],
1716
"homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-ads-admanager",
1817
"keywords": [

packages/google-ads-datamanager/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@
1111
"author": "Google LLC",
1212
"main": "build/src/index.js",
1313
"files": [
14-
"build/src",
15-
"build/protos"
14+
"build/src"
1615
],
1716
"homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-ads-datamanager",
1817
"keywords": [

packages/google-ai-generativelanguage/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@
1111
"author": "Google LLC",
1212
"main": "build/src/index.js",
1313
"files": [
14-
"build/src",
15-
"build/protos"
14+
"build/src"
1615
],
1716
"homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-ai-generativelanguage",
1817
"keywords": [

packages/google-analytics-admin/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
"main": "build/src/index.js",
1313
"files": [
1414
"build/src",
15-
"build/protos",
1615
"!build/src/**/*.map"
1716
],
1817
"keywords": [

packages/google-analytics-data/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
"main": "build/src/index.js",
1313
"files": [
1414
"build/src",
15-
"build/protos",
1615
"!build/src/**/*.map"
1716
],
1817
"keywords": [

packages/google-api-apikeys/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
"main": "build/src/index.js",
1414
"files": [
1515
"build/src",
16-
"build/protos",
1716
"!build/src/**/*.map"
1817
],
1918
"keywords": [

packages/google-api-cloudquotas/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@
1111
"author": "Google LLC",
1212
"main": "build/src/index.js",
1313
"files": [
14-
"build/src",
15-
"build/protos"
14+
"build/src"
1615
],
1716
"homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-api-cloudquotas",
1817
"keywords": [

packages/google-api-servicecontrol/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
"main": "build/src/index.js",
1313
"files": [
1414
"build/src",
15-
"build/protos",
1615
"!build/src/**/*.map"
1716
],
1817
"keywords": [

packages/google-api-servicemanagement/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
"main": "build/src/index.js",
1313
"files": [
1414
"build/src",
15-
"build/protos",
1615
"!build/src/**/*.map"
1716
],
1817
"keywords": [

packages/google-api-serviceusage/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
"main": "build/src/index.js",
1313
"files": [
1414
"build/src",
15-
"build/protos",
1615
"!build/src/**/*.map"
1716
],
1817
"keywords": [

0 commit comments

Comments
 (0)