feat: adding standard scripts for lint and format check (#7326)

* feat: adding standard scripts for lint and format check

* fix: update packages scripts

* fix: adding tsup config to utils package

* chore: updated build scripts in logger pacakge
This commit is contained in:
sriram veeraghanta 2025-07-04 14:23:18 +05:30 committed by GitHub
parent f2a87e8f15
commit ba884d1e4d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
22 changed files with 135 additions and 65 deletions

View file

@ -7,8 +7,12 @@
"main": "./src/index.ts",
"types": "./src/index.ts",
"scripts": {
"lint": "eslint src --ext .ts,.tsx",
"lint:errors": "eslint src --ext .ts,.tsx --quiet"
"check:lint": "eslint . --max-warnings 0",
"check:types": "tsc --noEmit",
"check:format": "prettier --check \"**/*.{ts,tsx,md,json,css,scss}\"",
"fix:lint": "eslint . --fix",
"fix:format": "prettier --write \"**/*.{ts,tsx,md,json,css,scss}\"",
"clean": "rm -rf .turbo && rm -rf .next && rm -rf node_modules && rm -rf dist"
},
"dependencies": {
"zod": "^3.22.2"