mirror of
https://github.com/ReVanced/revanced-bots.git
synced 2026-01-20 01:33:59 +00:00
chore: update scripts
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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({
|
||||
|
||||
15
package.json
15
package.json
@@ -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": {
|
||||
|
||||
12
turbo.json
12
turbo.json
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user