File tree Expand file tree Collapse file tree 2 files changed +23
-7
lines changed Expand file tree Collapse file tree 2 files changed +23
-7
lines changed Original file line number Diff line number Diff line change 1
1
{
2
- "version" : " 3.0.7 " ,
2
+ "version" : " 3.0.8 " ,
3
3
"license" : " Apache-2.0" ,
4
4
"main" : " dist/index.js" ,
5
5
"typings" : " dist/index.d.ts" ,
45
45
}
46
46
},
47
47
"devDependencies" : {
48
- "@size-limit/preset-small-lib" : " ^8.2 .4" ,
48
+ "@size-limit/preset-small-lib" : " ^11.1 .4" ,
49
49
"@types/uuid" : " ^9.0.2" ,
50
- "husky" : " ^8.0.0 " ,
50
+ "husky" : " ^9.1.5 " ,
51
51
"msw" : " ^1.2.1" ,
52
- "size-limit" : " ^8.2 .4" ,
52
+ "size-limit" : " ^11.1 .4" ,
53
53
"tsdx" : " ^0.14.1" ,
54
- "tslib" : " ^2.5.3 " ,
55
- "typescript" : " ^5.0 .4"
54
+ "tslib" : " ^2.7.0 " ,
55
+ "typescript" : " ^5.5 .4"
56
56
},
57
57
"dependencies" : {
58
58
"ajv" : " ^6.12.6" ,
59
- "axios" : " ^1.3.6 " ,
59
+ "axios" : " ^1.7.5 " ,
60
60
"date-fns" : " ^3.6.0" ,
61
61
"uuid" : " ^9.0.0"
62
62
}
Original file line number Diff line number Diff line change
1
+ // tsdx.config.js
2
+ const replace = require ( '@rollup/plugin-replace' ) ;
3
+
4
+ module . exports = {
5
+ rollup ( config , opts ) {
6
+ config . plugins = config . plugins . map ( p =>
7
+ p . name === 'replace'
8
+ ? replace ( {
9
+ 'process.env.NODE_ENV' : JSON . stringify ( opts . env ) ,
10
+ preventAssignment : true ,
11
+ } )
12
+ : p
13
+ ) ;
14
+ return config ;
15
+ } ,
16
+ } ;
You can’t perform that action at this time.
0 commit comments