diff --git a/.release-please-manifest.json b/.release-please-manifest.json index c38b0a70276..01c250f9d4f 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,5 +1,6 @@ { "packages/gapic-node-templating": "0.0.0", + "packages/google-analytics-admin": "4.3.0", "packages/google-api-apikeys": "0.1.3", "packages/google-cloud-batch": "0.3.2", "packages/google-cloud-beyondcorp-appconnections": "0.2.3", diff --git a/packages/google-analytics-admin/.github/.OwlBot.yaml b/packages/google-analytics-admin/.OwlBot.yaml similarity index 79% rename from packages/google-analytics-admin/.github/.OwlBot.yaml rename to packages/google-analytics-admin/.OwlBot.yaml index 68a6c689459..dc3c48b26b6 100644 --- a/packages/google-analytics-admin/.github/.OwlBot.yaml +++ b/packages/google-analytics-admin/.OwlBot.yaml @@ -11,13 +11,11 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -docker: - image: gcr.io/cloud-devrel-public-resources/owlbot-nodejs:latest deep-remove-regex: - /owl-bot-staging deep-copy-regex: - - source: /google/analytics/admin/(.*)/.*-nodejs/(.*) - dest: /owl-bot-staging/$1/$2 + - source: /google/analytics/admin/(.*)/.*-nodejs + dest: /owl-bot-staging/google-analytics-admin/$1 diff --git a/packages/google-analytics-admin/.repo-metadata.json b/packages/google-analytics-admin/.repo-metadata.json index 61cb4422e47..4cffee7850b 100644 --- a/packages/google-analytics-admin/.repo-metadata.json +++ b/packages/google-analytics-admin/.repo-metadata.json @@ -6,7 +6,7 @@ "default_version": "v1alpha", "language": "nodejs", "name_pretty": "Google Analytics Admin", - "repo": "googleapis/nodejs-analytics-admin", + "repo": "googleapis/google-cloud-node", "product_documentation": "https://developers.google.com/analytics", "requires_billing": false, "name": "analytics-admin", diff --git a/packages/google-analytics-admin/owlbot.py b/packages/google-analytics-admin/owlbot.py index 568fbdbbd62..daafe526af5 100644 --- a/packages/google-analytics-admin/owlbot.py +++ b/packages/google-analytics-admin/owlbot.py @@ -12,6 +12,6 @@ # See the License for the specific language governing permissions and # limitations under the License. """This script is used to synthesize generated parts of this library.""" -import synthtool.languages.node as node +import synthtool.languages.node_mono_repo as node -node.owlbot_main(templates_excludes=['.github/CODEOWNERS']) \ No newline at end of file +node.owlbot_main(relative_dir="packages/google-analytics-admin",templates_excludes=['.github/CODEOWNERS']) \ No newline at end of file diff --git a/packages/google-analytics-admin/package.json b/packages/google-analytics-admin/package.json index 5ab6e881a49..4146364e436 100644 --- a/packages/google-analytics-admin/package.json +++ b/packages/google-analytics-admin/package.json @@ -2,7 +2,11 @@ "name": "@google-analytics/admin", "version": "4.3.0", "description": "Admin client for Node.js", - "repository": "googleapis/nodejs-analytics-admin", + "repository": { + "type": "git", + "directory": "packages/google-analytics-admin", + "url": "https://github.com/googleapis/google-cloud-node.git" + }, "license": "Apache-2.0", "author": "Google LLC", "main": "build/src/index.js", @@ -34,8 +38,8 @@ "lint": "gts check", "prelint": "cd samples; npm link ../; npm i", "prepare": "npm run compile-protos && npm run compile", - "samples-test": "cd samples/ && npm link ../ && npm test && cd ../", - "system-test": "c8 mocha build/system-test", + "samples-test": "npm run compile && cd samples/ && npm link ../ && npm i && npm test", + "system-test": "npm run compile && c8 mocha build/system-test", "test": "c8 mocha build/test" }, "dependencies": { @@ -62,5 +66,6 @@ }, "engines": { "node": ">=12.0.0" - } + }, + "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-analytics-admin" } diff --git a/release-please-config.json b/release-please-config.json index ca8fb90627b..5aa697e37f3 100644 --- a/release-please-config.json +++ b/release-please-config.json @@ -1,6 +1,7 @@ { "initial-version": "0.1.0", "packages": { + "packages/google-analytics-admin": {}, "packages/google-api-apikeys": {}, "packages/google-cloud-batch": {}, "packages/google-cloud-beyondcorp-appconnections": {}, @@ -49,4 +50,4 @@ } ], "release-type": "node" -} \ No newline at end of file +}