@nx-dotnet/core
Advanced tools
Comparing version 0.1.3 to 0.1.4
@@ -9,6 +9,6 @@ { | ||
"chokidar": "^3.5.1", | ||
"@nx-dotnet/dotnet": "0.1.3", | ||
"@nx-dotnet/utils": "0.1.3" | ||
"@nx-dotnet/dotnet": "0.1.4", | ||
"@nx-dotnet/utils": "0.1.4" | ||
}, | ||
"version": "0.1.3" | ||
"version": "0.1.4" | ||
} |
@@ -16,2 +16,3 @@ "use strict"; | ||
`); | ||
updateNxJson(host); | ||
updateGitIgnore(host); | ||
@@ -32,2 +33,10 @@ yield devkit_1.formatFiles(host); | ||
} | ||
function updateNxJson(host) { | ||
const nxJson = devkit_1.readJson(host, 'nx.json'); | ||
nxJson.plugins = nxJson.plugins || []; | ||
if (!nxJson.plugins.some(x => x === '@nx-dotnet/core')) { | ||
nxJson.plugins.push('@nx-dotnet/core'); | ||
} | ||
devkit_1.writeJson(host, 'nx.json', nxJson); | ||
} | ||
//# sourceMappingURL=generator.js.map |
Sorry, the diff of this file is not supported yet
44309
902
+ Added@nx-dotnet/dotnet@0.1.4(transitive)
+ Added@nx-dotnet/utils@0.1.4(transitive)
- Removed@nx-dotnet/dotnet@0.1.3(transitive)
- Removed@nx-dotnet/utils@0.1.3(transitive)
Updated@nx-dotnet/dotnet@0.1.4
Updated@nx-dotnet/utils@0.1.4