feat(packages/shared): add logger factory

- @revanced/websocket-api now also utilizes the new logger from the shared package
- @revanced/websocket-api/utils/checkEnv has been renamed to its full form
  - It also no longer returns anything as it's no longer needed
This commit is contained in:
PalmDevs
2023-11-29 00:52:17 +07:00
parent f2d85c32a4
commit 17c6be7bee
20 changed files with 179 additions and 234 deletions

View File

@@ -1,38 +1,11 @@
{
"name": "revanced-helper",
"version": "0.0.0",
"description": "🤖 Bots assisting ReVanced on multiple platforms",
"private": true,
"workspaces": [
"apis/*",
"bots/*",
"packages/*"
],
"scripts": {
"build": "turbo run build",
"watch": "turbo run watch",
"format": "prettier --ignore-path .gitignore --write .",
"format:check": "prettier --ignore-path .gitignore --cache --check .",
"lint": "eslint --ignore-path .gitignore --cache .",
"lint:apply": "eslint --ignore-path .gitignore --fix .",
"commitlint": "commitlint --edit",
"t": "turbo run",
"prepare": "lefthook install"
},
"author": "Palm <palmpasuthorn@gmail.com> (https://github.com/PalmDevs)",
"repository": {
"type": "git",
"url": "git+https://github.com/revanced/revanced-helper.git"
},
"author": "Palm <palmpasuthorn@gmail.com> (https://github.com/PalmDevs)",
"contributors": [
"Palm <palmpasuthorn@gmail.com> (https://github.com/PalmDevs)",
"ReVanced <nosupport@revanced.app> (https://github.com/revanced)"
],
"license": "GPL-3.0-or-later",
"bugs": {
"url": "https://github.com/revanced/revanced-helper/issues"
},
"homepage": "https://github.com/revanced/revanced-helper#readme",
"devDependencies": {
"@biomejs/biome": "1.3.3",
"@commitlint/cli": "^18.4.3",
@@ -48,9 +21,36 @@
"turbo": "^1.10.16",
"typescript": "^5.3.2"
},
"bugs": {
"url": "https://github.com/revanced/revanced-helper/issues"
},
"contributors": [
"Palm <palmpasuthorn@gmail.com> (https://github.com/PalmDevs)",
"ReVanced <nosupport@revanced.app> (https://github.com/revanced)"
],
"description": "🤖 Bots assisting ReVanced on multiple platforms",
"homepage": "https://github.com/revanced/revanced-helper#readme",
"license": "GPL-3.0-or-later",
"overrides": {
"uuid": ">=9.0.0",
"isomorphic-fetch": ">=3.0.0"
},
"trustedDependencies": ["lefthook", "biome", "turbo"]
"private": true,
"scripts": {
"build": "turbo run build",
"watch": "turbo run watch",
"format": "prettier --ignore-path .gitignore --write .",
"format:check": "prettier --ignore-path .gitignore --cache --check .",
"lint": "eslint --ignore-path .gitignore --cache .",
"lint:apply": "eslint --ignore-path .gitignore --fix .",
"commitlint": "commitlint --edit",
"t": "turbo run",
"prepare": "lefthook install"
},
"trustedDependencies": ["lefthook", "biome", "turbo"],
"workspaces": [
"apis/*",
"bots/*",
"packages/*"
]
}