Skip to content

Commit 5cd96aa

Browse files
committed
feat: add plugin (wip)
1 parent 5937405 commit 5cd96aa

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

packages/semver/src/plugin/index.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import {
44
TargetConfiguration,
55
readJsonFile,
66
} from '@nx/devkit';
7-
import { PackageJson } from 'nx/src/utils/package-json';
87
import { dirname, resolve } from 'path';
98

109
interface Options {
@@ -24,12 +23,6 @@ export const createNodes: CreateNodes<Options> = [
2423
opts.githubRelease ??= true;
2524

2625
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-
3326
const projectConfig = readJsonFile<ProjectConfiguration>(
3427
resolve(projectRoot, 'project.json'),
3528
);

0 commit comments

Comments
 (0)