File tree 2 files changed +13
-20
lines changed
packages/google-cloud-language
2 files changed +13
-20
lines changed Original file line number Diff line number Diff line change 3
3
{
4
4
"git": {
5
5
"name": ".",
6
- "remote": "https:// github.com/ googleapis/nodejs-language.git",
7
- "sha": "ec8af51419d1c0ccaa6e73cdee4bbcb4379b0d42 "
6
+ "remote": "git@ github.com: googleapis/nodejs-language.git",
7
+ "sha": "2361fd3f01eac2216a7c2d98e026a70286ce0731 "
8
8
}
9
9
},
10
10
{
11
11
"git": {
12
12
"name": "googleapis",
13
13
"remote": "https://github.com/googleapis/googleapis.git",
14
- "sha": "6dfd72d028a0d0a43764e060f7b15e004385c3a1 ",
15
- "internalRef": "310168181 "
14
+ "sha": "a60b165895ad1f100d7014c74b7df512f9377fdb ",
15
+ "internalRef": "318104666 "
16
16
}
17
17
},
18
18
{
19
19
"git": {
20
20
"name": "synthtool",
21
21
"remote": "https://github.com/googleapis/synthtool.git",
22
- "sha": "b10590a4a1568548dd13cfcea9aa11d40898144b "
22
+ "sha": "ce68c0e70d36c93ffcde96e9908fb4d94aa4f2e4 "
23
23
}
24
24
}
25
25
],
29
29
"source": "googleapis",
30
30
"apiName": "language",
31
31
"apiVersion": "v1",
32
- "language": "typescript ",
33
- "generator": "gapic-generator-typescript "
32
+ "language": "nodejs ",
33
+ "generator": "bazel "
34
34
}
35
35
},
36
36
{
37
37
"client": {
38
38
"source": "googleapis",
39
39
"apiName": "language",
40
40
"apiVersion": "v1beta2",
41
- "language": "typescript ",
42
- "generator": "gapic-generator-typescript "
41
+ "language": "nodejs ",
42
+ "generator": "bazel "
43
43
}
44
44
}
45
45
]
Original file line number Diff line number Diff line change 8
8
AUTOSYNTH_MULTIPLE_COMMITS = True
9
9
10
10
11
- gapic = gcp .GAPICMicrogenerator ()
11
+ gapic = gcp .GAPICBazel ()
12
12
versions = ['v1' , 'v1beta2' ]
13
- # tasks has two product names, and a poorly named artman yaml
14
13
for version in versions :
15
- library = gapic .typescript_library (
14
+ library = gapic .node_library (
16
15
'language' ,
17
- generator_args = {
18
- "grpc-service-config" : f"google/cloud/language/{ version } /language_grpc_service_config.json" ,
19
- "package-name" : f"@google-cloud/language"
20
- },
21
- proto_path = f'/google/cloud/language/{ version } ' ,
22
- version = version )
23
-
24
- # skip index, protos, package.json, and README.md
16
+ version ,
17
+ )
25
18
s .copy (
26
19
library ,
27
20
excludes = ['package.json' , 'README.md' ])
You can’t perform that action at this time.
0 commit comments