Skip to content

Commit

Permalink
Revert "chore: setup cache input and format files when committing (#419
Browse files Browse the repository at this point in the history
…)"

This reverts commit ecb3584.
  • Loading branch information
santoshyadavdev authored Apr 10, 2023
1 parent 8f6f7e6 commit a96ce69
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 199 deletions.
3 changes: 2 additions & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

yarn lint-staged
yarn format:check
yarn lint
5 changes: 0 additions & 5 deletions lint-staged.config.mjs

This file was deleted.

3 changes: 1 addition & 2 deletions nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
"runner": "@nrwl/nx-cloud",
"options": {
"cacheableOperations": ["build", "test", "lint"],
"accessToken": "ZDc5YjI3NDItNzg5OS00YWM4LWE4ODItZjAzNjFkOWUwNzE3fHJlYWQtd3JpdGU=",
"runtimeCacheInputs": ["node -v", "node ./scripts/get-os.js"]
"accessToken": "ZDc5YjI3NDItNzg5OS00YWM4LWE4ODItZjAzNjFkOWUwNzE3fHJlYWQtd3JpdGU="
}
}
},
Expand Down
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
"build": "nx build",
"watch": "nx build --watch --configuration development",
"test": "nx test",
"format:write": "nx format:write",
"format:check": "nx format:check",
"format:check": "prettier --config ./.prettierrc --list-different \"{projects,src}/**/*{.ts,.js,.json,.html,.scss}\"",
"format:all": "prettier --config ./.prettierrc --write \"{projects,src}/**/*{.ts,.js,.json,.html,.scss}\"",
"build:lib": "nx build @ngu/carousel",
"build:lib:watch": "nx build @ngu/carousel --watch",
"build:app": "nx build",
Expand Down Expand Up @@ -70,7 +70,6 @@
"karma-coverage": "2.2.0",
"karma-jasmine": "5.1.0",
"karma-jasmine-html-reporter": "2.0.0",
"lint-staged": "^13.2.0",
"ng-packagr": "15.0.1",
"nx": "15.4.1",
"postcss": "^8.4.5",
Expand Down
5 changes: 0 additions & 5 deletions scripts/get-os.js

This file was deleted.

Loading

0 comments on commit a96ce69

Please sign in to comment.