chore: update scripts

This commit is contained in:
PalmDevs
2023-11-26 02:17:15 +07:00
parent 475ae30c86
commit a609187174
4 changed files with 9 additions and 21 deletions

View File

@@ -24,7 +24,7 @@ To start developing, you'll need to set up the development environment first.
4. Build packages/libraries
```sh
bun build:deps
bun build:libs
```
5. Change your directory to this project's root

View File

@@ -17,6 +17,7 @@ const parseTextEventHandler: EventHandler<ClientOperation.ParseText> = async (
try {
const { intents } = await witClient.message(text, {})
// eslint-disable-next-line @typescript-eslint/no-unused-vars
const intentsWithoutIds = intents.map(({ id, ...rest }) => rest)
await client.send({

View File

@@ -9,15 +9,14 @@
"packages/*"
],
"scripts": {
"build": "bun task build",
"build": "turbo run build",
"watch": "turbo run watch",
"format": "prettier --write .",
"format:check": "prettier --check .",
"lint": "eslint .",
"lint:apply": "eslint --fix .",
"commitlint": "commitlint --edit",
"format": "turbo run format",
"format:check": "turbo run format:check",
"lint": "turbo run lint",
"lint:apply": "turbo run lint:apply",
"watch": "bun task watch",
"task": "turbo run",
"t": "bun task",
"t": "turbo run",
"prepare": "lefthook install"
},
"repository": {

View File

@@ -9,18 +9,6 @@
"watch": {
"dependsOn": ["^watch"],
"outputMode": "errors-only"
},
"format": {
"dependsOn": ["^format"],
"outputMode": "errors-only"
},
"lint": {
"dependsOn": ["^lint"],
"outputMode": "errors-only"
},
"lint:apply": {
"dependsOn": ["^lint:apply"],
"outputMode": "errors-only"
}
}
}