Skip to content

Commit 19c5e88

Browse files
committed
build: move prettier config files to root from autogen packages
1 parent 0ed5f08 commit 19c5e88

226 files changed

Lines changed: 337 additions & 95 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.

.prettierrc.cjs

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
// Copyright 2026 Google LLC
2+
//
3+
// Licensed under the Apache License, Version 2.0 (the "License");
4+
// you may not use this file except in compliance with the License.
5+
// You may obtain a copy of the License at
6+
//
7+
// https://www.apache.org/licenses/LICENSE-2.0
8+
//
9+
// Unless required by applicable law or agreed to in writing, software
10+
// distributed under the License is distributed on an "AS IS" BASIS,
11+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
// See the License for the specific language governing permissions and
13+
// limitations under the License.
14+
15+
module.exports = {
16+
...require('gts/.prettierrc.json')
17+
}

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,10 @@
3939
"gaxios": "^7.0.0-rc",
4040
"parse-link-header": "^2.0.0"
4141
},
42-
"devDependencies": {},
42+
"devDependencies": {
43+
"gts": "^7.0.0"
44+
},
4345
"engines": {
4446
"node": ">=18"
4547
}
46-
}
48+
}

packages/gapic-node-processing/test/combine-libraries.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ describe('combine libraries', () => {
8484
it('should generate unique final directory paths', async () => {
8585
const libraryPaths = await generateFinalDirectoryPath(libraryConfigCJS);
8686
// This should be the amount of unique file paths in the tree directory
87-
assert.deepStrictEqual(libraryPaths.length, 103);
87+
assert.deepStrictEqual(libraryPaths.length, 102);
8888

8989
// Confirm there are only unique items in the array
9090
assert.deepStrictEqual(

packages/google-ads-admanager/package.json

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

packages/google-ads-datamanager/package.json

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

packages/google-ai-generativelanguage/package.json

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

packages/google-analytics-admin/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"main": "build/src/index.js",
1313
"files": [
1414
"build/src",
15+
"build/protos",
1516
"!build/src/**/*.map"
1617
],
1718
"keywords": [

packages/google-analytics-data/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"main": "build/src/index.js",
1313
"files": [
1414
"build/src",
15+
"build/protos",
1516
"!build/src/**/*.map"
1617
],
1718
"keywords": [

packages/google-api-apikeys/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
"main": "build/src/index.js",
1414
"files": [
1515
"build/src",
16+
"build/protos",
1617
"!build/src/**/*.map"
1718
],
1819
"keywords": [

packages/google-api-cloudquotas/package.json

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

0 commit comments

Comments
 (0)