Update dev dependencies
Set idea language to ES6 Run tests against dist
This commit is contained in:
parent
732b691e40
commit
bbf25ee8b5
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="JavaScriptSettings">
|
||||
<option name="languageLevel" value="ES5" />
|
||||
<option name="languageLevel" value="ES6" />
|
||||
</component>
|
||||
</project>
|
6439
package-lock.json
generated
6439
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
11
package.json
11
package.json
|
@ -51,10 +51,11 @@
|
|||
"uuid": "^3.0.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/long": "^3.0.31",
|
||||
"@types/node": "^6.0.47",
|
||||
"jsdoc": "^3.5.5",
|
||||
"nodeunit": "^0.11.1",
|
||||
"webpack": "^3.3.0"
|
||||
"@types/long": "^3.0.32",
|
||||
"@types/node": "^12.12.5",
|
||||
"jsdoc": "^3.6.3",
|
||||
"nodeunit": "^0.11.3",
|
||||
"webpack": "^4.41.2",
|
||||
"webpack-cli": "^3.3.10"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
var uuid = require('uuid');
|
||||
var client = require('../src/client');
|
||||
var client = require('../lib/dist');
|
||||
var Long = require('long');
|
||||
|
||||
var ANY_VERSION = Long.fromNumber(client.expectedVersion.any);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
var client = require('../../src/client');
|
||||
var client = require('../../lib/dist');
|
||||
var uuid = require('uuid');
|
||||
|
||||
var settings = {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
var client = require('../../src/client');
|
||||
var client = require('../../lib/dist');
|
||||
var uuid = require('uuid');
|
||||
|
||||
var settings = {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
var util = require('util');
|
||||
var uuid = require('uuid');
|
||||
var client = require('../../src/client');
|
||||
var client = require('../../lib/dist');
|
||||
var FileLogger = require('../../src/common/log/fileLogger');
|
||||
var NoopLogger = require('../../src/common/log/noopLogger');
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
var client = require('../src/client.js');
|
||||
var client = require('../lib/dist');
|
||||
var GossipSeed = require('../src/gossipSeed');
|
||||
|
||||
var testBase = require('./common/base_test');
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
var uuid = require('uuid');
|
||||
var client = require('../src/client');
|
||||
var client = require('../lib/dist');
|
||||
var Long = require('long');
|
||||
|
||||
module.exports = {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
var client = require('../src/client');
|
||||
var client = require('../lib/dist');
|
||||
const Long = require('long');
|
||||
|
||||
const EMPTY_VERSION = Long.fromNumber(client.expectedVersion.emptyStream);
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
var util = require('util');
|
||||
var uuid = require('uuid');
|
||||
var client = require('../src/client');
|
||||
var client = require('../lib/dist');
|
||||
const adminCredentials = new client.UserCredentials("admin", "changeit");
|
||||
|
||||
function createRandomEvent() {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
const client = require('../src/client');
|
||||
const client = require('../lib/dist');
|
||||
const userCredentials = new client.UserCredentials('admin', 'changeit');
|
||||
|
||||
const log = new client.NoopLogger();
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
var util = require('util');
|
||||
var uuid = require('uuid');
|
||||
var client = require('../src/client');
|
||||
var client = require('../lib/dist');
|
||||
|
||||
const numberOfStreams = 20;
|
||||
const maxBatch = 10;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
var util = require('util');
|
||||
var uuid = require('uuid');
|
||||
var client = require('../src/client');
|
||||
var client = require('../lib/dist');
|
||||
|
||||
const numberOfStreams = 20;
|
||||
const maxBatch = 10;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
var uuid = require('uuid');
|
||||
var client = require('../src/client');
|
||||
var client = require('../lib/dist');
|
||||
var Long = require('long');
|
||||
|
||||
var NOSTREAM_VERSION = Long.fromNumber(client.expectedVersion.noStream);
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
var uuid = require('uuid');
|
||||
var client = require('../src/client');
|
||||
var client = require('../lib/dist');
|
||||
var Long = require('long');
|
||||
|
||||
const streamSize = 100;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
var uuid = require('uuid');
|
||||
var client = require('../src/client');
|
||||
var client = require('../lib/dist');
|
||||
var Long = require('long');
|
||||
|
||||
const streamSize = 100;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
var util = require('util');
|
||||
var uuid = require('uuid');
|
||||
var client = require('../src/client');
|
||||
var client = require('../lib/dist');
|
||||
const allCredentials = new client.UserCredentials("admin", "changeit");
|
||||
|
||||
function createRandomEvent() {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
const uuid = require('uuid');
|
||||
const client = require('../src/client');
|
||||
const client = require('../lib/dist');
|
||||
const allCredentials = new client.UserCredentials("admin", "changeit");
|
||||
|
||||
function delay(ms) {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
var uuid = require('uuid');
|
||||
var client = require('../src/client');
|
||||
var client = require('../lib/dist');
|
||||
var Long = require('long');
|
||||
|
||||
function createRandomEvent() {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
const uuid = require('uuid');
|
||||
const client = require('../src/client');
|
||||
const client = require('../lib/dist');
|
||||
const Long = require('long');
|
||||
|
||||
function delay(ms) {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
var uuid = require('uuid');
|
||||
var Long = require('long');
|
||||
var client = require('../src/client');
|
||||
var client = require('../lib/dist');
|
||||
|
||||
var ANY_VERSION = Long.fromNumber(client.expectedVersion.any);
|
||||
var NOSTREAM_VERSION = Long.fromNumber(client.expectedVersion.noStream);
|
||||
|
|
|
@ -1,8 +1,10 @@
|
|||
module.exports = {
|
||||
mode: "none",
|
||||
entry: "./src/client.js",
|
||||
target: "node",
|
||||
output: {
|
||||
filename: "./lib/dist.js",
|
||||
path: process.env.PWD + "/lib",
|
||||
filename: "dist.js",
|
||||
libraryTarget: "commonjs2"
|
||||
},
|
||||
externals: [
|
||||
|
|
Loading…
Reference in New Issue
Block a user