pnpm: Added clsx, removed @nkzw/eslint-config, updated @types/node to 22.9, @eslint 9.x

This commit is contained in:
2024-11-09 12:29:08 -06:00
parent d612625de8
commit 2390b62864
2 changed files with 222 additions and 2159 deletions

View File

@@ -1,58 +1,58 @@
{ {
"name": "linkpulse", "name": "linkpulse",
"version": "0.0.1", "version": "0.0.1",
"author": "Xevion <xevion@xevion.dev>", "author": "Xevion <xevion@xevion.dev>",
"type": "module", "type": "module",
"engines": { "engines": {
"node": ">=22.0.0", "node": ">=22.0.0",
"pnpm": ">=9.0.0" "pnpm": ">=9.0.0"
}, },
"dependencies": { "dependencies": {
"react": "^18.3.1", "clsx": "^2.1.1",
"react-dom": "^18.3.1" "react": "^18.3.1",
}, "react-dom": "^18.3.1"
"devDependencies": { },
"@ianvs/prettier-plugin-sort-imports": "^4.2.1", "devDependencies": {
"@nkzw/eslint-config": "^1.16.0", "@ianvs/prettier-plugin-sort-imports": "^4.2.1",
"@swc/core": "^1.6.5", "@swc/core": "^1.6.5",
"@types/node": "^20.14.8", "@types/node": "^22.9.0",
"@types/react": "^18.3.3", "@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0", "@types/react-dom": "^18.3.0",
"@vitejs/plugin-react": "^4.3.1", "@vitejs/plugin-react": "^4.3.1",
"autoprefixer": "^10.4.19", "autoprefixer": "^10.4.19",
"eslint": "^8.57.0", "eslint": "^9",
"npm-run-all2": "^6.2.0", "npm-run-all2": "^6.2.0",
"postcss": "^8.4.38", "postcss": "^8.4.38",
"prettier": "^3.3.2", "prettier": "^3.3.2",
"prettier-plugin-tailwindcss": "^0.6.5", "prettier-plugin-tailwindcss": "^0.6.5",
"tailwindcss": "^3.4.4", "tailwindcss": "^3.4.4",
"ts-node": "^10.9.2", "ts-node": "^10.9.2",
"typescript": "^5.5.2", "typescript": "^5.5.2",
"vite": "^5.3.1", "vite": "^5.3.1",
"vitest": "^1.6.0" "vitest": "^1.6.0"
}, },
"scripts": { "scripts": {
"preinstall": "command -v git >/dev/null 2>&1 && git config core.hooksPath git-hooks || true", "preinstall": "command -v git >/dev/null 2>&1 && git config core.hooksPath git-hooks || true",
"build": "vite build", "build": "vite build",
"dev:update-deps": "rm -rf pnpm-lock.yaml node_modules/ **/node_modules && pnpm install", "dev:update-deps": "rm -rf pnpm-lock.yaml node_modules/ **/node_modules && pnpm install",
"dev": "vite dev", "dev": "vite dev",
"format": "prettier --write .", "format": "prettier --write .",
"lint:format": "prettier --cache --check .", "lint:format": "prettier --cache --check .",
"lint": "eslint --cache .", "lint": "eslint --cache .",
"test": "npm-run-all --parallel tsc:check vitest:run lint lint:format", "test": "npm-run-all --parallel tsc:check vitest:run lint lint:format",
"tsc:check": "tsc", "tsc:check": "tsc",
"vitest:run": "vitest run" "vitest:run": "vitest run"
}, },
"browserslist": [ "browserslist": [
">0.2%", ">0.2%",
"not dead", "not dead",
"not op_mini all" "not op_mini all"
], ],
"pnpm": { "pnpm": {
"updateConfig": { "updateConfig": {
"ignoreDependencies": [ "ignoreDependencies": [
"eslint" "eslint"
] ]
}
} }
} }
}

2269
frontend/pnpm-lock.yaml generated
View File

File diff suppressed because it is too large Load Diff