@nx-dotnet/core
Advanced tools
Comparing version 0.1.0 to 0.1.1
{ | ||
"name": "@nx-dotnet/core", | ||
"version": "0.1.0", | ||
"main": "src/index.js", | ||
@@ -9,6 +8,7 @@ "generators": "./generators.json", | ||
"dependencies": { | ||
"@nx-dotnet/dotnet": "0.1.0", | ||
"@nx-dotnet/utils": "0.1.0", | ||
"chokidar": "^3.5.1" | ||
} | ||
"chokidar": "^3.5.1", | ||
"@nx-dotnet/dotnet": "0.1.1", | ||
"@nx-dotnet/utils": "0.1.1" | ||
}, | ||
"version": "0.1.1" | ||
} |
@@ -7,3 +7,3 @@ "use strict"; | ||
return tslib_1.__awaiter(this, void 0, void 0, function* () { | ||
const initialized = host.isFile('nx-dotnet.config.ts'); | ||
const initialized = host.isFile('nx-dotnet.config.js'); | ||
if (initialized) { | ||
@@ -10,0 +10,0 @@ return; |
import { createTreeWithEmptyWorkspace } from '@nrwl/devkit/testing'; | ||
import { Tree, readProjectConfiguration } from '@nrwl/devkit'; | ||
import { Tree } from '@nrwl/devkit'; | ||
import generator from './generator'; | ||
import { InitGeneratorSchema } from './schema'; | ||
describe('init generator', () => { | ||
let appTree: Tree; | ||
const options: InitGeneratorSchema = { name: 'test' }; | ||
@@ -16,6 +14,6 @@ beforeEach(() => { | ||
it('should run successfully', async () => { | ||
// await generator(appTree, options); | ||
// const config = readProjectConfiguration(appTree, 'test'); | ||
expect(true).toBeTruthy(); | ||
await generator(appTree); | ||
const config = appTree.isFile('nx-dotnet.config.js'); | ||
expect(config).toBeTruthy(); | ||
}) | ||
}); |
@@ -22,5 +22,2 @@ "use strict"; | ||
client.addProjectReference(hostProjectFile, sourceProjectFile); | ||
hostProject.implicitDependencies = hostProject.implicitDependencies || []; | ||
hostProject.implicitDependencies.push(options.reference); | ||
devkit_1.updateProjectConfiguration(host, options.project, hostProject); | ||
yield devkit_1.formatFiles(host); | ||
@@ -27,0 +24,0 @@ }); |
@@ -0,1 +1,5 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const tslib_1 = require("tslib"); | ||
tslib_1.__exportStar(require("./graph/process-project-graph"), exports); | ||
//# sourceMappingURL=index.js.map |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
45052
50
910
2
+ Added@nx-dotnet/dotnet@0.1.1(transitive)
+ Added@nx-dotnet/utils@0.1.1(transitive)
- Removed@nx-dotnet/dotnet@0.1.0(transitive)
- Removed@nx-dotnet/utils@0.1.0(transitive)
Updated@nx-dotnet/dotnet@0.1.1
Updated@nx-dotnet/utils@0.1.1