UNPKG

@nx-dotnet/core

Version:

- Have an existing nx workspace. For creating this, see [nrwl's documentation](https://nx.dev/latest/angular/getting-started/nx-setup). - .NET SDK is installed, and `dotnet` is available on the path. For help on this, see [Microsoft's documentation](https

17 lines 780 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = default_1; const dotnet_1 = require("@nx-dotnet/dotnet"); const utils_1 = require("@nx-dotnet/utils"); async function default_1(host, _, // Nx will populate this with options, which are currently unused. dotnetClient = new dotnet_1.DotNetClient((0, dotnet_1.dotnetFactory)())) { const projects = await (0, utils_1.getNxDotnetProjects)(host); for (const [projectName, project] of projects.entries()) { const projectFiles = (0, utils_1.getProjectFilesForProject)(host, project, projectName); for (const file of projectFiles) { dotnetClient.restorePackages(file); } } dotnetClient.restoreTools(); } //# sourceMappingURL=generator.js.map