@emeryld/manager 0.7.6 → 0.7.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -238,10 +238,9 @@ export function getPackageModule(pkg, dependencies = collectDependencies(pkg)) {
238
238
  const pkgType = pkg.json?.type?.toLowerCase();
239
239
  const isModule = pkgType === 'module';
240
240
  const label = isModule ? 'ESM' : 'Node';
241
- const labelColorizer = isModule ? colors.yellow : colors.cyan;
242
241
  return {
243
242
  label,
244
- colorize: labelColorizer,
243
+ colorize: KIND_COLOR_MAP.library,
245
244
  kind: 'library',
246
245
  kindColorize: KIND_COLOR_MAP.library,
247
246
  };
@@ -307,11 +306,9 @@ export function getPackageMarker(pkg, dependencies = collectDependencies(pkg)) {
307
306
  kindColorize: KIND_COLOR_MAP.cli,
308
307
  };
309
308
  }
310
- const isModule = pkgType === 'module';
311
- const labelColorizer = isModule ? colors.yellow : colors.cyan;
312
309
  return {
313
310
  label: 'Library',
314
- colorize: labelColorizer,
311
+ colorize: KIND_COLOR_MAP.library,
315
312
  kind: 'library',
316
313
  kindColorize: KIND_COLOR_MAP.library,
317
314
  };
package/dist/menu.js CHANGED
@@ -155,11 +155,6 @@ export function buildPackageSelectionMenu(packages, onStepComplete) {
155
155
  return;
156
156
  tagParts.push(colorizer(`[${value}]`));
157
157
  };
158
- // const relativePath = pkg.relativeDir ?? pkg.dirName
159
- // if (relativePath && relativePath !== '.') {
160
- // addTag(relativePath, colors.gray)
161
- // }
162
- addTag(pkg.path, colors.gray);
163
158
  addTag(pkg.relativeDir, colors.gray);
164
159
  if (pkg.version) {
165
160
  addTag(`v${pkg.version}`, colors.yellow);
@@ -177,7 +172,7 @@ export function buildPackageSelectionMenu(packages, onStepComplete) {
177
172
  return {
178
173
  name: `${highlightedName}${tags}${labelWord}`,
179
174
  emoji: '',
180
- description: pkg.json?.description ?? pkg.relativeDir ?? pkg.dirName,
175
+ description: pkg.json?.description ?? '',
181
176
  handler: async () => {
182
177
  const step = await runStepLoop([pkg], packages);
183
178
  onStepComplete?.(step);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emeryld/manager",
3
- "version": "0.7.6",
3
+ "version": "0.7.7",
4
4
  "description": "Interactive manager for pnpm monorepos (update/test/build/publish).",
5
5
  "license": "MIT",
6
6
  "type": "module",