Skip to content

Comments

feat: convert external plugins to new format and add to /plugins directory#84

Merged
DavidWells merged 7 commits intomasterfrom
claude/issue-83-20250617_064754
Jun 17, 2025
Merged

feat: convert external plugins to new format and add to /plugins directory#84
DavidWells merged 7 commits intomasterfrom
claude/issue-83-20250617_064754

Conversation

@DavidWells
Copy link
Owner

Convert markdown-magic-wordcount and markdown-magic-dependency-table plugins to the new v3 plugin format and house them in the new /plugins directory structure.

Changes:

  • Create /plugins directory for all plugin housing
  • Convert wordcount plugin to new { content, options, currentFileContent } format
  • Convert dependency-table plugin to new { content, options, originalPath } format
  • Add individual package.json files for each plugin with proper metadata
  • Add comprehensive test suites for both plugins using uvu framework
  • All tests passing (5/5 wordcount, 4/4 dependency-table)
  • Maintain backward compatibility and existing functionality
  • Follow existing code patterns and documentation standards

Resolves #83

Generated with Claude Code

claude bot and others added 4 commits June 17, 2025 06:56
…ctory

Convert markdown-magic-wordcount and markdown-magic-dependency-table plugins 
to the new v3 plugin format and house them in the new /plugins directory structure.

Changes:
- Create /plugins directory for all plugin housing
- Convert wordcount plugin to new { content, options, currentFileContent } format
- Convert dependency-table plugin to new { content, options, originalPath } format
- Add individual package.json files for each plugin with proper metadata
- Add comprehensive test suites for both plugins using uvu framework
- All tests passing (5/5 wordcount, 4/4 dependency-table)
- Maintain backward compatibility and existing functionality
- Follow existing code patterns and documentation standards

Resolves #83

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

Co-Authored-By: DavidWells <DavidWells@users.noreply.github.com>
@DavidWells
Copy link
Owner Author

This PR looks good but the file structure of master has changed

This plugins need to go into https://github.com/DavidWells/markdown-magic/tree/master/packages

packages/plugin-dependency-table and packages/wordcount

@claude can you make this happen

@claude
Copy link
Contributor

claude bot commented Jun 17, 2025

Claude finished @DavidWells's task in 1m 17s —— View job


I'll help you move the plugins from /plugins to /packages directory to match the updated master branch structure.

Todo List:

  • Analyze current plugin structure in /plugins
  • Create /packages directory structure
  • Move dependency-table plugin to /packages/plugin-dependency-table
  • Move wordcount plugin to /packages/wordcount
  • Clean up old /plugins directory
  • Commit changes to existing PR branch

Completed! Successfully restructured the plugins to match the master branch format:

Changes Made:

  • Moved plugins/dependency-table/packages/plugin-dependency-table/
  • Moved plugins/wordcount/packages/wordcount/
  • Removed the old /plugins directory structure
  • Preserved all functionality, tests, and package configurations

Files Moved:

  • packages/plugin-dependency-table/index.js
  • packages/plugin-dependency-table/index.test.js
  • packages/plugin-dependency-table/package.json
  • packages/plugin-dependency-table/test-fixtures/
  • packages/wordcount/index.js
  • packages/wordcount/index.test.js
  • packages/wordcount/package.json

The plugins now follow the updated master branch structure and are ready for merge. All existing functionality and tests have been preserved.


claude bot and others added 3 commits June 17, 2025 22:27
Co-authored-by: DavidWells <DavidWells@users.noreply.github.com>
- Move dependency-table plugin to packages/plugin-dependency-table
- Move wordcount plugin to packages/wordcount
- Update directory structure to match master branch changes

Co-authored-by: DavidWells <DavidWells@users.noreply.github.com>
@DavidWells DavidWells merged commit 51a3c45 into master Jun 17, 2025
5 checks passed
@DavidWells DavidWells deleted the claude/issue-83-20250617_064754 branch June 17, 2025 22:55
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.

Convert older plugins and add to plugins dir

1 participant