{"_id":"@carstenbach/postmeta-block-template","_rev":"1-7efe6925cf5bf97736c8c92164cf2cf4","name":"@carstenbach/postmeta-block-template","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.0":{"name":"@carstenbach/postmeta-block-template","version":"0.1.0","description":"Spin up a dynamic block to show specific postmeta as server-side-rendered block, using this template for the WordPress/create-block package.","author":{"name":"Carsten Bach","email":"mail@carsten-bach.de","url":"https://carsten-bach.de"},"license":"GPL-3.0-or-later","keywords":["wordpress","create block","block template"],"homepage":"https://github.com/carstingaxion/postmeta-block-template","repository":{"type":"git","url":"git+https://github.com/carstingaxion/postmeta-block-template.git"},"bugs":{"url":"https://github.com/carstingaxion/postmeta-block-template/issues"},"publishConfig":{"access":"public"},"gitHead":"5393aa737ce8da6d6a14458ece24e357406816c0","_id":"@carstenbach/postmeta-block-template@0.1.0","_nodeVersion":"12.22.12","_npmVersion":"6.14.16","dist":{"integrity":"sha512-8YhiQDeTywwAgc7wUTxi2voSh3Fnh/JqJ269evutcZ9DWNzu8mMNYDLvP9JB37K1UpnUlYiWgAf+VjxajCPj1w==","shasum":"be08a133425da619b4672709b27483197acf55f4","tarball":"https://registry.npmjs.org/@carstenbach/postmeta-block-template/-/postmeta-block-template-0.1.0.tgz","fileCount":14,"unpackedSize":17210,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDn/Ux197dQ1tQ2biATaYuffCz3P3Rt802C5QDn7aPvmwIhAMPgnKedL1VueAjdJS0IzcXbdCSbqOU0ddYT8So5ksEO"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjwyALACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrptQ/+KiQM5sZoDbYOjGkNtkF574SDPRhI81LyATqdqbV3Y/QWXyeh\r\nxGdNlp5bNgOeh7RgG6fs8eFG4MdPeL6FtHgD2+PUuKmUQyFVzihjYRTmsxXD\r\nhHEVbq+TioNvyijmZHmOMm+N1vTQjLaSowlZGFn6681USHzlc8m8S0X5kJK3\r\nKAFUwHLbJwP0l7JSK5xfEorv3Fb9MiMPotBLveKghZq+U0umsIPzUn69g/My\r\n15L5a6BfdK/sn3I4o2qBhmxmgM5KbpBs9vTCjFIWV19byHO+8sbuQNXOdABM\r\nbWwUBGB8kvz1kbwtmLSJLAwVMwFxVRWun9pwtiJt7Sd3ZU33YBllh9Jp28GC\r\n5X76pd/ooIoC31aKwArrpKP/C7m2t7D1LSRnsAfKrJ+JAOmpaBFkv8EyvcI7\r\ndER0lmiSA7FO0GAoWEfCSoB4j3SX2Eeq6keekyenIqejJ1I6mJt4Q04QDHDS\r\nAEB4ts/44L3ng2ddzj0rk60gttrgviKaNAxxOXGBQ9CuNzvG+oHL+7jjzukb\r\nbntHPe/lL60tw54CiKqfMfnMvoklBCoaXPycpT0VXosYYyjpPVPaJYLCbu4d\r\n/8k4D5QU16p/vosuyii34A7bpSJqr1BAVkFSmU7yr8l3OrfUtuzQq5OxxSJf\r\nTelimkw6RndpXQYXJ2qc6C+BCeXXLxCGXro=\r\n=w/pE\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"carstenbach","email":"mail@carsten-bach.de"},"directories":{},"maintainers":[{"name":"carstenbach","email":"mail@carsten-bach.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postmeta-block-template_0.1.0_1673732106904_0.18158847418333335"},"_hasShrinkwrap":false},"0.1.1":{"name":"@carstenbach/postmeta-block-template","version":"0.1.1","description":"Spin up a dynamic block to show specific postmeta as server-side-rendered block, using this template for the WordPress/create-block package.","author":{"name":"Carsten Bach","email":"mail@carsten-bach.de","url":"https://carsten-bach.de"},"license":"GPL-3.0-or-later","keywords":["wordpress","create block","block template","scaffold"],"homepage":"https://github.com/carstingaxion/postmeta-block-template","repository":{"type":"git","url":"git+https://github.com/carstingaxion/postmeta-block-template.git"},"bugs":{"url":"https://github.com/carstingaxion/postmeta-block-template/issues"},"publishConfig":{"access":"public"},"dependencies":{"@wordpress/create-block":"^4.8.0"},"gitHead":"b987180177513a681b33ed24e3dcaf13d55d4d87","_id":"@carstenbach/postmeta-block-template@0.1.1","_nodeVersion":"12.22.12","_npmVersion":"6.14.16","dist":{"integrity":"sha512-6OlrZdRLOLb4r+sOkivrvdL94E39/m7VGTiP2cRXCtimWyVgRXmcA1/hMwnipxD012VtzdS1U33oCAbFl08Row==","shasum":"665bc1af9110a63e3e0a8abfb4d72b7b04101db9","tarball":"https://registry.npmjs.org/@carstenbach/postmeta-block-template/-/postmeta-block-template-0.1.1.tgz","fileCount":14,"unpackedSize":17501,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID40tHGk5Afu7Q0rTWO1C5Kp0udxq0eRgFsOCZc5vBVaAiEAk0pxyTSZLPgmtZTBhe1SbXrs00iDpDynLx3OPdYLqZA="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjxAGvACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq6EA/+JRBMdaUd8sPmvJkANqRjX/gUsE1jTmkhOUI7f+/u2wS4ZIj1\r\ndDCj1yGeJMB5oh9YvQVfhAWNn42Z88t0bfM5VwnqbElqTOmnFSkDJO+0J+zH\r\nTr7xAzjL2nIbwcXt0Lrh9Yv+CRQIcH9txzRz9r+TBOVP3SNcFSnCbFIDQO4F\r\nTYNa+VZf4jZdI/faZOqoqpu9WZIo5GZHoCiyTqIXlEYHSQjyfEPUPn9ULui6\r\nCmi31e0U4YSo585c15g8ceag7p6+qsFp+TkqIUGTwSrocVN6qNEfBGM2NVQv\r\nz7Xodv7hzP6zh6QIj/H7PLj9n4L0LTMuk5Aq94O1btXzm2Yp5FwNV2X3abTN\r\nQAhg+4pGfBwjMyAe1kvJBTN2XrBUQn7jAMCEpvFl4eaPtLXqwMQq2ypO2Q7W\r\nGFLWs1tCv7ZtW6KxNDOcFxN+cR1Y/bpuRVJafiQuFjGJdtnwvKdIaAVKJzTS\r\nAsejxVUexFiSHJWpXC10Wz1Z1tMDxaODjCnVTXNtANo+t2CMAngvzeJyflI8\r\nKPr8++OgA7W0GN4U0jEgNnBs2l95t9jg8B3wGhasNHjcPkia2PiTxXEzgUXR\r\nVMdlex9msvOPHOkzi24TBtBfvPlWxytHn0vAaxodM7+i5eiozYuHcG4JaRxs\r\ncbOGnShrOTrQMn0rWgCeHP1zNiirGwjwg6A=\r\n=9CuF\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"carstenbach","email":"mail@carsten-bach.de"},"directories":{},"maintainers":[{"name":"carstenbach","email":"mail@carsten-bach.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postmeta-block-template_0.1.1_1673789871595_0.5739600222572345"},"_hasShrinkwrap":false}},"time":{"created":"2023-01-14T21:35:06.814Z","0.1.0":"2023-01-14T21:35:07.058Z","modified":"2023-01-15T13:37:51.846Z","0.1.1":"2023-01-15T13:37:51.748Z"},"maintainers":[{"name":"carstenbach","email":"mail@carsten-bach.de"}],"description":"Spin up a dynamic block to show specific postmeta as server-side-rendered block, using this template for the WordPress/create-block package.","homepage":"https://github.com/carstingaxion/postmeta-block-template","keywords":["wordpress","create block","block template","scaffold"],"repository":{"type":"git","url":"git+https://github.com/carstingaxion/postmeta-block-template.git"},"author":{"name":"Carsten Bach","email":"mail@carsten-bach.de","url":"https://carsten-bach.de"},"bugs":{"url":"https://github.com/carstingaxion/postmeta-block-template/issues"},"license":"GPL-3.0-or-later","readme":"# A create-block template for a dynamic block using postmeta\n\nSpin up a dynamic block to show specific post_meta as a RichText comnponent. Use this package as a template for the [`@wordpress/create-block`](https://developer.wordpress.org/block-editor/reference-guides/packages/packages-create-block/) script.\n\n## Usage\n\n1. This block template can be used by running the following command:\n    ```bash\n    npx  @wordpress/create-block --template @carstenbach/postmeta-block-template\n    ```\n\n\n2. Find & Replace all occurences of `POSTMETA` with the snake_cased `meta_key` of your post_meta inside of the newly created:\n    - `{postmeta-block}.php`\n    - `src/edit/index.js`\n\n3. Run \n    ```bash\n    npm run build\n    ```\n\n## Structure\n\nOnce the command has completed, the following structure will be created:\n```bash\n.\n├── block.json\n├── build\n│   ├── index.asset.php\n│   ├── index.js\n│   ├── index.js.map\n│   ├── style-index.css\n│   └── style-index.css.map\n├── languages\n│   └── {postmeta-block}.pot\n├── package.json\n├── package-lock.json\n├── {postmeta-block}.php\n├── readme.txt\n└── src\n    ├── edit\n    │   ├── editor.scss\n    │   ├── index.js\n    │   ├── level-icon.js\n    │   └── level-toolbar.js\n    ├── index.js\n    ├── save.js\n    └── style.scss\n```\n\n## About\n\nThis template is based on https://github.com/mkaz/mkaz-block-template and its related blog post for details: https://mkaz.blog/wordpress/make-your-own-create-block-templates/\n","readmeFilename":"README.md"}