Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: update distribution name #3371

Merged
merged 14 commits into from
Sep 26, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions packages/google-cloud-bigquery-analyticshub/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# [Analytics Hub API: Node.js Client](https://github.com/googleapis/google-cloud-node)

[![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/analyticshub.svg)](https://www.npmjs.org/package/@google-cloud/analyticshub)
[![npm version](https://img.shields.io/npm/v/@google-cloud/bigquery-analyticshub.svg)](https://www.npmjs.org/package/@google-cloud/bigquery-analyticshub)



Expand Down Expand Up @@ -50,7 +50,7 @@ Google APIs Client Libraries, in [Client Libraries Explained][explained].
### Installing the client library

```bash
npm install @google-cloud/analyticshub
npm install @google-cloud/bigquery-analyticshub
```


Expand Down Expand Up @@ -80,7 +80,8 @@ npm install @google-cloud/analyticshub
// const pageToken = 'abc123'

// Imports the Analyticshub library
const {AnalyticsHubServiceClient} = require('@google-cloud/analyticshub').v1;
const {AnalyticsHubServiceClient} =
require('@google-cloud/bigquery-analyticshub').v1;

// Instantiates a client
const analyticshubClient = new AnalyticsHubServiceClient();
Expand Down Expand Up @@ -151,7 +152,7 @@ best-efforts basis with the following warnings:
Client libraries targeting some end-of-life versions of Node.js are available, and
can be installed through npm [dist-tags](https://docs.npmjs.com/cli/dist-tag).
The dist-tags follow the naming convention `legacy-(version)`.
For example, `npm install @google-cloud/analyticshub@legacy-8` installs client libraries
For example, `npm install @google-cloud/bigquery-analyticshub@legacy-8` installs client libraries
for versions compatible with Node.js 8.

## Versioning
Expand Down
2 changes: 1 addition & 1 deletion packages/google-cloud-bigquery-analyticshub/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@google-cloud/analyticshub",
"name": "@google-cloud/bigquery-analyticshub",
"version": "0.0.0",
"description": "Analytics Hub API client for Node.js",
"repository": "googleapis/google-cloud-node",
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"publish": "echo 'sample test; do not publish'"
},
"dependencies": {
"@google-cloud/analyticshub": "0.0.0"
"@google-cloud/bigquery-analyticshub": "0.0.0"
},
"devDependencies": {
"c8": "^7.1.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ function main(parent) {
// const pageToken = 'abc123'

// Imports the Analyticshub library
const {AnalyticsHubServiceClient} = require('@google-cloud/analyticshub').v1;
const {AnalyticsHubServiceClient} =
require('@google-cloud/bigquery-analyticshub').v1;

// Instantiates a client
const analyticshubClient = new AnalyticsHubServiceClient();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ const assert = require('assert');
const path = require('path');
const cp = require('child_process');
const {describe, it, before} = require('mocha');
const {AnalyticsHubServiceClient} = require('@google-cloud/analyticshub').v1;
const {AnalyticsHubServiceClient} =
require('@google-cloud/bigquery-analyticshub').v1;
const analyticshubClient = new AnalyticsHubServiceClient();

const execSync = cmd => cp.execSync(cmd, {encoding: 'utf-8'});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
// ** All changes to this file may be overwritten. **

/* eslint-disable node/no-missing-require, no-unused-vars */
const analyticshub = require('@google-cloud/analyticshub');
const analyticshub = require('@google-cloud/bigquery-analyticshub');

function main() {
const analyticsHubServiceClient =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
// ** https://github.com/googleapis/gapic-generator-typescript **
// ** All changes to this file may be overwritten. **

import {AnalyticsHubServiceClient} from '@google-cloud/analyticshub';
import {AnalyticsHubServiceClient} from '@google-cloud/bigquery-analyticshub';

// check that the client class type name can be used
function doStuffWithAnalyticsHubServiceClient(
Expand Down