Skip to content

Commit

Permalink
the package.json part of the path needs to be part of the path
Browse files Browse the repository at this point in the history
  • Loading branch information
NullVoxPopuli committed Jul 2, 2023
1 parent 266c8de commit 33efc39
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test-packages/release/src/interdep.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import glob from 'globby';
import { resolve } from 'path';
import { resolve, join } from 'path';
import { readFileSync, readJSONSync } from 'fs-extra';
import yaml from 'js-yaml';

Expand Down Expand Up @@ -29,7 +29,7 @@ export function publishedInterPackageDeps(): Map<string, PkgEntry> {
pkgJSONS.set(pkg.name, pkg);
packages.set(pkg.name, {
version: pkg.version,
pkgJSONPath: dir,
pkgJSONPath: join(dir, 'package.json'),
isDependencyOf: new Map(),
isPeerDependencyOf: new Map(),
});
Expand Down

0 comments on commit 33efc39

Please sign in to comment.