From 615cfd89b7c7c6a0bdf8c9e4899d7ca820d7a16c Mon Sep 17 00:00:00 2001 From: strawberry-choco Date: Tue, 12 Dec 2023 11:16:56 +0100 Subject: [PATCH] fix build order (#207) Signed-off-by: Kangrui Ye --- package.json | 2 +- packages/eslint-plugin-vue/package.json | 1 + yarn.lock | 3 ++- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 91809ce..79f78e3 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ }, "description": "", "scripts": { - "build": "yarn workspaces foreach -ptA run build-package", + "build": "yarn workspaces foreach -pA --topological-dev run build-package", "lint": "eslint . && eslint --config .eslintrc.format.js .", "test": "yarn workspaces foreach -pA run test-package", "postinstall": "husky install && git update-index --chmod=+x ./.husky/pre-commit", diff --git a/packages/eslint-plugin-vue/package.json b/packages/eslint-plugin-vue/package.json index ec5b91f..f385992 100644 --- a/packages/eslint-plugin-vue/package.json +++ b/packages/eslint-plugin-vue/package.json @@ -34,6 +34,7 @@ "eslint": ">=8.0.0 <9.0.0" }, "devDependencies": { + "@cloudflight/eslint-plugin-typescript": "workspace:*", "typescript": "5.3.3" } } diff --git a/yarn.lock b/yarn.lock index 2dfa223..c4ebae6 100644 --- a/yarn.lock +++ b/yarn.lock @@ -531,7 +531,7 @@ __metadata: languageName: unknown linkType: soft -"@cloudflight/eslint-plugin-typescript@workspace:packages/eslint-plugin-typescript": +"@cloudflight/eslint-plugin-typescript@workspace:*, @cloudflight/eslint-plugin-typescript@workspace:packages/eslint-plugin-typescript": version: 0.0.0-use.local resolution: "@cloudflight/eslint-plugin-typescript@workspace:packages/eslint-plugin-typescript" dependencies: @@ -551,6 +551,7 @@ __metadata: version: 0.0.0-use.local resolution: "@cloudflight/eslint-plugin-vue@workspace:packages/eslint-plugin-vue" dependencies: + "@cloudflight/eslint-plugin-typescript": "workspace:*" "@vue/eslint-config-typescript": "npm:^12.0.0" eslint-plugin-vue: "npm:^9.19.2" typescript: "npm:5.3.3"