We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5937405 commit 5cd96aaCopy full SHA for 5cd96aa
packages/semver/src/plugin/index.ts
@@ -4,7 +4,6 @@ import {
4
TargetConfiguration,
5
readJsonFile,
6
} from '@nx/devkit';
7
-import { PackageJson } from 'nx/src/utils/package-json';
8
import { dirname, resolve } from 'path';
9
10
interface Options {
@@ -24,12 +23,6 @@ export const createNodes: CreateNodes<Options> = [
24
23
opts.githubRelease ??= true;
25
26
const projectRoot = dirname(packageJsonPath);
27
- // Do not augment project if package.json is private.
28
- const packageJson = readJsonFile<PackageJson>(packageJsonPath);
29
- if (packageJson.private === undefined || packageJson.private === true) {
30
- return {};
31
- }
32
-
33
const projectConfig = readJsonFile<ProjectConfiguration>(
34
resolve(projectRoot, 'project.json'),
35
);
0 commit comments