fix(core): update
This commit is contained in:
parent
1b13da477f
commit
93dd523278
11266
package-lock.json
generated
11266
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
22
package.json
22
package.json
@ -3,8 +3,8 @@
|
|||||||
"version": "1.0.7",
|
"version": "1.0.7",
|
||||||
"private": false,
|
"private": false,
|
||||||
"description": "beautiful logging for the browser",
|
"description": "beautiful logging for the browser",
|
||||||
"main": "dist/index.js",
|
"main": "dist_ts/index.js",
|
||||||
"typings": "dist/index.d.ts",
|
"typings": "dist_ts/index.d.ts",
|
||||||
"author": "Lossless GmbH",
|
"author": "Lossless GmbH",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
@ -13,16 +13,16 @@
|
|||||||
"build": "(tsbuild)"
|
"build": "(tsbuild)"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@gitzone/tsbuild": "^2.0.22",
|
"@gitzone/tsbuild": "^2.1.24",
|
||||||
"@gitzone/tstest": "^1.0.15",
|
"@gitzone/tstest": "^1.0.33",
|
||||||
"@pushrocks/smartlog": "^2.0.9",
|
"@pushrocks/smartlog": "^2.0.21",
|
||||||
"@pushrocks/tapbundle": "^3.0.7",
|
"@pushrocks/tapbundle": "^3.2.1",
|
||||||
"@types/node": "^10.12.5",
|
"@types/node": "^14.0.11",
|
||||||
"parcel-bundler": "^1.10.3",
|
"parcel-bundler": "^1.12.4",
|
||||||
"tslint": "^5.11.0",
|
"tslint": "^6.1.2",
|
||||||
"tslint-config-prettier": "^1.15.0"
|
"tslint-config-prettier": "^1.18.0"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@pushrocks/smartlog-interfaces": "^2.0.3"
|
"@pushrocks/smartlog-interfaces": "^2.0.15"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
12
test/test.ts
12
test/test.ts
@ -29,7 +29,11 @@ tap.test('should log a normal message', async () => {
|
|||||||
type: 'log',
|
type: 'log',
|
||||||
context: logContext,
|
context: logContext,
|
||||||
level: 'info',
|
level: 'info',
|
||||||
message: 'wait, what? Hi, this is a message!'
|
message: 'wait, what? Hi, this is a message!',
|
||||||
|
correlation: {
|
||||||
|
id: '123',
|
||||||
|
type: 'none'
|
||||||
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -39,7 +43,11 @@ tap.test('should log a success message', async () => {
|
|||||||
context: logContext,
|
context: logContext,
|
||||||
type: 'log',
|
type: 'log',
|
||||||
level: 'info',
|
level: 'info',
|
||||||
message: 'success: Hi, this is a message!'
|
message: 'success: Hi, this is a message!',
|
||||||
|
correlation: {
|
||||||
|
id: '123',
|
||||||
|
type: 'none'
|
||||||
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user