mirror of
https://github.com/jc21/nginx-proxy-manager.git
synced 2024-08-30 18:22:48 +00:00
Updated frontend deps and use node:20
This commit is contained in:
parent
e1b757e177
commit
fb880616c7
@ -25,7 +25,7 @@ ENV ACMESH_CONFIG_HOME=/data/.acme.sh/config \
|
||||
RUN echo "fs.file-max = 65535" > /etc/sysctl.conf
|
||||
|
||||
# node, fail2ban
|
||||
RUN curl -fsSL https://deb.nodesource.com/setup_18.x | bash - \
|
||||
RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash - \
|
||||
&& apt-get update \
|
||||
&& apt-get install -y --no-install-recommends nodejs vim dnsutils fail2ban logrotate \
|
||||
&& npm install --location=global yarn \
|
||||
|
File diff suppressed because it is too large
Load Diff
7112
docs/yarn.lock
7112
docs/yarn.lock
File diff suppressed because it is too large
Load Diff
@ -16,63 +16,63 @@
|
||||
"check-locales": "./check-locales.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@chakra-ui/react": "^2.8.0",
|
||||
"@emotion/react": "^11.11.1",
|
||||
"@emotion/styled": "^11.11.0",
|
||||
"@tanstack/react-query": "^4.29.25",
|
||||
"@tanstack/react-query-devtools": "^4.29.25",
|
||||
"ajv": "^8.12.0",
|
||||
"chakra-react-select": "^4.6.0",
|
||||
"classnames": "^2.3.2",
|
||||
"country-flag-icons": "^1.5.7",
|
||||
"date-fns": "2.30.0",
|
||||
"formik": "^2.4.2",
|
||||
"framer-motion": "^10.13.0",
|
||||
"@chakra-ui/react": "^2.8.2",
|
||||
"@emotion/react": "^11.11.4",
|
||||
"@emotion/styled": "^11.11.5",
|
||||
"@tanstack/react-query": "^5.35.1",
|
||||
"@tanstack/react-query-devtools": "^5.35.1",
|
||||
"ajv": "^8.13.0",
|
||||
"chakra-react-select": "^4.7.6",
|
||||
"classnames": "^2.5.1",
|
||||
"country-flag-icons": "^1.5.11",
|
||||
"date-fns": "3.6.0",
|
||||
"formik": "^2.4.6",
|
||||
"framer-motion": "^11.1.9",
|
||||
"humps": "^2.0.1",
|
||||
"lodash": "4.17.21",
|
||||
"moment": "2.29.4",
|
||||
"query-string": "8.1.0",
|
||||
"react": "^18.2.0",
|
||||
"moment": "2.30.1",
|
||||
"query-string": "9.0.0",
|
||||
"react": "^18.3.1",
|
||||
"react-async": "10.0.1",
|
||||
"react-dom": "18.2.0",
|
||||
"react-focus-lock": "^2.9.5",
|
||||
"react-icons": "^4.10.1",
|
||||
"react-intl": "^6.4.4",
|
||||
"react-markdown": "^8.0.7",
|
||||
"react-router-dom": "^6.14.2",
|
||||
"react-dom": "18.3.1",
|
||||
"react-focus-lock": "^2.12.1",
|
||||
"react-icons": "^5.2.1",
|
||||
"react-intl": "^6.6.6",
|
||||
"react-markdown": "^9.0.1",
|
||||
"react-router-dom": "^6.23.0",
|
||||
"react-syntax-highlighter": "^15.5.0",
|
||||
"react-table": "7.8.0",
|
||||
"rooks": "7.14.1",
|
||||
"tmp": "^0.2.1"
|
||||
"tmp": "^0.2.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@formatjs/cli": "^6.1.3",
|
||||
"@types/country-flag-icons": "^1.2.0",
|
||||
"@types/humps": "^2.0.3",
|
||||
"@types/lodash": "4.14.195",
|
||||
"@types/node": "20.4.2",
|
||||
"@types/react": "18.2.15",
|
||||
"@types/react-dom": "18.2.7",
|
||||
"@formatjs/cli": "^6.2.10",
|
||||
"@types/country-flag-icons": "^1.2.2",
|
||||
"@types/humps": "^2.0.6",
|
||||
"@types/lodash": "4.17.1",
|
||||
"@types/node": "20.12.10",
|
||||
"@types/react": "18.3.1",
|
||||
"@types/react-dom": "18.3.0",
|
||||
"@types/react-router-dom": "5.3.3",
|
||||
"@types/react-syntax-highlighter": "^15.5.7",
|
||||
"@types/react-table": "^7.7.14",
|
||||
"@types/styled-components": "5.1.26",
|
||||
"@typescript-eslint/eslint-plugin": "^6.1.0",
|
||||
"@typescript-eslint/parser": "^6.1.0",
|
||||
"@vitejs/plugin-react": "^4.0.3",
|
||||
"eslint": "^8.45.0",
|
||||
"eslint-config-prettier": "^8.8.0",
|
||||
"eslint-import-resolver-typescript": "^3.5.5",
|
||||
"eslint-plugin-import": "^2.27.5",
|
||||
"eslint-plugin-jsx-a11y": "^6.7.1",
|
||||
"eslint-plugin-prettier": "^5.0.0",
|
||||
"eslint-plugin-react": "^7.32.2",
|
||||
"eslint-plugin-react-hooks": "^4.6.0",
|
||||
"eslint-plugin-react-refresh": "^0.4.3",
|
||||
"prettier": "^3.0.0",
|
||||
"sass": "^1.64.0",
|
||||
"typescript": "^5.1.6",
|
||||
"vite": "^4.4.4",
|
||||
"vite-plugin-checker": "^0.6.1"
|
||||
"@types/react-syntax-highlighter": "^15.5.13",
|
||||
"@types/react-table": "^7.7.20",
|
||||
"@types/styled-components": "5.1.34",
|
||||
"@typescript-eslint/eslint-plugin": "^7.8.0",
|
||||
"@typescript-eslint/parser": "^7.8.0",
|
||||
"@vitejs/plugin-react": "^4.2.1",
|
||||
"eslint": "^9.2.0",
|
||||
"eslint-config-prettier": "^9.1.0",
|
||||
"eslint-import-resolver-typescript": "^3.6.1",
|
||||
"eslint-plugin-import": "^2.29.1",
|
||||
"eslint-plugin-jsx-a11y": "^6.8.0",
|
||||
"eslint-plugin-prettier": "^5.1.3",
|
||||
"eslint-plugin-react": "^7.34.1",
|
||||
"eslint-plugin-react-hooks": "^4.6.2",
|
||||
"eslint-plugin-react-refresh": "^0.4.6",
|
||||
"prettier": "^3.2.5",
|
||||
"sass": "^1.77.0",
|
||||
"typescript": "^5.4.5",
|
||||
"vite": "^5.2.11",
|
||||
"vite-plugin-checker": "^0.6.4"
|
||||
}
|
||||
}
|
||||
|
4323
frontend/yarn.lock
4323
frontend/yarn.lock
File diff suppressed because it is too large
Load Diff
@ -1,6 +1,5 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
set +x
|
||||
|
||||
BACKEND_ASSETS=backend/embed/assets
|
||||
|
||||
@ -14,7 +13,7 @@ docker_cmd() {
|
||||
-e "VITE_APP_COMMIT=${BUILD_COMMIT:-0000000}" \
|
||||
-v "$(pwd):/app" \
|
||||
-w "/app/frontend" \
|
||||
node:18 \
|
||||
node:20 \
|
||||
${*}
|
||||
}
|
||||
|
||||
|
@ -7,7 +7,7 @@ DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
if hash docker 2>/dev/null; then
|
||||
cd "${DIR}/.."
|
||||
echo -e "${BLUE}❯ ${CYAN}Linting Frontend ...${RESET}"
|
||||
docker run --rm -e CI=true -v "$(pwd)/frontend:/app/frontend" -w /app/frontend node:latest sh -c "yarn install && yarn eslint src;chown -R $(id -u):$(id -g) /app/frontend"
|
||||
docker run --rm -e CI=true -v "$(pwd)/frontend:/app/frontend" -w /app/frontend node:20 sh -c "yarn install && yarn eslint src;chown -R $(id -u):$(id -g) /app/frontend"
|
||||
RES=$?
|
||||
echo -e "${BLUE}❯ ${GREEN}Linting Frontend Complete${RESET}"
|
||||
exit $RES
|
||||
|
Loading…
Reference in New Issue
Block a user