@devtron-labs/devtron-fe-common-lib 0.0.48-beta-7 → 0.0.48-beta-8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.husky/pre-commit CHANGED
@@ -1,4 +1,5 @@
1
1
  #!/bin/sh
2
2
  . "$(dirname "$0")/_/husky.sh"
3
3
 
4
+ npx tsc --noEmit
4
5
  npm run lint-staged
package/.lintstagedrc CHANGED
@@ -1,5 +1,3 @@
1
1
  {
2
- "*.{js,jsx,ts,tsx}": [
3
- "npx eslint --max-warnings 0"
4
- ]
2
+ "*.{js,jsx,ts,tsx}": ["npx eslint --max-warnings 0"]
5
3
  }
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@devtron-labs/devtron-fe-common-lib",
3
- "version": "0.0.48-beta-7",
3
+ "version": "0.0.48-beta-8",
4
4
  "description": "Supporting common component library",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
7
7
  "prepare": "husky install",
8
- "lint": "eslint 'src/**/*.{js,jsx,ts,tsx}' --max-warnings 0",
8
+ "lint": "tsc --noEmit && eslint 'src/**/*.{js,jsx,ts,tsx}' --max-warnings 0",
9
9
  "lint-fix": "eslint 'src/**/*.{js,jsx,ts,tsx}' --fix",
10
10
  "test": "exit 0",
11
11
  "build-lib": "rollup -c --bundleConfigAsCjs",