mirror of
https://github.com/hyperdxio/hyperdx
synced 2026-04-21 13:37:15 +00:00
dx: add 'setup' script command (#803)
Since "prepare" is no longer supported in Yarn 2+, the new setup command should ensure that pre-commit is set up properly
This commit is contained in:
parent
931d7387d9
commit
1df102cdaa
2 changed files with 2 additions and 2 deletions
2
Makefile
2
Makefile
|
|
@ -8,7 +8,7 @@ all: install-tools
|
|||
|
||||
.PHONY: install-tools
|
||||
install-tools:
|
||||
yarn install
|
||||
yarn setup
|
||||
@echo "All tools installed"
|
||||
|
||||
.PHONY: dev-build
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@
|
|||
"prettier": "3.3.3"
|
||||
},
|
||||
"scripts": {
|
||||
"prepare": "husky install",
|
||||
"setup": "yarn install && husky install",
|
||||
"app:dev": "npx concurrently -k -n 'API,APP,ALERTS-TASK,COMMON-UTILS' -c 'green.bold,blue.bold,yellow.bold,magenta' 'nx run @hyperdx/api:dev' 'nx run @hyperdx/app:dev' 'nx run @hyperdx/api:dev-task check-alerts' 'nx run @hyperdx/common-utils:dev'",
|
||||
"app:lint": "nx run @hyperdx/app:ci:lint",
|
||||
"dev": "docker compose -f docker-compose.dev.yml up -d && yarn app:dev && docker compose -f docker-compose.dev.yml down",
|
||||
|
|
|
|||
Loading…
Reference in a new issue