Skip to content

Commit 1070cbb

Browse files
committed
build: move prettier config files to root from handwritten packages
1 parent 816216b commit 1070cbb

12 files changed

Lines changed: 207 additions & 168 deletions

File tree

core/common/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"arrify": "^2.0.0",
4242
"duplexify": "^4.1.3",
4343
"extend": "^3.0.2",
44-
"google-auth-library": "^10.0.0-rc.1",
44+
"google-auth-library": "^10.6.2",
4545
"html-entities": "^2.5.2",
4646
"retry-request": "^8.0.0",
4747
"teeny-request": "^10.0.0"

core/packages/gaxios/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@
4040
},
4141
"repository": {
4242
"type": "git",
43-
"directory": "packages/gaxios",
44-
"url": "https://github.com/googleapis/google-cloud-node-core.git"
43+
"directory": "core/packages/gaxios",
44+
"url": "https://github.com/googleapis/google-cloud-node.git"
4545
},
4646
"keywords": [
4747
"google"

core/packages/logging-utils/samples/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
},
3131
"devDependencies": {
3232
"@google-cloud/typeless-sample-bot": "^2.1.0",
33+
"@types/node": "^25.6.0",
3334
"gts": "^5.0.0",
3435
"mocha": "^10.0.0"
3536
}

core/packages/logging-utils/samples/system-test/test.quickstart.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@
1414
* limitations under the License.
1515
*/
1616

17-
import * as path from 'path';
18-
import * as assert from 'assert';
17+
import path from 'path';
18+
import assert from 'assert';
1919
import {describe, it} from 'mocha';
20-
import * as cp from 'child_process';
20+
import cp from 'child_process';
2121

2222
const cwd = path.join(__dirname, '../..');
2323

core/packages/logging-utils/samples/tsconfig.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@
88
"es2018",
99
"dom"
1010
],
11-
"moduleResolution": "node"
11+
"types": [
12+
"node"
13+
]
1214
},
1315
"include": [
1416
"system-test/*.ts"

handwritten/logging-bunyan/package.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,10 @@
5656
},
5757
"dependencies": {
5858
"@google-cloud/logging": "^11.0.0",
59-
"google-auth-library": "^9.0.0"
59+
"google-auth-library": "^10.6.2"
6060
},
6161
"devDependencies": {
62-
"@google-cloud/common": "^5.0.0",
62+
"@google-cloud/common": "^6.0.0",
6363
"@types/bunyan": "^1.8.4",
6464
"@types/express": "^4.16.0",
6565
"@types/mocha": "^9.0.0",
@@ -72,7 +72,7 @@
7272
"cpy-cli": "^4.0.0",
7373
"delay": "^5.0.0",
7474
"express": "^4.16.3",
75-
"gts": "^5.0.0",
75+
"gts": "^7.0.0",
7676
"jsdoc": "^4.0.0",
7777
"jsdoc-fresh": "^3.0.0",
7878
"jsdoc-region-tag": "^3.0.0",
@@ -86,5 +86,8 @@
8686
"peerDependencies": {
8787
"bunyan": "*"
8888
},
89+
"overrides": {
90+
"whatwg-url": "^14.0.0"
91+
},
8992
"homepage": "https://github.com/googleapis/google-cloud-node/tree/main/handwritten/logging-bunyan"
9093
}

handwritten/logging/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
"postpublish": "./.kokoro/publish-min.sh"
5050
},
5151
"dependencies": {
52-
"@google-cloud/common": "^5.0.0",
52+
"@google-cloud/common": "^6.0.0",
5353
"@google-cloud/paginator": "^5.0.0",
5454
"@google-cloud/projectify": "^4.0.0",
5555
"@google-cloud/promisify": "4.0.0",
@@ -60,7 +60,7 @@
6060
"eventid": "^2.0.0",
6161
"extend": "^3.0.2",
6262
"gcp-metadata": "^6.0.0",
63-
"google-auth-library": "^9.0.0",
63+
"google-auth-library": "^10.6.2",
6464
"google-gax": "^4.0.3",
6565
"long": "^5.3.2",
6666
"on-finished": "^2.3.0",

handwritten/pubsub/.eslintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
**/node_modules
22
**/.coverage
3+
bin/
34
build/
45
docs/
56
protos/

handwritten/pubsub/bin/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# benchwrapper
22

33
benchwrapper is a lightweight gRPC server that wraps the pubsub library for
4-
bencharmking purposes.
4+
benchmarking purposes.
55

66
## Running
77

88
```
9-
cd nodejs-pubsub
9+
cd handwritten/pubsub
1010
npm install
1111
export PUBSUB_EMULATOR_HOST=localhost:8080
1212
npm run benchwrapper -- --port 50051

handwritten/pubsub/test/publisher/index.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,10 @@ describe('Publisher', () => {
166166
it('should call through to publishMessage', () => {
167167
const stub = sandbox.stub(publisher, 'publishMessage');
168168

169+
// This warning is not real, but it should be resolved by future work
170+
// on the linting config.
171+
//
172+
// eslint-disable-next-line @typescript-eslint/no-floating-promises
169173
publisher.publish(buffer, spy);
170174

171175
const [{data}, callback] = stub.lastCall.args;
@@ -177,6 +181,10 @@ describe('Publisher', () => {
177181
const stub = sandbox.stub(publisher, 'publishMessage');
178182
const attrs = {};
179183

184+
// This warning is not real, but it should be resolved by future work
185+
// on the linting config.
186+
//
187+
// eslint-disable-next-line @typescript-eslint/no-floating-promises
180188
publisher.publish(buffer, attrs, spy);
181189

182190
const [{attributes}, callback] = stub.lastCall.args;

0 commit comments

Comments
 (0)