mattpocock-skills-unofficial-plugin

内容来源:README.md(说明文档) · 原始地址 · 查看安装指南

原始内容

mattpocock-skills-unofficial-plugin

An unofficial community distribution of mattpocock/skills packaged as an OMP-compatible plugin.

This repo is maintained by xloouis and is not affiliated with Matt Pocock. The skill content is copied verbatim from upstream; only the npm packaging metadata is added.

Published package: mattpocock-skills-unofficial-plugin on npm

Install

Install from the OMP marketplace / npm registry:

omp install mattpocock-skills-unofficial-plugin

For a project-scoped install:

omp install mattpocock-skills-unofficial-plugin --scope=project

Build

npm run build

This produces the publishable package in pkg/.

Publish

npm run publish-plugin

This rebuilds pkg/ and runs npm publish pkg/.

Upgrading when upstream releases a new version

  1. Update the submodule to the new tag:
    cd upstream
    git fetch
    git checkout vX.Y.Z
    cd ..
    
  2. Rebuild the package:
    npm run build
    
  3. If the wrapper itself needs a version bump independent of upstream (e.g., a packaging fix), run:
    PLUGIN_VERSION=1.1.0-omp.1 npm run build
    
    Otherwise the build script uses the upstream version automatically.
  4. Publish:
    npm run publish-plugin
    

License

MIT. See upstream LICENSE.