JSPM

create-opencode-plugin

0.0.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 4
  • Score
    100M100P100Q32302F
  • License MIT

Create a new OpenCode plugin with a single command

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (create-opencode-plugin) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    create-opencode-plugin

    Scaffold a new OpenCode plugin with a single command.

    Usage

    bun create opencode-plugin my-plugin
    cd my-plugin
    bun install
    bun dev

    Or create in the current directory:

    bun create opencode-plugin .

    What's included

    • TypeScript configuration
    • Build setup with Bun
    • oxlint + oxfmt for linting and formatting
    • bun dev - run OpenCode with your plugin loaded from source
    • bun check - run all checks (format, lint, typecheck)
    • npm publish ready

    Plugin structure

    my-plugin/
      src/
        index.ts     # Plugin entry point
      dev.ts         # Development script
      package.json
      tsconfig.json
      .oxlintrc.json
      .oxfmtrc.json
      .gitignore
      README.md

    License

    MIT