generated from GamingAPI/template-api-ts
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: jonaslagoni <[email protected]>
- Loading branch information
1 parent
775e8e0
commit 3d68992
Showing
3 changed files
with
97 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
|
||
<h1 align="center">TypeScript/Node.js NATS client wrapper</h1> | ||
<p align="center"> | ||
<em>This is a generated TypeScript/Node.js NATS client for the application - Rust public API.</em> | ||
</p> | ||
|
||
**We highly recommend you do not modify this client in any way since it is build for you to re-generate it when your AsyncAPI document changes.** | ||
|
||
test | ||
|
||
You can find the general information about the different aspects of this library by checking [the documentation folder](./docs/general.md). | ||
|
||
An [API document](./API.md) have also been generated which contains all the possible configurations and usages this client supports. | ||
|
||
## Example | ||
```ts | ||
import * as GeneratedClient from "./nats-client"; | ||
const natsClient = new GeneratedClient.NatsAsyncApiClient(); | ||
natsClient.connect(...).catch((e) => {}); | ||
``` | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"template_last_version": "0.0.0", | ||
"document_last_version": "0.0.0" | ||
"template_last_version": "0.5.15", | ||
"document_last_version": "0.1.0" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,73 @@ | ||
{ | ||
"version": "0.0.0" | ||
} | ||
"name": "@gamingapi/rust-ts-public-api", | ||
"description": "TypeScript public API wrapper for rust", | ||
"version": "0.0.0", | ||
"main": "lib/index.js", | ||
"types": "lib/index.d.ts", | ||
"scripts": { | ||
"build": "tsc && npm run docs", | ||
"test:integration": "mocha -r ts-node/register tests/integration/**/*.spec.ts --exit --timeout 10000", | ||
"docs": "npm run docs:markdown", | ||
"docs:markdown": "jsdoc2md lib/index.js -f lib/**/*.js > API.md", | ||
"generate:assets": "npm run build && npm run docs", | ||
"bump:version": "npm --no-git-tag-version --allow-same-version version $VERSION", | ||
"release": "semantic-release", | ||
"prepublishOnly": "npm run generate:assets" | ||
}, | ||
"dependencies": { | ||
"nats": "^2.4.0" | ||
}, | ||
"devDependencies": { | ||
"ts-node": "^10.4.0", | ||
"@types/mocha": "^9.0.0", | ||
"@types/chai": "4.2.22", | ||
"@types/node": "13.9.5", | ||
"@types/klaw-sync": "^6.0.1", | ||
"chai": "^4.3.4", | ||
"mocha": "^9.1.3", | ||
"jsdoc-to-markdown": "^6.0.1", | ||
"typescript": "4.5.2", | ||
"@semantic-release/commit-analyzer": "^8.0.1", | ||
"@semantic-release/github": "^7.0.4", | ||
"@semantic-release/npm": "^7.0.3", | ||
"@semantic-release/release-notes-generator": "^9.0.1", | ||
"conventional-changelog-conventionalcommits": "^4.2.3", | ||
"semantic-release": "^17.0.4" | ||
}, | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"keywords": [], | ||
"author": "Jonas Lagoni ([email protected])", | ||
"license": "Apache-2.0", | ||
"bugs": { | ||
"url": "https://github.com/GamingAPI/rust-ts-public-api/issues" | ||
}, | ||
"files": [ | ||
"/lib", | ||
"./README.md", | ||
"./LICENSE" | ||
], | ||
"homepage": "https://github.com/GamingAPI/rust-ts-public-api#readme", | ||
"release": { | ||
"branches": [ | ||
"main" | ||
], | ||
"plugins": [ | ||
[ | ||
"@semantic-release/commit-analyzer", | ||
{ | ||
"preset": "conventionalcommits" | ||
} | ||
], | ||
[ | ||
"@semantic-release/release-notes-generator", | ||
{ | ||
"preset": "conventionalcommits" | ||
} | ||
], | ||
"@semantic-release/npm", | ||
"@semantic-release/github" | ||
] | ||
} | ||
} |