From 6d3dc3b2804198a6946153da406db040d9a2472d Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Mon, 3 Oct 2022 14:35:52 +0100 Subject: [PATCH] chore: clean up some root workspace dependencies (#7931) --- package.json | 21 +++++++++++------ packages/schema/package.json | 1 + yarn.lock | 44 ++++++++++++------------------------ 3 files changed, 29 insertions(+), 37 deletions(-) diff --git a/package.json b/package.json index 6f573bc00a..9df1ab0a00 100644 --- a/package.json +++ b/package.json @@ -35,23 +35,25 @@ "version": "yarn && git add yarn.lock" }, "resolutions": { - "@nuxt/kit": "link:./packages/kit", - "@nuxt/schema": "link:./packages/schema", - "@nuxt/test-utils": "link:./packages/test-utils", - "@nuxt/vite": "link:./packages/vite", - "@nuxt/webpack": "link:./packages/webpack", - "nuxi": "link:./packages/nuxi", - "nuxt": "link:./packages/nuxt", + "@nuxt/kit": "workspace:^", + "@nuxt/schema": "workspace:^", + "@nuxt/test-utils": "workspace:^", + "@nuxt/vite-builder": "workspace:^", + "@nuxt/webpack-builder": "workspace:^", + "nuxi": "workspace:^", + "nuxt": "workspace:^", "nuxt3": "link:./packages/nuxt", "vite": "~3.1.3", "unbuild": "^0.8.11" }, "devDependencies": { "@actions/core": "^1.9.1", + "@nuxt/test-utils": "workspace:^", "@nuxtjs/eslint-config-typescript": "^11.0.0", "@types/crawler": "^1.2.2", "@types/node": "^16.11.60", "@types/rimraf": "^3", + "@types/semver": "^7", "@unocss/reset": "^0.45.23", "case-police": "^0.5.10", "changelogen": "^0.3.2", @@ -64,10 +66,15 @@ "jiti": "^1.16.0", "lerna": "^5.5.2", "markdownlint-cli": "^0.32.2", + "ohmyfetch": "^0.4.19", "pathe": "^0.3.8", "rimraf": "^3.0.2", + "semver": "^7.3.7", + "std-env": "^3.2.1", "typescript": "^4.8.3", + "ufo": "^0.8.5", "unbuild": "^0.8.11", + "vite": "^3.1.4", "vitest": "~0.19.1", "vue-tsc": "^0.39.5" }, diff --git a/packages/schema/package.json b/packages/schema/package.json index b168387e69..51fa4d560d 100644 --- a/packages/schema/package.json +++ b/packages/schema/package.json @@ -16,6 +16,7 @@ "devDependencies": { "@types/lodash.template": "^4", "@types/semver": "^7", + "@vitejs/plugin-vue": "^3.1.0", "unbuild": "latest", "untyped": "^0.5.0", "vite": "~3.1.3" diff --git a/yarn.lock b/yarn.lock index 9454aa2953..c219bc0161 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1665,13 +1665,7 @@ __metadata: languageName: node linkType: hard -"@nuxt/kit@link:./packages/kit::locator=nuxt-framework%40workspace%3A.": - version: 0.0.0-use.local - resolution: "@nuxt/kit@link:./packages/kit::locator=nuxt-framework%40workspace%3A." - languageName: node - linkType: soft - -"@nuxt/kit@workspace:packages/kit": +"@nuxt/kit@workspace:^, @nuxt/kit@workspace:packages/kit": version: 0.0.0-use.local resolution: "@nuxt/kit@workspace:packages/kit" dependencies: @@ -1699,18 +1693,13 @@ __metadata: languageName: unknown linkType: soft -"@nuxt/schema@link:./packages/schema::locator=nuxt-framework%40workspace%3A.": - version: 0.0.0-use.local - resolution: "@nuxt/schema@link:./packages/schema::locator=nuxt-framework%40workspace%3A." - languageName: node - linkType: soft - -"@nuxt/schema@workspace:packages/schema": +"@nuxt/schema@workspace:^, @nuxt/schema@workspace:packages/schema": version: 0.0.0-use.local resolution: "@nuxt/schema@workspace:packages/schema" dependencies: "@types/lodash.template": ^4 "@types/semver": ^7 + "@vitejs/plugin-vue": ^3.1.0 c12: ^0.2.13 create-require: ^1.1.1 defu: ^6.1.0 @@ -1758,7 +1747,7 @@ __metadata: languageName: node linkType: hard -"@nuxt/test-utils@workspace:packages/test-utils": +"@nuxt/test-utils@workspace:^, @nuxt/test-utils@workspace:packages/test-utils": version: 0.0.0-use.local resolution: "@nuxt/test-utils@workspace:packages/test-utils" dependencies: @@ -1808,7 +1797,7 @@ __metadata: languageName: node linkType: hard -"@nuxt/vite-builder@3.0.0-rc.11, @nuxt/vite-builder@workspace:packages/vite": +"@nuxt/vite-builder@workspace:^, @nuxt/vite-builder@workspace:packages/vite": version: 0.0.0-use.local resolution: "@nuxt/vite-builder@workspace:packages/vite" dependencies: @@ -10429,13 +10418,7 @@ __metadata: languageName: node linkType: hard -"nuxi@link:./packages/nuxi::locator=nuxt-framework%40workspace%3A.": - version: 0.0.0-use.local - resolution: "nuxi@link:./packages/nuxi::locator=nuxt-framework%40workspace%3A." - languageName: node - linkType: soft - -"nuxi@workspace:packages/nuxi": +"nuxi@workspace:^, nuxi@workspace:packages/nuxi": version: 0.0.0-use.local resolution: "nuxi@workspace:packages/nuxi" dependencies: @@ -10480,10 +10463,12 @@ __metadata: resolution: "nuxt-framework@workspace:." dependencies: "@actions/core": ^1.9.1 + "@nuxt/test-utils": "workspace:^" "@nuxtjs/eslint-config-typescript": ^11.0.0 "@types/crawler": ^1.2.2 "@types/node": ^16.11.60 "@types/rimraf": ^3 + "@types/semver": ^7 "@unocss/reset": ^0.45.23 case-police: ^0.5.10 changelogen: ^0.3.2 @@ -10496,10 +10481,15 @@ __metadata: jiti: ^1.16.0 lerna: ^5.5.2 markdownlint-cli: ^0.32.2 + ohmyfetch: ^0.4.19 pathe: ^0.3.8 rimraf: ^3.0.2 + semver: ^7.3.7 + std-env: ^3.2.1 typescript: ^4.8.3 + ufo: ^0.8.5 unbuild: ^0.8.11 + vite: ^3.1.4 vitest: ~0.19.1 vue-tsc: ^0.39.5 languageName: unknown @@ -10511,13 +10501,7 @@ __metadata: languageName: unknown linkType: soft -"nuxt@link:./packages/nuxt::locator=nuxt-framework%40workspace%3A.": - version: 0.0.0-use.local - resolution: "nuxt@link:./packages/nuxt::locator=nuxt-framework%40workspace%3A." - languageName: node - linkType: soft - -"nuxt@workspace:packages/nuxt": +"nuxt@workspace:^, nuxt@workspace:packages/nuxt": version: 0.0.0-use.local resolution: "nuxt@workspace:packages/nuxt" dependencies: