Skip to content

Commit f3e0044

Browse files
build: adopt changes to generator formatting (#340)
1 parent 78cf304 commit f3e0044

File tree

9 files changed

+2951
-2194
lines changed

9 files changed

+2951
-2194
lines changed

packages/google-cloud-oslogin/protos/protos.js

+164-164
Large diffs are not rendered by default.

packages/google-cloud-oslogin/src/v1/os_login_service_client.ts

+476-336
Large diffs are not rendered by default.

packages/google-cloud-oslogin/src/v1beta/os_login_service_client.ts

+488-336
Large diffs are not rendered by default.

packages/google-cloud-oslogin/synth.metadata

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,22 @@
44
"git": {
55
"name": ".",
66
"remote": "https://github.com/googleapis/nodejs-os-login.git",
7-
"sha": "e41bec8bc5a9c129196a1523bc99a5e00262a174"
7+
"sha": "7f6a0a74e526e7cc8f2283874915e231546c4ad2"
88
}
99
},
1010
{
1111
"git": {
1212
"name": "googleapis",
1313
"remote": "https://github.com/googleapis/googleapis.git",
14-
"sha": "3028060618e8024af9a32b3ab3456c160091ecb7",
15-
"internalRef": "306450502"
14+
"sha": "42ee97c1b93a0e3759bbba3013da309f670a90ab",
15+
"internalRef": "307114445"
1616
}
1717
},
1818
{
1919
"git": {
2020
"name": "synthtool",
2121
"remote": "https://github.com/googleapis/synthtool.git",
22-
"sha": "52638600f387deb98efb5f9c85fec39e82aa9052"
22+
"sha": "19465d3ec5e5acdb01521d8f3bddd311bcbee28d"
2323
}
2424
}
2525
],

packages/google-cloud-oslogin/system-test/fixtures/sample/src/index.js

-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
// ** https://github.com/googleapis/gapic-generator-typescript **
1717
// ** All changes to this file may be overwritten. **
1818

19-
2019
/* eslint-disable node/no-missing-require, no-unused-vars */
2120
const oslogin = require('@google-cloud/os-login');
2221

packages/google-cloud-oslogin/system-test/install.ts

+17-15
Original file line numberDiff line numberDiff line change
@@ -16,34 +16,36 @@
1616
// ** https://github.com/googleapis/gapic-generator-typescript **
1717
// ** All changes to this file may be overwritten. **
1818

19-
import { packNTest } from 'pack-n-play';
20-
import { readFileSync } from 'fs';
21-
import { describe, it } from 'mocha';
19+
import {packNTest} from 'pack-n-play';
20+
import {readFileSync} from 'fs';
21+
import {describe, it} from 'mocha';
2222

2323
describe('typescript consumer tests', () => {
24-
25-
it('should have correct type signature for typescript users', async function() {
24+
it('should have correct type signature for typescript users', async function () {
2625
this.timeout(300000);
2726
const options = {
28-
packageDir: process.cwd(), // path to your module.
27+
packageDir: process.cwd(), // path to your module.
2928
sample: {
3029
description: 'typescript based user can use the type definitions',
31-
ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString()
32-
}
30+
ts: readFileSync(
31+
'./system-test/fixtures/sample/src/index.ts'
32+
).toString(),
33+
},
3334
};
34-
await packNTest(options); // will throw upon error.
35+
await packNTest(options); // will throw upon error.
3536
});
3637

37-
it('should have correct type signature for javascript users', async function() {
38+
it('should have correct type signature for javascript users', async function () {
3839
this.timeout(300000);
3940
const options = {
40-
packageDir: process.cwd(), // path to your module.
41+
packageDir: process.cwd(), // path to your module.
4142
sample: {
4243
description: 'typescript based user can use the type definitions',
43-
ts: readFileSync('./system-test/fixtures/sample/src/index.js').toString()
44-
}
44+
ts: readFileSync(
45+
'./system-test/fixtures/sample/src/index.js'
46+
).toString(),
47+
},
4548
};
46-
await packNTest(options); // will throw upon error.
49+
await packNTest(options); // will throw upon error.
4750
});
48-
4951
});

0 commit comments

Comments
 (0)