From a76a3946793392fc02d4e922cbca8b9ffee89de3 Mon Sep 17 00:00:00 2001 From: Mehrshad Date: Mon, 18 Sep 2023 17:30:03 +0330 Subject: [PATCH] package.json,CI.yml: add devDependencies These are packages that are only needed for local development and testing and adding them will make it easier to develop your application. They are not required when your application is deployed in production. Also print the typescript version on the CI as well. --- .github/workflows/CI.yml | 1 + package.json | 7 ++++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index e389d9f8..fd597b3e 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -97,6 +97,7 @@ jobs: git --version node --version npm --version + npx tsc --version npx commitlint --version yarn --version - name: Run tests to validate our plugins diff --git a/package.json b/package.json index 7950d632..96451d13 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,11 @@ { "dependencies": { - "cosmiconfig": "8.0.0" + "cosmiconfig": "8.0.0" + }, + "devDependencies": { + "@commitlint/types": "^17.4.4", + "@types/jest": "^29.5.5", + "@types/node": "^20.6.2" } } \ No newline at end of file