Skip to content

fix: change lockfile only field from string array to object array#15

Merged
hiragram merged 1 commit into
mainfrom
feature/lockfile-only-object-array
Jul 3, 2025
Merged

fix: change lockfile only field from string array to object array#15
hiragram merged 1 commit into
mainfrom
feature/lockfile-only-object-array

Conversation

@hiragram

@hiragram hiragram commented Jul 3, 2025

Copy link
Copy Markdown
Owner

Summary

  • Updated lockfile structure to match cccsc.json format
  • Changed "only" field from string array to object array with name, path, and alias properties
  • Modified config.js, install.js, and remove.js to handle the new object format

Test plan

  • Test installing commands and verify lockfile format
  • Test removing commands and verify lockfile updates correctly
  • Test with existing lockfiles to ensure backward compatibility

🤖 Generated with Claude Code

Update lockfile structure to match cccsc.json format where the "only" field
contains objects with name, path, and alias properties instead of just strings.
This improves consistency between config and lock files.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@hiragram
hiragram merged commit a3be095 into main Jul 3, 2025
2 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant