mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
tools list command added mising local entry to pacakge entry in json mode
This commit is contained in:
@@ -1234,8 +1234,11 @@ main.registerCommand({
|
||||
const entry = {};
|
||||
parent[packageName] = entry;
|
||||
|
||||
const mapInfo = projectContext.packageMap.getInfo(packageName);
|
||||
|
||||
Object.entries({
|
||||
version: packageToPrint.version,
|
||||
local: mapInfo && mapInfo.kind === 'local',
|
||||
weak: isWeak,
|
||||
newerVersion: getNewerVersion(packageName, packageToPrint.version, catalog.official),
|
||||
earliestCompatibleVersion: showDetails && packageToPrint.earliestCompatibleVersion,
|
||||
|
||||
Reference in New Issue
Block a user