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 = {
33 browser : true ,
44 } ,
55 extends : [ '../../.eslintrc.js' ] ,
6- ignorePatterns : [ 'setup-jest .ts' ] ,
6+ ignorePatterns : [ 'setup-test.ts' , 'patch-vitest .ts'] ,
77} ;
Original file line number Diff line number Diff line change 99 "engines" : {
1010 "node" : " >=14.18"
1111 },
12- "main " : " build/esm2020/sentry-angular.mjs " ,
12+ "type " : " module " ,
1313 "module" : " build/fesm2015/sentry-angular.mjs" ,
1414 "publishConfig" : {
1515 "access" : " public"
5656 "fix" : " eslint . --format stylish --fix" ,
5757 "lint" : " eslint . --format stylish" ,
5858 "test" : " yarn test:unit" ,
59- "test:unit" : " vitest" ,
59+ "test:unit" : " vitest run " ,
6060 "test:unit:watch" : " vitest --watch" ,
6161 "yalc:publish" : " yalc publish build --push --sig"
6262 },
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ export function init(options: BrowserOptions): void {
3030}
3131
3232function checkAndSetAngularVersion ( ) : void {
33- const ANGULAR_MINIMUM_VERSION = 15 ;
33+ const ANGULAR_MINIMUM_VERSION = 14 ;
3434
3535 const angularVersion = VERSION && VERSION . major ? parseInt ( VERSION . major , 10 ) : undefined ;
3636
Original file line number Diff line number Diff line change 11{
22 "extends" : " ../../tsconfig.json" ,
33
4- "include" : [" src/**/*" ],
4+ "include" : [" **/*.ts" , " src/**/*" ],
5+
6+ "exclude" : [" patch-vitest.ts" , " setup-test.ts" ],
57
68 "compilerOptions" : {
79 // package-specific options
Original file line number Diff line number Diff line change 55
66 "compilerOptions" : {
77 // should include all types from `./tsconfig.json` plus types for all test frameworks used
8- "types" : [" jest" ],
9- "module" : " CommonJs" ,
8+ "types" : [" vitest/globals" ],
109
1110 // other package-specific, test-specific options
1211 }
You can’t perform that action at this time.
0 commit comments