chore: upgrade deps
This commit is contained in:
parent
f5f56f4526
commit
dfa570c6e3
@ -1,6 +1,3 @@
|
|||||||
{
|
{
|
||||||
"packages/**/*.{js,ts}": [
|
"packages/**/*.{js,ts}": ["prettier --loglevel=silent --write", "bash -c 'yarn lint'"]
|
||||||
"prettier --loglevel=silent --write",
|
|
||||||
"bash -c 'yarn lint'"
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
893
.yarn/releases/yarn-4.0.0.cjs
vendored
893
.yarn/releases/yarn-4.0.0.cjs
vendored
File diff suppressed because one or more lines are too long
893
.yarn/releases/yarn-4.1.0.cjs
vendored
Executable file
893
.yarn/releases/yarn-4.1.0.cjs
vendored
Executable file
File diff suppressed because one or more lines are too long
@ -6,4 +6,4 @@ plugins:
|
|||||||
- path: .yarn/plugins/@yarnpkg/plugin-outdated.cjs
|
- path: .yarn/plugins/@yarnpkg/plugin-outdated.cjs
|
||||||
spec: "https://mskelton.dev/yarn-outdated/v2"
|
spec: "https://mskelton.dev/yarn-outdated/v2"
|
||||||
|
|
||||||
yarnPath: .yarn/releases/yarn-4.0.0.cjs
|
yarnPath: .yarn/releases/yarn-4.1.0.cjs
|
||||||
|
18
package.json
18
package.json
@ -3,16 +3,16 @@
|
|||||||
"private": true,
|
"private": true,
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "yarn workspaces foreach -p run build",
|
"build": "yarn workspaces foreach --all -p run build",
|
||||||
"lint": "yarn workspaces foreach -p run lint",
|
"lint": "yarn workspaces foreach --all -p run lint",
|
||||||
"prepare": "husky install"
|
"prepare": "husky"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@commitlint/cli": "^18.0.0",
|
"@commitlint/cli": "^18.6.1",
|
||||||
"@commitlint/config-conventional": "^18.0.0",
|
"@commitlint/config-conventional": "^18.6.2",
|
||||||
"husky": "^8.0.3",
|
"husky": "^9.0.11",
|
||||||
"lint-staged": "^15.0.2",
|
"lint-staged": "^15.2.2",
|
||||||
"prettier": "^3.0.3"
|
"prettier": "^3.2.5"
|
||||||
},
|
},
|
||||||
"workspaces": [
|
"workspaces": [
|
||||||
"packages/*"
|
"packages/*"
|
||||||
@ -20,5 +20,5 @@
|
|||||||
"engines": {
|
"engines": {
|
||||||
"node": "20.x"
|
"node": "20.x"
|
||||||
},
|
},
|
||||||
"packageManager": "yarn@4.0.0"
|
"packageManager": "yarn@4.1.0"
|
||||||
}
|
}
|
||||||
|
@ -2,38 +2,37 @@
|
|||||||
"name": "api",
|
"name": "api",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "rimraf build && tsc",
|
"build": "rimraf build; tsc",
|
||||||
"dev": "nodemon",
|
"dev": "nodemon",
|
||||||
"lint": "eslint src/**/*.ts --fix",
|
"lint": "eslint src/**/*.ts --fix",
|
||||||
"start": "NODE_PATH=build node build/index.js --env-file .env"
|
"start": "NODE_PATH=build node build/index.js --env-file .env"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@fastify/cors": "^8.4.0",
|
"@fastify/cors": "^9.0.1",
|
||||||
"@fastify/rate-limit": "^8.0.3",
|
"@fastify/rate-limit": "^9.1.0",
|
||||||
"fastify": "^4.24.3",
|
"fastify": "^4.26.1",
|
||||||
"node-fetch": "^2.7.0",
|
"node-fetch": "^3.3.2",
|
||||||
"nodemailer": "^6.9.7",
|
"nodemailer": "^6.9.9",
|
||||||
"octokit": "^3.1.1"
|
"octokit": "^3.1.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@tsconfig/node20": "^20.1.2",
|
"@tsconfig/node20": "^20.1.2",
|
||||||
"@types/node": "^20.8.8",
|
"@types/node": "^20.11.19",
|
||||||
"@types/node-fetch": "^2.6.7",
|
"@types/nodemailer": "^6.4.14",
|
||||||
"@types/nodemailer": "^6.4.13",
|
"@typescript-eslint/eslint-plugin": "^7.0.1",
|
||||||
"@typescript-eslint/eslint-plugin": "^6.9.0",
|
"@typescript-eslint/parser": "^7.0.1",
|
||||||
"@typescript-eslint/parser": "^6.9.0",
|
"eslint": "^8.56.0",
|
||||||
"eslint": "^8.52.0",
|
"eslint-config-prettier": "^9.1.0",
|
||||||
"eslint-config-prettier": "^9.0.0",
|
"eslint-plugin-prettier": "^5.1.3",
|
||||||
"eslint-plugin-prettier": "^5.0.1",
|
"nodemon": "^3.0.3",
|
||||||
"nodemon": "^3.0.1",
|
|
||||||
"rimraf": "^5.0.5",
|
"rimraf": "^5.0.5",
|
||||||
"ts-node": "^10.9.1",
|
"ts-node": "^10.9.2",
|
||||||
"tsconfig-paths": "^4.2.0",
|
"tsconfig-paths": "^4.2.0",
|
||||||
"typescript": "^5.2.2"
|
"typescript": "^5.3.3"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "20.x"
|
"node": "20.x"
|
||||||
},
|
},
|
||||||
"packageManager": "yarn@4.0.0",
|
"packageManager": "yarn@4.1.0",
|
||||||
"license": "MIT"
|
"license": "MIT"
|
||||||
}
|
}
|
||||||
|
@ -2,20 +2,20 @@
|
|||||||
"name": "browser-extension",
|
"name": "browser-extension",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "rimraf build && sh scripts/build.sh",
|
"build": "rimraf build; sh scripts/build.sh; sh scripts/pack.sh",
|
||||||
"lint": "eslint src/**/*.js --fix"
|
"lint": "eslint src/**/*.js --fix"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/chrome": "^0.0.248",
|
"@types/chrome": "^0.0.260",
|
||||||
"eslint": "^8.52.0",
|
"eslint": "^8.56.0",
|
||||||
"eslint-config-prettier": "^9.0.0",
|
"eslint-config-prettier": "^9.1.0",
|
||||||
"eslint-plugin-prettier": "^5.0.1",
|
"eslint-plugin-prettier": "^5.1.3",
|
||||||
"minify": "^9.2.0",
|
"minify": "^9.2.0",
|
||||||
"rimraf": "^5.0.5"
|
"rimraf": "^5.0.5"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "20.x"
|
"node": "20.x"
|
||||||
},
|
},
|
||||||
"packageManager": "yarn@4.0.0",
|
"packageManager": "yarn@4.1.0",
|
||||||
"license": "MIT"
|
"license": "MIT"
|
||||||
}
|
}
|
||||||
|
7
packages/browser-extension/scripts/pack.sh
Normal file
7
packages/browser-extension/scripts/pack.sh
Normal 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
|
@ -121,7 +121,7 @@ function isInViewport(element) {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
function match(element, skipMatch) {
|
function match(element, skipMatch) {
|
||||||
if (!element instanceof HTMLElement || !element.tagName) {
|
if (!(element instanceof HTMLElement) || !element.tagName) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2,18 +2,19 @@
|
|||||||
"name": "web",
|
"name": "web",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"scripts": {
|
"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"
|
"start": "NODE_PATH=build serve build"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"minify": "^9.2.0",
|
"minify": "^9.2.0",
|
||||||
"rimraf": "^5.0.5",
|
"rimraf": "^5.0.5",
|
||||||
"serve": "^14.2.1",
|
"serve": "^14.2.1",
|
||||||
"tailwindcss": "^3.3.4"
|
"tailwindcss": "^3.4.1"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "20.x"
|
"node": "20.x"
|
||||||
},
|
},
|
||||||
"packageManager": "yarn@4.0.0",
|
"packageManager": "yarn@4.1.0",
|
||||||
"license": "MIT"
|
"license": "MIT"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user