Skip to content

Commit 41fd2ee

Browse files
author
Jon Skeet
committed
chore: migrate google-cloud-config to librarian
1 parent 8b373ee commit 41fd2ee

113 files changed

Lines changed: 277 additions & 147502 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.

librarian.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -569,7 +569,6 @@ libraries:
569569
apis:
570570
- path: google/cloud/config/v1
571571
copyright_year: "2026"
572-
skip_generate: true
573572
nodejs:
574573
default_version: v1
575574
- name: google-cloud-configdelivery
@@ -579,7 +578,6 @@ libraries:
579578
- path: google/cloud/configdelivery/v1beta
580579
- path: google/cloud/configdelivery/v1alpha
581580
copyright_year: "2026"
582-
skip_generate: true
583581
nodejs:
584582
default_version: v1
585583
- name: google-cloud-connectors

packages/google-cloud-configdelivery/.OwlBot.yaml renamed to owl-bot-staging/google-cloud-configdelivery/v1/.OwlBot.yaml

File renamed without changes.
File renamed without changes.

packages/google-cloud-configdelivery/src/v1alpha/index.ts renamed to owl-bot-staging/google-cloud-configdelivery/v1/.jsdoc.js

Lines changed: 37 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,40 @@
1616
// ** https://github.com/googleapis/gapic-generator-typescript **
1717
// ** All changes to this file may be overwritten. **
1818

19-
export { ConfigDeliveryClient } from './config_delivery_client';
19+
'use strict';
20+
21+
module.exports = {
22+
opts: {
23+
readme: './README.md',
24+
package: './package.json',
25+
template: './node_modules/jsdoc-fresh',
26+
recurse: true,
27+
verbose: true,
28+
destination: './docs/'
29+
},
30+
plugins: [
31+
'plugins/markdown',
32+
'jsdoc-region-tag'
33+
],
34+
source: {
35+
excludePattern: '(^|\\/|\\\\)[._]',
36+
include: [
37+
'build/src',
38+
'protos'
39+
],
40+
includePattern: '\\.js$'
41+
},
42+
templates: {
43+
copyright: 'Copyright 2026 Google LLC',
44+
includeDate: false,
45+
sourceFiles: false,
46+
systemName: '@google-cloud/configdelivery',
47+
theme: 'lumen',
48+
default: {
49+
outputSourceFiles: false
50+
}
51+
},
52+
markdown: {
53+
idInHeadings: true
54+
}
55+
};
File renamed without changes.
Lines changed: 108 additions & 0 deletions
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
{
2+
"name": "@google-cloud/configdelivery",
3+
"version": "0.1.0",
4+
"description": "Configdelivery client for Node.js",
5+
"repository": "googleapis/nodejs-configdelivery",
6+
"license": "Apache-2.0",
7+
"author": "Google LLC",
8+
"main": "build/src/index.js",
9+
"files": [
10+
"build/src",
11+
"build/protos"
12+
],
13+
"keywords": [
14+
"google apis client",
15+
"google api client",
16+
"google apis",
17+
"google api",
18+
"google",
19+
"google cloud platform",
20+
"google cloud",
21+
"cloud",
22+
"google configdelivery",
23+
"configdelivery",
24+
"config delivery"
25+
],
26+
"scripts": {
27+
"clean": "gts clean",
28+
"compile": "tsc -p . && cp -r protos build/ && minifyProtoJson",
29+
"compile-protos": "compileProtos src",
30+
"docs": "jsdoc -c .jsdoc.js",
31+
"fix": "gts fix",
32+
"lint": "gts check",
33+
"prepare": "npm run compile-protos && npm run compile",
34+
"system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test",
35+
"test": "c8 mocha --config ../../.mocharc.cjs build/test"
36+
},
37+
"dependencies": {
38+
"google-gax": "^5.1.1-rc.1"
39+
},
40+
"devDependencies": {
41+
"@types/mocha": "^10.0.10",
42+
"@types/node": "^22.18.12",
43+
"@types/sinon": "^20.0.0",
44+
"c8": "^10.1.3",
45+
"gapic-tools": "^1.0.3",
46+
"gts": "^6.0.2",
47+
"jsdoc": "^4.0.5",
48+
"jsdoc-fresh": "^5.0.2",
49+
"jsdoc-region-tag": "^4.0.1",
50+
"mocha": "^11.7.4",
51+
"pack-n-play": "^4.2.1",
52+
"typescript": "5.8.3",
53+
"sinon": "^20.0.0"
54+
},
55+
"engines": {
56+
"node": ">=v18"
57+
}
58+
}
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
// Copyright 2025 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+
// http://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+
// This file contains stub messages for common resources in GCP.
16+
// It is not intended to be directly generated, and is instead used by
17+
// other tooling to be able to match common resource patterns.
18+
syntax = "proto3";
19+
20+
package google.cloud;
21+
22+
import "google/api/resource.proto";
23+
24+
25+
option (google.api.resource_definition) = {
26+
type: "cloudresourcemanager.googleapis.com/Project"
27+
pattern: "projects/{project}"
28+
};
29+
30+
31+
option (google.api.resource_definition) = {
32+
type: "cloudresourcemanager.googleapis.com/Organization"
33+
pattern: "organizations/{organization}"
34+
};
35+
36+
37+
option (google.api.resource_definition) = {
38+
type: "cloudresourcemanager.googleapis.com/Folder"
39+
pattern: "folders/{folder}"
40+
};
41+
42+
43+
option (google.api.resource_definition) = {
44+
type: "cloudbilling.googleapis.com/BillingAccount"
45+
pattern: "billingAccounts/{billing_account}"
46+
};
47+
48+
option (google.api.resource_definition) = {
49+
type: "locations.googleapis.com/Location"
50+
pattern: "projects/{project}/locations/{location}"
51+
};
52+

packages/google-cloud-configdelivery/protos/google/cloud/configdelivery/v1/config_delivery.proto renamed to owl-bot-staging/google-cloud-configdelivery/v1/protos/google/cloud/configdelivery/v1/config_delivery.proto

File renamed without changes.

packages/google-cloud-configdelivery/samples/generated/v1/config_delivery.abort_rollout.js renamed to owl-bot-staging/google-cloud-configdelivery/v1/samples/generated/v1/config_delivery.abort_rollout.js

File renamed without changes.

0 commit comments

Comments
 (0)