diff --git a/package.json b/package.json index a665d4c3..39eeb031 100644 --- a/package.json +++ b/package.json @@ -78,7 +78,6 @@ "@nuxt/eslint-config": "^1.17.0", "@nuxt/schema": "~4.5.2", "@types/node": "^24.13.3", - "@types/semver": "^7.8.0", "@vitest/coverage-v8": "^5.0.0", "eslint": "^10.9.1", "installed-check": "^11.0.0", @@ -87,10 +86,10 @@ "ofetch": "^1.5.1", "pkg-pr-new": "^0.0.88", "publint": "^0.3.24", - "semver": "^7.8.5", "tinyexec": "^1.3.0", "tsdown": "^0.22.14", "typescript": "~5.9.3", + "verkit": "^0.5.0", "vitest": "^5.0.0", "vue": "^3.5.42", "vue-tsc": "^3.3.11" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 790e29f8..f2db121b 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -173,9 +173,6 @@ importers: '@types/node': specifier: ^24.13.3 version: 24.13.3 - '@types/semver': - specifier: ^7.8.0 - version: 7.8.0 '@vitest/coverage-v8': specifier: ^5.0.0 version: 5.0.0(vitest@5.0.0) @@ -203,9 +200,6 @@ importers: publint: specifier: ^0.3.24 version: 0.3.24 - semver: - specifier: ^7.8.5 - version: 7.8.5 tinyexec: specifier: ^1.3.0 version: 1.3.0 @@ -215,6 +209,9 @@ importers: typescript: specifier: ~5.9.3 version: 5.9.3 + verkit: + specifier: ^0.5.0 + version: 0.5.0 vitest: specifier: ^5.0.0 version: 5.0.0(@types/node@24.13.3)(@vitest/coverage-v8@5.0.0)(vite@8.2.2(@types/node@24.13.3)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(yaml@2.9.0)) @@ -1706,9 +1703,6 @@ packages: '@types/resolve@1.20.2': resolution: {integrity: sha512-60BCwRFOZCQhDncwQdxxeOEEkbc5dIMccYLwbxsS4TUNeVECQ/pBJ0j09mrHOl/JJvpRPGwO9SvE4nR2Nb/a4Q==} - '@types/semver@7.8.0': - resolution: {integrity: sha512-1mAINjtQCXXeLkJ9ehXkwOcBpqtLxiVtKhpUf83DdRNdQKV0iXZpaHYqRr7nj+wvxuJzoAmAwXI+sCNMv1CzLQ==} - '@typescript-eslint/eslint-plugin@8.68.0': resolution: {integrity: sha512-WASHDpCm6qO5jj9g1a+8NiW5+GCkAyLReR56/4VruYmNgfUmqpxOfZ2Yfb8xGfJPWv5Qi6LSD8sXdces3vbp/Q==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} @@ -5346,6 +5340,10 @@ packages: resolution: {integrity: sha512-zj/ob3UsvJGN0whEAKFp53REA5X66hvffVqoCtVQAakJKnKlH+/PcOfMoFwIG/o4rElqLv/ycAFlx8ZlXUorCg==} engines: {node: '>=18.12.0'} + verkit@0.5.0: + resolution: {integrity: sha512-u4J1hr6Y+C/hit34GwL3eIcUf3wngT8TlYUjK7tk0jxydKLAq3sYvifjdTDA6U3KCKRcQCQDGf/srjxfZF3l7g==} + engines: {node: '>=18.12.0'} + version-guard@1.1.3: resolution: {integrity: sha512-JwPr6erhX53EWH/HCSzfy1tTFrtPXUe927wdM1jqBBeYp1OM+qPHjWbsvv6pIBduqdgxxS+ScfG7S28pzyr2DQ==} engines: {node: '>=0.10.48'} @@ -7138,8 +7136,6 @@ snapshots: '@types/resolve@1.20.2': {} - '@types/semver@7.8.0': {} - '@typescript-eslint/eslint-plugin@8.68.0(@typescript-eslint/parser@8.68.0(eslint@10.9.1(jiti@2.7.0)(supports-color@10.2.2))(supports-color@10.2.2)(typescript@5.9.3))(eslint@10.9.1(jiti@2.7.0)(supports-color@10.2.2))(supports-color@10.2.2)(typescript@5.9.3)': dependencies: '@eslint-community/regexpp': 4.12.2 @@ -10872,6 +10868,8 @@ snapshots: verkit@0.3.2: {} + verkit@0.5.0: {} + version-guard@1.1.3: {} vite-dev-rpc@2.0.0(vite@8.2.2(@types/node@24.13.3)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(yaml@2.9.0)): diff --git a/test/build.spec.ts b/test/build.spec.ts index 5c37c48b..0442669e 100644 --- a/test/build.spec.ts +++ b/test/build.spec.ts @@ -6,7 +6,7 @@ import { readPackageJSON } from 'pkg-types' import { dirname, join } from 'pathe' import { findStaticImports } from 'mlly' import { version as nuxtVersion } from 'nuxt/package.json' -import { satisfies } from 'semver' +import { satisfies } from 'verkit' import { version } from '../package.json' describe('module builder', () => {