{"_id":"@booga/bpayload","name":"@booga/bpayload","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@booga/bpayload","version":"0.1.0","description":"Payload v3 plugin embedding the b-suite discipline runtime into the CMS authoring UI.","license":"MIT","repository":{"type":"git","url":"git+https://github.com/bvasilenko/bPayload.git"},"type":"module","main":"./dist/index.cjs","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./admin":{"types":"./dist/admin/DirectivePanel.d.ts","import":"./dist/admin/DirectivePanel.js","require":"./dist/admin/DirectivePanel.cjs"}},"scripts":{"build":"tsup","lint":"eslint . --max-warnings=0","test":"vitest run","typecheck":"tsc --noEmit","prepack":"pnpm build"},"peerDependencies":{"payload":"^3"},"peerDependenciesMeta":{"payload":{"optional":false}},"dependencies":{"@payloadcms/ui":"^3.85.1","react-markdown":"^10.1.0"},"devDependencies":{"@eslint/js":"^9.29.0","@testing-library/react":"^16.3.0","@types/node":"^22.15.32","@types/react":"^19.1.8","@types/react-dom":"^19.1.6","eslint":"^9.29.0","globals":"^16.2.0","jsdom":"^26.1.0","payload":"^3.85.1","playwright":"^1.52.0","react":"^19.1.0","react-dom":"^19.1.0","tsup":"^8.5.0","typescript":"^5.8.3","typescript-eslint":"^8.34.1","vitest":"^3.2.4"},"packageManager":"pnpm@10.15.1","_id":"@booga/bpayload@0.1.0","gitHead":"e26263504b1c34150a5592e41475e905aebe8401","bugs":{"url":"https://github.com/bvasilenko/bPayload/issues"},"homepage":"https://github.com/bvasilenko/bPayload#readme","_nodeVersion":"22.19.0","_npmVersion":"10.9.3","dist":{"integrity":"sha512-PLPjwuQcQpVPDGxVq7kVgayLBejKZ67nX2oZicjhnawqLA9ok9DoLYS44XBsy13OH+EsIdJLD4jNYi+r3+tmlQ==","shasum":"d39d45b55b4f18240bf70ba162bfeda3b63a7fd9","tarball":"https://registry.npmjs.org/@booga/bpayload/-/bpayload-0.1.0.tgz","fileCount":15,"unpackedSize":86280,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDFuAHNsZ22I7fGtxiqpQaS2k8n9RDLetL8LYeWxxXbdAIhAIlXUp4VJSFrFe1lOZMoy5Pgp7n8tzEM2QBc+D2TqHy0"}]},"_npmUser":{"name":"dreaktor","email":"me@dreaktor.com"},"directories":{},"maintainers":[{"name":"dreaktor","email":"me@dreaktor.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/bpayload_0.1.0_1781363611311_0.9284144920251891"},"_hasShrinkwrap":false}},"time":{"created":"2026-06-13T15:13:31.125Z","0.1.0":"2026-06-13T15:13:31.489Z","modified":"2026-06-13T15:13:31.815Z"},"maintainers":[{"name":"dreaktor","email":"me@dreaktor.com"}],"description":"Payload v3 plugin embedding the b-suite discipline runtime into the CMS authoring UI.","homepage":"https://github.com/bvasilenko/bPayload#readme","repository":{"type":"git","url":"git+https://github.com/bvasilenko/bPayload.git"},"bugs":{"url":"https://github.com/bvasilenko/bPayload/issues"},"license":"MIT","readme":"# bPayload\n\nPayload v3 plugin embedding the b-suite discipline runtime into the CMS authoring UI.\n\n## Install\n\n```bash\nnpm install -D @booga/bpayload\n```\n\n## Usage\n\n```ts\nimport { buildConfig } from 'payload'\nimport { bPayload } from '@booga/bpayload'\n\nexport default buildConfig({\n  collections: [\n    {\n      slug: 'articles',\n      fields: [\n        { name: 'title', type: 'text' },\n        { name: 'body', type: 'textarea' }\n      ]\n    }\n  ],\n  plugins: [\n    bPayload({\n      collections: ['articles'],\n      tools: {\n        bground: true,\n        banchor: true,\n        bsmell: true,\n        bratch: true,\n        bwatch: true,\n        bspector: true\n      },\n      binary: {\n        paths: {\n          bground: 'bground',\n          banchor: 'banchor',\n          bsmell: 'bsmell',\n          bratch: 'bratch',\n          bwatch: 'bwatch',\n          bspector: 'bspector'\n        }\n      }\n    })\n  ]\n})\n```\n\nThe plugin runs enabled b-suite command-line tools for marked documents, stores the resulting directive in `_bsuiteDirective`, and renders the saved directive in the document editor.\n\n## Build choice\n\nThis package uses `tsup` to publish ESM, CommonJS, and declaration files from the same TypeScript sources with a small configuration surface.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_rev":"1-b699997831b8f1f51d6a17df733aa733"}