chore: upgrade deps

This commit is contained in:
wanhose 2024-02-16 09:23:26 +01:00
parent f5f56f4526
commit dfa570c6e3
11 changed files with 2306 additions and 2538 deletions

View File

@ -1,6 +1,3 @@
{
"packages/**/*.{js,ts}": [
"prettier --loglevel=silent --write",
"bash -c 'yarn lint'"
]
"packages/**/*.{js,ts}": ["prettier --loglevel=silent --write", "bash -c 'yarn lint'"]
}

File diff suppressed because one or more lines are too long

893
.yarn/releases/yarn-4.1.0.cjs vendored Executable file

File diff suppressed because one or more lines are too long

View File

@ -6,4 +6,4 @@ plugins:
- path: .yarn/plugins/@yarnpkg/plugin-outdated.cjs
spec: "https://mskelton.dev/yarn-outdated/v2"
yarnPath: .yarn/releases/yarn-4.0.0.cjs
yarnPath: .yarn/releases/yarn-4.1.0.cjs

View File

@ -3,16 +3,16 @@
"private": true,
"version": "1.0.0",
"scripts": {
"build": "yarn workspaces foreach -p run build",
"lint": "yarn workspaces foreach -p run lint",
"prepare": "husky install"
"build": "yarn workspaces foreach --all -p run build",
"lint": "yarn workspaces foreach --all -p run lint",
"prepare": "husky"
},
"devDependencies": {
"@commitlint/cli": "^18.0.0",
"@commitlint/config-conventional": "^18.0.0",
"husky": "^8.0.3",
"lint-staged": "^15.0.2",
"prettier": "^3.0.3"
"@commitlint/cli": "^18.6.1",
"@commitlint/config-conventional": "^18.6.2",
"husky": "^9.0.11",
"lint-staged": "^15.2.2",
"prettier": "^3.2.5"
},
"workspaces": [
"packages/*"
@ -20,5 +20,5 @@
"engines": {
"node": "20.x"
},
"packageManager": "yarn@4.0.0"
"packageManager": "yarn@4.1.0"
}

View File

@ -2,38 +2,37 @@
"name": "api",
"version": "1.0.0",
"scripts": {
"build": "rimraf build && tsc",
"build": "rimraf build; tsc",
"dev": "nodemon",
"lint": "eslint src/**/*.ts --fix",
"start": "NODE_PATH=build node build/index.js --env-file .env"
},
"dependencies": {
"@fastify/cors": "^8.4.0",
"@fastify/rate-limit": "^8.0.3",
"fastify": "^4.24.3",
"node-fetch": "^2.7.0",
"nodemailer": "^6.9.7",
"octokit": "^3.1.1"
"@fastify/cors": "^9.0.1",
"@fastify/rate-limit": "^9.1.0",
"fastify": "^4.26.1",
"node-fetch": "^3.3.2",
"nodemailer": "^6.9.9",
"octokit": "^3.1.2"
},
"devDependencies": {
"@tsconfig/node20": "^20.1.2",
"@types/node": "^20.8.8",
"@types/node-fetch": "^2.6.7",
"@types/nodemailer": "^6.4.13",
"@typescript-eslint/eslint-plugin": "^6.9.0",
"@typescript-eslint/parser": "^6.9.0",
"eslint": "^8.52.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.1",
"nodemon": "^3.0.1",
"@types/node": "^20.11.19",
"@types/nodemailer": "^6.4.14",
"@typescript-eslint/eslint-plugin": "^7.0.1",
"@typescript-eslint/parser": "^7.0.1",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"nodemon": "^3.0.3",
"rimraf": "^5.0.5",
"ts-node": "^10.9.1",
"ts-node": "^10.9.2",
"tsconfig-paths": "^4.2.0",
"typescript": "^5.2.2"
"typescript": "^5.3.3"
},
"engines": {
"node": "20.x"
},
"packageManager": "yarn@4.0.0",
"packageManager": "yarn@4.1.0",
"license": "MIT"
}

View File

@ -2,20 +2,20 @@
"name": "browser-extension",
"version": "1.0.0",
"scripts": {
"build": "rimraf build && sh scripts/build.sh",
"build": "rimraf build; sh scripts/build.sh; sh scripts/pack.sh",
"lint": "eslint src/**/*.js --fix"
},
"devDependencies": {
"@types/chrome": "^0.0.248",
"eslint": "^8.52.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.1",
"@types/chrome": "^0.0.260",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"minify": "^9.2.0",
"rimraf": "^5.0.5"
},
"engines": {
"node": "20.x"
},
"packageManager": "yarn@4.0.0",
"packageManager": "yarn@4.1.0",
"license": "MIT"
}

View File

@ -0,0 +1,7 @@
#!/usr/bin/env bash
path=$(pwd)
version=$(jq -r '.version' "$path/build/manifest.json")
cd "$path/build" || exit
zip -r "$path/$(basename $path)-$version.zip" . -x */\.* *.git* \.* *.md *.sh *.zip

View File

@ -121,7 +121,7 @@ function isInViewport(element) {
*/
function match(element, skipMatch) {
if (!element instanceof HTMLElement || !element.tagName) {
if (!(element instanceof HTMLElement) || !element.tagName) {
return false;
}

View File

@ -2,18 +2,19 @@
"name": "web",
"version": "1.0.0",
"scripts": {
"build": "rimraf build && sh scripts/build.sh",
"build": "rimraf build; sh scripts/build.sh; sh scripts/pack.sh",
"pack": "sh scripts/pack.sh",
"start": "NODE_PATH=build serve build"
},
"devDependencies": {
"minify": "^9.2.0",
"rimraf": "^5.0.5",
"serve": "^14.2.1",
"tailwindcss": "^3.3.4"
"tailwindcss": "^3.4.1"
},
"engines": {
"node": "20.x"
},
"packageManager": "yarn@4.0.0",
"packageManager": "yarn@4.1.0",
"license": "MIT"
}

2968
yarn.lock

File diff suppressed because it is too large Load Diff