From 4a15c254077259cd543be39f9c2a864db3746fa6 Mon Sep 17 00:00:00 2001 From: AgentEnder Date: Tue, 28 Feb 2023 11:40:12 -0500 Subject: [PATCH] chore(repo): pull restore out of prepare script We use different versions of dotnet in our smoke tests, which was causing failures for the .NET 6 matricies as our demo project targets .NET 7. This pulls `dotnet restore` out of the smoke test script. Since it uses the published versions of nx and our plugins it does not need to build our packages. For workflows that do need to build our packages, restore is ran automatically as part of the build. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 0d78ccc8..79c9dd67 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "nx-dotnet", "license": "MIT", "scripts": { - "prepare": "husky install && nx g @nx-dotnet/core:restore", + "prepare": "husky install", "lint-staged": "lint-staged", "e2e": "ts-node -P ./tools/scripts/tsconfig.e2e.json ./tools/scripts/e2e.ts", "semantic-release": "semantic-release",