pnpm-catalog-updates 0.6.6 → 0.7.8

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pnpm-catalog-updates",
3
- "version": "0.6.6",
3
+ "version": "0.7.8",
4
4
  "description": "CLI application for pnpm-catalog-updates",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -77,4 +77,4 @@
77
77
  "url": "https://github.com/houko/pnpm-catalog-updates.git",
78
78
  "directory": "apps/cli"
79
79
  }
80
- }
80
+ }
@@ -6,9 +6,9 @@
6
6
  */
7
7
 
8
8
  import { CatalogUpdateService, CheckOptions } from '@pcu/core';
9
- import { OutputFormatter, OutputFormat } from '../formatters/outputFormatter.js';
10
- import { StyledText, ThemeManager } from '../themes/colorTheme.js';
11
9
  import { ConfigLoader } from '@pcu/utils';
10
+ import { OutputFormat, OutputFormatter } from '../formatters/outputFormatter.js';
11
+ import { StyledText, ThemeManager } from '../themes/colorTheme.js';
12
12
 
13
13
  export interface CheckCommandOptions {
14
14
  workspace?: string;
@@ -5,10 +5,10 @@
5
5
  * Creates a basic .pcurc.json configuration file with sensible defaults.
6
6
  */
7
7
 
8
- import { existsSync, writeFileSync, mkdirSync } from 'fs';
9
- import { join, dirname } from 'path';
10
- import { StyledText, ThemeManager } from '../themes/colorTheme.js';
11
8
  import { PackageFilterConfig } from '@pcu/utils';
9
+ import { existsSync, mkdirSync, writeFileSync } from 'fs';
10
+ import { dirname, join } from 'path';
11
+ import { StyledText, ThemeManager } from '../themes/colorTheme.js';
12
12
 
13
13
  export interface InitCommandOptions {
14
14
  workspace?: string;
@@ -8,7 +8,7 @@
8
8
  import { spawnSync } from 'child_process';
9
9
  import * as fs from 'fs-extra';
10
10
  import * as path from 'path';
11
- import { OutputFormatter, OutputFormat } from '../formatters/outputFormatter.js';
11
+ import { OutputFormat, OutputFormatter } from '../formatters/outputFormatter.js';
12
12
  import { ProgressBar } from '../formatters/progressBar.js';
13
13
  import { StyledText, ThemeManager } from '../themes/colorTheme.js';
14
14
 
@@ -6,11 +6,11 @@
6
6
  */
7
7
 
8
8
  import { CatalogUpdateService, UpdateOptions, UpdatePlan, UpdateTarget } from '@pcu/core';
9
+ import { ConfigLoader } from '@pcu/utils';
9
10
  import { OutputFormat, OutputFormatter } from '../formatters/outputFormatter.js';
10
11
  import { ProgressBar } from '../formatters/progressBar.js';
11
12
  import { InteractivePrompts } from '../interactive/interactivePrompts.js';
12
13
  import { StyledText, ThemeManager } from '../themes/colorTheme.js';
13
- import { ConfigLoader } from '@pcu/utils';
14
14
 
15
15
  export interface UpdateCommandOptions {
16
16
  workspace?: string;
@@ -5,8 +5,13 @@
5
5
  * Supports table, JSON, YAML, and minimal output formats.
6
6
  */
7
7
 
8
- import { ImpactAnalysis, OutdatedReport, UpdateResult } from '@pcu/core';
9
- import { WorkspaceStats, WorkspaceValidationReport } from '@pcu/core';
8
+ import {
9
+ ImpactAnalysis,
10
+ OutdatedReport,
11
+ UpdateResult,
12
+ WorkspaceStats,
13
+ WorkspaceValidationReport,
14
+ } from '@pcu/core';
10
15
  import { SecurityReport } from '../commands/securityCommand.js';
11
16
 
12
17
  import chalk from 'chalk';
package/src/cli/index.ts CHANGED
@@ -13,23 +13,23 @@ import { OutputFormat, OutputFormatter } from './formatters/outputFormatter.js';
13
13
  // Services and Dependencies
14
14
  import {
15
15
  CatalogUpdateService,
16
- WorkspaceService,
17
- NpmRegistryService,
18
16
  FileSystemService,
19
17
  FileWorkspaceRepository,
18
+ NpmRegistryService,
19
+ WorkspaceService,
20
20
  } from '@pcu/core';
21
21
  // CLI Commands
22
+ import { ConfigLoader, VersionChecker } from '@pcu/utils';
22
23
  import chalk from 'chalk';
23
24
  import { Command } from 'commander';
24
25
  import { readFileSync } from 'fs';
25
26
  import { fileURLToPath } from 'url';
26
27
  import { CheckCommand } from './commands/checkCommand.js';
27
- import { UpdateCommand } from './commands/updateCommand.js';
28
- import { SecurityCommand } from './commands/securityCommand.js';
29
28
  import { InitCommand } from './commands/initCommand.js';
29
+ import { SecurityCommand } from './commands/securityCommand.js';
30
+ import { UpdateCommand } from './commands/updateCommand.js';
30
31
  import { InteractivePrompts } from './interactive/interactivePrompts.js';
31
- import { ThemeManager, StyledText } from './themes/colorTheme.js';
32
- import { VersionChecker, ConfigLoader } from '@pcu/utils';
32
+ import { StyledText, ThemeManager } from './themes/colorTheme.js';
33
33
 
34
34
  // Get package.json for version info
35
35
  const __filename = fileURLToPath(import.meta.url);
@@ -4,9 +4,9 @@
4
4
  * Provides smart prompts and auto-completion for CLI commands
5
5
  */
6
6
 
7
+ import { FileSystemService } from '@pcu/core';
7
8
  import chalk from 'chalk';
8
9
  import inquirer from 'inquirer';
9
- import { FileSystemService } from '@pcu/core';
10
10
  import { StyledText } from '../themes/colorTheme.js';
11
11
 
12
12
  export interface AutoCompleteOption {
@@ -5,8 +5,7 @@
5
5
  * Provides detailed error messages and suggestions.
6
6
  */
7
7
 
8
- import { validateCliOptions, ValidationResult } from '@pcu/utils';
9
- import { getConfig } from '@pcu/utils';
8
+ import { getConfig, validateCliOptions, ValidationResult } from '@pcu/utils';
10
9
 
11
10
  export interface ValidatedOptions {
12
11
  workspace?: string;