From 2fb161dcb570510c0f773cfe2a77341762a64f03 Mon Sep 17 00:00:00 2001 From: sofisl <55454395+sofisl@users.noreply.github.com> Date: Tue, 8 Jun 2021 13:38:44 -0500 Subject: [PATCH] chore: fix package.json repo name (#9) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore: fix package.json repo name * 🦉 Updates from OwlBot * fix: update package name so it does not sound so redundant" * 🦉 Updates from OwlBot Co-authored-by: Owl Bot --- packages/google-cloud-shell/.jsdoc.js | 2 +- packages/google-cloud-shell/.repo-metadata.json | 2 +- packages/google-cloud-shell/README.md | 6 +++--- packages/google-cloud-shell/package.json | 4 ++-- packages/google-cloud-shell/protos/protos.js | 2 +- packages/google-cloud-shell/samples/package.json | 2 +- packages/google-cloud-shell/samples/quickstart.js | 2 +- 7 files changed, 10 insertions(+), 10 deletions(-) diff --git a/packages/google-cloud-shell/.jsdoc.js b/packages/google-cloud-shell/.jsdoc.js index f5fcaab3107..4db91f5d595 100644 --- a/packages/google-cloud-shell/.jsdoc.js +++ b/packages/google-cloud-shell/.jsdoc.js @@ -43,7 +43,7 @@ module.exports = { copyright: 'Copyright 2021 Google LLC', includeDate: false, sourceFiles: false, - systemName: '@google-cloud/cloud-shell', + systemName: '@google-cloud/shell', theme: 'lumen', default: { outputSourceFiles: false diff --git a/packages/google-cloud-shell/.repo-metadata.json b/packages/google-cloud-shell/.repo-metadata.json index b33d5ca121a..11061040dec 100644 --- a/packages/google-cloud-shell/.repo-metadata.json +++ b/packages/google-cloud-shell/.repo-metadata.json @@ -7,7 +7,7 @@ "release_level": "BETA", "language": "nodejs", "repo": "googleapis/nodejs-cloud-shell", - "distribution_name": "@google-cloud/cloud-shell", + "distribution_name": "@google-cloud/shell", "api_id": "shell.googleapis.com", "default_version": "v1", "requires_billing": true diff --git a/packages/google-cloud-shell/README.md b/packages/google-cloud-shell/README.md index efee2b20d9a..4c80d8ed6aa 100644 --- a/packages/google-cloud-shell/README.md +++ b/packages/google-cloud-shell/README.md @@ -5,7 +5,7 @@ # [Cloud Shell: Node.js Client](https://github.com/googleapis/nodejs-cloud-shell) [![release level](https://img.shields.io/badge/release%20level-beta-yellow.svg?style=flat)](https://cloud.google.com/terms/launch-stages) -[![npm version](https://img.shields.io/npm/v/@google-cloud/cloud-shell.svg)](https://www.npmjs.org/package/@google-cloud/cloud-shell) +[![npm version](https://img.shields.io/npm/v/@google-cloud/shell.svg)](https://www.npmjs.org/package/@google-cloud/shell) [![codecov](https://img.shields.io/codecov/c/github/googleapis/nodejs-cloud-shell/master.svg?style=flat)](https://codecov.io/gh/googleapis/nodejs-cloud-shell) @@ -51,7 +51,7 @@ Google APIs Client Libraries, in [Client Libraries Explained][explained]. ### Installing the client library ```bash -npm install @google-cloud/cloud-shell +npm install @google-cloud/shell ``` @@ -62,7 +62,7 @@ npm install @google-cloud/cloud-shell // remove this line after package is released // eslint-disable-next-line node/no-missing-require -const {CloudShellServiceClient} = require('@google-cloud/cloud-shell'); +const {CloudShellServiceClient} = require('@google-cloud/shell'); // TODO(developer): replace with your prefered project ID. // const projectId = 'my-project' diff --git a/packages/google-cloud-shell/package.json b/packages/google-cloud-shell/package.json index dfc3e136c88..2d5687ea269 100644 --- a/packages/google-cloud-shell/package.json +++ b/packages/google-cloud-shell/package.json @@ -1,8 +1,8 @@ { - "name": "@google-cloud/cloud-shell", + "name": "@google-cloud/shell", "version": "0.1.0", "description": "cloudshell client for Node.js", - "repository": "googleapis/googleapis/nodejs-cloud-shell", + "repository": "googleapis/nodejs-cloud-shell", "license": "Apache-2.0", "author": "Google LLC", "main": "build/src/index.js", diff --git a/packages/google-cloud-shell/protos/protos.js b/packages/google-cloud-shell/protos/protos.js index c44c0e1d9c8..9a14505b3ce 100644 --- a/packages/google-cloud-shell/protos/protos.js +++ b/packages/google-cloud-shell/protos/protos.js @@ -28,7 +28,7 @@ var $Reader = $protobuf.Reader, $Writer = $protobuf.Writer, $util = $protobuf.util; // Exported root namespace - var $root = $protobuf.roots._google_cloud_cloud_shell_protos || ($protobuf.roots._google_cloud_cloud_shell_protos = {}); + var $root = $protobuf.roots._google_cloud_shell_protos || ($protobuf.roots._google_cloud_shell_protos = {}); $root.google = (function() { diff --git a/packages/google-cloud-shell/samples/package.json b/packages/google-cloud-shell/samples/package.json index 426caae7b96..6471c2b6537 100644 --- a/packages/google-cloud-shell/samples/package.json +++ b/packages/google-cloud-shell/samples/package.json @@ -13,7 +13,7 @@ "test": "c8 mocha --timeout 600000 test/*.js" }, "dependencies": { - "@google-cloud/cloud-shell": "^0.1.0" + "@google-cloud/shell": "^0.1.0" }, "devDependencies": { "c8": "^7.1.0", diff --git a/packages/google-cloud-shell/samples/quickstart.js b/packages/google-cloud-shell/samples/quickstart.js index 70d4528d668..ce52d0685bd 100644 --- a/packages/google-cloud-shell/samples/quickstart.js +++ b/packages/google-cloud-shell/samples/quickstart.js @@ -19,7 +19,7 @@ async function main() { // remove this line after package is released // eslint-disable-next-line node/no-missing-require - const {CloudShellServiceClient} = require('@google-cloud/cloud-shell'); + const {CloudShellServiceClient} = require('@google-cloud/shell'); // TODO(developer): replace with your prefered project ID. // const projectId = 'my-project'