Skip to content

Commit

Permalink
chore: use shared ts config
Browse files Browse the repository at this point in the history
  • Loading branch information
wkillerud committed Sep 27, 2024
1 parent 32f2851 commit 1ddad35
Show file tree
Hide file tree
Showing 6 changed files with 157 additions and 22 deletions.
143 changes: 143 additions & 0 deletions package-lock.json

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

2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,12 @@
},
"devDependencies": {
"@podium/eslint-config": "1.0.0",
"@podium/typescript-config": "1.0.0",
"@qiwi/multi-semantic-release": "7.1.2",
"@semantic-release/changelog": "6.0.3",
"@semantic-release/git": "10.0.1",
"eslint": "9.11.1",
"npm-run-all2": "6.2.3",
"patch-package": "8.0.0",
"prettier": "3.3.3",
"semantic-release": "23.1.1",
Expand Down
4 changes: 3 additions & 1 deletion packages/server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@
"lint": "eslint .",
"lint:fix": "eslint --fix .",
"test": "node --test",
"types": "tsc --declaration --emitDeclarationOnly"
"types": "run-s types:tsc types:test",
"types:tsc": "tsc",
"types:test": "tsc --project tsconfig.test.json"
},
"author": "Richard Walker <richard.walker@schibsted.com>",
"devDependencies": {
Expand Down
11 changes: 5 additions & 6 deletions packages/server/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{
"extends": "../../tsconfig.json",
"include": ["./lib/**/*.js"],
"exclude": ["./lib/**/*.test.js"],
"compilerOptions": {
"outDir": "types"
}
"extends": "@podium/typescript-config/module.json",
"include": ["./lib/**/*.js"],
"compilerOptions": {
"outDir": "types"
}
}
4 changes: 4 additions & 0 deletions packages/server/tsconfig.test.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"extends": "@podium/typescript-config/test.json",
"include": ["./lib/**/*.test.js"]
}
15 changes: 0 additions & 15 deletions tsconfig.json

This file was deleted.

0 comments on commit 1ddad35

Please sign in to comment.