diff --git a/package.json b/package.json index 834e7ce40e4..ff2cf31d6ce 100644 --- a/package.json +++ b/package.json @@ -18,6 +18,9 @@ "docs:dev:run": "vitepress dev docs", "docs:serve": "vitepress serve docs --port 5173", "docs:diff": "tsx ./scripts/diff.ts", + "docs:test:e2e:ci": "run-s docs:build:ci docs:test:e2e:run", + "docs:test:e2e:run": "run-p --race docs:serve \"cypress run\"", + "docs:test:e2e:open": "run-p --race docs:serve \"cypress open\"", "format": "prettier --cache --write .", "lint": "eslint --cache --cache-strategy content .", "ts-check": "tsc", @@ -26,9 +29,6 @@ "coverage": "vitest run --coverage", "integration-test": "vitest -c vitest.it-config.ts", "cypress": "cypress", - "docs:test:e2e:ci": "run-s docs:build:ci docs:test:e2e:run", - "docs:test:e2e:run": "run-p --race docs:serve \"cypress run\"", - "docs:test:e2e:open": "run-p --race docs:serve \"cypress open\"", "release": "commit-and-tag-version --commit-all", "prepublishOnly": "pnpm run clean && pnpm install && pnpm run build", "preflight": "pnpm install && run-s generate format lint build test:update-snapshots ts-check" @@ -109,14 +109,14 @@ "@eslint/js": "9.18.0", "@stylistic/eslint-plugin": "3.0.1", "@types/eslint__js": "8.42.3", - "@types/node": "22.10.3", + "@types/node": "22.13.0", "@types/sanitize-html": "2.13.0", "@types/semver": "7.5.8", "@types/validator": "13.12.2", "@vitest/coverage-v8": "3.0.5", "@vitest/eslint-plugin": "1.1.25", "@vitest/ui": "3.0.5", - "@vueuse/core": "12.2.0", + "@vueuse/core": "12.5.0", "commit-and-tag-version": "12.5.0", "cypress": "14.0.1", "eslint": "9.18.0", @@ -129,12 +129,12 @@ "npm-run-all2": "7.0.2", "prettier": "3.4.2", "prettier-plugin-organize-imports": "4.1.0", - "prettier-plugin-packagejson": "2.5.6", + "prettier-plugin-packagejson": "2.5.8", "rimraf": "5.0.10", "sanitize-html": "2.14.0", - "semver": "7.6.3", + "semver": "7.7.0", "ts-morph": "25.0.0", - "tsup": "8.3.5", + "tsup": "8.3.6", "tsx": "4.19.2", "typescript": "5.7.3", "typescript-eslint": "8.19.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 114a19c77db..ddfbe02cc5a 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -21,8 +21,8 @@ importers: specifier: 8.42.3 version: 8.42.3 '@types/node': - specifier: 22.10.3 - version: 22.10.3 + specifier: 22.13.0 + version: 22.13.0 '@types/sanitize-html': specifier: 2.13.0 version: 2.13.0 @@ -42,8 +42,8 @@ importers: specifier: 3.0.5 version: 3.0.5(vitest@3.0.5) '@vueuse/core': - specifier: 12.2.0 - version: 12.2.0(typescript@5.7.3) + specifier: 12.5.0 + version: 12.5.0(typescript@5.7.3) commit-and-tag-version: specifier: 12.5.0 version: 12.5.0 @@ -81,8 +81,8 @@ importers: specifier: 4.1.0 version: 4.1.0(prettier@3.4.2)(typescript@5.7.3)(vue-tsc@2.2.0(typescript@5.7.3)) prettier-plugin-packagejson: - specifier: 2.5.6 - version: 2.5.6(prettier@3.4.2) + specifier: 2.5.8 + version: 2.5.8(prettier@3.4.2) rimraf: specifier: 5.0.10 version: 5.0.10 @@ -90,14 +90,14 @@ importers: specifier: 2.14.0 version: 2.14.0 semver: - specifier: 7.6.3 - version: 7.6.3 + specifier: 7.7.0 + version: 7.7.0 ts-morph: specifier: 25.0.0 version: 25.0.0 tsup: - specifier: 8.3.5 - version: 8.3.5(jiti@2.4.2)(postcss@8.5.1)(tsx@4.19.2)(typescript@5.7.3)(yaml@2.7.0) + specifier: 8.3.6 + version: 8.3.6(jiti@2.4.2)(postcss@8.5.1)(tsx@4.19.2)(typescript@5.7.3)(yaml@2.7.0) tsx: specifier: 4.19.2 version: 4.19.2 @@ -112,10 +112,10 @@ importers: version: 13.12.0 vitepress: specifier: 1.6.3 - version: 1.6.3(@algolia/client-search@5.20.0)(@types/node@22.10.3)(postcss@8.5.1)(search-insights@2.17.3)(typescript@5.7.3) + version: 1.6.3(@algolia/client-search@5.20.0)(@types/node@22.13.0)(postcss@8.5.1)(search-insights@2.17.3)(typescript@5.7.3) vitest: specifier: 3.0.5 - version: 3.0.5(@types/node@22.10.3)(@vitest/ui@3.0.5)(jsdom@25.0.1) + version: 3.0.5(@types/node@22.13.0)(@vitest/ui@3.0.5)(jsdom@25.0.1) vue: specifier: 3.5.13 version: 3.5.13(typescript@5.7.3) @@ -1007,8 +1007,8 @@ packages: '@types/minimist@1.2.5': resolution: {integrity: sha512-hov8bUuiLiyFPGyFPE1lwWhmzYbirOXQNNo40+y3zow8aFVTeyn3VWL0VFFfdNddA8S4Vf0Tc062rzyNr7Paag==} - '@types/node@22.10.3': - resolution: {integrity: sha512-DifAyw4BkrufCILvD3ucnuN8eydUfc/C1GlyrnI+LK6543w5/L3VeVgf05o3B4fqSXP1dKYLOZsKfutpxPzZrw==} + '@types/node@22.13.0': + resolution: {integrity: sha512-ClIbNe36lawluuvq3+YYhnIN2CELi+6q8NpnM7PYp4hBn/TatfboPgVSm2rwKRfnV2M+Ty9GWDFI64KEe+kysA==} '@types/normalize-package-data@2.4.4': resolution: {integrity: sha512-37i+OaWTh9qeK4LSHPsyRC7NahnGotNuZvjLSgcPzblpHB3rrCJxAOgI5gCdKm7coonsaX1Of0ILiTcnZjbfxA==} @@ -1233,9 +1233,6 @@ packages: '@vue/shared@3.5.13': resolution: {integrity: sha512-/hnE/qP5ZoGpol0a5mDi45bOd7t3tjYJBjsgCsivow7D48cJeV5l05RD82lPqi7gRiphZM37rnhW1l6ZoCNNnQ==} - '@vueuse/core@12.2.0': - resolution: {integrity: sha512-jksyNu+5EGwggNkRWd6xX+8qBkYbmrwdFQMgCABsz+wq8bKF6w3soPFLB8vocFp3wFIzn0OYkSPM9JP+AFKwsg==} - '@vueuse/core@12.5.0': resolution: {integrity: sha512-GVyH1iYqNANwcahAx8JBm6awaNgvR/SwZ1fjr10b8l1HIgDp82ngNbfzJUgOgWEoxjL+URAggnlilAEXwCOZtg==} @@ -1280,15 +1277,9 @@ packages: universal-cookie: optional: true - '@vueuse/metadata@12.2.0': - resolution: {integrity: sha512-x6zynZtTh1l52m0y8d/EgzpshnMjg8cNZ2KWoncJ62Z5qPSGoc4FUunmMVrrRM/I/5542rTEY89CGftngZvrkQ==} - '@vueuse/metadata@12.5.0': resolution: {integrity: sha512-Ui7Lo2a7AxrMAXRF+fAp9QsXuwTeeZ8fIB9wsLHqzq9MQk+2gMYE2IGJW48VMJ8ecvCB3z3GsGLKLbSasQ5Qlg==} - '@vueuse/shared@12.2.0': - resolution: {integrity: sha512-SRr4AZwv/giS+EmyA1ZIzn3/iALjjnWAGaBNmoDTMEob9JwQaevAocuaMDnPAvU7Z35Y5g3CFRusCWgp1gVJ3Q==} - '@vueuse/shared@12.5.0': resolution: {integrity: sha512-vMpcL1lStUU6O+kdj6YdHDixh0odjPAUM15uJ9f7MY781jcYkIwFA4iv2EfoIPO6vBmvutI1HxxAwmf0cx5ISQ==} @@ -2939,8 +2930,8 @@ packages: vue-tsc: optional: true - prettier-plugin-packagejson@2.5.6: - resolution: {integrity: sha512-TY7KiLtyt6Tlf53BEbXUWkN0+TRdHKgIMmtXtDCyHH6yWnZ50Lwq6Vb6lyjapZrhDTXooC4EtlY5iLe1sCgi5w==} + prettier-plugin-packagejson@2.5.8: + resolution: {integrity: sha512-BaGOF63I0IJZoudxpuQe17naV93BRtK8b3byWktkJReKEMX9CC4qdGUzThPDVO/AUhPzlqDiAXbp18U6X8wLKA==} peerDependencies: prettier: '>= 1.16.0' peerDependenciesMeta: @@ -3117,8 +3108,8 @@ packages: resolution: {integrity: sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==} hasBin: true - semver@7.6.3: - resolution: {integrity: sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==} + semver@7.7.0: + resolution: {integrity: sha512-DrfFnPzblFmNrIZzg5RzHegbiRWg7KMR7btwi2yjHwx06zsUbO5g613sVwEV7FTwmzJu+Io0lJe2GJ3LxqpvBQ==} engines: {node: '>=10'} hasBin: true @@ -3181,8 +3172,8 @@ packages: sort-object-keys@1.1.3: resolution: {integrity: sha512-855pvK+VkU7PaKYPc+Jjnmt4EzejQHyhhF33q31qG8x7maDzkeFhAAThdCYay11CISO+qAMwjOBP+fPZe0IPyg==} - sort-package-json@2.12.0: - resolution: {integrity: sha512-/HrPQAeeLaa+vbAH/znjuhwUluuiM/zL5XX9kop8UpDgjtyWKt43hGDk2vd/TBdDpzIyzIHVUgmYofzYrAQjew==} + sort-package-json@2.14.0: + resolution: {integrity: sha512-xBRdmMjFB/KW3l51mP31dhlaiFmqkHLfWTfZAno8prb/wbDxwBPWFpxB16GZbiPbYr3wL41H8Kx22QIDWRe8WQ==} hasBin: true source-map-js@1.2.1: @@ -3414,8 +3405,8 @@ packages: tslib@2.8.1: resolution: {integrity: sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==} - tsup@8.3.5: - resolution: {integrity: sha512-Tunf6r6m6tnZsG9GYWndg0z8dEV7fD733VBFzFJ5Vcm1FtlXB8xBD/rtrBi2a3YKEV7hHtxiZtW5EAVADoe1pA==} + tsup@8.3.6: + resolution: {integrity: sha512-XkVtlDV/58S9Ye0JxUUTcrQk4S+EqlOHKzg6Roa62rdjL1nGWNUstG0xgI4vanHdfIpjP448J8vlN0oK6XOJ5g==} engines: {node: '>=18'} hasBin: true peerDependencies: @@ -4459,7 +4450,7 @@ snapshots: '@types/minimist@1.2.5': {} - '@types/node@22.10.3': + '@types/node@22.13.0': dependencies: undici-types: 6.20.0 @@ -4483,7 +4474,7 @@ snapshots: '@types/yauzl@2.10.3': dependencies: - '@types/node': 22.10.3 + '@types/node': 22.13.0 optional: true '@typescript-eslint/eslint-plugin@8.19.1(@typescript-eslint/parser@8.19.1(eslint@9.18.0(jiti@2.4.2))(typescript@5.7.3))(eslint@9.18.0(jiti@2.4.2))(typescript@5.7.3)': @@ -4548,7 +4539,7 @@ snapshots: fast-glob: 3.3.3 is-glob: 4.0.3 minimatch: 9.0.5 - semver: 7.6.3 + semver: 7.7.0 ts-api-utils: 2.0.0(typescript@5.7.3) typescript: 5.7.3 transitivePeerDependencies: @@ -4562,7 +4553,7 @@ snapshots: fast-glob: 3.3.3 is-glob: 4.0.3 minimatch: 9.0.5 - semver: 7.6.3 + semver: 7.7.0 ts-api-utils: 2.0.0(typescript@5.7.3) typescript: 5.7.3 transitivePeerDependencies: @@ -4602,9 +4593,9 @@ snapshots: '@ungap/structured-clone@1.3.0': {} - '@vitejs/plugin-vue@5.2.1(vite@5.4.14(@types/node@22.10.3))(vue@3.5.13(typescript@5.7.3))': + '@vitejs/plugin-vue@5.2.1(vite@5.4.14(@types/node@22.13.0))(vue@3.5.13(typescript@5.7.3))': dependencies: - vite: 5.4.14(@types/node@22.10.3) + vite: 5.4.14(@types/node@22.13.0) vue: 3.5.13(typescript@5.7.3) '@vitest/coverage-v8@3.0.5(vitest@3.0.5)': @@ -4621,7 +4612,7 @@ snapshots: std-env: 3.8.0 test-exclude: 7.0.1 tinyrainbow: 2.0.0 - vitest: 3.0.5(@types/node@22.10.3)(@vitest/ui@3.0.5)(jsdom@25.0.1) + vitest: 3.0.5(@types/node@22.13.0)(@vitest/ui@3.0.5)(jsdom@25.0.1) transitivePeerDependencies: - supports-color @@ -4631,7 +4622,7 @@ snapshots: eslint: 9.18.0(jiti@2.4.2) optionalDependencies: typescript: 5.7.3 - vitest: 3.0.5(@types/node@22.10.3)(@vitest/ui@3.0.5)(jsdom@25.0.1) + vitest: 3.0.5(@types/node@22.13.0)(@vitest/ui@3.0.5)(jsdom@25.0.1) '@vitest/expect@3.0.5': dependencies: @@ -4640,13 +4631,13 @@ snapshots: chai: 5.1.2 tinyrainbow: 2.0.0 - '@vitest/mocker@3.0.5(vite@5.4.14(@types/node@22.10.3))': + '@vitest/mocker@3.0.5(vite@5.4.14(@types/node@22.13.0))': dependencies: '@vitest/spy': 3.0.5 estree-walker: 3.0.3 magic-string: 0.30.17 optionalDependencies: - vite: 5.4.14(@types/node@22.10.3) + vite: 5.4.14(@types/node@22.13.0) '@vitest/pretty-format@3.0.5': dependencies: @@ -4676,7 +4667,7 @@ snapshots: sirv: 3.0.0 tinyglobby: 0.2.10 tinyrainbow: 2.0.0 - vitest: 3.0.5(@types/node@22.10.3)(@vitest/ui@3.0.5)(jsdom@25.0.1) + vitest: 3.0.5(@types/node@22.13.0)(@vitest/ui@3.0.5)(jsdom@25.0.1) '@vitest/utils@3.0.5': dependencies: @@ -4786,15 +4777,6 @@ snapshots: '@vue/shared@3.5.13': {} - '@vueuse/core@12.2.0(typescript@5.7.3)': - dependencies: - '@types/web-bluetooth': 0.0.20 - '@vueuse/metadata': 12.2.0 - '@vueuse/shared': 12.2.0(typescript@5.7.3) - vue: 3.5.13(typescript@5.7.3) - transitivePeerDependencies: - - typescript - '@vueuse/core@12.5.0(typescript@5.7.3)': dependencies: '@types/web-bluetooth': 0.0.20 @@ -4814,16 +4796,8 @@ snapshots: transitivePeerDependencies: - typescript - '@vueuse/metadata@12.2.0': {} - '@vueuse/metadata@12.5.0': {} - '@vueuse/shared@12.2.0(typescript@5.7.3)': - dependencies: - vue: 3.5.13(typescript@5.7.3) - transitivePeerDependencies: - - typescript - '@vueuse/shared@12.5.0(typescript@5.7.3)': dependencies: vue: 3.5.13(typescript@5.7.3) @@ -5115,7 +5089,7 @@ snapshots: find-up: 5.0.0 git-semver-tags: 5.0.1 jsdom: 25.0.1 - semver: 7.6.3 + semver: 7.7.0 w3c-xmlserializer: 5.0.0 yaml: 2.7.0 yargs: 17.7.2 @@ -5192,7 +5166,7 @@ snapshots: handlebars: 4.7.8 json-stringify-safe: 5.0.1 meow: 8.1.2 - semver: 7.6.3 + semver: 7.7.0 split: 1.0.1 conventional-changelog@4.0.0: @@ -5295,7 +5269,7 @@ snapshots: process: 0.11.10 proxy-from-env: 1.0.0 request-progress: 3.0.0 - semver: 7.6.3 + semver: 7.7.0 supports-color: 8.1.1 tmp: 0.2.3 tree-kill: 1.2.2 @@ -5543,7 +5517,7 @@ snapshots: espree: 10.3.0 esquery: 1.6.0 parse-imports: 2.2.1 - semver: 7.6.3 + semver: 7.7.0 spdx-expression-parse: 4.0.0 synckit: 0.9.2 transitivePeerDependencies: @@ -5576,7 +5550,7 @@ snapshots: read-pkg-up: 7.0.1 regexp-tree: 0.1.27 regjsparser: 0.10.0 - semver: 7.6.3 + semver: 7.7.0 strip-indent: 3.0.0 eslint-scope@8.2.0: @@ -5844,7 +5818,7 @@ snapshots: git-semver-tags@5.0.1: dependencies: meow: 8.1.2 - semver: 7.6.3 + semver: 7.7.0 gitconfiglocal@1.0.0: dependencies: @@ -6250,7 +6224,7 @@ snapshots: make-dir@4.0.0: dependencies: - semver: 7.6.3 + semver: 7.7.0 map-obj@1.0.1: {} @@ -6383,7 +6357,7 @@ snapshots: dependencies: hosted-git-info: 4.1.0 is-core-module: 2.16.1 - semver: 7.6.3 + semver: 7.7.0 validate-npm-package-license: 3.0.4 npm-normalize-package-bin@4.0.0: {} @@ -6574,9 +6548,9 @@ snapshots: optionalDependencies: vue-tsc: 2.2.0(typescript@5.7.3) - prettier-plugin-packagejson@2.5.6(prettier@3.4.2): + prettier-plugin-packagejson@2.5.8(prettier@3.4.2): dependencies: - sort-package-json: 2.12.0 + sort-package-json: 2.14.0 synckit: 0.9.2 optionalDependencies: prettier: 3.4.2 @@ -6768,7 +6742,7 @@ snapshots: semver@5.7.2: {} - semver@7.6.3: {} + semver@7.7.0: {} shebang-command@2.0.0: dependencies: @@ -6845,14 +6819,14 @@ snapshots: sort-object-keys@1.1.3: {} - sort-package-json@2.12.0: + sort-package-json@2.14.0: dependencies: detect-indent: 7.0.1 detect-newline: 4.0.1 get-stdin: 9.0.0 git-hooks-list: 3.1.0 is-plain-obj: 4.1.0 - semver: 7.6.3 + semver: 7.7.0 sort-object-keys: 1.1.3 tinyglobby: 0.2.10 @@ -7076,7 +7050,7 @@ snapshots: tslib@2.8.1: {} - tsup@8.3.5(jiti@2.4.2)(postcss@8.5.1)(tsx@4.19.2)(typescript@5.7.3)(yaml@2.7.0): + tsup@8.3.6(jiti@2.4.2)(postcss@8.5.1)(tsx@4.19.2)(typescript@5.7.3)(yaml@2.7.0): dependencies: bundle-require: 5.1.0(esbuild@0.24.2) cac: 6.7.14 @@ -7211,13 +7185,13 @@ snapshots: '@types/unist': 3.0.3 vfile-message: 4.0.2 - vite-node@3.0.5(@types/node@22.10.3): + vite-node@3.0.5(@types/node@22.13.0): dependencies: cac: 6.7.14 debug: 4.4.0(supports-color@8.1.1) es-module-lexer: 1.6.0 pathe: 2.0.2 - vite: 5.4.14(@types/node@22.10.3) + vite: 5.4.14(@types/node@22.13.0) transitivePeerDependencies: - '@types/node' - less @@ -7229,16 +7203,16 @@ snapshots: - supports-color - terser - vite@5.4.14(@types/node@22.10.3): + vite@5.4.14(@types/node@22.13.0): dependencies: esbuild: 0.21.5 postcss: 8.5.1 rollup: 4.32.0 optionalDependencies: - '@types/node': 22.10.3 + '@types/node': 22.13.0 fsevents: 2.3.3 - vitepress@1.6.3(@algolia/client-search@5.20.0)(@types/node@22.10.3)(postcss@8.5.1)(search-insights@2.17.3)(typescript@5.7.3): + vitepress@1.6.3(@algolia/client-search@5.20.0)(@types/node@22.13.0)(postcss@8.5.1)(search-insights@2.17.3)(typescript@5.7.3): dependencies: '@docsearch/css': 3.8.2 '@docsearch/js': 3.8.2(@algolia/client-search@5.20.0)(search-insights@2.17.3) @@ -7247,7 +7221,7 @@ snapshots: '@shikijs/transformers': 2.2.0 '@shikijs/types': 2.2.0 '@types/markdown-it': 14.1.2 - '@vitejs/plugin-vue': 5.2.1(vite@5.4.14(@types/node@22.10.3))(vue@3.5.13(typescript@5.7.3)) + '@vitejs/plugin-vue': 5.2.1(vite@5.4.14(@types/node@22.13.0))(vue@3.5.13(typescript@5.7.3)) '@vue/devtools-api': 7.7.1 '@vue/shared': 3.5.13 '@vueuse/core': 12.5.0(typescript@5.7.3) @@ -7256,7 +7230,7 @@ snapshots: mark.js: 8.11.1 minisearch: 7.1.1 shiki: 2.2.0 - vite: 5.4.14(@types/node@22.10.3) + vite: 5.4.14(@types/node@22.13.0) vue: 3.5.13(typescript@5.7.3) optionalDependencies: postcss: 8.5.1 @@ -7287,10 +7261,10 @@ snapshots: - typescript - universal-cookie - vitest@3.0.5(@types/node@22.10.3)(@vitest/ui@3.0.5)(jsdom@25.0.1): + vitest@3.0.5(@types/node@22.13.0)(@vitest/ui@3.0.5)(jsdom@25.0.1): dependencies: '@vitest/expect': 3.0.5 - '@vitest/mocker': 3.0.5(vite@5.4.14(@types/node@22.10.3)) + '@vitest/mocker': 3.0.5(vite@5.4.14(@types/node@22.13.0)) '@vitest/pretty-format': 3.0.5 '@vitest/runner': 3.0.5 '@vitest/snapshot': 3.0.5 @@ -7306,11 +7280,11 @@ snapshots: tinyexec: 0.3.2 tinypool: 1.0.2 tinyrainbow: 2.0.0 - vite: 5.4.14(@types/node@22.10.3) - vite-node: 3.0.5(@types/node@22.10.3) + vite: 5.4.14(@types/node@22.13.0) + vite-node: 3.0.5(@types/node@22.13.0) why-is-node-running: 2.3.0 optionalDependencies: - '@types/node': 22.10.3 + '@types/node': 22.13.0 '@vitest/ui': 3.0.5(vitest@3.0.5) jsdom: 25.0.1 transitivePeerDependencies: