plugin-tools icon indicating copy to clipboard operation
plugin-tools copied to clipboard

Feat: easily run validator whilst developing

Open sympatheticmoose opened this issue 1 year ago • 0 comments

Which areas does this feature request relate to

  • [X] Create Plugin
  • [ ] Sign Plugin
  • [ ] Plugin E2E
  • [ ] Plugin Meta Extractor
  • [ ] Documentation

Problem

The plugin validator can highlight issues and improvements to be made prior to publishing to the catalog. But it's output can be hidden within the (optional) release workflow and is cumbersome if you then have to delete git tags etc. It's also harder to discover and requires the plugin to be correctly packaged first

Solution

npm run validate which uses the local directory as the sourceCodeUri and /dist as the archive (may require changes in validator)

Optionally we could have npm run packagewhich checks permissions in/dist`, compresses the folder and renames

Alternatives

No response

Additional context

This is just capturing the idea for further discussion and requires more validation

Are you interested in contributing the solution?

  • [ ] Yes
  • [ ] No

sympatheticmoose avatar Jul 22 '24 15:07 sympatheticmoose