{"_id":"@coderrob/backstage-plugin-scaffolder-backend-module-webex","_rev":"3-830446b35f62f5edb4d0dcc483a9c2e6","name":"@coderrob/backstage-plugin-scaffolder-backend-module-webex","dist-tags":{"latest":"1.0.3"},"versions":{"1.0.0":{"name":"@coderrob/backstage-plugin-scaffolder-backend-module-webex","version":"1.0.0","keywords":["backstage","cisco","incoming webhooks","scaffolder","webex"],"author":{"url":"https://coderrob.com","name":"Robert Lindley","email":"rob@coderrob.com"},"license":"Apache-2.0","_id":"@coderrob/backstage-plugin-scaffolder-backend-module-webex@1.0.0","maintainers":[{"name":"coderrob","email":"Rob@coderrob.com"}],"dist":{"shasum":"b5fb094cff7f6466144ad78bb8b24e9139dfa065","tarball":"https://registry.npmjs.org/@coderrob/backstage-plugin-scaffolder-backend-module-webex/-/backstage-plugin-scaffolder-backend-module-webex-1.0.0.tgz","fileCount":5,"integrity":"sha512-7H4kCJ57ozFVw7msh8/41CoqYFmRzYqvNEgHuncE3kp+gUukAIN7H8DhGfnxbfmp+RIADykrSlBE3Tzkcj6nzA==","signatures":[{"sig":"MEUCIQDnjPAGU5GUUwuBktrT4E8wp1+NHZgfLJSlXTkLeAJ08wIgKfyThPFfJIKN6M9TeZ0Emp4jL7ROtH/Hj4sQIdnmQzA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13550},"main":"src/index.ts","types":"src/index.ts","gitHead":"85af0b9133866c98727f1ccc479c0b1b43aecdb7","private":false,"scripts":{"tsc":"tsc","lint":"backstage-cli package lint","test":"backstage-cli package test","build":"backstage-cli package build","clean":"backstage-cli package clean","start":"backstage-cli package start","prepack":"backstage-cli package prepack","lint:fix":"yarn prettier . --write","postpack":"backstage-cli package postpack","tsc:full":"tsc --skipLibCheck false --incremental false","prettier:check":"prettier --check ."},"_npmUser":{"name":"coderrob","email":"Rob@coderrob.com"},"prettier":"@spotify/prettier-config","backstage":{"role":"backend-plugin-module","pluginId":"scaffolder","pluginPackage":"@backstage/plugin-scaffolder-backend"},"repository":{"type":"git","directory":"."},"_npmVersion":"10.7.0","description":"The Webex Incoming Webhooks messaging module for @backstage/plugin-scaffolder-backend","directories":{},"lint-staged":{"*.{json,md}":["prettier --write"],"*.{js,jsx,ts,tsx,mjs,cjs}":["eslint --fix","prettier --write"]},"_nodeVersion":"18.20.4","dependencies":{"zod":"^3.23.8","axios":"^1.7.5","@backstage/errors":"^1.2.4","@backstage/backend-plugin-api":"^0.8.1","@backstage/plugin-scaffolder-node":"^0.4.9"},"publishConfig":{"main":"dist/index.cjs.js","types":"dist/index.d.ts","access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","node-gyp":"^10.0.0","prettier":"^2.3.2","typescript":"~5.4.0","@types/jest":"29.5.12","@backstage/cli":"^0.27.0","@spotify/prettier-config":"^12.0.0","@backstage/backend-common":"^0.24.0","@backstage/plugin-scaffolder-node-test-utils":"^0.1.11"},"_npmOperationalInternal":{"tmp":"tmp/backstage-plugin-scaffolder-backend-module-webex_1.0.0_1725209687964_0.38228423160607505","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@coderrob/backstage-plugin-scaffolder-backend-module-webex","version":"1.0.1","keywords":["backstage","cisco","incoming webhooks","scaffolder","webex"],"author":{"url":"https://coderrob.com","name":"Robert Lindley","email":"rob@coderrob.com"},"license":"Apache-2.0","_id":"@coderrob/backstage-plugin-scaffolder-backend-module-webex@1.0.1","maintainers":[{"name":"coderrob","email":"Rob@coderrob.com"}],"dist":{"shasum":"de4c873c8d35ae799ddb8330322843c9667233be","tarball":"https://registry.npmjs.org/@coderrob/backstage-plugin-scaffolder-backend-module-webex/-/backstage-plugin-scaffolder-backend-module-webex-1.0.1.tgz","fileCount":5,"integrity":"sha512-8PpM5/uMHVB5Gt/kpIV3doz8rPaTjvs5sCnnO+buUmOayX5P13PSk6JzLz3thk2RzQ4l59Oq48rMSsjlhmKqKw==","signatures":[{"sig":"MEQCIB7seijI3DdG4r9aFoQ4B1j4aoByAG6FM+yS/eA/AOmGAiBBIWi6aunVOHcdge8DvSPvKAKTV/htmmdE9c3IsNzTdQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13550},"main":"src/index.ts","types":"src/index.ts","gitHead":"1ced285a54ca4cb5e339b4018dbc93596a644aac","private":false,"scripts":{"tsc":"tsc","lint":"backstage-cli package lint","test":"backstage-cli package test","build":"backstage-cli package build","clean":"backstage-cli package clean","start":"backstage-cli package start","prepack":"backstage-cli package prepack","lint:fix":"yarn prettier . --write","postpack":"backstage-cli package postpack","tsc:full":"tsc --skipLibCheck false --incremental false","prettier:check":"prettier --check ."},"_npmUser":{"name":"coderrob","email":"Rob@coderrob.com"},"prettier":"@spotify/prettier-config","backstage":{"role":"backend-plugin-module","pluginId":"scaffolder","pluginPackage":"@backstage/plugin-scaffolder-backend"},"repository":{"type":"git","directory":"."},"_npmVersion":"10.7.0","description":"The Webex Incoming Webhooks messaging module for @backstage/plugin-scaffolder-backend","directories":{},"lint-staged":{"*.{json,md}":["prettier --write"],"*.{js,jsx,ts,tsx,mjs,cjs}":["eslint --fix","prettier --write"]},"_nodeVersion":"18.20.4","dependencies":{"zod":"^3.23.8","axios":"^1.7.5","@backstage/errors":"^1.2.4","@backstage/backend-plugin-api":"^0.8.1","@backstage/plugin-scaffolder-node":"^0.4.9"},"publishConfig":{"main":"dist/index.cjs.js","types":"dist/index.d.ts","access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","node-gyp":"^10.0.0","prettier":"^2.3.2","typescript":"~5.4.0","@types/jest":"29.5.12","@backstage/cli":"^0.27.0","@spotify/prettier-config":"^12.0.0","@backstage/backend-common":"^0.24.0","@backstage/plugin-scaffolder-node-test-utils":"^0.1.11"},"_npmOperationalInternal":{"tmp":"tmp/backstage-plugin-scaffolder-backend-module-webex_1.0.1_1725210608034_0.06623330239229985","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"@coderrob/backstage-plugin-scaffolder-backend-module-webex","version":"1.0.2","keywords":["backstage","cisco","incoming webhooks","scaffolder","webex"],"author":{"url":"https://coderrob.com","name":"Robert Lindley","email":"rob@coderrob.com"},"license":"Apache-2.0","_id":"@coderrob/backstage-plugin-scaffolder-backend-module-webex@1.0.2","maintainers":[{"name":"coderrob","email":"Rob@coderrob.com"}],"dist":{"shasum":"b3ad03d5f2fe260e28cde9653590cc629b4f641a","tarball":"https://registry.npmjs.org/@coderrob/backstage-plugin-scaffolder-backend-module-webex/-/backstage-plugin-scaffolder-backend-module-webex-1.0.2.tgz","fileCount":5,"integrity":"sha512-48u0vo7GeThaNDYcmAO5g5t8W/2zHZnUllff+Ogx/jvr9li9GTza2x/A0KYJTefiDTV3iGpZ8SGpDt1G2WLFHA==","signatures":[{"sig":"MEQCIHPVCld8ynnbBPH+RbhOP5iWPsXIRzdhMe3fYVONdlOtAiBx4rgzEXxgokWwVo5nujmeCeGJ5otRe3NnQqaYx+5i2w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7243},"main":"src/index.ts","types":"src/index.ts","exports":{".":"./src/index.ts","./package.json":"./package.json"},"gitHead":"1da538b74de7bd39de6d0e324e34fbc1347528c5","private":false,"scripts":{"tsc":"tsc","lint":"backstage-cli package lint","test":"backstage-cli package test","build":"backstage-cli package build","clean":"backstage-cli package clean","start":"backstage-cli package start","prepack":"backstage-cli package prepack","lint:fix":"yarn prettier . --write","postpack":"backstage-cli package postpack","tsc:full":"tsc --skipLibCheck false --incremental false","prettier:check":"prettier --check ."},"_npmUser":{"name":"coderrob","email":"Rob@coderrob.com"},"prettier":"@spotify/prettier-config","backstage":{"role":"backend-plugin-module","pluginId":"scaffolder","pluginPackage":"@backstage/plugin-scaffolder-backend"},"repository":{"type":"git","directory":"."},"_npmVersion":"10.7.0","description":"A Webex scaffolding module for @backstage/plugin-scaffolder-backend","directories":{},"lint-staged":{"*.{json,md}":["prettier --write"],"*.{js,jsx,ts,tsx,mjs,cjs}":["eslint --fix","prettier --write"]},"_nodeVersion":"18.20.4","dependencies":{"zod":"^3.23.8","axios":"^1.7.5","@backstage/errors":"^1.2.4","@backstage/backend-plugin-api":"^0.8.1","@backstage/plugin-scaffolder-node":"^0.4.9"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","node-gyp":"^10.0.0","prettier":"^2.3.2","typescript":"~5.4.0","@types/jest":"29.5.12","@backstage/cli":"^0.27.0","@spotify/prettier-config":"^12.0.0","@backstage/backend-common":"^0.24.0","@backstage/plugin-scaffolder-node-test-utils":"^0.1.11"},"_npmOperationalInternal":{"tmp":"tmp/backstage-plugin-scaffolder-backend-module-webex_1.0.2_1725213973665_0.9375565312901786","host":"s3://npm-registry-packages"}},"1.0.3":{"author":{"name":"Robert Lindley","email":"rob@coderrob.com","url":"https://coderrob.com"},"backstage":{"pluginId":"scaffolder","pluginPackage":"@backstage/plugin-scaffolder-backend","role":"backend-plugin-module"},"dependencies":{"@backstage/backend-plugin-api":"^0.8.1","@backstage/errors":"^1.2.4","@backstage/plugin-scaffolder-node":"^0.4.9","axios":"^1.7.5","zod":"^3.23.8"},"description":"A Webex scaffolding module for @backstage/plugin-scaffolder-backend","devDependencies":{"@backstage/backend-common":"^0.24.0","@backstage/cli":"^0.27.0","@backstage/plugin-scaffolder-node-test-utils":"^0.1.11","@spotify/prettier-config":"^12.0.0","@types/jest":"29.5.12","jest":"^29.7.0","node-gyp":"^10.0.0","prettier":"^2.3.2","typescript":"~5.4.0"},"exports":{".":"./src/index.ts","./package.json":"./package.json"},"keywords":["backstage","cisco","incoming webhooks","scaffolder","webex"],"license":"Apache-2.0","lint-staged":{"*.{js,jsx,ts,tsx,mjs,cjs}":["eslint --fix","prettier --write"],"*.{json,md}":["prettier --write"]},"main":"src/index.ts","name":"@coderrob/backstage-plugin-scaffolder-backend-module-webex","prettier":"@spotify/prettier-config","private":false,"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"repository":{"directory":".","type":"git"},"scripts":{"build":"backstage-cli package build","clean":"backstage-cli package clean","lint":"backstage-cli package lint","lint:fix":"yarn prettier . --write","postpack":"backstage-cli package postpack","prepack":"backstage-cli package prepack","prettier:check":"prettier --check .","start":"backstage-cli package start","test":"backstage-cli package test","tsc":"tsc","tsc:full":"tsc --skipLibCheck false --incremental false"},"types":"src/index.ts","version":"1.0.3","_id":"@coderrob/backstage-plugin-scaffolder-backend-module-webex@1.0.3","gitHead":"476891e40547e1c8f328539fb4dd0e5c7c348181","_nodeVersion":"18.20.4","_npmVersion":"10.7.0","dist":{"integrity":"sha512-l7vju5jo9jOE/QODTReD34Z78wzv5WA2+BKl57WR0T6GoRo/X7V76Lnio7lGcSm83g3x0flKKFos7LQb5u6rhQ==","shasum":"ad60170b047264d00f2aac2f457dda0c5fbd2a82","tarball":"https://registry.npmjs.org/@coderrob/backstage-plugin-scaffolder-backend-module-webex/-/backstage-plugin-scaffolder-backend-module-webex-1.0.3.tgz","fileCount":5,"unpackedSize":7322,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCb76ntZEaQkB2tH4Q0uOTr47vbxoA3k0rsmNccq747igIgYJ2MzHTenoZoebRNggkBkQcrjozZEv9DBoR9b+HOMgU="}]},"_npmUser":{"name":"coderrob","email":"Rob@coderrob.com"},"directories":{},"maintainers":[{"name":"coderrob","email":"Rob@coderrob.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/backstage-plugin-scaffolder-backend-module-webex_1.0.3_1725216836946_0.420765224209779"},"_hasShrinkwrap":false}},"time":{"created":"2024-09-01T16:54:47.819Z","modified":"2024-09-01T18:53:57.300Z","1.0.0":"2024-09-01T16:54:48.148Z","1.0.1":"2024-09-01T17:10:08.168Z","1.0.2":"2024-09-01T18:06:13.830Z","1.0.3":"2024-09-01T18:53:57.103Z"},"author":{"name":"Robert Lindley","email":"rob@coderrob.com","url":"https://coderrob.com"},"license":"Apache-2.0","keywords":["backstage","cisco","incoming webhooks","scaffolder","webex"],"repository":{"directory":".","type":"git"},"description":"A Webex scaffolding module for @backstage/plugin-scaffolder-backend","maintainers":[{"name":"coderrob","email":"Rob@coderrob.com"}],"readme":"# @coderrob/backstage-plugin-scaffolder-backend-module-webex\n\n<a href=\"https://www.buymeacoffee.com/coderrob\" target=\"_blank\"><img src=\"https://cdn.buymeacoffee.com/buttons/v2/default-white.png\" alt=\"Buy Me A Coffee\" style=\"height: 50px !important;width: 200px !important;\" ></a>\n\nThe Webex scaffolding module for [@backstage/plugin-scaffolder-backend](https://www.npmjs.com/package/@backstage/plugin-scaffolder-backend). This Backstage.io module contains actions for sending messages using Webex Incoming Webhooks.\n\n## Prerequisites\n\n- [Node.js](https://nodejs.org/en/download) must be installed in the environment.\n- You must have a [Webex Incoming Webhook](https://www.google.com/url?sa=t&source=web&rct=j&opi=89978449&url=https://apphub.webex.com/applications/incoming-webhooks-cisco-systems-38054-23307-75252) URL available to send messages.\n\n## Getting Started\n\nTo add the Webex scaffolding module to your Backstage project, follow these steps:\n\n1. **Install the module:**\n\n   In the root directory of your Backstage project, run the following command:\n\n   ```shell\n   yarn add --cwd packages/backend @coderrob/backstage-plugin-scaffolder-backend-module-webex\n   ```\n\n1. **Register the custom action:**\n\n   After installing the module, you'll need to register the Webex scaffolding module in your Scaffolder backend.\n\n   Open your `packages/backend/src/plugins/scaffolder.ts` file and [register the custom action](https://backstage.io/docs/features/software-templates/writing-custom-actions/#registering-custom-actions) as follows:\n\n   ```typescript\n   const backend = createBackend();\n   backend.add(import('@backstage/plugin-scaffolder-backend/alpha'));\n   backend.add(import('@coderrob/backstage-plugin-scaffolder-backend-module-webex'));\n   ```\n\n   This code snippet registers the `createSendWebhooksMessageAction` with the Scaffolder backend using the latest Backstage.io backend framework.\n\n1. **Using the action in a scaffolder template:**\n\n   Once the action is registered, you can use it in your scaffolder templates to send messages via Webex Incoming Webhooks.\n\n   Here's an example template:\n\n   ```yaml\n   spec:\n     . . .\n     steps:\n       - id: send-webex-message\n         name: Send Webex Message\n         action: webex:webhooks:sendMessage\n         input:\n           format: \"markdown\"\n           message: \"# This Could Be Us\"\n           webhooks:\n             - \"https://webexapis.com/v1/webhooks/incoming/<SPACE_ID>\"\n             - \"https://webexapis.com/v1/webhooks/incoming/<SPACE_ID>\" # optional ability to message multiple spaces\n   ```\n\n1. **Deploy and test:**\n\n   With everything configured, deploy your Backstage instance and test the Webex Incoming Webhooks action by running a template that includes the `webex:webhooks:sendMessage` step.\n\n   If everything is set up correctly, the specified Webex channels should receive the messages as defined in your template.\n","readmeFilename":"README.md"}