Skip to content

Commit 48228d6

Browse files
committed
chore: add typechecks to CI
1 parent 5211a71 commit 48228d6

File tree

7 files changed

+412
-350
lines changed

7 files changed

+412
-350
lines changed

.github/workflows/tests.yml

+3
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ jobs:
5252
- name: Install Playwright browsers
5353
run: pnpm exec playwright install --with-deps
5454

55+
- name: Type Check
56+
run: pnpm ts
57+
5558
- name: Run e2e tests
5659
run: pnpm test:ci-e2e
5760

CHANGES.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## 0.4.1 (2024-11-27)
4+
5+
- Chore: typec-check in CI.
6+
37
## 0.4.0 (2024-11-20)
48

59
- Refactor: moved Vue tools into `@slipmatio/toolbelt/vue` package.

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ Vue tools (`vue` and `vue-router` required): `import { tool } from @slipmatio/to
3838

3939
### Testing
4040

41+
Type check: `pnpm ts`
42+
4143
#### Unittests
4244

4345
1. `pnpm test`

package.json

+8-8
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@slipmatio/toolbelt",
33
"type": "module",
4-
"version": "0.4.0",
4+
"version": "0.4.1",
55
"main": "dist/toolbelt.js",
66
"module": "dist/toolbelt.js",
77
"exports": {
@@ -26,23 +26,23 @@
2626
"test:e2e": "DEBUG=0 playwright test --ui",
2727
"test:ci-e2e": "DEBUG=0 playwright test",
2828
"coverage": "DEBUG=0 vitest run --coverage",
29-
"type-check": "DEBUG=0 vue-tsc --build --force"
29+
"ts": "DEBUG=0 vue-tsc --build --force"
3030
},
3131
"devDependencies": {
3232
"@playwright/test": "1.49.0",
3333
"@tsconfig/node20": "20.1.4",
34-
"@types/node": "22.9.1",
35-
"@vitejs/plugin-vue": "5.2.0",
36-
"@vitest/coverage-v8": "2.1.5",
34+
"@types/node": "22.10.0",
35+
"@vitejs/plugin-vue": "5.2.1",
36+
"@vitest/coverage-v8": "2.1.6",
3737
"@vue/test-utils": "2.4.6",
3838
"@vue/tsconfig": "0.6.0",
3939
"happy-dom": "15.11.6",
4040
"typescript": "5.6.3",
41-
"vite": "5.4.11",
41+
"vite": "6.0.0",
4242
"vite-plugin-dts": "4.3.0",
43-
"vitest": "2.1.5",
43+
"vitest": "2.1.6",
4444
"vue": "3.5.13",
45-
"vue-router": "4.4.5",
45+
"vue-router": "4.5.0",
4646
"vue-tsc": "2.1.10"
4747
},
4848
"peerDependencies": {

0 commit comments

Comments
 (0)