Skip to content

Commit 3d68992

Browse files
feat: minor version change (#3)
Co-authored-by: jonaslagoni <jonaslagoni@users.noreply.github.com>
1 parent 775e8e0 commit 3d68992

File tree

3 files changed

+97
-4
lines changed

3 files changed

+97
-4
lines changed

README.md

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
2+
<h1 align="center">TypeScript/Node.js NATS client wrapper</h1>
3+
<p align="center">
4+
<em>This is a generated TypeScript/Node.js NATS client for the application - Rust public API.</em>
5+
</p>
6+
7+
**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.**
8+
9+
test
10+
11+
You can find the general information about the different aspects of this library by checking [the documentation folder](./docs/general.md).
12+
13+
An [API document](./API.md) have also been generated which contains all the possible configurations and usages this client supports.
14+
15+
## Example
16+
```ts
17+
import * as GeneratedClient from "./nats-client";
18+
const natsClient = new GeneratedClient.NatsAsyncApiClient();
19+
natsClient.connect(...).catch((e) => {});
20+
```
21+
22+
23+

configs.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"template_last_version": "0.0.0",
3-
"document_last_version": "0.0.0"
2+
"template_last_version": "0.5.15",
3+
"document_last_version": "0.1.0"
44
}

package.json

+72-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,73 @@
11
{
2-
"version": "0.0.0"
3-
}
2+
"name": "@gamingapi/rust-ts-public-api",
3+
"description": "TypeScript public API wrapper for rust",
4+
"version": "0.0.0",
5+
"main": "lib/index.js",
6+
"types": "lib/index.d.ts",
7+
"scripts": {
8+
"build": "tsc && npm run docs",
9+
"test:integration": "mocha -r ts-node/register tests/integration/**/*.spec.ts --exit --timeout 10000",
10+
"docs": "npm run docs:markdown",
11+
"docs:markdown": "jsdoc2md lib/index.js -f lib/**/*.js > API.md",
12+
"generate:assets": "npm run build && npm run docs",
13+
"bump:version": "npm --no-git-tag-version --allow-same-version version $VERSION",
14+
"release": "semantic-release",
15+
"prepublishOnly": "npm run generate:assets"
16+
},
17+
"dependencies": {
18+
"nats": "^2.4.0"
19+
},
20+
"devDependencies": {
21+
"ts-node": "^10.4.0",
22+
"@types/mocha": "^9.0.0",
23+
"@types/chai": "4.2.22",
24+
"@types/node": "13.9.5",
25+
"@types/klaw-sync": "^6.0.1",
26+
"chai": "^4.3.4",
27+
"mocha": "^9.1.3",
28+
"jsdoc-to-markdown": "^6.0.1",
29+
"typescript": "4.5.2",
30+
"@semantic-release/commit-analyzer": "^8.0.1",
31+
"@semantic-release/github": "^7.0.4",
32+
"@semantic-release/npm": "^7.0.3",
33+
"@semantic-release/release-notes-generator": "^9.0.1",
34+
"conventional-changelog-conventionalcommits": "^4.2.3",
35+
"semantic-release": "^17.0.4"
36+
},
37+
"publishConfig": {
38+
"access": "public"
39+
},
40+
"keywords": [],
41+
"author": "Jonas Lagoni (jonas-lt@live.dk)",
42+
"license": "Apache-2.0",
43+
"bugs": {
44+
"url": "https://github.com/GamingAPI/rust-ts-public-api/issues"
45+
},
46+
"files": [
47+
"/lib",
48+
"./README.md",
49+
"./LICENSE"
50+
],
51+
"homepage": "https://github.com/GamingAPI/rust-ts-public-api#readme",
52+
"release": {
53+
"branches": [
54+
"main"
55+
],
56+
"plugins": [
57+
[
58+
"@semantic-release/commit-analyzer",
59+
{
60+
"preset": "conventionalcommits"
61+
}
62+
],
63+
[
64+
"@semantic-release/release-notes-generator",
65+
{
66+
"preset": "conventionalcommits"
67+
}
68+
],
69+
"@semantic-release/npm",
70+
"@semantic-release/github"
71+
]
72+
}
73+
}

0 commit comments

Comments
 (0)