File tree 5 files changed +511
-2650
lines changed
5 files changed +511
-2650
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 2
2
"name" : " @electron/notarize" ,
3
3
"version" : " 0.0.0-development" ,
4
4
"description" : " Notarize your Electron app" ,
5
- "main" : " lib/index.js" ,
5
+ "type" : " module" ,
6
+ "exports" : " ./lib/index.js" ,
6
7
"typings" : " lib/index.d.ts" ,
7
8
"author" : " Samuel Attard" ,
8
9
"license" : " MIT" ,
20
21
"lint" : " prettier --check \" src/**/*.ts\" " ,
21
22
"prettier:write" : " prettier --write \" src/**/*.ts\" " ,
22
23
"prepare" : " yarn build" ,
23
- "test" : " jest "
24
+ "test" : " vitest "
24
25
},
25
26
"files" : [
26
27
" lib"
32
33
"provenance" : true
33
34
},
34
35
"devDependencies" : {
36
+ "@tsconfig/node22" : " ^22.0.0" ,
35
37
"@types/debug" : " ^4.1.12" ,
36
- "@types/jest" : " ^29.0.0" ,
37
38
"@types/node" : " ~22.10.7" ,
38
39
"@types/promise-retry" : " ^1.1.3" ,
39
- "jest" : " ^29.0.0" ,
40
40
"prettier" : " ^3.4.2" ,
41
- "ts-jest" : " ^29.0.0" ,
42
41
"typedoc" : " ~0.25.13" ,
43
42
"typedoc-plugin-missing-exports" : " ^2.2.0" ,
44
- "typescript" : " ~5.4.5"
43
+ "typescript" : " ~5.4.5" ,
44
+ "vitest" : " ^3.0.8"
45
45
},
46
46
"dependencies" : {
47
47
"debug" : " ^4.4.0" ,
Original file line number Diff line number Diff line change
1
+ import { describe , expect , test } from 'vitest' ;
1
2
import { parseNotarizationInfo } from '../src/helpers' ;
2
3
3
4
describe ( 'helpers' , ( ) => {
Original file line number Diff line number Diff line change 1
1
{
2
- "compilerOptions" : {
3
- "module" : " commonjs" ,
4
- "target" : " es2015" ,
5
- "outDir" : " lib" ,
6
- "sourceMap" : true ,
7
- "rootDir" : " src" ,
8
- "experimentalDecorators" : true ,
9
- "strictNullChecks" : true ,
10
- "noUnusedLocals" : true ,
11
- "noImplicitThis" : true ,
12
- "noImplicitAny" : true ,
13
- "declaration" : true ,
14
- "skipDefaultLibCheck" : true ,
15
- "skipLibCheck" : true ,
16
- "esModuleInterop" : true
17
- },
18
- "include" : [
19
- " src/**/*"
20
- ],
2
+ "extends" : " @tsconfig/node22/tsconfig.json" ,
3
+ "compilerOptions" : {
4
+ "sourceMap" : true ,
5
+ "outDir" : " lib" ,
6
+ "types" : [" node" ],
7
+ "declaration" : true
8
+ },
9
+ "include" : [" src" ]
21
10
}
You can’t perform that action at this time.
0 commit comments