🔨 Update type-check script (#1164)

This commit is contained in:
Luke Vella 2024-06-19 11:32:01 +01:00 committed by GitHub
parent 997a1eec78
commit e5be3166ea
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 7 additions and 7 deletions

View file

@ -21,7 +21,7 @@ jobs:
- uses: ./.github/actions/yarn-install
- name: Check types
run: yarn lint:tsc
run: yarn type-check
linting:
name: Linting

View file

@ -8,7 +8,7 @@
"analyze": "cross-env ANALYZE=true next build",
"start": "next start",
"lint": "eslint .",
"lint:tsc": "tsc --noEmit",
"type-check": "tsc --pretty --noEmit",
"i18n:scan": "i18next-scanner --config i18next-scanner.config.js",
"prettier": "prettier --write ./src"
},

View file

@ -9,7 +9,7 @@
"analyze": "cross-env ANALYZE=true next build",
"start": "next start",
"lint": "eslint .",
"lint:tsc": "tsc --noEmit",
"type-check": "tsc --pretty --noEmit",
"i18n:scan": "i18next-scanner --config i18next-scanner.config.js",
"prettier": "prettier --write ./src",
"test:integration": "NODE_ENV=test playwright test",

View file

@ -20,7 +20,7 @@
"test:unit": "turbo test:unit",
"lint": "turbo lint",
"i18n:scan": "turbo i18n:scan",
"lint:tsc": "turbo lint:tsc",
"type-check": "turbo type-check",
"prettier": "prettier --write .",
"release": "./scripts/create-release.sh"
},

View file

@ -4,7 +4,7 @@
"private": true,
"scripts": {
"lint": "eslint .",
"lint:tsc": "tsc --noEmit"
"type-check": "tsc --pretty --noEmit"
},
"main": "src/index.ts",
"types": "src/index.ts",

View file

@ -5,7 +5,7 @@
"scripts": {
"dev": "email dev --port 3333 --dir ./src/templates",
"lint": "eslint ./src",
"lint:tsc": "tsc --noEmit"
"type-check": "tsc --pretty --noEmit"
},
"main": "./src/index.ts",
"types": "./src/index.ts",

View file

@ -36,7 +36,7 @@
"lint": {
"outputs": []
},
"lint:tsc": {
"type-check": {
"outputs": []
},
"dev": {