fix(core): update
This commit is contained in:
parent
1b13da477f
commit
93dd523278
11284
package-lock.json
generated
11284
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",
|
||||
"private": false,
|
||||
"description": "beautiful logging for the browser",
|
||||
"main": "dist/index.js",
|
||||
"typings": "dist/index.d.ts",
|
||||
"main": "dist_ts/index.js",
|
||||
"typings": "dist_ts/index.d.ts",
|
||||
"author": "Lossless GmbH",
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
@ -13,16 +13,16 @@
|
||||
"build": "(tsbuild)"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@gitzone/tsbuild": "^2.0.22",
|
||||
"@gitzone/tstest": "^1.0.15",
|
||||
"@pushrocks/smartlog": "^2.0.9",
|
||||
"@pushrocks/tapbundle": "^3.0.7",
|
||||
"@types/node": "^10.12.5",
|
||||
"parcel-bundler": "^1.10.3",
|
||||
"tslint": "^5.11.0",
|
||||
"tslint-config-prettier": "^1.15.0"
|
||||
"@gitzone/tsbuild": "^2.1.24",
|
||||
"@gitzone/tstest": "^1.0.33",
|
||||
"@pushrocks/smartlog": "^2.0.21",
|
||||
"@pushrocks/tapbundle": "^3.2.1",
|
||||
"@types/node": "^14.0.11",
|
||||
"parcel-bundler": "^1.12.4",
|
||||
"tslint": "^6.1.2",
|
||||
"tslint-config-prettier": "^1.18.0"
|
||||
},
|
||||
"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',
|
||||
context: logContext,
|
||||
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,
|
||||
type: 'log',
|
||||
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