Skip to content

Commit

Permalink
feat: add typescript, typechecking, document it in readme, add it to …
Browse files Browse the repository at this point in the history
…ci-pipeline
  • Loading branch information
BracketJohn committed Mar 1, 2023
1 parent 951be8b commit 6bdd1d9
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,5 @@ jobs:
node-version: 18.14.2

- run: npm install

- run: npm run typecheck
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ npm i

# Run application in development mode
npm run dev

# Typechecking
npm run typecheck
```


Expand Down
16 changes: 15 additions & 1 deletion package-lock.json

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

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"vite-node": "^0.29.2"
},
"devDependencies": {
"@types/node": "^18.14.2"
"@types/node": "^18.14.2",
"typescript": "^4.9.5"
}
}
5 changes: 5 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"compilerOptions": {
"strict": true
}
}

0 comments on commit 6bdd1d9

Please sign in to comment.