This repository was archived by the owner on Jun 16, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77 - uses : actions/checkout@v2
88 - uses : actions/setup-node@v1
99 - run : " yarn"
10+ - run : " yarn lint && yarn typecheck"
1011 - run : " yarn test"
Original file line number Diff line number Diff line change 11module . exports = {
2- preset : 'ts-jest' ,
3- testEnvironment : 'node' ,
4- } ;
2+ preset : "ts-jest" ,
3+ testEnvironment : "node" ,
4+ testPathIgnorePatterns : [ "/node_modules/" , "/dist/" ] ,
5+ } ;
Original file line number Diff line number Diff line change 88 " middleware" ,
99 " typescript"
1010 ],
11- "main" : " dist/index.js" ,
12- "types" : " dist/index.d.ts" ,
11+ "main" : " dist/src/ index.js" ,
12+ "types" : " dist/src/ index.d.ts" ,
1313 "files" : [
14- " dist/index.js" ,
15- " dist/index.d.ts"
14+ " dist/src/ index.js" ,
15+ " dist/src/ index.d.ts"
1616 ],
1717 "author" : {
1818 "email" : " sergio@codecoolture.com" ,
4949 "typescript" : " ^3.9.7"
5050 },
5151 "scripts" : {
52+ "lint" : " eslint . --ext .ts" ,
5253 "prepublish" : " yarn test && tsc" ,
5354 "preversion" : " yarn test && tsc" ,
5455 "postversion" : " git push --tags && yarn publish . --new-version $npm_package_version && git push && echo \" Successfully released version $npm_package_version!\" " ,
55- "test" : " jest"
56+ "test" : " jest" ,
57+ "typecheck" : " tsc --noEmit"
5658 },
5759 "husky" : {
5860 "hooks" : {
Original file line number Diff line number Diff line change 6565 /* Advanced Options */
6666 "skipLibCheck" : true /* Skip type checking of declaration files. */ ,
6767 "forceConsistentCasingInFileNames" : true /* Disallow inconsistently-cased references to the same file. */
68- },
69- "exclude" : [" ./tests/**/*.ts" ],
70- "include" : [" ./src/**/*.ts" ]
68+ }
7169}
You can’t perform that action at this time.
0 commit comments