chore [P-0]: Манифест

This commit is contained in:
Nukeap committed 2026-12-04 12:00:18 +03:00
1 parent 4dad94f668
commit 791d1e573f
3 files changed
+143

No files matched your search

+114
View File
@@ -50,6 +50,7 @@
"@commitlint/config-conventional": "^21.3.0",
"@eslint/js": "^9.19.0",
"@vitejs/plugin-vue": "^5.2.1",
"@vitest/coverage-v8": "^5.1.2",
"@vue-leaflet/vue-leaflet": "^0.10.1",
"commitlint": "^19.8.1",
"conventional-changelog": "^8.1.3",
@@ -189,6 +190,16 @@
"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": {
"version": "2.17.0",
"resolved": "https://npm.oktp/@bufbuild/protobuf/-/protobuf-2.17.0.tgz",
@@ -16554,6 +16565,58 @@
"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",
@@ -17002,6 +17065,35 @@
"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": {
"version": "1.3.3",
"resolved": "https://npm.oktp/async-retry/-/async-retry-1.3.3.tgz",
@@ -21264,6 +21356,18 @@
"@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": {
"version": "15.0.6",
"resolved": "https://npm.oktp/make-fetch-happen/-/make-fetch-happen-15.0.6.tgz",
@@ -24772,6 +24876,16 @@
"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": {
"version": "5.0.1",
"resolved": "https://npm.oktp/to-regex-range/-/to-regex-range-5.0.1.tgz",
+2
View File
@@ -9,6 +9,7 @@
"preview": "vite preview",
"formatter": "prettier --write",
"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",
@@ -76,6 +77,7 @@
"@commitlint/config-conventional": "^21.3.0",
"@eslint/js": "^9.19.0",
"@vitejs/plugin-vue": "^5.2.1",
"@vitest/coverage-v8": "^5.1.2",
"@vue-leaflet/vue-leaflet": "^0.10.1",
"commitlint": "^19.8.1",
"conventional-changelog": "^8.1.3",
+27
View File
@@ -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",
],
},
},
});