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

[CHANGE] bundle building with @nats-io/nats-core dependency #624

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft
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
2 changes: 1 addition & 1 deletion .gitignore → transport-node/.gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.deps/
.DS_Store
.idea
../.idea
.nyc_output/
benchmark/
coverage/
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions README.md → transport-node/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

A Node.js client for the [NATS messaging system](https://nats.io).

[![License](https://img.shields.io/badge/Licence-Apache%202.0-blue.svg)](./LICENSE)
[![License](https://img.shields.io/badge/Licence-Apache%202.0-blue.svg)](LICENSE)
![NATS.js CI](https://github.com/nats-io/nats.js/workflows/NATS.js%20CI/badge.svg)
[![npm](https://img.shields.io/npm/v/nats.svg)](https://www.npmjs.com/package/nats)
[![npm](https://img.shields.io/npm/dt/nats.svg)](https://www.npmjs.com/package/nats)
Expand Down Expand Up @@ -137,7 +137,7 @@ const sub = nc.subscribe("hello");
nc.publish("hello", sc.encode("world"));
nc.publish("hello", sc.encode("again"));

// we want to insure that messages that are in flight
// we want to ensure that messages that are in flight
// get processed, so we are going to drain the
// connection. Drain is the same as close, but makes
// sure that all messages in flight get seen
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion examples/bench.js → transport-node/examples/bench.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env node

const parse = require("minimist");
const { Nuid, connect } = require("../");
const { Nuid, connect } = require("../index");
const { Bench, Metric } = require("../lib/nats-base-client/bench");

const defaults = {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env node

const parse = require("minimist");
const { connect } = require("../");
const { connect } = require("../index");

const argv = parse(
process.argv.slice(2),
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env node

const parse = require("minimist");
const { connect, StringCodec, headers, credsAuthenticator } = require("../");
const { connect, StringCodec, headers, credsAuthenticator } = require("../index");
const { delay } = require("./util");
const fs = require("fs");

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env node

const parse = require("minimist");
const { connect, StringCodec, headers, credsAuthenticator } = require("../");
const { connect, StringCodec, headers, credsAuthenticator } = require("../index");
const fs = require("fs");

const argv = parse(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env node

const parse = require("minimist");
const { connect, StringCodec, headers, credsAuthenticator } = require("../");
const { connect, StringCodec, headers, credsAuthenticator } = require("../index");
const { delay } = require("./util");
const fs = require("fs");

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env node

const parse = require("minimist");
const { connect, StringCodec, credsAuthenticator } = require("../");
const { connect, StringCodec, credsAuthenticator } = require("../index");
const fs = require("fs");

const argv = parse(
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion index.js → transport-node/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@
*/
"use strict";

module.exports = require("./lib/src/mod");
module.exports = require("./lib/mod");
File renamed without changes.
Loading
Loading