Compare commits
10
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
791d1e573f | ||
|
|
4dad94f668 | ||
|
|
61b223ba03 | ||
|
|
ad8d364f28 | ||
|
|
25c3749dd9 | ||
|
|
9c6cca1c25 | ||
|
|
01b73d5cda | ||
|
|
1d82677b7c | ||
|
|
120cf7e174 | ||
|
|
3089c3a6cf |
No files matched your search
@@ -0,0 +1,4 @@
|
|||||||
|
pkg-config
|
||||||
|
build-essential
|
||||||
|
libmariadb-dev-compat
|
||||||
|
rsync
|
||||||
@@ -47,7 +47,7 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- "${BACKEND_EXTERNAL_PORT}:${BACKEND_INTERNAL_PORT}"
|
- "${BACKEND_EXTERNAL_PORT}:${BACKEND_INTERNAL_PORT}"
|
||||||
frontend:
|
frontend:
|
||||||
container_name: ${COMPOSE_PROJECT_NAME}-backend
|
container_name: ${COMPOSE_PROJECT_NAME}-frontend
|
||||||
image: portal-frontend:latest
|
image: portal-frontend:latest
|
||||||
|
|
||||||
restart:
|
restart:
|
||||||
|
|||||||
@@ -6,26 +6,29 @@ ARG SOURCE_DIR
|
|||||||
ENV SOURCE_DIR=${SOURCE_DIR}
|
ENV SOURCE_DIR=${SOURCE_DIR}
|
||||||
ARG APT_PROXY=""
|
ARG APT_PROXY=""
|
||||||
ARG PIP_INDEX_URL
|
ARG PIP_INDEX_URL
|
||||||
|
ARG PROJECT_DIR
|
||||||
ENV POETRY_NO_INTERACTION=1
|
ENV POETRY_NO_INTERACTION=1
|
||||||
ENV PIP_TRUSTED_HOST=pip.local
|
ENV PIP_TRUSTED_HOST=pip.local
|
||||||
# Устанавливаем рабочую директорию
|
# Устанавливаем рабочую директорию
|
||||||
|
COPY ${PROJECT_DIR}/.gitea/apt-packages.txt* /tmp/apt-packages.txt
|
||||||
RUN set -eux; \
|
RUN set -eux; \
|
||||||
if [ -n "$APT_PROXY" ]; then \
|
if [ -n "$APT_PROXY" ]; then \
|
||||||
printf 'Acquire::http::Proxy "http://%s";\nAcquire::https::Proxy "http://%s";\n' "$APT_PROXY" "$APT_PROXY" > /etc/apt/apt.conf.d/99proxy; \
|
printf 'Acquire::http::Proxy "http://%s";\nAcquire::https::Proxy "http://%s";\n' "$APT_PROXY" "$APT_PROXY" > /etc/apt/apt.conf.d/99proxy; \
|
||||||
fi; \
|
fi; \
|
||||||
apt-get update && apt-get install -y --no-install-recommends \
|
if [ -s /tmp/apt-packages.txt ]; then \
|
||||||
libmariadb-dev-compat \
|
apt-get update; \
|
||||||
build-essential \
|
xargs -a /tmp/apt-packages.txt apt-get install -y --no-install-recommends; \
|
||||||
pkg-config && \
|
apt-get clean; \
|
||||||
apt-get clean && \
|
rm -rf /var/lib/apt/lists/*; \
|
||||||
rm -rf /var/lib/apt/lists/*
|
fi; \
|
||||||
|
rm -f /tmp/apt-packages.txt
|
||||||
|
|
||||||
# Копируем файлы зависимостей в контейнер
|
# Копируем файлы зависимостей в контейнер
|
||||||
COPY ${SOURCE_DIR}/pyproject.toml ${SOURCE_DIR}/poetry.toml ${SOURCE_DIR}/poetry.lock ${SOURCE_DIR}/README.md ./
|
COPY ${SOURCE_DIR}/pyproject.toml ${SOURCE_DIR}/poetry.toml ${SOURCE_DIR}/poetry.lock ${SOURCE_DIR}/README.md ./
|
||||||
COPY docker/entries/backend-entrypoint.sh /script/backend-entrypoint.sh
|
COPY docker/entries/backend-entrypoint.sh /script/backend-entrypoint.sh
|
||||||
|
|
||||||
RUN chmod 777 /script/backend-entrypoint.sh && \
|
RUN chmod 777 /script/backend-entrypoint.sh && \
|
||||||
pip install --index-url https://${PIP_INDEX_URL}/root/pypi/+simple/ --trusted-host ${PIP_INDEX_URL} --no-cache-dir --upgrade pip && \
|
pip install --index-url ${PIP_INDEX_URL}/root/pypi/+simple/ --trusted-host ${PIP_INDEX_URL} --no-cache-dir --upgrade pip && \
|
||||||
pip install --index-url https://${PIP_INDEX_URL}/root/pypi/+simple/ --trusted-host ${PIP_INDEX_URL} --no-cache-dir poetry && \
|
pip install --index-url https://${PIP_INDEX_URL}/root/pypi/+simple/ --trusted-host ${PIP_INDEX_URL} --no-cache-dir poetry && \
|
||||||
# Убираем возможный старый venv из кэша
|
# Убираем возможный старый venv из кэша
|
||||||
poetry install --with dev --no-interaction --no-ansi
|
poetry install --with dev --no-interaction --no-ansi
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ RUN npm run build
|
|||||||
FROM python:3.13.0-slim AS builderstage
|
FROM python:3.13.0-slim AS builderstage
|
||||||
|
|
||||||
WORKDIR /back
|
WORKDIR /back
|
||||||
|
ARG PROJECT_DIR
|
||||||
ARG SOURCE_DIR
|
ARG SOURCE_DIR
|
||||||
ENV SOURCE_DIR=${SOURCE_DIR}
|
ENV SOURCE_DIR=${SOURCE_DIR}
|
||||||
ENV PYTHONUNBUFFERED=1 \
|
ENV PYTHONUNBUFFERED=1 \
|
||||||
@@ -40,17 +40,20 @@ ARG APT_PROXY=""
|
|||||||
ARG PIP_INDEX_URL
|
ARG PIP_INDEX_URL
|
||||||
ENV POETRY_NO_INTERACTION=1
|
ENV POETRY_NO_INTERACTION=1
|
||||||
ENV PIP_TRUSTED_HOST=pip.local
|
ENV PIP_TRUSTED_HOST=pip.local
|
||||||
|
COPY ${PROJECT_DIR}/.gitea/apt-packages.txt* /tmp/apt-packages.txt
|
||||||
RUN set -eux; \
|
RUN set -eux; \
|
||||||
if [ -n "$APT_PROXY" ]; then \
|
if [ -n "$APT_PROXY" ]; then \
|
||||||
printf 'Acquire::http::Proxy "http://%s";\nAcquire::https::Proxy "http://%s";\n' "$APT_PROXY" "$APT_PROXY" > /etc/apt/apt.conf.d/99proxy; \
|
printf 'Acquire::http::Proxy "http://%s";\nAcquire::https::Proxy "http://%s";\n' "$APT_PROXY" "$APT_PROXY" > /etc/apt/apt.conf.d/99proxy; \
|
||||||
fi; \
|
fi; \
|
||||||
sed -i '/^Components:/ s/$/ non-free non-free-firmware/' /etc/apt/sources.list.d/debian.sources; \
|
sed -i '/^Components:/ s/$/ non-free non-free-firmware/' /etc/apt/sources.list.d/debian.sources; \
|
||||||
apt-get update && apt-get install -y --no-install-recommends rsync \
|
|
||||||
libmariadb-dev-compat \
|
if [ -s /tmp/apt-packages.txt ]; then \
|
||||||
build-essential \
|
apt-get update; \
|
||||||
pkg-config && \
|
xargs -a /tmp/apt-packages.txt apt-get install -y --no-install-recommends; \
|
||||||
apt-get clean
|
apt-get clean; \
|
||||||
|
rm -rf /var/lib/apt/lists/*; \
|
||||||
|
fi; \
|
||||||
|
rm -f /tmp/apt-packages.txt
|
||||||
|
|
||||||
COPY --from=bstage /app/dist /app/dist
|
COPY --from=bstage /app/dist /app/dist
|
||||||
# Копируем файлы зависимостей в контейнер
|
# Копируем файлы зависимостей в контейнер
|
||||||
|
|||||||
@@ -1 +1,6 @@
|
|||||||
# Create your tests here.
|
import unittest
|
||||||
|
|
||||||
|
|
||||||
|
class SmokeTest(unittest.TestCase):
|
||||||
|
def test_app_loads(self):
|
||||||
|
self.assertTrue(True)
|
||||||
@@ -9,7 +9,7 @@ from userauth.serializers import *
|
|||||||
|
|
||||||
from .models import *
|
from .models import *
|
||||||
from .serializers import *
|
from .serializers import *
|
||||||
|
# Проверим
|
||||||
|
|
||||||
class getuserAPIView(APIView):
|
class getuserAPIView(APIView):
|
||||||
permission_classes = (AllowAny,)
|
permission_classes = (AllowAny,)
|
||||||
|
|||||||
Generated
+1565
-1110
File diff suppressed because it is too large.
Load diff
Generated
+361
-7
@@ -33,6 +33,7 @@
|
|||||||
"moment": "^2.31.0",
|
"moment": "^2.31.0",
|
||||||
"pinia": "^4.1.0",
|
"pinia": "^4.1.0",
|
||||||
"rrule": "^2.8.1",
|
"rrule": "^2.8.1",
|
||||||
|
"vitest": "^5.1.2",
|
||||||
"vue": "^3.5.46",
|
"vue": "^3.5.46",
|
||||||
"vue-cal": "^4.10.2",
|
"vue-cal": "^4.10.2",
|
||||||
"vue-chartjs": "^5.3.7",
|
"vue-chartjs": "^5.3.7",
|
||||||
@@ -49,6 +50,7 @@
|
|||||||
"@commitlint/config-conventional": "^21.3.0",
|
"@commitlint/config-conventional": "^21.3.0",
|
||||||
"@eslint/js": "^9.19.0",
|
"@eslint/js": "^9.19.0",
|
||||||
"@vitejs/plugin-vue": "^5.2.1",
|
"@vitejs/plugin-vue": "^5.2.1",
|
||||||
|
"@vitest/coverage-v8": "^5.1.2",
|
||||||
"@vue-leaflet/vue-leaflet": "^0.10.1",
|
"@vue-leaflet/vue-leaflet": "^0.10.1",
|
||||||
"commitlint": "^19.8.1",
|
"commitlint": "^19.8.1",
|
||||||
"conventional-changelog": "^8.1.3",
|
"conventional-changelog": "^8.1.3",
|
||||||
@@ -188,6 +190,16 @@
|
|||||||
"node": ">=6.9.0"
|
"node": ">=6.9.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/@bcoe/v8-coverage": {
|
||||||
|
"version": "1.0.2",
|
||||||
|
"resolved": "https://npm.oktp/@bcoe/v8-coverage/-/v8-coverage-1.0.2.tgz",
|
||||||
|
"integrity": "sha512-6zABk/ECA/QYSCQ1NGiVwwbQerUCZ+TQbp64Q3AgmfNvurHH0j8TtXa1qbShXA6qqkpAj4V5W8pP6mLe1mcMqA==",
|
||||||
|
"devOptional": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"engines": {
|
||||||
|
"node": ">=18"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/@bufbuild/protobuf": {
|
"node_modules/@bufbuild/protobuf": {
|
||||||
"version": "2.17.0",
|
"version": "2.17.0",
|
||||||
"resolved": "https://npm.oktp/@bufbuild/protobuf/-/protobuf-2.17.0.tgz",
|
"resolved": "https://npm.oktp/@bufbuild/protobuf/-/protobuf-2.17.0.tgz",
|
||||||
@@ -16032,6 +16044,16 @@
|
|||||||
"url": "https://github.com/sponsors/isaacs"
|
"url": "https://github.com/sponsors/isaacs"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/@types/chai": {
|
||||||
|
"version": "5.2.3",
|
||||||
|
"resolved": "https://npm.oktp/@types/chai/-/chai-5.2.3.tgz",
|
||||||
|
"integrity": "sha512-Mw558oeA9fFbv65/y4mHtXDs9bPnFMZAL/jxdPFUpOHHIXX91mcgEHbS5Lahr+pwZFR8A7GQleRWeI6cGFC2UA==",
|
||||||
|
"license": "MIT",
|
||||||
|
"dependencies": {
|
||||||
|
"@types/deep-eql": "*",
|
||||||
|
"assertion-error": "^2.0.1"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/@types/color-convert": {
|
"node_modules/@types/color-convert": {
|
||||||
"version": "2.0.4",
|
"version": "2.0.4",
|
||||||
"resolved": "https://npm.oktp/@types/color-convert/-/color-convert-2.0.4.tgz",
|
"resolved": "https://npm.oktp/@types/color-convert/-/color-convert-2.0.4.tgz",
|
||||||
@@ -16067,11 +16089,16 @@
|
|||||||
"@types/ms": "*"
|
"@types/ms": "*"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/@types/deep-eql": {
|
||||||
|
"version": "4.0.2",
|
||||||
|
"resolved": "https://npm.oktp/@types/deep-eql/-/deep-eql-4.0.2.tgz",
|
||||||
|
"integrity": "sha512-c9h9dVVMigMPc4bwTvC5dxqtqJZwQPePsWjPlpSOnojbor6pGqdk541lfA7AqFQr5pB1BRdq0juY9db81BwyFw==",
|
||||||
|
"license": "MIT"
|
||||||
|
},
|
||||||
"node_modules/@types/estree": {
|
"node_modules/@types/estree": {
|
||||||
"version": "1.0.11",
|
"version": "1.0.11",
|
||||||
"resolved": "https://npm.oktp/@types/estree/-/estree-1.0.11.tgz",
|
"resolved": "https://npm.oktp/@types/estree/-/estree-1.0.11.tgz",
|
||||||
"integrity": "sha512-YBdNe5JcjYR0sPhJW1QIeRCmI11YhYvaRuGCs9+WCeTTb+Yhb2BE2XMe5/wAqF10FK5g3+q1PDhQABfT7aX0gg==",
|
"integrity": "sha512-YBdNe5JcjYR0sPhJW1QIeRCmI11YhYvaRuGCs9+WCeTTb+Yhb2BE2XMe5/wAqF10FK5g3+q1PDhQABfT7aX0gg==",
|
||||||
"devOptional": true,
|
|
||||||
"license": "MIT"
|
"license": "MIT"
|
||||||
},
|
},
|
||||||
"node_modules/@types/hast": {
|
"node_modules/@types/hast": {
|
||||||
@@ -16538,6 +16565,112 @@
|
|||||||
"vue": "^3.2.25"
|
"vue": "^3.2.25"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/@vitest/coverage-v8": {
|
||||||
|
"version": "5.1.2",
|
||||||
|
"resolved": "https://npm.oktp/@vitest/coverage-v8/-/coverage-v8-5.1.2.tgz",
|
||||||
|
"integrity": "sha512-VG0JLv0T4kr1fR6QAfe8PTou+Frc4t0u4j+oKgDH3djJpFawzBfGyX14/z56NXoCTNem3OEphzCJhc4DkE62xQ==",
|
||||||
|
"devOptional": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"dependencies": {
|
||||||
|
"@bcoe/v8-coverage": "^1.0.2",
|
||||||
|
"@vitest/istanbul-lib-coverage": "^2.1.1",
|
||||||
|
"@vitest/istanbul-lib-report": "^2.1.1",
|
||||||
|
"ast-v8-to-istanbul": "^1.0.8",
|
||||||
|
"magicast": "^0.5.5",
|
||||||
|
"obug": "^3.0.0",
|
||||||
|
"std-env": "^4.3.0",
|
||||||
|
"tinyrainbow": "^3.2.0"
|
||||||
|
},
|
||||||
|
"funding": {
|
||||||
|
"url": "https://opencollective.com/vitest"
|
||||||
|
},
|
||||||
|
"peerDependencies": {
|
||||||
|
"@vitest/browser": "5.1.2",
|
||||||
|
"vitest": "5.1.2"
|
||||||
|
},
|
||||||
|
"peerDependenciesMeta": {
|
||||||
|
"@vitest/browser": {
|
||||||
|
"optional": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@vitest/istanbul-lib-coverage": {
|
||||||
|
"version": "2.1.1",
|
||||||
|
"resolved": "https://npm.oktp/@vitest/istanbul-lib-coverage/-/istanbul-lib-coverage-2.1.1.tgz",
|
||||||
|
"integrity": "sha512-pF9nMHHuyQzyEXdkWX3d4wElEKjymfL5TEoofegJn/jK2WjmTLOcJKfJ7/YwYGYdbZf8Ebrt4VDUoBPiTuO9zg==",
|
||||||
|
"devOptional": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"engines": {
|
||||||
|
"node": ">=22"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@vitest/istanbul-lib-report": {
|
||||||
|
"version": "2.1.1",
|
||||||
|
"resolved": "https://npm.oktp/@vitest/istanbul-lib-report/-/istanbul-lib-report-2.1.1.tgz",
|
||||||
|
"integrity": "sha512-Qba+8OpQQAbWrmq3u1olh6jqE/vyW4OYJe6TLrrTBpXhjJhbY7Os69wyVvMQmNA64KJhGd5nQ/c7l4io8tPCHQ==",
|
||||||
|
"devOptional": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"dependencies": {
|
||||||
|
"@vitest/istanbul-lib-coverage": "2.1.1"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": ">=22"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@vitest/mocker": {
|
||||||
|
"version": "5.1.2",
|
||||||
|
"resolved": "https://npm.oktp/@vitest/mocker/-/mocker-5.1.2.tgz",
|
||||||
|
"integrity": "sha512-UGc97wUIy0Ji2+9GxzHEJiOhiwkaukgE7VYcUNnjpX3sWnwQ8XogmNXX4WyOukxYgKb8Nh2XFa7KId0ZjpmVhQ==",
|
||||||
|
"license": "MIT",
|
||||||
|
"dependencies": {
|
||||||
|
"@jridgewell/trace-mapping": "0.3.31",
|
||||||
|
"@vitest/spy": "5.1.2",
|
||||||
|
"estree-walker": "^3.0.3",
|
||||||
|
"magic-string": "^1.4.5"
|
||||||
|
},
|
||||||
|
"funding": {
|
||||||
|
"url": "https://opencollective.com/vitest"
|
||||||
|
},
|
||||||
|
"peerDependencies": {
|
||||||
|
"msw": "^2.4.9 || ^3.0.0",
|
||||||
|
"vite": "^6.0.0 || ^7.0.0 || ^8.0.0"
|
||||||
|
},
|
||||||
|
"peerDependenciesMeta": {
|
||||||
|
"msw": {
|
||||||
|
"optional": true
|
||||||
|
},
|
||||||
|
"vite": {
|
||||||
|
"optional": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@vitest/mocker/node_modules/estree-walker": {
|
||||||
|
"version": "3.0.3",
|
||||||
|
"resolved": "https://npm.oktp/estree-walker/-/estree-walker-3.0.3.tgz",
|
||||||
|
"integrity": "sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==",
|
||||||
|
"license": "MIT",
|
||||||
|
"dependencies": {
|
||||||
|
"@types/estree": "^1.0.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@vitest/mocker/node_modules/magic-string": {
|
||||||
|
"version": "1.4.5",
|
||||||
|
"resolved": "https://npm.oktp/magic-string/-/magic-string-1.4.5.tgz",
|
||||||
|
"integrity": "sha512-oLLC2+YvQUfAa+vxoufE/yc1icb87M9iXIRqAoR/2EhE/8cb3SF/+Gi0c2By1B+5Vz2e2vQtUvHiu1+63Znh+w==",
|
||||||
|
"license": "MIT",
|
||||||
|
"dependencies": {
|
||||||
|
"@jridgewell/sourcemap-codec": "^1.6.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@vitest/spy": {
|
||||||
|
"version": "5.1.2",
|
||||||
|
"resolved": "https://npm.oktp/@vitest/spy/-/spy-5.1.2.tgz",
|
||||||
|
"integrity": "sha512-PQl0/3+p9GaY71+MHywN6oyHfLhVDD5kcbm7oNRldA2F0ExMU3S8RQdnpteJ9gFAdK5P6KCgE6LqCpUgy57KzA==",
|
||||||
|
"license": "MIT",
|
||||||
|
"funding": {
|
||||||
|
"url": "https://opencollective.com/vitest"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/@vue-leaflet/vue-leaflet": {
|
"node_modules/@vue-leaflet/vue-leaflet": {
|
||||||
"version": "0.10.1",
|
"version": "0.10.1",
|
||||||
"resolved": "https://npm.oktp/@vue-leaflet/vue-leaflet/-/vue-leaflet-0.10.1.tgz",
|
"resolved": "https://npm.oktp/@vue-leaflet/vue-leaflet/-/vue-leaflet-0.10.1.tgz",
|
||||||
@@ -16910,6 +17043,15 @@
|
|||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT"
|
"license": "MIT"
|
||||||
},
|
},
|
||||||
|
"node_modules/assertion-error": {
|
||||||
|
"version": "2.0.1",
|
||||||
|
"resolved": "https://npm.oktp/assertion-error/-/assertion-error-2.0.1.tgz",
|
||||||
|
"integrity": "sha512-Izi8RQcffqCeNVgFigKli1ssklIbpHnCYc6AknXGYoB6grJqyeby7jv12JUQgmTAnIDnbck1uxksT4dzN3PWBA==",
|
||||||
|
"license": "MIT",
|
||||||
|
"engines": {
|
||||||
|
"node": ">=12"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/ast-types": {
|
"node_modules/ast-types": {
|
||||||
"version": "0.13.4",
|
"version": "0.13.4",
|
||||||
"resolved": "https://npm.oktp/ast-types/-/ast-types-0.13.4.tgz",
|
"resolved": "https://npm.oktp/ast-types/-/ast-types-0.13.4.tgz",
|
||||||
@@ -16923,6 +17065,35 @@
|
|||||||
"node": ">=4"
|
"node": ">=4"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/ast-v8-to-istanbul": {
|
||||||
|
"version": "1.0.8",
|
||||||
|
"resolved": "https://npm.oktp/ast-v8-to-istanbul/-/ast-v8-to-istanbul-1.0.8.tgz",
|
||||||
|
"integrity": "sha512-lPdpagk13ANXV+HClJEpCZM7kUsl5XcvgqKzZhaj6Ve1ZFICcY2sGhAN1n1vT0tML6EclT7bfVgTxqL57Gkpow==",
|
||||||
|
"devOptional": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"dependencies": {
|
||||||
|
"@jridgewell/trace-mapping": "^0.3.31",
|
||||||
|
"estree-walker": "^3.0.3",
|
||||||
|
"js-tokens": "^10.0.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/ast-v8-to-istanbul/node_modules/estree-walker": {
|
||||||
|
"version": "3.0.3",
|
||||||
|
"resolved": "https://npm.oktp/estree-walker/-/estree-walker-3.0.3.tgz",
|
||||||
|
"integrity": "sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==",
|
||||||
|
"devOptional": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"dependencies": {
|
||||||
|
"@types/estree": "^1.0.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/ast-v8-to-istanbul/node_modules/js-tokens": {
|
||||||
|
"version": "10.0.2",
|
||||||
|
"resolved": "https://npm.oktp/js-tokens/-/js-tokens-10.0.2.tgz",
|
||||||
|
"integrity": "sha512-DXL98F5NsFBwDz7kcb4UUlrg9ePDgBCPjK4inUYi5gahxsTrKNW8Oh6F3WAuh7hntbP41EL/DkUYccRsDfLQLQ==",
|
||||||
|
"devOptional": true,
|
||||||
|
"license": "MIT"
|
||||||
|
},
|
||||||
"node_modules/async-retry": {
|
"node_modules/async-retry": {
|
||||||
"version": "1.3.3",
|
"version": "1.3.3",
|
||||||
"resolved": "https://npm.oktp/async-retry/-/async-retry-1.3.3.tgz",
|
"resolved": "https://npm.oktp/async-retry/-/async-retry-1.3.3.tgz",
|
||||||
@@ -17132,6 +17303,15 @@
|
|||||||
"url": "https://github.com/sponsors/wooorm"
|
"url": "https://github.com/sponsors/wooorm"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/chai": {
|
||||||
|
"version": "6.3.0",
|
||||||
|
"resolved": "https://npm.oktp/chai/-/chai-6.3.0.tgz",
|
||||||
|
"integrity": "sha512-XWAtwJ6OHO+tj0EKCs0Y2UamnyOxseZWltU4x2U2wh8g4AigdjwvtUjvLP2tqkA/avxHEtzxNaqGq/YGNwckKg==",
|
||||||
|
"license": "MIT",
|
||||||
|
"engines": {
|
||||||
|
"node": ">=18"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/chalk": {
|
"node_modules/chalk": {
|
||||||
"version": "4.1.2",
|
"version": "4.1.2",
|
||||||
"resolved": "https://npm.oktp/chalk/-/chalk-4.1.2.tgz",
|
"resolved": "https://npm.oktp/chalk/-/chalk-4.1.2.tgz",
|
||||||
@@ -19034,6 +19214,12 @@
|
|||||||
"node": ">= 0.4"
|
"node": ">= 0.4"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/es-module-lexer": {
|
||||||
|
"version": "2.3.2",
|
||||||
|
"resolved": "https://npm.oktp/es-module-lexer/-/es-module-lexer-2.3.2.tgz",
|
||||||
|
"integrity": "sha512-poHGpORABojJJucnV9KbOavETW8lBVnphkW77ER5/BQ5Fz7oXSoCNek7IH3vR5nRjdsEz926ibFYX8KtLQmdyw==",
|
||||||
|
"license": "MIT"
|
||||||
|
},
|
||||||
"node_modules/es-object-atoms": {
|
"node_modules/es-object-atoms": {
|
||||||
"version": "1.1.2",
|
"version": "1.1.2",
|
||||||
"resolved": "https://npm.oktp/es-object-atoms/-/es-object-atoms-1.1.2.tgz",
|
"resolved": "https://npm.oktp/es-object-atoms/-/es-object-atoms-1.1.2.tgz",
|
||||||
@@ -19078,7 +19264,6 @@
|
|||||||
"version": "0.25.12",
|
"version": "0.25.12",
|
||||||
"resolved": "https://npm.oktp/esbuild/-/esbuild-0.25.12.tgz",
|
"resolved": "https://npm.oktp/esbuild/-/esbuild-0.25.12.tgz",
|
||||||
"integrity": "sha512-bbPBYYrtZbkt6Os6FiTLCTFxvq4tt3JKall1vRwshA3fdVztsLAatFaZobhkBC8/BrPetoa0oksYoKXoG4ryJg==",
|
"integrity": "sha512-bbPBYYrtZbkt6Os6FiTLCTFxvq4tt3JKall1vRwshA3fdVztsLAatFaZobhkBC8/BrPetoa0oksYoKXoG4ryJg==",
|
||||||
"devOptional": true,
|
|
||||||
"hasInstallScript": true,
|
"hasInstallScript": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"bin": {
|
"bin": {
|
||||||
@@ -19516,6 +19701,15 @@
|
|||||||
"integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==",
|
"integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==",
|
||||||
"license": "ISC"
|
"license": "ISC"
|
||||||
},
|
},
|
||||||
|
"node_modules/expect-type": {
|
||||||
|
"version": "1.4.0",
|
||||||
|
"resolved": "https://npm.oktp/expect-type/-/expect-type-1.4.0.tgz",
|
||||||
|
"integrity": "sha512-KfYbmpRm0VbLjEvVa9yGwCi9GI34xvi7A/HXYWQO65CSD2u3MczUJSuwXKFIxlGsgBQizV9q5J9NHj4VG0n+pA==",
|
||||||
|
"license": "Apache-2.0",
|
||||||
|
"engines": {
|
||||||
|
"node": ">=12.0.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/exponential-backoff": {
|
"node_modules/exponential-backoff": {
|
||||||
"version": "3.1.3",
|
"version": "3.1.3",
|
||||||
"resolved": "https://npm.oktp/exponential-backoff/-/exponential-backoff-3.1.3.tgz",
|
"resolved": "https://npm.oktp/exponential-backoff/-/exponential-backoff-3.1.3.tgz",
|
||||||
@@ -21162,6 +21356,18 @@
|
|||||||
"@jridgewell/sourcemap-codec": "^1.5.5"
|
"@jridgewell/sourcemap-codec": "^1.5.5"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/magicast": {
|
||||||
|
"version": "0.5.5",
|
||||||
|
"resolved": "https://npm.oktp/magicast/-/magicast-0.5.5.tgz",
|
||||||
|
"integrity": "sha512-UicdXN8zQ3JHlxVq+28afMXPr1z7WNY6+7EJnzTdQWkTAlMLF5fNCCKxJHBQwGaNGR11581EiQmQzx73+MvszA==",
|
||||||
|
"devOptional": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"dependencies": {
|
||||||
|
"@babel/parser": "^7.29.7",
|
||||||
|
"@babel/types": "^7.29.7",
|
||||||
|
"source-map-js": "^1.2.1"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/make-fetch-happen": {
|
"node_modules/make-fetch-happen": {
|
||||||
"version": "15.0.6",
|
"version": "15.0.6",
|
||||||
"resolved": "https://npm.oktp/make-fetch-happen/-/make-fetch-happen-15.0.6.tgz",
|
"resolved": "https://npm.oktp/make-fetch-happen/-/make-fetch-happen-15.0.6.tgz",
|
||||||
@@ -22607,6 +22813,19 @@
|
|||||||
"url": "https://github.com/fb55/nth-check?sponsor=1"
|
"url": "https://github.com/fb55/nth-check?sponsor=1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/obug": {
|
||||||
|
"version": "3.0.0",
|
||||||
|
"resolved": "https://npm.oktp/obug/-/obug-3.0.0.tgz",
|
||||||
|
"integrity": "sha512-5vvB5+W7ePv+p3uqxi+RcW1XAzLW0/hxt3/4X4Lc4qHudzOhmBiBwOY6DRob4WnanAEGvNcLjF+KNOufrUoEQw==",
|
||||||
|
"funding": [
|
||||||
|
"https://github.com/sponsors/sxzz",
|
||||||
|
"https://opencollective.com/debug"
|
||||||
|
],
|
||||||
|
"license": "MIT",
|
||||||
|
"engines": {
|
||||||
|
"node": ">=12.20.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/ohash": {
|
"node_modules/ohash": {
|
||||||
"version": "2.0.12",
|
"version": "2.0.12",
|
||||||
"resolved": "https://npm.oktp/ohash/-/ohash-2.0.12.tgz",
|
"resolved": "https://npm.oktp/ohash/-/ohash-2.0.12.tgz",
|
||||||
@@ -23688,7 +23907,6 @@
|
|||||||
"version": "4.69.2",
|
"version": "4.69.2",
|
||||||
"resolved": "https://npm.oktp/rollup/-/rollup-4.69.2.tgz",
|
"resolved": "https://npm.oktp/rollup/-/rollup-4.69.2.tgz",
|
||||||
"integrity": "sha512-r11X4mycgV5bGNZO36K8UrfeLvLDTyGDecTXleVN/Knv0R24n5FJrZ4jYsEKrcHX2imo22kkNK+nKW5VpFjIGA==",
|
"integrity": "sha512-r11X4mycgV5bGNZO36K8UrfeLvLDTyGDecTXleVN/Knv0R24n5FJrZ4jYsEKrcHX2imo22kkNK+nKW5VpFjIGA==",
|
||||||
"devOptional": true,
|
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@types/estree": "^1.0.10"
|
"@types/estree": "^1.0.10"
|
||||||
@@ -24399,6 +24617,12 @@
|
|||||||
"node": "^20.17.0 || >=22.9.0"
|
"node": "^20.17.0 || >=22.9.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/std-env": {
|
||||||
|
"version": "4.3.0",
|
||||||
|
"resolved": "https://npm.oktp/std-env/-/std-env-4.3.0.tgz",
|
||||||
|
"integrity": "sha512-OtU/EgQ1kIm5KwqQpBC6ZEMXrZRui11w8zgfTWp8cdO9B8OaPsbA8bTHO2P+HNo1VlUTGMVBwPhydu6poeXiag==",
|
||||||
|
"license": "MIT"
|
||||||
|
},
|
||||||
"node_modules/stdin-discarder": {
|
"node_modules/stdin-discarder": {
|
||||||
"version": "0.3.2",
|
"version": "0.3.2",
|
||||||
"resolved": "https://npm.oktp/stdin-discarder/-/stdin-discarder-0.3.2.tgz",
|
"resolved": "https://npm.oktp/stdin-discarder/-/stdin-discarder-0.3.2.tgz",
|
||||||
@@ -24589,11 +24813,19 @@
|
|||||||
"readable-stream": "3"
|
"readable-stream": "3"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/tinybench": {
|
||||||
|
"version": "6.2.5",
|
||||||
|
"resolved": "https://npm.oktp/tinybench/-/tinybench-6.2.5.tgz",
|
||||||
|
"integrity": "sha512-b/8GRMdnY4cqkfCLyaFpTGIv1qwfi3oT0mWaepwT++6Z/ZrYehNfZZ2JDKVLKGhNoEkS3IIB1ELtCT0XS5DtOA==",
|
||||||
|
"license": "MIT",
|
||||||
|
"engines": {
|
||||||
|
"node": ">=20.0.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/tinyexec": {
|
"node_modules/tinyexec": {
|
||||||
"version": "1.4.0",
|
"version": "1.4.0",
|
||||||
"resolved": "https://npm.oktp/tinyexec/-/tinyexec-1.4.0.tgz",
|
"resolved": "https://npm.oktp/tinyexec/-/tinyexec-1.4.0.tgz",
|
||||||
"integrity": "sha512-PV6lIcJQh57aFeJDwx16JNHmgFRh5xguzallrDW1qe8nAghYgr5MKz2K5k7wEyV/ygZhdnIAP8+HZSarHPBCsg==",
|
"integrity": "sha512-PV6lIcJQh57aFeJDwx16JNHmgFRh5xguzallrDW1qe8nAghYgr5MKz2K5k7wEyV/ygZhdnIAP8+HZSarHPBCsg==",
|
||||||
"dev": true,
|
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=18"
|
"node": ">=18"
|
||||||
@@ -24644,6 +24876,16 @@
|
|||||||
"url": "https://github.com/sponsors/jonschlinkert"
|
"url": "https://github.com/sponsors/jonschlinkert"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/tinyrainbow": {
|
||||||
|
"version": "3.2.0",
|
||||||
|
"resolved": "https://npm.oktp/tinyrainbow/-/tinyrainbow-3.2.0.tgz",
|
||||||
|
"integrity": "sha512-LgO3D9yZJjApUiuUfl9iFAwrtaX4+lok3wJIqttGoKCHlWUqHqbQpnxCf82L8FjgKsh4iGo78hqJwgL8F6To2A==",
|
||||||
|
"devOptional": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"engines": {
|
||||||
|
"node": ">=14.0.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/to-regex-range": {
|
"node_modules/to-regex-range": {
|
||||||
"version": "5.0.1",
|
"version": "5.0.1",
|
||||||
"resolved": "https://npm.oktp/to-regex-range/-/to-regex-range-5.0.1.tgz",
|
"resolved": "https://npm.oktp/to-regex-range/-/to-regex-range-5.0.1.tgz",
|
||||||
@@ -25033,7 +25275,6 @@
|
|||||||
"version": "6.4.6",
|
"version": "6.4.6",
|
||||||
"resolved": "https://npm.oktp/vite/-/vite-6.4.6.tgz",
|
"resolved": "https://npm.oktp/vite/-/vite-6.4.6.tgz",
|
||||||
"integrity": "sha512-RtsraAwEG68idOA6iUOoIpOlcSKROnf815aIq9qHTSrDNpLoBrBa12suyfcEd8qn0xwOVQI1Yhm1GbmTjF600A==",
|
"integrity": "sha512-RtsraAwEG68idOA6iUOoIpOlcSKROnf815aIq9qHTSrDNpLoBrBa12suyfcEd8qn0xwOVQI1Yhm1GbmTjF600A==",
|
||||||
"devOptional": true,
|
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"esbuild": "^0.25.0",
|
"esbuild": "^0.25.0",
|
||||||
@@ -25128,7 +25369,6 @@
|
|||||||
"version": "6.5.0",
|
"version": "6.5.0",
|
||||||
"resolved": "https://npm.oktp/fdir/-/fdir-6.5.0.tgz",
|
"resolved": "https://npm.oktp/fdir/-/fdir-6.5.0.tgz",
|
||||||
"integrity": "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==",
|
"integrity": "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==",
|
||||||
"devOptional": true,
|
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=12.0.0"
|
"node": ">=12.0.0"
|
||||||
@@ -25146,7 +25386,109 @@
|
|||||||
"version": "4.0.7",
|
"version": "4.0.7",
|
||||||
"resolved": "https://npm.oktp/picomatch/-/picomatch-4.0.7.tgz",
|
"resolved": "https://npm.oktp/picomatch/-/picomatch-4.0.7.tgz",
|
||||||
"integrity": "sha512-qcJu88Q2IWqJsDD529JKMdwGm/dvInW4HvQnRwiH9JtihJvzGOscDtHE3x1pBKeUOTysQ8kVmLnJ2kJu7yhcGA==",
|
"integrity": "sha512-qcJu88Q2IWqJsDD529JKMdwGm/dvInW4HvQnRwiH9JtihJvzGOscDtHE3x1pBKeUOTysQ8kVmLnJ2kJu7yhcGA==",
|
||||||
"devOptional": true,
|
"license": "MIT",
|
||||||
|
"engines": {
|
||||||
|
"node": ">=12"
|
||||||
|
},
|
||||||
|
"funding": {
|
||||||
|
"url": "https://github.com/sponsors/jonschlinkert"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/vitest": {
|
||||||
|
"version": "5.1.2",
|
||||||
|
"resolved": "https://npm.oktp/vitest/-/vitest-5.1.2.tgz",
|
||||||
|
"integrity": "sha512-VIa2wXV208WraXUbzH+dQUrGcFpPuaiRA8HlhXS8R6/sy9cynw6OMqGj8fmAlH1hot7huTCtWUE14+FdXU3eLw==",
|
||||||
|
"license": "MIT",
|
||||||
|
"dependencies": {
|
||||||
|
"@types/chai": "^5.2.2",
|
||||||
|
"@vitest/mocker": "5.1.2",
|
||||||
|
"chai": "^6.3.0",
|
||||||
|
"es-module-lexer": "^2.3.2",
|
||||||
|
"expect-type": "^1.4.0",
|
||||||
|
"magic-string": "^1.4.5",
|
||||||
|
"obug": "^3.0.0",
|
||||||
|
"picomatch": "^4.0.7",
|
||||||
|
"std-env": "^4.3.0",
|
||||||
|
"tinybench": "^6.2.3",
|
||||||
|
"tinyexec": "^1.3.1",
|
||||||
|
"tinyglobby": "^0.2.17",
|
||||||
|
"why-is-node-running": "3.2.1"
|
||||||
|
},
|
||||||
|
"bin": {
|
||||||
|
"vitest": "vitest.mjs"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": "^22.12.0 || ^24.0.0 || >=26.0.0"
|
||||||
|
},
|
||||||
|
"funding": {
|
||||||
|
"url": "https://opencollective.com/vitest"
|
||||||
|
},
|
||||||
|
"peerDependencies": {
|
||||||
|
"@edge-runtime/vm": "*",
|
||||||
|
"@opentelemetry/api": "^1.9.0",
|
||||||
|
"@types/node": "^22.0.0 || >=24.0.0",
|
||||||
|
"@vitest/browser-playwright": "5.1.2",
|
||||||
|
"@vitest/browser-preview": "5.1.2",
|
||||||
|
"@vitest/browser-webdriverio": "^5.0.0-beta.5 || >=5.0.0",
|
||||||
|
"@vitest/coverage-istanbul": "5.1.2",
|
||||||
|
"@vitest/coverage-v8": "5.1.2",
|
||||||
|
"@vitest/ui": "5.1.2",
|
||||||
|
"happy-dom": "*",
|
||||||
|
"jsdom": "*",
|
||||||
|
"vite": "^6.4.0 || ^7.0.0 || ^8.0.0"
|
||||||
|
},
|
||||||
|
"peerDependenciesMeta": {
|
||||||
|
"@edge-runtime/vm": {
|
||||||
|
"optional": true
|
||||||
|
},
|
||||||
|
"@opentelemetry/api": {
|
||||||
|
"optional": true
|
||||||
|
},
|
||||||
|
"@types/node": {
|
||||||
|
"optional": true
|
||||||
|
},
|
||||||
|
"@vitest/browser-playwright": {
|
||||||
|
"optional": true
|
||||||
|
},
|
||||||
|
"@vitest/browser-preview": {
|
||||||
|
"optional": true
|
||||||
|
},
|
||||||
|
"@vitest/browser-webdriverio": {
|
||||||
|
"optional": true
|
||||||
|
},
|
||||||
|
"@vitest/coverage-istanbul": {
|
||||||
|
"optional": true
|
||||||
|
},
|
||||||
|
"@vitest/coverage-v8": {
|
||||||
|
"optional": true
|
||||||
|
},
|
||||||
|
"@vitest/ui": {
|
||||||
|
"optional": true
|
||||||
|
},
|
||||||
|
"happy-dom": {
|
||||||
|
"optional": true
|
||||||
|
},
|
||||||
|
"jsdom": {
|
||||||
|
"optional": true
|
||||||
|
},
|
||||||
|
"vite": {
|
||||||
|
"optional": false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/vitest/node_modules/magic-string": {
|
||||||
|
"version": "1.4.5",
|
||||||
|
"resolved": "https://npm.oktp/magic-string/-/magic-string-1.4.5.tgz",
|
||||||
|
"integrity": "sha512-oLLC2+YvQUfAa+vxoufE/yc1icb87M9iXIRqAoR/2EhE/8cb3SF/+Gi0c2By1B+5Vz2e2vQtUvHiu1+63Znh+w==",
|
||||||
|
"license": "MIT",
|
||||||
|
"dependencies": {
|
||||||
|
"@jridgewell/sourcemap-codec": "^1.6.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/vitest/node_modules/picomatch": {
|
||||||
|
"version": "4.0.7",
|
||||||
|
"resolved": "https://npm.oktp/picomatch/-/picomatch-4.0.7.tgz",
|
||||||
|
"integrity": "sha512-qcJu88Q2IWqJsDD529JKMdwGm/dvInW4HvQnRwiH9JtihJvzGOscDtHE3x1pBKeUOTysQ8kVmLnJ2kJu7yhcGA==",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=12"
|
"node": ">=12"
|
||||||
@@ -25447,6 +25789,18 @@
|
|||||||
"node": ">= 8"
|
"node": ">= 8"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/why-is-node-running": {
|
||||||
|
"version": "3.2.1",
|
||||||
|
"resolved": "https://npm.oktp/why-is-node-running/-/why-is-node-running-3.2.1.tgz",
|
||||||
|
"integrity": "sha512-Tb2FUhB4vUsGQlfSquQLYkApkuPAFQXGFzxWKHHumVz2dK+X1RUm/HnID4+TfIGYJ1kTcwOaCk/buYCEJr6YjQ==",
|
||||||
|
"license": "MIT",
|
||||||
|
"bin": {
|
||||||
|
"why-is-node-running": "cli.js"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": ">=20.11"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/wildcard-match": {
|
"node_modules/wildcard-match": {
|
||||||
"version": "5.1.6",
|
"version": "5.1.6",
|
||||||
"resolved": "https://npm.oktp/wildcard-match/-/wildcard-match-5.1.6.tgz",
|
"resolved": "https://npm.oktp/wildcard-match/-/wildcard-match-5.1.6.tgz",
|
||||||
|
|||||||
+11
-4
@@ -9,11 +9,17 @@
|
|||||||
"preview": "vite preview",
|
"preview": "vite preview",
|
||||||
"formatter": "prettier --write",
|
"formatter": "prettier --write",
|
||||||
"linter": "eslint --fix",
|
"linter": "eslint --fix",
|
||||||
|
"lint": "eslint -c ./eslint.config.js \"./src*/**/*.{ts,js,cjs,mjs,vue}\"",
|
||||||
|
"test:unit": "vitest",
|
||||||
|
"test:unit:ci": "vitest run",
|
||||||
|
"test:unit:ui": "vitest --ui",
|
||||||
|
"test:coverage": "vitest run --coverage",
|
||||||
"changelog": "conventional-changelog --tag-prefix v -n changelog.config.cjs -i ../CHANGELOG.md -s -r 1",
|
"changelog": "conventional-changelog --tag-prefix v -n changelog.config.cjs -i ../CHANGELOG.md -s -r 1",
|
||||||
"release": "release-it"
|
"release": "release-it"
|
||||||
},
|
},
|
||||||
"release-it": {
|
"release-it": {
|
||||||
"git": {
|
"git": {
|
||||||
|
"lint": "eslint -c ./eslint.config.js \"./src*/**/*.{ts,js,cjs,mjs,vue}\"",
|
||||||
"commitMessage": "release [UKD-00]: Версия ${version} [skip ci]",
|
"commitMessage": "release [UKD-00]: Версия ${version} [skip ci]",
|
||||||
"tagName": "v${version}",
|
"tagName": "v${version}",
|
||||||
"tagAnnotation": "Версия ${version} [skip ci]",
|
"tagAnnotation": "Версия ${version} [skip ci]",
|
||||||
@@ -54,6 +60,7 @@
|
|||||||
"moment": "^2.31.0",
|
"moment": "^2.31.0",
|
||||||
"pinia": "^4.1.0",
|
"pinia": "^4.1.0",
|
||||||
"rrule": "^2.8.1",
|
"rrule": "^2.8.1",
|
||||||
|
"vitest": "^5.1.2",
|
||||||
"vue": "^3.5.46",
|
"vue": "^3.5.46",
|
||||||
"vue-cal": "^4.10.2",
|
"vue-cal": "^4.10.2",
|
||||||
"vue-chartjs": "^5.3.7",
|
"vue-chartjs": "^5.3.7",
|
||||||
@@ -70,6 +77,7 @@
|
|||||||
"@commitlint/config-conventional": "^21.3.0",
|
"@commitlint/config-conventional": "^21.3.0",
|
||||||
"@eslint/js": "^9.19.0",
|
"@eslint/js": "^9.19.0",
|
||||||
"@vitejs/plugin-vue": "^5.2.1",
|
"@vitejs/plugin-vue": "^5.2.1",
|
||||||
|
"@vitest/coverage-v8": "^5.1.2",
|
||||||
"@vue-leaflet/vue-leaflet": "^0.10.1",
|
"@vue-leaflet/vue-leaflet": "^0.10.1",
|
||||||
"commitlint": "^19.8.1",
|
"commitlint": "^19.8.1",
|
||||||
"conventional-changelog": "^8.1.3",
|
"conventional-changelog": "^8.1.3",
|
||||||
@@ -96,8 +104,7 @@
|
|||||||
"@parcel/watcher": true,
|
"@parcel/watcher": true,
|
||||||
"vue-demi": true
|
"vue-demi": true
|
||||||
},
|
},
|
||||||
|
"overrides": {
|
||||||
"overrides": {
|
"lodash-es": "^4.18.0"
|
||||||
"lodash-es": "^4.18.0"
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -10,6 +10,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { pagecounter } from "@/utils/universal_functions";
|
import { pagecounter } from "@/utils/universal_functions";
|
||||||
|
//Страница
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
setup() {
|
setup() {
|
||||||
|
|||||||
Executable
+27
@@ -0,0 +1,27 @@
|
|||||||
|
import { defineConfig } from "vitest/config";
|
||||||
|
import vue from "@vitejs/plugin-vue";
|
||||||
|
|
||||||
|
export default defineConfig({
|
||||||
|
plugins: [vue()],
|
||||||
|
test: {
|
||||||
|
environment: "happy-dom",
|
||||||
|
setupFiles: "test/vitest/setup-file.js",
|
||||||
|
include: [
|
||||||
|
// Тесты в любом подкаталоге src и в test/vitest/__tests__
|
||||||
|
"src/**/*.{test,spec}.{js,mjs,cjs,jsx}",
|
||||||
|
"test/vitest/__tests__/**/*.{test,spec}.{js,mjs,cjs,jsx}",
|
||||||
|
],
|
||||||
|
coverage: {
|
||||||
|
provider: "v8",
|
||||||
|
reporter: ["text", "lcov", "html"],
|
||||||
|
reportsDirectory: "./coverage",
|
||||||
|
include: ["src/**/*.{js,vue}"],
|
||||||
|
all: true,
|
||||||
|
exclude: [
|
||||||
|
"src/plugins/**", // в Vuetify-проектах тут инициализация vuetify, обычно не тестируют
|
||||||
|
"src/router/**",
|
||||||
|
"**/*.d.ts",
|
||||||
|
],
|
||||||
|
},
|
||||||
|
},
|
||||||
|
});
|
||||||
Reference in new issue
Block a user