File tree Expand file tree Collapse file tree 3 files changed +14
-11
lines changed Expand file tree Collapse file tree 3 files changed +14
-11
lines changed Original file line number Diff line number Diff line change 8
8
runs-on : ubuntu-latest
9
9
strategy :
10
10
matrix :
11
- nodejs : [10, 12, 14]
11
+ nodejs : [12, 14, 16 ]
12
12
steps :
13
13
- uses : actions/checkout@v2
14
- - uses : actions/setup-node@v1
14
+ - uses : actions/setup-node@v2
15
15
with :
16
16
node-version : ${{ matrix.nodejs }}
17
17
27
27
run : nyc --include=src npm test
28
28
29
29
- name : Report
30
- if : matrix.nodejs >= 14
30
+ if : matrix.nodejs >= 16
31
31
run : |
32
32
nyc report --reporter=text-lcov > coverage.lcov
33
33
bash <(curl -s https://codecov.io/bash)
Original file line number Diff line number Diff line change 26
26
"./package.json" : " ./package.json"
27
27
},
28
28
"engines" : {
29
- "node" : " >= 10 "
29
+ "node" : " >=12 "
30
30
},
31
31
"scripts" : {
32
32
"build" : " rollup -c" ,
33
33
"prepublishOnly" : " npm run build" ,
34
- "test" : " uvu -r ts-node/register test"
34
+ "types" : " tsc --noEmit" ,
35
+ "test" : " uvu -r tsm test"
35
36
},
36
37
"keywords" : [
37
38
" TODO" ,
38
39
" module" ,
39
40
" keywords"
40
41
],
41
42
"devDependencies" : {
42
- "@rollup/plugin-node-resolve" : " 8 .1.0 " ,
43
- "rollup" : " 2.21.0 " ,
44
- "rollup-plugin-terser" : " 6.1.0 " ,
43
+ "@rollup/plugin-node-resolve" : " 13 .1.3 " ,
44
+ "rollup" : " 2.66.1 " ,
45
+ "rollup-plugin-terser" : " 7.0.2 " ,
45
46
"rollup-plugin-typescript2" : " 0.27.1" ,
46
- "ts-node " : " 8.10.2 " ,
47
- "typescript" : " 3.9.6 " ,
48
- "uvu" : " 0.0.19 "
47
+ "tsm " : " 2.2.1 " ,
48
+ "typescript" : " 4.5.5 " ,
49
+ "uvu" : " 0.5.3 "
49
50
}
50
51
}
Original file line number Diff line number Diff line change @@ -13,11 +13,13 @@ export default {
13
13
format : 'cjs' ,
14
14
file : pkg . main ,
15
15
sourcemap : false ,
16
+ esModule : false ,
16
17
} , {
17
18
name : pkg [ 'umd:name' ] || pkg . name ,
18
19
format : 'umd' ,
19
20
file : pkg . unpkg ,
20
21
sourcemap : false ,
22
+ esModule : false ,
21
23
plugins : [
22
24
terser ( )
23
25
]
You can’t perform that action at this time.
0 commit comments