File tree 4 files changed +14
-10
lines changed
4 files changed +14
-10
lines changed Original file line number Diff line number Diff line change
1
+ access = public
Original file line number Diff line number Diff line change @@ -4,6 +4,8 @@ A library for using TelemetryDeck in your React app.
4
4
5
5
[ ![ semantic-release: angular] ( https://img.shields.io/badge/semantic--release-angular-e10079?logo=semantic-release )] ( https://github.com/semantic-release/semantic-release )
6
6
7
+ [ ![ Test and 🚀 Release] ( https://github.com/peerigon/telemetrydeck-vue/actions/workflows/test_and_release.yml/badge.svg )] ( https://github.com/peerigon/telemetrydeck-vue/actions/workflows/test_and_release.yml )
8
+
7
9
## Installation
8
10
9
11
``` shell
Original file line number Diff line number Diff line change 3
3
"private" : false ,
4
4
"version" : " 0.0.0" ,
5
5
"type" : " module" ,
6
- "main" : " dist/index.cjs " ,
6
+ "main" : " dist/index.js " ,
7
7
"module" : " dist/index.mjs" ,
8
- "types" : " dist/index.d.ts" ,
9
8
"scripts" : {
10
9
"dev" : " vite" ,
11
10
"size" : " size-limit" ,
20
19
"limit" : " 10 kB"
21
20
},
22
21
{
23
- "path" : " dist/index.cjs " ,
22
+ "path" : " dist/index.js " ,
24
23
"limit" : " 10 kB"
25
24
}
26
25
],
Original file line number Diff line number Diff line change @@ -12,15 +12,21 @@ export default [
12
12
{
13
13
format : 'esm' ,
14
14
file : 'dist/index.mjs' ,
15
+ exports : 'named' ,
15
16
plugins : [ terser ( ) ]
16
17
} ,
17
18
{
18
19
format : 'cjs' ,
19
- file : 'dist/index.cjs' ,
20
+ file : 'dist/index.js' ,
21
+ exports : 'named' ,
20
22
plugins : [ terser ( ) ]
21
23
}
22
24
] ,
23
25
plugins : [
26
+ del ( { targets : 'dist/*' } ) ,
27
+ peerDepsExternal ( ) ,
28
+ nodeResolve ( ) ,
29
+ commonjs ( ) ,
24
30
typescript ( {
25
31
tsconfig : 'tsconfig.node.json' ,
26
32
check : false ,
@@ -31,11 +37,7 @@ export default [
31
37
declarationMap : true ,
32
38
}
33
39
}
34
- } ) ,
35
- peerDepsExternal ( ) ,
36
- nodeResolve ( ) ,
37
- commonjs ( ) ,
38
- del ( { targets : 'dist/*' } )
40
+ } )
39
41
]
40
42
}
41
- ]
43
+ ]
You can’t perform that action at this time.
0 commit comments