{"_id":"@anydoor-dev/create-plugin","name":"@anydoor-dev/create-plugin","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@anydoor-dev/create-plugin","version":"0.1.0","description":"Scaffold a new AnyDoor Script Plugin: manifest, typed entry point, esbuild bundling.","type":"module","license":"MIT","repository":{"type":"git","url":"git+https://github.com/ZingerLittleBee/AnyDoor.git","directory":"tooling/packages/create-plugin"},"homepage":"https://github.com/ZingerLittleBee/AnyDoor/tree/main/tooling/packages/create-plugin#readme","keywords":["anydoor","plugin","scaffold","macos"],"publishConfig":{"access":"public"},"bin":{"create-anydoor-plugin":"bin/create.mjs"},"dependencies":{"@anydoor-dev/api":"0.1.0"},"scripts":{"typecheck":"node --check bin/create.mjs"},"_id":"@anydoor-dev/create-plugin@0.1.0","bugs":{"url":"https://github.com/ZingerLittleBee/AnyDoor/issues"},"_integrity":"sha512-nF+3rVNLMWKMICLk3oIYJgs5yd83v/HCiqKu02WQVUX3RGHQa+kA6dg7Neya7EQK6ker/x9lt+XbkitfPH6DBg==","_resolved":"/private/var/folders/bz/xfyl2rcn1tnd6fq_xslp7__h0000gn/T/657e4ee69c25334fd46c23a5ec17d71c/anydoor-dev-create-plugin-0.1.0.tgz","_from":"file:anydoor-dev-create-plugin-0.1.0.tgz","_nodeVersion":"24.11.0","_npmVersion":"11.6.1","dist":{"integrity":"sha512-nF+3rVNLMWKMICLk3oIYJgs5yd83v/HCiqKu02WQVUX3RGHQa+kA6dg7Neya7EQK6ker/x9lt+XbkitfPH6DBg==","shasum":"c4ee68e4a0bdffb2dd337b0b81c2a196adebfc00","tarball":"https://registry.npmjs.org/@anydoor-dev/create-plugin/-/create-plugin-0.1.0.tgz","fileCount":11,"unpackedSize":19476,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCID7aIEbCsc3Yz3tTxaNnjilordwyTjrXYFHssFG2PhdVAiBzs4OdtCI84a2JEkKfy3a8JB1CBqLpIrYuEWA2zqbb8A=="}]},"_npmUser":{"name":"zingerbee","email":"6970999@gmail.com"},"directories":{},"maintainers":[{"name":"zingerbee","email":"6970999@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/create-plugin_0.1.0_1784779281530_0.3496601119760889"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-23T04:01:21.335Z","0.1.0":"2026-07-23T04:01:21.665Z","modified":"2026-07-23T04:01:21.996Z"},"maintainers":[{"name":"zingerbee","email":"6970999@gmail.com"}],"description":"Scaffold a new AnyDoor Script Plugin: manifest, typed entry point, esbuild bundling.","homepage":"https://github.com/ZingerLittleBee/AnyDoor/tree/main/tooling/packages/create-plugin#readme","keywords":["anydoor","plugin","scaffold","macos"],"repository":{"type":"git","url":"git+https://github.com/ZingerLittleBee/AnyDoor.git","directory":"tooling/packages/create-plugin"},"bugs":{"url":"https://github.com/ZingerLittleBee/AnyDoor/issues"},"license":"MIT","readme":"# @anydoor-dev/create-plugin\n\nScaffold a new [AnyDoor](https://github.com/ZingerLittleBee/AnyDoor) Script\nPlugin: a ready-to-build TypeScript + esbuild project with the typed\n[`@anydoor-dev/api`](https://www.npmjs.com/package/@anydoor-dev/api) wired in.\n\n## Usage\n\n```bash\npnpm create @anydoor-dev/plugin my-plugin\n# or: pnpm dlx @anydoor-dev/create-plugin my-plugin\n\ncd my-plugin\npnpm install\npnpm build   # → dist/manifest.json + dist/bundle.js\n```\n\n`dist/` is a complete Script Plugin package: install it from AnyDoor's\nSettings → Plugins → Install Script Plugin…, or register the directory as a\nDev Plugin (developer mode) and run `pnpm dev` for hot reload on every build.\n\n## Options\n\n```\ncreate-anydoor-plugin <target-dir> [options]\n\n--id <id>          Plugin id (manifest id). Default: derived from the dir name.\n--name <name>      Display name. Default: derived from the dir name.\n--api-spec <spec>  Dependency spec for @anydoor-dev/api. Default: a caret range on\n                   the published package; pass a file: spec to build against a\n                   local checkout.\n--force            Allow scaffolding into a non-empty directory.\n```\n\n## What you get\n\n- `src/manifest.ts` — manifest with declared capabilities (the sandbox\n  boundary: the plugin can only use what it declares).\n- `src/plugin.ts` — typed entry points (`rows` / `list` / `detail` / `action`)\n  via `definePlugin`, with the capability API narrowed to the manifest.\n- `build.mjs` — esbuild bundling to a single plain-JS ES module (no Node\n  built-ins), plus `pnpm dev` watch mode.\n\nSee the [`@anydoor-dev/api` documentation](https://www.npmjs.com/package/@anydoor-dev/api)\nfor the full authoring surface, and worked examples under\n[`tooling/examples`](https://github.com/ZingerLittleBee/AnyDoor/tree/main/tooling/examples).\n","readmeFilename":"README.md","_rev":"1-589831f131194c685318c4efb239a648"}