Skip to content

Commit

Permalink
Add ts-reset
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanoverna committed Mar 20, 2024
1 parent 7bc2ed9 commit 04e364e
Show file tree
Hide file tree
Showing 9 changed files with 57 additions and 14 deletions.
13 changes: 13 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"devDependencies": {
"@apidevtools/json-schema-ref-parser": "^9.0.9",
"@biomejs/biome": "1.2.2",
"@total-typescript/ts-reset": "^0.5.1",
"@types/jest": "^29.5.6",
"@types/rimraf": "^3.0.2",
"@whatwg-node/fetch": "^0.9.14",
Expand Down
14 changes: 11 additions & 3 deletions packages/cma-client-browser/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,21 @@
"compilerOptions": {
"target": "es5",
"declarationDir": "dist/types",
"lib": ["es2015", "es2016", "es2017", "DOM"],
"lib": [
"es2015",
"es2016",
"es2017",
"DOM"
],
"outDir": "dist/cjs",
"typeRoots": [
"../../node_modules/@types",
"node_modules/@types",
"src/typings"
]
},
"include": ["src"]
}
"include": [
"../../reset.d.ts",
"src"
]
}
7 changes: 5 additions & 2 deletions packages/cma-client-node/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,8 @@
"src/typings"
]
},
"include": ["src"]
}
"include": [
"../../reset.d.ts",
"src"
]
}
7 changes: 5 additions & 2 deletions packages/cma-client/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,8 @@
"src/typings"
]
},
"include": ["src"]
}
"include": [
"../../reset.d.ts",
"src"
]
}
7 changes: 5 additions & 2 deletions packages/dashboard-client/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,8 @@
"src/typings"
]
},
"include": ["src"]
}
"include": [
"../../reset.d.ts",
"src"
]
}
14 changes: 11 additions & 3 deletions packages/rest-api-events/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,20 @@
"target": "es5",
"declarationDir": "dist/types",
"outDir": "dist/cjs",
"lib": ["es2015", "es2016", "es2017", "DOM"],
"lib": [
"es2015",
"es2016",
"es2017",
"DOM"
],
"typeRoots": [
"../../node_modules/@types",
"node_modules/@types",
"src/typings"
]
},
"include": ["src"]
}
"include": [
"../../reset.d.ts",
"src"
]
}
7 changes: 5 additions & 2 deletions packages/rest-client-utils/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,8 @@
"src/typings"
]
},
"include": ["src"]
}
"include": [
"../../reset.d.ts",
"src"
]
}
1 change: 1 addition & 0 deletions reset.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
import '@total-typescript/ts-reset';

0 comments on commit 04e364e

Please sign in to comment.