{"_id":"@dominikbucko/plugin-artifactory-backend","_rev":"3-88f6f6089a06b46a9f0dea998ffb4367","name":"@dominikbucko/plugin-artifactory-backend","dist-tags":{"latest":"0.1.7"},"versions":{"0.1.4":{"name":"@dominikbucko/plugin-artifactory-backend","version":"0.1.4","main":"src/index.ts","types":"src/index.ts","license":"Apache-2.0","private":false,"author":{"name":"Original author - StageCentral","url":"https://github.com/StageCentral/backstage-artifactory-plugin"},"contributors":[{"name":"Dominik Bucko","email":"dominik.bucko@pan-net.eu"}],"publishConfig":{"access":"public","main":"dist/index.cjs.js","types":"dist/index.d.ts"},"repository":{"type":"git","url":"https://github.com/DominikBucko/backstage-artifactory-plugin.git"},"keywords":["backstage","plugin","artifactory","stagecentral","jfrog"],"backstage":{"role":"backend-plugin"},"configSchema":"config.d.ts","scripts":{"start":"backstage-cli package start","build":"backstage-cli package build","lint":"backstage-cli package lint","test":"backstage-cli package test","clean":"backstage-cli package clean","prepack":"backstage-cli package prepack","postpack":"backstage-cli package postpack"},"dependencies":{"@backstage/backend-common":"^0.17.0","@backstage/config":"^1.0.5","@types/express":"*","express":"^4.17.3","express-promise-router":"^4.1.0","jfrog-client-js":"^2.0.0","node-fetch":"^2.6.7","winston":"^3.2.1","yn":"^4.0.0"},"devDependencies":{"@backstage/cli":"^0.22.0","@types/supertest":"^2.0.12","msw":"^0.49.0","supertest":"^6.2.4"},"description":"Welcome to the Artifactory Backend plugin for Backstage!","_id":"@dominikbucko/plugin-artifactory-backend@0.1.4","dist":{"shasum":"8cdb7138677c41724033333ab77852d0e29d8e1e","integrity":"sha512-QUKYiguoD4Vgi2hxOvrm6w4r1Pgt/CVcqcKJf1NSWQwPl9yNA4W4uqGLrKG1s/z74uDwPH8ladv5EJIlUEMLng==","tarball":"https://registry.npmjs.org/@dominikbucko/plugin-artifactory-backend/-/plugin-artifactory-backend-0.1.4.tgz","fileCount":6,"unpackedSize":4368,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFuM9K2DucQMW70ycQpBwSP4S3W86cfFhI4rY2uVrEslAiBcXGzTDFKsdqPkqrMdHC/OYWBPn6JS7h9ck/U9lI03lg=="}]},"_npmUser":{"name":"dominikbucko","email":"xbuckod@gmail.com"},"directories":{},"maintainers":[{"name":"dominikbucko","email":"xbuckod@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-artifactory-backend_0.1.4_1709742199392_0.35848064517751665"},"_hasShrinkwrap":false},"0.1.5":{"name":"@dominikbucko/plugin-artifactory-backend","version":"0.1.5","main":"src/index.ts","types":"src/index.ts","license":"Apache-2.0","private":false,"author":{"name":"Original author - StageCentral","url":"https://github.com/StageCentral/backstage-artifactory-plugin"},"contributors":[{"name":"Dominik Bucko","email":"dominik.bucko@pan-net.eu"}],"publishConfig":{"access":"public","main":"dist/index.cjs.js","types":"dist/index.d.ts"},"repository":{"type":"git","url":"https://github.com/DominikBucko/backstage-artifactory-plugin.git"},"keywords":["backstage","plugin","artifactory","stagecentral","jfrog"],"backstage":{"role":"backend-plugin"},"configSchema":"config.d.ts","scripts":{"start":"backstage-cli package start","build":"backstage-cli package build","lint":"backstage-cli package lint","test":"backstage-cli package test","clean":"backstage-cli package clean","prepack":"backstage-cli package prepack","postpack":"backstage-cli package postpack"},"dependencies":{"@backstage/backend-common":"^0.17.0","@backstage/config":"^1.0.5","@types/express":"*","express":"^4.17.3","express-promise-router":"^4.1.0","jfrog-client-js":"^2.0.0","node-fetch":"^2.6.7","winston":"^3.2.1","yn":"^4.0.0"},"devDependencies":{"@backstage/cli":"^0.22.0","@types/supertest":"^2.0.12","msw":"^0.49.0","supertest":"^6.2.4"},"description":"Welcome to the Artifactory Backend plugin for Backstage!","_id":"@dominikbucko/plugin-artifactory-backend@0.1.5","dist":{"shasum":"3a354b46bd316e5d9b3e6c22a3dcfb661babdfff","integrity":"sha512-NNCooC5+/UshnQAZ9CKsnGU9UksP69EesFUxGSEdneWr8Q3FFN7EzKCfasAcKwtPjGPmYOKoLoYmpx7jwumVtg==","tarball":"https://registry.npmjs.org/@dominikbucko/plugin-artifactory-backend/-/plugin-artifactory-backend-0.1.5.tgz","fileCount":6,"unpackedSize":5518,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBEiFrXBI7qJeAYB/NRlZUh4xOYyxiacxwHEkJpZesGbAiEA4aax7HJ+vMQt2ikcOZk6ANjjRLyA4DconclqeF2dja0="}]},"_npmUser":{"name":"dominikbucko","email":"xbuckod@gmail.com"},"directories":{},"maintainers":[{"name":"dominikbucko","email":"xbuckod@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-artifactory-backend_0.1.5_1709746715102_0.9203588870729797"},"_hasShrinkwrap":false},"0.1.6":{"name":"@dominikbucko/plugin-artifactory-backend","version":"0.1.6","main":"dist/index.cjs.js","types":"dist/index.d.ts","license":"Apache-2.0","private":false,"author":{"name":"Original author - StageCentral","url":"https://github.com/StageCentral/backstage-artifactory-plugin"},"contributors":[{"name":"Dominik Bucko","email":"dominik.bucko@pan-net.eu"}],"publishConfig":{"access":"public","main":"dist/index.cjs.js","types":"dist/index.d.ts"},"repository":{"type":"git","url":"https://github.com/DominikBucko/backstage-artifactory-plugin.git"},"keywords":["backstage","plugin","artifactory","stagecentral","jfrog"],"backstage":{"role":"backend-plugin"},"configSchema":"config.d.ts","scripts":{"start":"backstage-cli package start","build":"backstage-cli package build","lint":"backstage-cli package lint","test":"backstage-cli package test","clean":"backstage-cli package clean","prepack":"backstage-cli package prepack","postpack":"backstage-cli package postpack"},"dependencies":{"@backstage/backend-common":"^0.17.0","@backstage/config":"^1.0.5","@types/express":"*","express":"^4.17.3","express-promise-router":"^4.1.0","jfrog-client-js":"^2.7.1","node-fetch":"^2.6.7","winston":"^3.2.1","yn":"^4.0.0"},"devDependencies":{"@backstage/cli":"^0.22.0","@types/supertest":"^2.0.12","msw":"^0.49.0","supertest":"^6.2.4"},"description":"Welcome to the Artifactory Backend plugin for Backstage!","_id":"@dominikbucko/plugin-artifactory-backend@0.1.6","dist":{"shasum":"63f4a8bf234839f9568d492e7da9e9b67b6e1e56","integrity":"sha512-MzHq1kWuylBpyq34ZEbQRwk+SeMZaLs7DIp5jRPRGIO3/MwAyXwmJP745r+ZDd9BcpYlwvN5w/Na87QpXX1BxQ==","tarball":"https://registry.npmjs.org/@dominikbucko/plugin-artifactory-backend/-/plugin-artifactory-backend-0.1.6.tgz","fileCount":8,"unpackedSize":24544,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCK/RvAHGhGe3LpBEZhMX0VASS/TGVa0y5nf46OEX0anwIgD2CsLvo1+5lKdkL2s7Mv7VEemmlkHKKM1p0evMf/Ez8="}]},"_npmUser":{"name":"dominikbucko","email":"xbuckod@gmail.com"},"directories":{},"maintainers":[{"name":"dominikbucko","email":"xbuckod@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-artifactory-backend_0.1.6_1709749198380_0.8067435009198345"},"_hasShrinkwrap":false},"0.1.7":{"name":"@dominikbucko/plugin-artifactory-backend","version":"0.1.7","main":"dist/index.cjs.js","types":"dist/index.d.ts","license":"Apache-2.0","private":false,"author":{"name":"Original author - StageCentral","url":"https://github.com/StageCentral/backstage-artifactory-plugin"},"contributors":[{"name":"Dominik Bucko","email":"dominik.bucko@pan-net.eu"}],"publishConfig":{"access":"public","main":"dist/index.cjs.js","types":"dist/index.d.ts"},"repository":{"type":"git","url":"https://github.com/DominikBucko/backstage-artifactory-plugin.git"},"keywords":["backstage","plugin","artifactory","stagecentral","jfrog"],"backstage":{"role":"backend-plugin"},"configSchema":"config.d.ts","scripts":{"start":"backstage-cli package start","build":"backstage-cli package build","lint":"backstage-cli package lint","test":"backstage-cli package test","clean":"backstage-cli package clean","prepack":"backstage-cli package prepack","postpack":"backstage-cli package postpack"},"dependencies":{"@backstage/backend-common":"^0.17.0","@backstage/config":"^1.0.5","@types/express":"*","express":"^4.17.3","express-promise-router":"^4.1.0","jfrog-client-js":"^2.7.1","node-fetch":"^2.6.7","winston":"^3.2.1","yn":"^4.0.0"},"devDependencies":{"@backstage/cli":"^0.22.0","@types/supertest":"^2.0.12","msw":"^0.49.0","supertest":"^6.2.4"},"description":"Welcome to the Artifactory Backend plugin for Backstage!","_id":"@dominikbucko/plugin-artifactory-backend@0.1.7","dist":{"shasum":"97c315c9bc62d964a5a23d9bcc519f0312f171c2","integrity":"sha512-7/VPCbgeWjY4oxUYcYL4XasW62wupZRAqAleCmMHCh7dltqQZXSw58DPzRdVqrDDcBR6UO7v0N145e5zhdRqzw==","tarball":"https://registry.npmjs.org/@dominikbucko/plugin-artifactory-backend/-/plugin-artifactory-backend-0.1.7.tgz","fileCount":8,"unpackedSize":23781,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFnPGFHFFVp3cwGjuc+nm23V2hUAUm8AlXL77dlwgHz7AiEA32JIiTUD+6nYBawYATtLbDq0FuZ+kGmKsGZ4qS8RS38="}]},"_npmUser":{"name":"dominikbucko","email":"xbuckod@gmail.com"},"directories":{},"maintainers":[{"name":"dominikbucko","email":"xbuckod@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-artifactory-backend_0.1.7_1709750767767_0.013565949841997993"},"_hasShrinkwrap":false}},"time":{"created":"2024-03-06T16:23:19.277Z","0.1.4":"2024-03-06T16:23:19.532Z","modified":"2024-03-06T18:46:08.360Z","0.1.5":"2024-03-06T17:38:35.269Z","0.1.6":"2024-03-06T18:19:58.560Z","0.1.7":"2024-03-06T18:46:07.932Z"},"maintainers":[{"name":"dominikbucko","email":"xbuckod@gmail.com"}],"description":"Welcome to the Artifactory Backend plugin for Backstage!","keywords":["backstage","plugin","artifactory","stagecentral","jfrog"],"repository":{"type":"git","url":"https://github.com/DominikBucko/backstage-artifactory-plugin.git"},"contributors":[{"name":"Dominik Bucko","email":"dominik.bucko@pan-net.eu"}],"author":{"name":"Original author - StageCentral","url":"https://github.com/StageCentral/backstage-artifactory-plugin"},"license":"Apache-2.0","readme":"# Jfrog Artifactory Plugin for Backstage by StageCentral\n\nWelcome to the Artifactory Backend plugin for Backstage!\n\nThe purpose of this plugin is to bring software artifacts forward - where developers can see them.\nYou can now easily connect your software components and services to their binary artifacts and browse the relevant artifacts directly from your Bacsktage IDP.\n\nThis plugin uses [jfrog-client-js](https://github.com/jfrog/jfrog-client-js) to connect to Jfrog, so it can potentially be extended to also expose data from XRay and the rest of the Jfrog Platform.\n\n## Important - the Frontend Plugin\n\nThis plugin was originally created to provide Jfrog API connection for the [Artifactory plugin for Backstage](https://www.npmjs.com/package/@stagecentral/plugin-artifactory) \nBut it exposes APIs that can be used by any other Backstage plugin.\n\n## Installation\n\nYarn:\n`yarn add @stagecentral/plugin-artifactory-backend`\n\nNpm:\n`npm -i @stagecentral/plugin-artifactory-backend`\n\n## Configuration\n\nIn your `app-config.yaml` (or wherever you inject Backstage config from):\n```yaml\nartifactory:\n    # Note: this is the URL to Jfrog platform. The plugin adds `/artifactory` to this path.\n    url: https://myorg.jfrog.io\n    # The plugin currently uses simple user/passwd auth.\n    # API key support will be added later\n    user: ${ARTIFACTORY_USER}\n    password: ${ARTIFACTORY_PASSWORD}\n```\n\n## Integration\n\n### Add to backend:\nCreate `packages/backend/src/plugins/artifactory.ts`:\n\n```javascript\nimport { createRouter } from '@stagecentral/plugin-artifactory-backend';\nimport { Router } from 'express';\nimport { PluginEnvironment } from '../types';\nimport { CatalogClient } from '@backstage/catalog-client';\n\nexport default async function createPlugin(\n  env: PluginEnvironment,\n): Promise<Router> {\n  const catalogApi = new CatalogClient({ discoveryApi: env.discovery });\n  return await createRouter({\n    logger: env.logger,\n    config: env.config,\n    catalogApi,\n  }\n  );\n}\n```\n\nIn `packages/backend/src/index.ts`:\n\n```javascript\nimport artifactory from './plugins/artifactory'\n...\n\n/* next to other createEnv calls */\nconst artifactoryEnv = useHotMemoize(module, () => createEnv('artifactory'));\n\n/* next to other apiRouter.use calls */\napiRouter.use('/artifactory', await artifactory(artifactoryEnv));\n\n```\n","readmeFilename":"README.md"}