File tree Expand file tree Collapse file tree 5 files changed +8
-7
lines changed Expand file tree Collapse file tree 5 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -3,5 +3,5 @@ module.exports = {
3
3
browser : true ,
4
4
} ,
5
5
extends : [ '../../.eslintrc.js' ] ,
6
- ignorePatterns : [ 'setup-jest .ts' ] ,
6
+ ignorePatterns : [ 'setup-test.ts' , 'patch-vitest .ts'] ,
7
7
} ;
Original file line number Diff line number Diff line change 9
9
"engines" : {
10
10
"node" : " >=14.18"
11
11
},
12
- "main " : " build/esm2020/sentry-angular.mjs " ,
12
+ "type " : " module " ,
13
13
"module" : " build/fesm2015/sentry-angular.mjs" ,
14
14
"publishConfig" : {
15
15
"access" : " public"
56
56
"fix" : " eslint . --format stylish --fix" ,
57
57
"lint" : " eslint . --format stylish" ,
58
58
"test" : " yarn test:unit" ,
59
- "test:unit" : " vitest" ,
59
+ "test:unit" : " vitest run " ,
60
60
"test:unit:watch" : " vitest --watch" ,
61
61
"yalc:publish" : " yalc publish build --push --sig"
62
62
},
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ export function init(options: BrowserOptions): void {
30
30
}
31
31
32
32
function checkAndSetAngularVersion ( ) : void {
33
- const ANGULAR_MINIMUM_VERSION = 15 ;
33
+ const ANGULAR_MINIMUM_VERSION = 14 ;
34
34
35
35
const angularVersion = VERSION && VERSION . major ? parseInt ( VERSION . major , 10 ) : undefined ;
36
36
Original file line number Diff line number Diff line change 1
1
{
2
2
"extends" : " ../../tsconfig.json" ,
3
3
4
- "include" : [" src/**/*" ],
4
+ "include" : [" **/*.ts" , " src/**/*" ],
5
+
6
+ "exclude" : [" patch-vitest.ts" , " setup-test.ts" ],
5
7
6
8
"compilerOptions" : {
7
9
// package-specific options
Original file line number Diff line number Diff line change 5
5
6
6
"compilerOptions" : {
7
7
// should include all types from `./tsconfig.json` plus types for all test frameworks used
8
- "types" : [" jest" ],
9
- "module" : " CommonJs" ,
8
+ "types" : [" vitest/globals" ],
10
9
11
10
// other package-specific, test-specific options
12
11
}
You can’t perform that action at this time.
0 commit comments