Skip to content

Commit

Permalink
chore!: update typescript to ~5.5.0-beta (#37)
Browse files Browse the repository at this point in the history
* chore!: update typescript to ~5.5.0-beta

* test: add tsconfig validation
  • Loading branch information
voxpelli authored Apr 29, 2024
1 parent 431dec7 commit a62a4a3
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 8 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/external.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,10 @@ permissions:
contents: read

jobs:
lint:
uses: voxpelli/ghatemplates/.github/workflows/lint.yml@main
read_external_projects:
needs: lint
name: Read list of ${{ github.event.inputs.moduleSet || 'compliant' }} external projects
runs-on: ubuntu-latest
outputs:
Expand Down
3 changes: 3 additions & 0 deletions .husky/pre-push
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env sh

npm test
10 changes: 5 additions & 5 deletions package-lock.json

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

7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,16 @@
"recommended.json"
],
"scripts": {
"check": "tsc",
"prepare": "husky",
"test": "echo \"No tests added\""
"test": "tsc"
},
"devDependencies": {
"husky": "^9.0.11",
"typescript": "~5.4.2",
"typescript": "~5.5.0-beta",
"validate-conventional-commit": "^1.0.3"
},
"peerDependencies": {
"typescript": "~5.4.2"
"typescript": "~5.5.0-beta"
}
}
1 change: 1 addition & 0 deletions test.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
// Simply exists to validate the tsconfig
6 changes: 6 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"extends": "./node18.json",
"files": [
"test.js"
]
}

0 comments on commit a62a4a3

Please sign in to comment.