Skip to content

Commit 7835e38

Browse files
authored
chore: natively format generated TS client libraries with Prettier (#8154)
* feat: natively format generated TS client libraries with Prettier * chore: update pnpm-lock.yaml for Prettier addition
1 parent 9fd76ef commit 7835e38

402 files changed

Lines changed: 370929 additions & 265857 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.

core/generator/gapic-generator-typescript/BUILD.bazel

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ npm_runtime_dependencies = [
3939
"//:node_modules/proto3-json-serializer",
4040
"//:node_modules/yargs",
4141
"//:node_modules/google-gax",
42+
"//:node_modules/prettier",
4243
]
4344

4445
npm_test_dependencies = npm_runtime_dependencies + [

core/generator/gapic-generator-typescript/baselines/asset-esm/esm/src/index.ts.baseline

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
import * as v1 from './v1/index.js';
2020
const AssetServiceClient = v1.AssetServiceClient;
2121
type AssetServiceClient = v1.AssetServiceClient;
22-
export {v1, AssetServiceClient};
23-
export default {v1, AssetServiceClient};
22+
export { v1, AssetServiceClient };
23+
export default { v1, AssetServiceClient };
2424
// @ts-ignore
2525
import * as protos from '../../protos/protos.js';
26-
export {protos}
26+
export { protos };

0 commit comments

Comments
 (0)