Update dependencies
This commit is contained in:
7 files changed
+2588
-2029
No files matched your search
@@ -1,21 +0,0 @@
|
||||
{
|
||||
"root": true,
|
||||
"parser": "@typescript-eslint/parser",
|
||||
"parserOptions": {
|
||||
"warnOnUnsupportedTypeScriptVersion": false,
|
||||
"sourceType": "module"
|
||||
},
|
||||
"env": {
|
||||
"browser": false,
|
||||
"node": true,
|
||||
"es6": true
|
||||
},
|
||||
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended", "prettier"],
|
||||
"plugins": ["@typescript-eslint", "import", "simple-import-sort"],
|
||||
"ignorePatterns": ["**/node_modules/**", "/dist/**", "/tests/**"],
|
||||
"rules": {
|
||||
"curly": ["error", "all"],
|
||||
"simple-import-sort/imports": "error",
|
||||
"simple-import-sort/exports": "error"
|
||||
}
|
||||
}
|
||||
@@ -13,8 +13,8 @@ jobs:
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
node-version: [20.x]
|
||||
pnpm-version: [8]
|
||||
node-version: [22.x]
|
||||
pnpm-version: [9]
|
||||
|
||||
steps:
|
||||
- name: Check out the repo
|
||||
@@ -41,7 +41,7 @@ jobs:
|
||||
- name: Test
|
||||
run: pnpm run --if-present test
|
||||
|
||||
docker-arm64:
|
||||
docker:
|
||||
runs-on: ubuntu-latest
|
||||
needs: mocha
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@ by updating this page with the new Privacy Policy.
|
||||
You are advised to consult this Privacy Policy regularly for any changes,
|
||||
as continued use is deemed approval of all changes.
|
||||
|
||||
*This privacy policy is effective as of 2024-11-08*
|
||||
_This privacy policy is effective as of 2024-11-08_
|
||||
|
||||
## Your Consent
|
||||
|
||||
|
||||
@@ -0,0 +1,44 @@
|
||||
import typescriptEslint from "@typescript-eslint/eslint-plugin";
|
||||
import globals from "globals";
|
||||
import tsParser from "@typescript-eslint/parser";
|
||||
import path from "node:path";
|
||||
import { fileURLToPath } from "node:url";
|
||||
import js from "@eslint/js";
|
||||
import { FlatCompat } from "@eslint/eslintrc";
|
||||
|
||||
const __filename = fileURLToPath(import.meta.url);
|
||||
const __dirname = path.dirname(__filename);
|
||||
const compat = new FlatCompat({
|
||||
baseDirectory: __dirname,
|
||||
recommendedConfig: js.configs.recommended,
|
||||
allConfig: js.configs.all
|
||||
});
|
||||
|
||||
export default [
|
||||
{ ignores: ["**/node_modules/**/*", "dist/**/*", "tests/**/*"] },
|
||||
...compat.extends("eslint:recommended", "plugin:@typescript-eslint/recommended", "prettier"),
|
||||
{
|
||||
plugins: {
|
||||
"@typescript-eslint": typescriptEslint
|
||||
},
|
||||
|
||||
languageOptions: {
|
||||
globals: {
|
||||
...Object.fromEntries(Object.entries(globals.browser).map(([key]) => [key, "off"])),
|
||||
...globals.node
|
||||
},
|
||||
|
||||
parser: tsParser,
|
||||
ecmaVersion: "latest",
|
||||
sourceType: "module",
|
||||
|
||||
parserOptions: {
|
||||
warnOnUnsupportedTypeScriptVersion: false
|
||||
}
|
||||
},
|
||||
|
||||
rules: {
|
||||
curly: ["error", "all"]
|
||||
}
|
||||
}
|
||||
];
|
||||
+21
-18
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "quetza",
|
||||
"version": "2024.3.0",
|
||||
"version": "2024.11.0",
|
||||
"description": "Awesome Discord bot that performs various duties",
|
||||
"type": "module",
|
||||
"main": "./dist/src/index.js",
|
||||
@@ -15,7 +15,7 @@
|
||||
"license": "MIT",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/unknowableshade/Quetza.git"
|
||||
"url": "git+https://github.com/deytenit/Quetza.git"
|
||||
},
|
||||
"author": {
|
||||
"name": "Vladimir Eremin",
|
||||
@@ -23,32 +23,35 @@
|
||||
"url": "https://ermnvldmr.com"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/unknowableshade/Quetza/issues"
|
||||
"url": "https://github.com/deytenit/Quetza/issues"
|
||||
},
|
||||
"readme": "https://github.com/unknowableshade/Quetza#readme",
|
||||
"readme": "https://github.com/deytenit/Quetza#readme",
|
||||
"engines": {
|
||||
"node": "20.x.x",
|
||||
"node": "22.x.x",
|
||||
"npm": "*"
|
||||
},
|
||||
"dependencies": {
|
||||
"@discordjs/opus": "^0.9.0",
|
||||
"@discordjs/voice": "^0.16.1",
|
||||
"discord.js": "^14.14.1",
|
||||
"@discordjs/voice": "^0.17.0",
|
||||
"discord.js": "^14.16.3",
|
||||
"prism-media": "^1.3.5",
|
||||
"tweetnacl": "^1.0.3",
|
||||
"winston": "^3.11.0"
|
||||
"winston": "^3.16.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "^20.11.24",
|
||||
"@typescript-eslint/eslint-plugin": "^7.1.0",
|
||||
"@typescript-eslint/parser": "^7.1.0",
|
||||
"eslint": "^8.57.0",
|
||||
"@eslint/eslintrc": "^3.1.0",
|
||||
"@eslint/js": "^9.14.0",
|
||||
"@types/node": "^22.9.0",
|
||||
"@typescript-eslint/eslint-plugin": "^8.13.0",
|
||||
"@typescript-eslint/parser": "^8.13.0",
|
||||
"eslint": "^9.14.0",
|
||||
"eslint-config-prettier": "^9.1.0",
|
||||
"eslint-plugin-import": "^2.29.1",
|
||||
"eslint-plugin-simple-import-sort": "^12.0.0",
|
||||
"mocha": "^10.3.0",
|
||||
"prettier": "^3.2.5",
|
||||
"tsc-alias": "^1.8.8",
|
||||
"typescript": "^5.3.3"
|
||||
"eslint-plugin-import": "^2.31.0",
|
||||
"eslint-plugin-simple-import-sort": "^12.1.1",
|
||||
"globals": "^15.12.0",
|
||||
"mocha": "^10.8.2",
|
||||
"prettier": "^3.3.3",
|
||||
"tsc-alias": "^1.8.10",
|
||||
"typescript": "^5.6.3"
|
||||
}
|
||||
}
|
||||
Generated
+2500
-1986
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,19 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
mkdir -p .git/hooks
|
||||
|
||||
HOOK_CONTENT="#!/bin/sh
|
||||
pnpm run lint
|
||||
if [ \$? -ne 0 ]; then
|
||||
echo 'Pre-commit hook failed. Please fix the issues and commit again.'
|
||||
exit 1
|
||||
fi
|
||||
"
|
||||
|
||||
echo "$HOOK_CONTENT" > .git/hooks/pre-commit
|
||||
|
||||
chmod +x .git/hooks/pre-commit
|
||||
|
||||
echo "Pre-commit hook installed successfully!"
|
||||
Reference in new issue
Block a user