Skip to content
This repository has been archived by the owner on Jul 20, 2023. It is now read-only.

Commit

Permalink
fix: package name
Browse files Browse the repository at this point in the history
  • Loading branch information
sofisl committed Jun 30, 2021
1 parent 1a5e571 commit 42d4731
Show file tree
Hide file tree
Showing 23 changed files with 55 additions and 61 deletions.
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Thanks for stopping by to let us know something could be better!
This is the client library for . We will only be able to assist with issues that pertain to the behaviors of this library. If the issue you're experiencing is due to the behavior of the product itself, please visit the [ Support page]() to reach the most relevant engineers.

2) Did someone already solve this?
- Search the issues already opened: https://github.com/googleapis/googleapis/issues
- Search the issues already opened: https://github.com/googleapis/nodejs-gke-connect-gateway/issues
- Search the issues on our "catch-all" repository: https://github.com/googleapis/google-cloud-node
- Search or ask on StackOverflow (engineers monitor these tags): http://stackoverflow.com/questions/tagged/google-cloud-platform+node.js

Expand All @@ -26,7 +26,7 @@ If the support paths suggested above still do not result in a resolution, please
- OS:
- Node.js version:
- npm version:
- `@google-cloud/connect-gateway` version:
- `@google-cloud/gke-connect-gateway` version:

#### Steps to reproduce

Expand Down
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
- [ ] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/nodejs-connect-gateway/issues/new/choose) before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea
- [ ] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/nodejs-gke-connect-gateway/issues/new/choose) before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea
- [ ] Ensure the tests and linter pass
- [ ] Code coverage does not decrease (if any source code was changed)
- [ ] Appropriate docs were updated (if necessary)
Expand Down
7 changes: 6 additions & 1 deletion .github/auto-approve.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,9 @@ rules:
changedFiles:
- "package\\.json$"
- "CHANGELOG\\.md$"
maxFiles: 3
maxFiles: 3
- author: "renovate-bot"
title: "^(fix\\(deps\\)|chore\\(deps\\)):"
changedFiles:
- "/package\\.json$"
maxFiles: 2
4 changes: 2 additions & 2 deletions .kokoro/common.cfg

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

4 changes: 2 additions & 2 deletions .kokoro/continuous/node10/common.cfg

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

2 changes: 1 addition & 1 deletion .kokoro/continuous/node10/docs.cfg

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

4 changes: 2 additions & 2 deletions .kokoro/continuous/node12/common.cfg

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

2 changes: 1 addition & 1 deletion .kokoro/continuous/node12/lint.cfg

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

2 changes: 1 addition & 1 deletion .kokoro/continuous/node12/samples-test.cfg

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

2 changes: 1 addition & 1 deletion .kokoro/continuous/node12/system-test.cfg

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

4 changes: 2 additions & 2 deletions .kokoro/presubmit/node10/common.cfg

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

4 changes: 2 additions & 2 deletions .kokoro/presubmit/node12/common.cfg

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

2 changes: 1 addition & 1 deletion .kokoro/presubmit/node12/samples-test.cfg

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

2 changes: 1 addition & 1 deletion .kokoro/presubmit/node12/system-test.cfg

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

4 changes: 2 additions & 2 deletions .kokoro/release/docs-devsite.cfg

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

4 changes: 2 additions & 2 deletions .kokoro/release/docs.cfg

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

4 changes: 2 additions & 2 deletions .kokoro/release/publish.cfg

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

4 changes: 2 additions & 2 deletions .repo-metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
"issue_tracker": "https://github.com/googleapis/nodejs-connect-gateway/issues",
"release_level": "BETA",
"language": "nodejs",
"repo": "googleapis/nodejs-connect-gateway",
"distribution_name": "@google-cloud/connect-gateway",
"repo": "googleapis/nodejs-gke-connect-gateway",
"distribution_name": "@google-cloud/gke-connect-gateway",
"api_id": "gateway.googleapis.com",
"default_version": "v1beta1",
"requires_billing": true
Expand Down
38 changes: 14 additions & 24 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
[//]: # "To regenerate it, use `python -m synthtool`."
<img src="https://avatars2.githubusercontent.com/u/2810941?v=3&s=96" alt="Google Cloud Platform logo" title="Google Cloud Platform" align="right" height="96" width="96"/>

# [API Gateway: Node.js Client](https://github.com/googleapis/nodejs-connect-gateway)
# [API Gateway: Node.js Client](https://github.com/googleapis/nodejs-gke-connect-gateway)

[![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/connect-gateway.svg)](https://www.npmjs.org/package/@google-cloud/connect-gateway)
[![codecov](https://img.shields.io/codecov/c/github/googleapis/nodejs-connect-gateway/master.svg?style=flat)](https://codecov.io/gh/googleapis/nodejs-connect-gateway)
[![npm version](https://img.shields.io/npm/v/@google-cloud/gke-connect-gateway.svg)](https://www.npmjs.org/package/@google-cloud/gke-connect-gateway)
[![codecov](https://img.shields.io/codecov/c/github/googleapis/nodejs-gke-connect-gateway/master.svg?style=flat)](https://codecov.io/gh/googleapis/nodejs-gke-connect-gateway)



Expand All @@ -15,11 +15,11 @@ apigateway client for Node.js


A comprehensive list of changes in each version may be found in
[the CHANGELOG](https://github.com/googleapis/nodejs-connect-gateway/blob/master/CHANGELOG.md).
[the CHANGELOG](https://github.com/googleapis/nodejs-gke-connect-gateway/blob/master/CHANGELOG.md).

* [API Gateway Node.js Client API Reference][client-docs]
* [API Gateway Documentation][product-docs]
* [github.com/googleapis/nodejs-connect-gateway](https://github.com/googleapis/nodejs-connect-gateway)
* [github.com/googleapis/nodejs-gke-connect-gateway](https://github.com/googleapis/nodejs-gke-connect-gateway)

Read more about the client libraries for Cloud APIs, including the older
Google APIs Client Libraries, in [Client Libraries Explained][explained].
Expand Down Expand Up @@ -51,41 +51,31 @@ Google APIs Client Libraries, in [Client Libraries Explained][explained].
### Installing the client library

```bash
npm install @google-cloud/connect-gateway
npm install @google-cloud/gke-connect-gateway
```


### Using the client library

```javascript
// Imports the Google Cloud client library
// Imports the Google Cloud client library

const {GatewayServiceClient} = require('@google-cloud/connect-gateway');
const {GatewayServiceClient} = require('@google-cloud/connect-gateway');

// Creates a client
new GatewayServiceClient();
}

main(...process.argv.slice(2)).catch(err => {
console.error(err.message);
process.exitCode = 1;
});
process.on('unhandledRejection', err => {
console.error(err.message);
process.exitCode = 1;
});
// Creates a client
new GatewayServiceClient();

```



## Samples

Samples are in the [`samples/`](https://github.com/googleapis/nodejs-connect-gateway/tree/master/samples) directory. Each sample's `README.md` has instructions for running its sample.
Samples are in the [`samples/`](https://github.com/googleapis/nodejs-gke-connect-gateway/tree/master/samples) directory. Each sample's `README.md` has instructions for running its sample.

| Sample | Source Code | Try it |
| --------------------------- | --------------------------------- | ------ |
| Quickstart | [source code](https://github.com/googleapis/nodejs-connect-gateway/blob/master/samples/quickstart.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-connect-gateway&page=editor&open_in_editor=samples/quickstart.js,samples/README.md) |
| Quickstart | [source code](https://github.com/googleapis/nodejs-gke-connect-gateway/blob/master/samples/quickstart.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-gke-connect-gateway&page=editor&open_in_editor=samples/quickstart.js,samples/README.md) |



Expand Down Expand Up @@ -128,7 +118,7 @@ More Information: [Google Cloud Platform Launch Stages][launch_stages]

## Contributing

Contributions welcome! See the [Contributing Guide](https://github.com/googleapis/nodejs-connect-gateway/blob/master/CONTRIBUTING.md).
Contributions welcome! See the [Contributing Guide](https://github.com/googleapis/nodejs-gke-connect-gateway/blob/master/CONTRIBUTING.md).

Please note that this `README.md`, the `samples/README.md`,
and a variety of configuration files in this repository (including `.nycrc` and `tsconfig.json`)
Expand All @@ -140,7 +130,7 @@ to its template in this

Apache Version 2.0

See [LICENSE](https://github.com/googleapis/nodejs-connect-gateway/blob/master/LICENSE)
See [LICENSE](https://github.com/googleapis/nodejs-gke-connect-gateway/blob/master/LICENSE)

[client-docs]: https://cloud.google.com/anthos/multicluster-management/gateway/using
[product-docs]: https://cloud.google.com/api-gateway/
Expand Down
1 change: 0 additions & 1 deletion linkinator.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"recurse": true,
"skip": [
"https://codecov.io/gh/googleapis/",
"https://github.com/googleapis/nodejs-connect-gateway/blob/master/CHANGELOG.md",
"www.googleapis.com",
"img.shields.io"
],
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "@google-cloud/connect-gateway",
"name": "@google-cloud/gke-connect-gateway",
"version": "0.1.0",
"description": "apigateway client for Node.js",
"repository": "googleapis/googleapis/nodejs-connect-gateway",
"repository": "googleapis/nodejs-gke-connect-gateway",
"license": "Apache-2.0",
"author": "Google LLC",
"main": "build/src/index.js",
Expand Down
2 changes: 1 addition & 1 deletion protos/protos.js

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

10 changes: 5 additions & 5 deletions samples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
[//]: # "To regenerate it, use `python -m synthtool`."
<img src="https://avatars2.githubusercontent.com/u/2810941?v=3&s=96" alt="Google Cloud Platform logo" title="Google Cloud Platform" align="right" height="96" width="96"/>

# [API Gateway: Node.js Samples](https://github.com/googleapis/nodejs-connect-gateway)
# [API Gateway: Node.js Samples](https://github.com/googleapis/nodejs-gke-connect-gateway)

[![Open in Cloud Shell][shell_img]][shell_link]

Expand All @@ -17,7 +17,7 @@
## Before you begin

Before running the samples, make sure you've followed the steps outlined in
[Using the client library](https://github.com/googleapis/nodejs-connect-gateway#using-the-client-library).
[Using the client library](https://github.com/googleapis/nodejs-gke-connect-gateway#using-the-client-library).

`cd samples`

Expand All @@ -31,9 +31,9 @@ Before running the samples, make sure you've followed the steps outlined in

### Quickstart

View the [source code](https://github.com/googleapis/nodejs-connect-gateway/blob/master/samples/quickstart.js).
View the [source code](https://github.com/googleapis/nodejs-gke-connect-gateway/blob/master/samples/quickstart.js).

[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-connect-gateway&page=editor&open_in_editor=samples/quickstart.js,samples/README.md)
[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-gke-connect-gateway&page=editor&open_in_editor=samples/quickstart.js,samples/README.md)

__Usage:__

Expand All @@ -46,5 +46,5 @@ __Usage:__


[shell_img]: https://gstatic.com/cloudssh/images/open-btn.png
[shell_link]: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-connect-gateway&page=editor&open_in_editor=samples/README.md
[shell_link]: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-gke-connect-gateway&page=editor&open_in_editor=samples/README.md
[product-docs]: https://cloud.google.com/api-gateway/

0 comments on commit 42d4731

Please sign in to comment.