File tree 11 files changed +14
-2
lines changed 11 files changed +14
-2
lines changed Original file line number Diff line number Diff line change 7
7
"build:watch" : " lerna run build:watch --stream --no-sort --concurrency 9999" ,
8
8
"clean" : " lerna run --stream clean" ,
9
9
"fix" : " lerna run --stream --concurrency 1 fix" ,
10
+ "link:yarn" : " lerna run --stream --concurrency 1 link:yarn" ,
10
11
"lint" : " lerna run --stream --concurrency 1 lint" ,
11
12
"lint:json" : " lerna run --stream --concurrency 1 lint:tslint:json" ,
12
13
"test" : " lerna run --stream --concurrency 1 --sort test" ,
Original file line number Diff line number Diff line change 60
60
"build:esm:rewrite" : " node ../../scripts/esm-rewrite.js" ,
61
61
"build:watch" : " rollup --config --watch" ,
62
62
"clean" : " rimraf dist coverage .rpt2_cache build" ,
63
+ "link:yarn" : " yarn link" ,
63
64
"lint" : " run-s lint:prettier lint:tslint" ,
64
65
"lint:prettier" : " prettier-check \" {src,test}/**/*.ts\" " ,
65
66
"lint:tslint" : " tslint -t stylish -p ." ,
Original file line number Diff line number Diff line change 38
38
"build:esm:rewrite" : " node ../../scripts/esm-rewrite.js" ,
39
39
"build:watch" : " tsc -p tsconfig.build.json -w --preserveWatchOutput" ,
40
40
"clean" : " rimraf dist coverage" ,
41
+ "link:yarn" : " yarn link" ,
41
42
"lint" : " run-s lint:prettier lint:tslint" ,
42
43
"lint:prettier" : " prettier-check \" {src,test}/**/*.ts\" " ,
43
44
"lint:tslint" : " tslint -t stylish -p ." ,
Original file line number Diff line number Diff line change 36
36
"build:esm:rewrite" : " node ../../scripts/esm-rewrite.js" ,
37
37
"build:watch" : " tsc -p tsconfig.build.json -w --preserveWatchOutput" ,
38
38
"clean" : " rimraf dist coverage" ,
39
+ "link:yarn" : " yarn link" ,
39
40
"lint" : " run-s lint:prettier lint:tslint" ,
40
41
"lint:prettier" : " prettier-check \" {src,test}/**/*.ts\" " ,
41
42
"lint:tslint" : " tslint -t stylish -p ." ,
Original file line number Diff line number Diff line change 36
36
"build:esm:rewrite" : " node ../../scripts/esm-rewrite.js" ,
37
37
"build:watch" : " tsc -p tsconfig.build.json -w --preserveWatchOutput" ,
38
38
"clean" : " rimraf dist coverage" ,
39
+ "link:yarn" : " yarn link" ,
39
40
"lint" : " run-s lint:prettier lint:tslint" ,
40
41
"lint:prettier" : " prettier-check \" {src,test}/**/*.ts\" " ,
41
42
"lint:tslint" : " tslint -t stylish -p ." ,
Original file line number Diff line number Diff line change 44
44
"build" : " tsc -p tsconfig.build.json" ,
45
45
"build:watch" : " tsc -p tsconfig.build.json -w --preserveWatchOutput" ,
46
46
"clean" : " rimraf dist coverage" ,
47
+ "link:yarn" : " yarn link" ,
47
48
"lint" : " run-s lint:prettier lint:tslint" ,
48
49
"lint:prettier" : " prettier-check \" {src,test}/**/*.ts\" " ,
49
50
"lint:tslint" : " tslint -t stylish -p ." ,
Original file line number Diff line number Diff line change 37
37
"build:esm:rewrite" : " node ../../scripts/esm-rewrite.js" ,
38
38
"build:watch" : " tsc -p tsconfig.build.json -w --preserveWatchOutput" ,
39
39
"clean" : " rimraf dist coverage" ,
40
+ "link:yarn" : " yarn link" ,
40
41
"lint" : " run-s lint:prettier lint:tslint" ,
41
42
"lint:prettier" : " prettier-check \" {src,test}/**/*.ts\" " ,
42
43
"lint:tslint" : " tslint -t stylish -p ." ,
Original file line number Diff line number Diff line change @@ -137,10 +137,10 @@ export class Span extends opentracing.Span implements SpanInterface {
137
137
logs : this . logs . length === 0 ? undefined : this . logs ,
138
138
operation : this . operation ,
139
139
references : this . references && this . references ,
140
- span_id : this . spanContext . spanId ,
140
+ spanId : this . spanContext . spanId ,
141
141
startTime : this . startTime / 1000 ,
142
142
tags : Object . keys ( this . tags ) . length === 0 ? undefined : this . tags ,
143
- trace_id : this . spanContext . traceId ,
143
+ traceId : this . spanContext . traceId ,
144
144
} ;
145
145
}
146
146
}
Original file line number Diff line number Diff line change 28
28
"build:esm:transpile" : " tsc -p tsconfig.esm.json" ,
29
29
"build:esm:rewrite" : " node ../../scripts/esm-rewrite.js" ,
30
30
"build:watch" : " tsc -p tsconfig.build.json -w --preserveWatchOutput" ,
31
+ "link:yarn" : " yarn link" ,
31
32
"lint" : " run-s lint:prettier lint:tslint" ,
32
33
"lint:prettier" : " prettier-check \" {src,test}/**/*.ts\" " ,
33
34
"lint:tslint" : " tslint -t stylish -p ." ,
Original file line number Diff line number Diff line change 16
16
"peerDependencies" : {
17
17
"tslint" : " ^5.11.0" ,
18
18
"typescript" : " ^3.2.0"
19
+ },
20
+ "scripts" : {
21
+ "link:yarn" : " yarn link"
19
22
}
20
23
}
Original file line number Diff line number Diff line change 34
34
"build:esm:rewrite" : " node ../../scripts/esm-rewrite.js" ,
35
35
"build:watch" : " tsc -p tsconfig.build.json -w --preserveWatchOutput" ,
36
36
"clean" : " rimraf dist coverage *.js *.js.map *.d.ts" ,
37
+ "link:yarn" : " yarn link" ,
37
38
"lint" : " run-s lint:prettier lint:tslint" ,
38
39
"lint:prettier" : " prettier-check \" {src,test}/**/*.ts\" " ,
39
40
"lint:tslint" : " tslint -t stylish -p ." ,
You can’t perform that action at this time.
0 commit comments