{"_id":"@preevy/plugin-github-pr-link","_rev":"194-72feecf810f9db3c730a100c9ba4c933","name":"@preevy/plugin-github-pr-link","dist-tags":{"latest":"0.0.56","canary":"0.0.49-alpha.0","cta-machine-info":"0.0.49-cta-machine-info.0","cta-git-metadata":"0.0.49-cta-git-metadata.0","windows-eslint-issues":"0.0.49-windows-eslint-issues.0","fix-ls-resources":"0.0.49-fix-ls-resources.0","readme-less-hyperbole":"0.0.49-readme-less-hyperbole.0","more-metadata":"0.0.49-more-metadata.0","normalize-env-id-2":"0.0.49-normalize-env-id-2.0","ci-lint":"0.0.50-ci-lint.0bce771","kube-driver-fixes":"0.0.50-kube-driver-fixes.4ea56d6","add-login-and-linking":"0.0.50-add-login-and-linking.0f69ad8","kube-driver-init-context-default":"0.0.50-kube-driver-init-context-default.3063181","kube-driver-fix-name-sanitation":"0.0.50-kube-driver-fix-name-sanitation.0a9b087","add-auth-scheme-hint-query-param":"0.0.50-add-auth-scheme-hint-query-param.e929e01","support-auth-from-saas":"0.0.50-support-auth-from-saas.b61023e","minor-refactor-cli-auth-urls":"0.0.50-minor-refactor-cli-auth-urls.3f8b1df","gce-labels-allowed-chars":"0.0.50-gce-labels-allowed-chars.ec46ecf","pkg":"0.0.50-pkg.9c1ef19","proxy-access-with-path":"0.0.50-proxy-access-with-path.17da5bd","minor-refactor-cli-auth-urls-2":"0.0.50-minor-refactor-cli-auth-urls-2.4984b28","support-querying-tunnels":"0.0.50-support-querying-tunnels.e141dfd","support-for-tunneling-existing-local-service":"0.0.50-support-for-tunneling-existing-local-service.9977a71","connect-metadata":"0.0.50-connect-metadata.56cc5ad","small-change-in-active-tunnel-store-key":"0.0.50-small-change-in-active-tunnel-store-key.bcf02f8","tunnel-server-return-tunnel-metadata":"0.0.50-tunnel-server-return-tunnel-metadata.0938b3e","profile-key-command":"0.0.50-profile-key-command.b817fd9","main":"0.0.57-main.00e10e9","gce-up-while-machine-being-deleted":"0.0.51-gce-up-while-machine-being-deleted.7f8a1d9","profile-improvements":"0.0.51-profile-improvements.91bf7e4","env-id-in-connect-command":"0.0.51-env-id-in-connect-command.08782ec","add-support-lc-access-token-param":"0.0.51-add-support-lc-access-token-param.ebfd355","cta-narrow-docker-api":"0.0.51-cta-narrow-docker-api.76c632a","inject-scripts":"0.0.51-inject-scripts.cef4335","eliya-add-cors":"0.0.51-eliya-add-cors.6a62653","cta-more-container-api":"0.0.51-cta-more-container-api.5a8ec8a","cta-well-behaved-close":"0.0.51-cta-well-behaved-close.812d651","tunnel-server-proactive-close":"0.0.51-tunnel-server-proactive-close.1ea9643","git-context-as-paramater":"0.0.51-git-context-as-paramater.1fe8f15","script-injection-updates":"0.0.51-script-injection-updates.caa1d2f","script-injection-connect":"0.0.51-script-injection-connect.073074e","combine-prs-branch":"0.0.54-combine-prs-branch.65f25a4","experimental-added-win-binary":"0.0.54-experimental-added-win-binary.3911278","preevy-login-at-init":"0.0.56-preevy-login-at-init.788c7bd","cli-profile-cp":"0.0.56-cli-profile-cp.d503b25","cli-logo":"0.0.56-cli-logo.ecb9a0e","compose-file-overrides":"0.0.56-compose-file-overrides.cbb786b","default-compose-preevy-file":"0.0.57-default-compose-preevy-file.102f655","enable-widget-flag-for-preevy-up":"0.0.56-enable-widget-flag-for-preevy-up.0a1fde9","refactor-labels":"0.0.57-refactor-labels.ab0784f","split-build":"0.0.57-split-build.8790835","region-autocomplete":"0.0.57-region-autocomplete.bbffec1","fix-multiple-flags":"0.0.57-fix-multiple-flags.d2f7f1d"},"versions":{"0.0.29-alpha.0":{"name":"@preevy/plugin-github-pr-link","version":"0.0.29-alpha.0","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@preevy/cli-common":"0.0.29-alpha.0","@preevy/core":"0.0.29-alpha.0","@oclif/core":"^2","lodash":"^4.17.21","octokit":"^2.0.14"},"devDependencies":{"@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"rm -rf dist","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"9bbb7a35094d1c9121af2376a261918565196375","_id":"@preevy/plugin-github-pr-link@0.0.29-alpha.0","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-fcrVtlf7i6Lfebyk+4bj+AylxiK8xlEXtK6g6557BAFPHwz+qpGadkyK3C1/t2l5VACSTzeW24pi8sAtJkwBIg==","shasum":"557ba831ed67eb2b1a1711190b30d395e3f6220c","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.29-alpha.0.tgz","fileCount":2,"unpackedSize":2492,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCtRnoqD2XrXj7u8wHfegP2PNzxWKkbO+OpaD0A5EqO8gIgfvdVnZz+PMZHz2sP5K/lwpXGmT/y4ZLaTbjfB27ZEC0="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.29-alpha.0_1684777547499_0.8625228196699872"},"_hasShrinkwrap":false},"0.0.30-alpha.0":{"name":"@preevy/plugin-github-pr-link","version":"0.0.30-alpha.0","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.30-alpha.0","@preevy/core":"0.0.30-alpha.0","lodash":"^4.17.21","octokit":"^2.0.14"},"devDependencies":{"@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"rm -rf dist","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"da3c516d7c3a8d557b636ac9605192f920cb232e","_id":"@preevy/plugin-github-pr-link@0.0.30-alpha.0","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-DbBXPIstwXwj9wk+uTUXIIt3/pgtqfYUJLL6lzwwRBc7DmIteBW7OpH276y3S+ZxuNQsEJPSS0xBtOSqrxVE5w==","shasum":"d41857c83c44bcfd2e41d7fa4ed80fc6546a82a6","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.30-alpha.0.tgz","fileCount":2,"unpackedSize":2492,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCbAM0iwkqcwLBSHCnGrq2lgQ8zY03PnmSAe8C6ZXaIMAIgSRV9p56F/R+ZL7bl8KCct5QxsARwNKDIC4a8N/t6zN8="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.30-alpha.0_1684821730675_0.7358433037848888"},"_hasShrinkwrap":false},"0.0.30":{"name":"@preevy/plugin-github-pr-link","version":"0.0.30","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.30","@preevy/core":"0.0.30","lodash":"^4.17.21","octokit":"^2.0.14"},"devDependencies":{"@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"rm -rf dist","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"8d51b4082f24b0a03c9a0ddcae4b8b04e49184be","_id":"@preevy/plugin-github-pr-link@0.0.30","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-P1VCpo40/ERqpfeZyQ9E2KPBvyDq8zcQHCW6ntQZ1WpudUe3438DV74gVNaMy1APmmPrW3lqbqGwz1VIFiP6tQ==","shasum":"77f4e7c0af973a756ec07b8284a28751989ff7dc","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.30.tgz","fileCount":2,"unpackedSize":2468,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHeU8TullsSstroEFv2CVG5kdZwBZ74G3BsfRqn/YuENAiEA5P3vjO+i3s4TiU/RyozURubzkbzJz4kOcw4bRRrixSw="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.30_1684827570430_0.24837161210101866"},"_hasShrinkwrap":false},"0.0.31":{"name":"@preevy/plugin-github-pr-link","version":"0.0.31","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.31","@preevy/core":"0.0.31","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"rm -rf dist","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"types":"./dist/index.d.ts","gitHead":"7a0f9ef7787229a133fe6a0f52c2b7ba81aebb71","_id":"@preevy/plugin-github-pr-link@0.0.31","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-epFCTIrd+z3AYSu6mn+jY+asKw8n2EMdvh3v/2BZfNluBp2urPXkkXdbLGxuwoL6WaWMB/NNU4MMgHOlYpU23A==","shasum":"2fc83575e6efa452e15dfdf3283e5c9e57945ce7","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.31.tgz","fileCount":29,"unpackedSize":40144,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCnWODBMYuM4MC5+o24uArWAeFExN02tsj+5z7h9K78MQIgROgH8Y0vesrlVPYwm8dyvBIHKeJUM25jedQUL5TCTYU="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.31_1685952846000_0.6303822616102381"},"_hasShrinkwrap":false},"0.0.32":{"name":"@preevy/plugin-github-pr-link","version":"0.0.32","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.32","@preevy/core":"0.0.32","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"rm -rf dist","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"types":"./dist/index.d.ts","gitHead":"562637f8110192576283df2a74caadbd9a377013","_id":"@preevy/plugin-github-pr-link@0.0.32","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-KM8qfqH5AnKWq2accDrwHRKdj0YISpAf6U5p4z6hWm+eMYxUPh+dpoChKoCKtxWzMZxcYfckqhafetM80ILT8g==","shasum":"7107ae9212a0817b512384fdc816371054bc9b1c","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.32.tgz","fileCount":29,"unpackedSize":40144,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDozXqiyWazZWwZNsTpVnPQUsMaZwJkgL8BDSNY2lVgcQIhANHauzrbAyG2fBqylq9gzdOXSiF3Dh1BFRat4Ph1UR2m"}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.32_1686143776981_0.2579209975091181"},"_hasShrinkwrap":false},"0.0.33":{"name":"@preevy/plugin-github-pr-link","version":"0.0.33","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.33","@preevy/core":"0.0.33","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"rm -rf dist","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"types":"./dist/index.d.ts","gitHead":"cd019cd53b162bc39adffc2021e8f01ca623f63d","_id":"@preevy/plugin-github-pr-link@0.0.33","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-wxPMZAdvlYyu7lGUErmN/QnyZdNa2ESPUYPwjokPJvR4heZF1LXHnLoZKs39iMG0t/iAbOwzCNnz9OYOd8xdMg==","shasum":"bd2c03dd7854b9977297ab32e2ef7fe10ce1108e","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.33.tgz","fileCount":29,"unpackedSize":40144,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHvCfQQa6UWqk4UqL8KfwIlaaYTTXnjGtIThB5uz3PlEAiEA4cEV9KWdk8xzOFzXI6zqWDbIn8YQvk7kmbyB8lKTBUg="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.33_1686234266252_0.049352011434119714"},"_hasShrinkwrap":false},"0.0.34":{"name":"@preevy/plugin-github-pr-link","version":"0.0.34","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.34","@preevy/core":"0.0.34","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"rm -rf dist","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"types":"./dist/index.d.ts","gitHead":"23a8495ac98ff4dd042a46919dba04ca854475dc","_id":"@preevy/plugin-github-pr-link@0.0.34","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-61B2IDtSR/mfCQ3fyet7GKm+aneGlY1UgECrafdQ8zxE60I/B8HwnksO5KWFmx7LVq9eo4ODASMWvj6WpPGOVw==","shasum":"63f33ff9452fc131840015f381981890b383e9f4","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.34.tgz","fileCount":29,"unpackedSize":40144,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGdHVMF76hP+jukNWn6xjHpnrRd+9oyDBlsF/eYXvLpgAiEArS0hDL+bYNL67Zym7ypV/qugdmwauCxfZSt5zljOpFc="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.34_1686471938463_0.8590107629123298"},"_hasShrinkwrap":false},"0.0.35":{"name":"@preevy/plugin-github-pr-link","version":"0.0.35","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.35","@preevy/core":"0.0.35","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"rm -rf dist","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"types":"./dist/index.d.ts","gitHead":"e9f5835b90597068914d3e1beb7c8bd698f14ffb","_id":"@preevy/plugin-github-pr-link@0.0.35","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-+bhrJ0XirF8LZO4N05mIE/NH99lDNyi4SytEoj6+gvTeRpyjaJ4EJP8JwP+8BKkaTM375ij474K6wx2E02zePQ==","shasum":"8bd7bbf12cdd8f0100ad8032c774e20abb5656df","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.35.tgz","fileCount":29,"unpackedSize":40144,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDAC1sNIroPqw7tfIcxN1Plg6aBvgGyyycKVUbDB/rd+AiBNAenbcRj12uR6/R5a6OmdKImhzgv3qrLrxLOs8NjkcA=="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.35_1686554070974_0.6722195171407708"},"_hasShrinkwrap":false},"0.0.36":{"name":"@preevy/plugin-github-pr-link","version":"0.0.36","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.36","@preevy/core":"0.0.36","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"rm -rf dist","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"types":"./dist/index.d.ts","gitHead":"105700d56c35f676cf80c49c2e903925f5cd5860","_id":"@preevy/plugin-github-pr-link@0.0.36","_nodeVersion":"18.16.1","_npmVersion":"9.5.1","dist":{"integrity":"sha512-SrQPXVuglOtxPamwhXn91ZXguEbztB/tigWO1Xfs6vhwJhpn7kmjJClY6Qu3xx5cf06U1xcYq4/45lLkStQGtA==","shasum":"8a7e23650ba407d40eea9256640e79a9fea1fe98","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.36.tgz","fileCount":29,"unpackedSize":40177,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHUyPNZDbfpH27fbRGUDh/V1kx3dY40O6vgBhytvnOI6AiEAjo62Ye+euMqJ0TcK7eXIdGyzY14XAE8MTpikdlO2vEo="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.36_1688380198642_0.9609194251734048"},"_hasShrinkwrap":false},"0.0.37":{"name":"@preevy/plugin-github-pr-link","version":"0.0.37","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.37","@preevy/core":"0.0.37","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"rm -rf dist","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"types":"./dist/index.d.ts","gitHead":"a304f082f4647396222f352fb05007c11bfb7946","_id":"@preevy/plugin-github-pr-link@0.0.37","_nodeVersion":"18.16.1","_npmVersion":"9.5.1","dist":{"integrity":"sha512-qIIA2l3Dd6B0vSuaN9vK43bA7kEOw/A1SrghhpHQ+Xuw/dhxMPZCb5/eWZ7acNx0Gw2Gz1fs/ULJeWu8JQNpjA==","shasum":"fd886a010686e8dab3e137c00d5b629eca9df952","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.37.tgz","fileCount":29,"unpackedSize":40177,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCW5peQFSGStuEngh1LilzI+tuBKN8pwRQ7+79JNQ9AnwIhAO+ZWxrYsKCwCkFoJ2rNj4knAhpMrk8FPStosx+gvnh4"}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.37_1688673658944_0.6462398724896328"},"_hasShrinkwrap":false},"0.0.38":{"name":"@preevy/plugin-github-pr-link","version":"0.0.38","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.38","@preevy/core":"0.0.38","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"rm -rf dist","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"types":"./dist/index.d.ts","gitHead":"66e75a45fa2d867bd7d2efb5cd403e93e88b9ffd","_id":"@preevy/plugin-github-pr-link@0.0.38","_nodeVersion":"18.16.1","_npmVersion":"9.5.1","dist":{"integrity":"sha512-9SU/nAEhKuYWwLUlTdW8ektqyIdqYtm3kPy5Wv5BcJ/ISON9Eu8GtaxhOfA3wdc7Bs1ztAjzAY5OMu7Lb2cJaw==","shasum":"f773879a0b704721ce3935edc9d2fe5eb643790d","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.38.tgz","fileCount":29,"unpackedSize":40177,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEakFxLG/wUDOzggRYtklUMa7JMJ/DRO+Hy4o11lReFFAiEAxQJJDQG/M9hHeq6thBH/XhIjQfyfiLRQkv3+PSQ8K4E="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.38_1688678240492_0.20609776121288492"},"_hasShrinkwrap":false},"0.0.39":{"name":"@preevy/plugin-github-pr-link","version":"0.0.39","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.39","@preevy/core":"0.0.39","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"rm -rf dist","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"types":"./dist/index.d.ts","gitHead":"0233d2b48992fd17f0567f5eaeb1733424b0eff0","_id":"@preevy/plugin-github-pr-link@0.0.39","_nodeVersion":"18.16.1","_npmVersion":"9.5.1","dist":{"integrity":"sha512-om63YFRBKVhbU+NTWadNje2LvXN7AYZ+5jsr664zITGcu1jJDtPCN6JA5oVBljM1kLQN9R9zTl/kw442xVywSg==","shasum":"0958aff7112fd036e72ad298d2e31fcbe1fc5488","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.39.tgz","fileCount":29,"unpackedSize":40177,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDmjNL9v/iscOcAUKNwPBoPHpecxv30EyT/o8EyNNRshwIhANFIJgUAMdKuPYA8yoGslyOJnGVEyVZPUiuEmhH3oNkl"}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.39_1688902489710_0.9726083371984005"},"_hasShrinkwrap":false},"0.0.40":{"name":"@preevy/plugin-github-pr-link","version":"0.0.40","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.40","@preevy/core":"0.0.40","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"rm -rf dist","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"types":"./dist/index.d.ts","gitHead":"d63805bda9c77be05899170181ed157dad567668","_id":"@preevy/plugin-github-pr-link@0.0.40","_nodeVersion":"18.16.1","_npmVersion":"9.5.1","dist":{"integrity":"sha512-TDmMqr8YZtR0ol8Xn3Oll2DGBtKKrkx46srwVS5+DQLNLDDphVUfAA6zI/hWdZSVHbHgQBBA74I2Hx4FmXoLDg==","shasum":"11aa538d6a22767efbc7bf2cf15e7b608aea9df6","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.40.tgz","fileCount":29,"unpackedSize":40177,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCmv0SDaMFdutx8IbqCgvpwttZgtaiN7jz9hXSvW6q8vgIhAJlDFSUXL4tq+k4jYImtyNESdm7v81TzHmNIXKCXc5zq"}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.40_1689488839034_0.668049184870523"},"_hasShrinkwrap":false},"0.0.41":{"name":"@preevy/plugin-github-pr-link","version":"0.0.41","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.41","@preevy/core":"0.0.41","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"rm -rf dist","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"types":"./dist/index.d.ts","gitHead":"41be350cfcfa93e8f7f391314a057b223c58f3c2","_id":"@preevy/plugin-github-pr-link@0.0.41","_nodeVersion":"18.16.1","_npmVersion":"9.5.1","dist":{"integrity":"sha512-pE5+9bggQPrxze/uq1kdyqTPPJkrR2l1l2qFu53B7pek/km+kDo4Y+PLVWmbGCEMeeNG5JwUv/O7DbApZYakQA==","shasum":"521289b05054a3d4681c318b9b10157b484c6500","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.41.tgz","fileCount":29,"unpackedSize":40177,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC9jFUk1irZtODWW20/uE8dAeQ2l5LPnbbY7HfTCQ1yvgIgc904txULoMhgY6K34xYQv2LLUwl00MijDKj1SgePX5g="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.41_1689843534321_0.7926726682452911"},"_hasShrinkwrap":false},"0.0.42":{"name":"@preevy/plugin-github-pr-link","version":"0.0.42","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.42","@preevy/core":"0.0.42","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"rm -rf dist","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"types":"./dist/index.d.ts","gitHead":"537c43f2fa63e3ad0f845e674f360b438920587a","_id":"@preevy/plugin-github-pr-link@0.0.42","_nodeVersion":"18.16.1","_npmVersion":"9.5.1","dist":{"integrity":"sha512-WkEa8T8QZVvaGu5GP3+enRzhCB7XffhOW+qme4qjf9RICjC4eykBHGh7MB0edkcMHeNVBCIORwPfj/hE95fx7Q==","shasum":"b742fd6140e5df44879fef67ef83f1f8967c6bf5","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.42.tgz","fileCount":29,"unpackedSize":40177,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDEGtIF/A5zQCCwxnN5wzW68g0iaLfFoP0jDNMdmB1NLQIgRtblTriFvAXkn88NMR/HMa8RKWl9zpkTkW5BJW7CSII="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.42_1689845338673_0.04557856318163034"},"_hasShrinkwrap":false},"0.0.43":{"name":"@preevy/plugin-github-pr-link","version":"0.0.43","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.43","@preevy/core":"0.0.43","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"rm -rf dist","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"types":"./dist/index.d.ts","gitHead":"65c0508a3c52497203196382f23180c2fe9861fa","_id":"@preevy/plugin-github-pr-link@0.0.43","_nodeVersion":"18.16.1","_npmVersion":"9.5.1","dist":{"integrity":"sha512-NtXuDoU/fTAezHmnZSDNWOE4oHxSgEcQi7Ejzm62KhQf/rSWXQJIMwapUh+8GGCHgnhcd3TIGowqymMOrYNeVg==","shasum":"07686b02c1717b36f3b5fc53741c1ccfa2114819","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.43.tgz","fileCount":29,"unpackedSize":40177,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFXglnhAPNE8e1cshYwsxP3YJMFcq/H0J4lzvkEI34RBAiA/+dZbvLtRWlAbA2iGQXU2pcTXXUczoomxomV9sbcBlw=="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.43_1690116922453_0.2376898040578117"},"_hasShrinkwrap":false},"0.0.40-alpha.18":{"name":"@preevy/plugin-github-pr-link","version":"0.0.40-alpha.18","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"^0.0.40-alpha.18+15bdf86","@preevy/core":"^0.0.40-alpha.18+15bdf86","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"rm -rf dist","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"15bdf86e62e9f552b68db9f343fa5ff01a895ca8","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.40-alpha.18","_nodeVersion":"18.12.1","_npmVersion":"lerna/6.6.2/node@v18.12.1+arm64 (darwin)","dist":{"integrity":"sha512-eqUeDmVevjCJdkxnL/Mex64gbiDkJSSfnixRj0gcA1pxxQVTWoz0VufkSuJkJhoaI/X1/0BxApH/7ZK0Wn24RA==","shasum":"f448ae54fd8ffeaf04e66d64f626d05d028801e7","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.40-alpha.18.tgz","fileCount":3,"unpackedSize":15768,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGAyQ+C9g1usSpP9GHYVArt+wrDJS43PKM0z5M52JhREAiBNwF+tBJYNZvc2LrN83S6pA3jJaI8QxymhxGz8UWbDCA=="}]},"_npmUser":{"name":"royra","email":"roy@razon.info"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.40-alpha.18_1690122203091_0.875820240457136"},"_hasShrinkwrap":false},"0.0.44-alpha.0":{"name":"@preevy/plugin-github-pr-link","version":"0.0.44-alpha.0","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"^0.0.43","@preevy/core":"^0.0.43","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"rm -rf dist","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"1d84a5750b30293f0187b1097b8134f57413a48a","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.44-alpha.0","_nodeVersion":"18.12.1","_npmVersion":"lerna/6.6.2/node@v18.12.1+arm64 (darwin)","dist":{"integrity":"sha512-aH8vYF0rI4lJi+2WkkdTNIXBc0O3ahNKnWkS+Y9QJvWQF7f3rM53dznDl64+6S2ab3qx+5Yq1dq1WR4W1jkzKw==","shasum":"827f27c6405f1a94140f125dc248b3315f8dee02","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.44-alpha.0.tgz","fileCount":3,"unpackedSize":15733,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCo2BDIgzuy5yFT5aXBlH7+eeWsLdA0G12JBAla126VEwIgZJToP1zMwpqE/u/7q7NP4nSbVOqLq4zgR/jZi1iwcUY="}]},"_npmUser":{"name":"royra","email":"roy@razon.info"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.44-alpha.0_1690123052966_0.24039914443021448"},"_hasShrinkwrap":false},"0.0.44":{"name":"@preevy/plugin-github-pr-link","version":"0.0.44","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.44","@preevy/core":"0.0.44","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"rm -rf dist","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"types":"./dist/index.d.ts","gitHead":"7e5544b183ac5d70ca8048db1809995334d3687c","_id":"@preevy/plugin-github-pr-link@0.0.44","_nodeVersion":"18.16.1","_npmVersion":"9.5.1","dist":{"integrity":"sha512-iPHSD0PLm9Bt0APdWL7aJv3uEU4h1Mkr7nGJEnWVCmrgB9Wiv1sSlpkVAtgJVx9HrTJ/BLcuxhUkVMpij2mAEQ==","shasum":"c5fc931363619dc3f09339a988733b9b6b53728f","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.44.tgz","fileCount":29,"unpackedSize":41649,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDTxOWtcVvyhk2YrapybfGYLdz9kt7pzTR74h8m0G8flAIgdDZo0aLfeAurJCZ/Wu3mJP/TxBqplSnBWuxLtKqYXj8="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.44_1690186306129_0.38080623257808743"},"_hasShrinkwrap":false},"0.0.45-alpha.0":{"name":"@preevy/plugin-github-pr-link","version":"0.0.45-alpha.0","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"^0.0.45-alpha.0+a8b5759","@preevy/core":"^0.0.45-alpha.0+a8b5759","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"rm -rf dist","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"a8b575972642ce8d083df75395dbfbcbcd81b45e","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.45-alpha.0","_nodeVersion":"18.16.1","_npmVersion":"lerna/6.6.2/node@v18.16.1+x64 (linux)","dist":{"integrity":"sha512-mScVD61+uZnYyqnu6sLKu6j6aYooerGNwchzz5gt1sjmkrL0NwNGO/dBMl2g9S87dDEWi10x/7IddC1EyXhSjQ==","shasum":"09cc7a171b0a0c1ad35ac34038085048576c7f55","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.45-alpha.0.tgz","fileCount":30,"unpackedSize":53113,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDu13QvDqH0JB9Up/8Bd5nQE+H7B5rOdpk5SNGVf3QgygIgHkY3kHJCY7Vk318OTuIPNLn+xh6pYy2LNHZASsSxe2A="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.45-alpha.0_1690187983007_0.2279327490781624"},"_hasShrinkwrap":false},"0.0.45":{"name":"@preevy/plugin-github-pr-link","version":"0.0.45","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.45","@preevy/core":"0.0.45","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"rm -rf dist","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"types":"./dist/index.d.ts","gitHead":"b9b86094eb166b98d19dee64a46db644cbb0ea46","_id":"@preevy/plugin-github-pr-link@0.0.45","_nodeVersion":"18.16.1","_npmVersion":"9.5.1","dist":{"integrity":"sha512-y83AfOAeDYH+huswGGs7YbOG6wBJiGuev0Zt38CBHB3sSndk1qVXWGzPamKvCKAWHbJQv5+40fqgceDmxaYQSg==","shasum":"0009d57f076b91604f04bcb1ffc5e30666e0621b","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.45.tgz","fileCount":29,"unpackedSize":41649,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAFqquuw9TARIBxEdmtP1XNRwoZgfpJk/n5fQ7uCgMLgAiEA0MrKDyfbvFRWgiPUsVLo49GP1byvI5QzwCODpFjOufY="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.45_1690188631698_0.76653106039327"},"_hasShrinkwrap":false},"0.0.46-alpha.0":{"name":"@preevy/plugin-github-pr-link","version":"0.0.46-alpha.0","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"^0.0.46-alpha.0+41943e8","@preevy/core":"^0.0.46-alpha.0+41943e8","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"rm -rf dist","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"41943e80ec6d452dd60da142eb01fc5cf1c5bda1","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.46-alpha.0","_nodeVersion":"18.16.1","_npmVersion":"lerna/6.6.2/node@v18.16.1+x64 (linux)","dist":{"integrity":"sha512-NhCIJt0VMMxmHCXnzFz8tb+yfM8GMpJs4jPdF7B7PsG9lcGufJyplJKu29tgQyuBn6vrENyyG5F4WvTxJrftFQ==","shasum":"7de2fc227487dde6e899d323a9a758ee44f3c0ab","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.46-alpha.0.tgz","fileCount":30,"unpackedSize":53061,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCJxPz0np+4HDTrgu5W7Gh1aVN5/U0zJkUhhnhK8mm3EwIgVbdhFZdIu4DZWPXAlxy2JARnLb9QG8MQV7k24/b7k2Q="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.46-alpha.0_1690302245365_0.5524280110001181"},"_hasShrinkwrap":false},"0.0.46":{"name":"@preevy/plugin-github-pr-link","version":"0.0.46","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.46","@preevy/core":"0.0.46","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"rm -rf dist","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"types":"./dist/index.d.ts","gitHead":"07194de8c06577550fcd411a46aeb32bf367c1af","_id":"@preevy/plugin-github-pr-link@0.0.46","_nodeVersion":"18.17.0","_npmVersion":"9.6.7","dist":{"integrity":"sha512-SgQBhHCS6GFtgl1RZu3ognpbpWvf/QhyoME8EWkApDUOFq/6ni2EOPwa1Y9gXjbZjnN788q7L352KqQVVg712g==","shasum":"e91e95ce9326882a4882c1f2eca964ed1a334a95","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.46.tgz","fileCount":29,"unpackedSize":41597,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIERAR716uMxmZB1wxV/i+A9D3REJt3WNsW3oFaPU7oK5AiEAx4duGCWoI5py+XBQrnaLr1s+HMeLPqC75X9P0heowHI="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.46_1690305109521_0.19251498802956446"},"_hasShrinkwrap":false},"0.0.47-alpha.0":{"name":"@preevy/plugin-github-pr-link","version":"0.0.47-alpha.0","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"^0.0.47-alpha.0+d75e023","@preevy/core":"^0.0.47-alpha.0+d75e023","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"rm -rf dist","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"d75e023c5e5810b5716146f3bbaadc939061c946","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.47-alpha.0","_nodeVersion":"18.17.0","_npmVersion":"lerna/6.6.2/node@v18.17.0+x64 (linux)","dist":{"integrity":"sha512-HfGJ0eM+Gc70gZJlMFT/OzuGucNzYdMA/ToIHDim5TOOGqF0ayEtfYcWvuR8eun8Fy7WzYjB5zad4kgzn6SaFw==","shasum":"f19ce6d407c82046ec40bd8f0ea9e1434089263b","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.47-alpha.0.tgz","fileCount":30,"unpackedSize":53061,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEN7FN4A1sHWt98BVXeX7qKkeZilkkX27WDTOQSw7FQGAiEAps8e6T5u10sPMR2LdyjqxAfJzITevy9faz9HbLXiOwg="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.47-alpha.0_1690388515610_0.6823384043639438"},"_hasShrinkwrap":false},"0.0.47":{"name":"@preevy/plugin-github-pr-link","version":"0.0.47","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.47","@preevy/core":"0.0.47","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"rm -rf dist","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"types":"./dist/index.d.ts","gitHead":"de11526fe6162bcd6ef7f041108e983f2da4c868","_id":"@preevy/plugin-github-pr-link@0.0.47","_nodeVersion":"18.17.0","_npmVersion":"9.6.7","dist":{"integrity":"sha512-5RZeW3RsTpfJq0T2jFUD3IrG49xMgyTIINZoG/Iua9Y8AnfYPgAFnWhMfL/7PWwytFE0QoFJVgD4WK9kzJruUQ==","shasum":"01ac0252dc877e3ad36d4e5e65df44ec06b92e1b","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.47.tgz","fileCount":29,"unpackedSize":41597,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDy/lIbKgwFbuV7SQ/DePu3F+vphrUzDQWKtycFE++6wAIhAJyT9LJFKZyYra7MC+vIwmA9gDWuZ0r/DMtJf7KAoJUE"}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.47_1690389253364_0.6192847460596542"},"_hasShrinkwrap":false},"0.0.48-alpha.0":{"name":"@preevy/plugin-github-pr-link","version":"0.0.48-alpha.0","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"^0.0.48-alpha.0+b3120cc","@preevy/core":"^0.0.48-alpha.0+b3120cc","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"rm -rf dist","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"b3120ccc2ab59aedad406a1ad1660d3954e5ffa6","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.48-alpha.0","_nodeVersion":"18.17.0","_npmVersion":"lerna/6.6.2/node@v18.17.0+x64 (linux)","dist":{"integrity":"sha512-tq+XuF+AhWWd3GVmNc93ZDNkCBPp+FsqO0Cci53JorVT7krKTbd8/HlwUAwUm+9zoPzFHNhRUizieGpw1cG0SA==","shasum":"416201cbae7281273cc8a48817537174d95600e1","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.48-alpha.0.tgz","fileCount":30,"unpackedSize":53061,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAhuPh/c9tu8TVlHFFsssvNrpj1byaR0vb0R3Vssiex2AiEAs6l9xHXhKpizTdwELu1wtIyRJKy8CjIn2Wc9dNV5sZg="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.48-alpha.0_1690389618580_0.32843935648755385"},"_hasShrinkwrap":false},"0.0.48":{"name":"@preevy/plugin-github-pr-link","version":"0.0.48","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.48","@preevy/core":"0.0.48","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"rm -rf dist","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"types":"./dist/index.d.ts","gitHead":"a412563ae6f8d12dff7e864c0592421aef5f661d","_id":"@preevy/plugin-github-pr-link@0.0.48","_nodeVersion":"18.17.0","_npmVersion":"9.6.7","dist":{"integrity":"sha512-+7xBrELjISObr+syDHMI3msPJ9kjwd9XIKt9BIrRt2JuXSRufdChZ1jQby6psQa6x7cWCwqqoUuJhQsOuYL6+w==","shasum":"9e7e2636a9f4368b26c2f2a93ef5a2d1548ba46d","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.48.tgz","fileCount":29,"unpackedSize":41597,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDptNGrP19n0BK9UJg+wjPK9Zeaa4INoQ0iLJtT9njiggIhAOHfYibRoVHcw5+F8zZoeFntvxFc3XVl8miDeI5hOe8C"}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.48_1690909075209_0.5003777797259368"},"_hasShrinkwrap":false},"0.0.49-alpha.0":{"name":"@preevy/plugin-github-pr-link","version":"0.0.49-alpha.0","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"^0.0.49-alpha.0+7049499","@preevy/core":"^0.0.49-alpha.0+7049499","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"rm -rf dist","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"7049499262f96ad324f5c50a97697a4183db51d2","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.49-alpha.0","_nodeVersion":"18.17.0","_npmVersion":"lerna/6.6.2/node@v18.17.0+x64 (linux)","dist":{"integrity":"sha512-AzMKu1QK1qr7lrYv8P2o5i3g8cJl1HtDWUSPF2ogQQ1LgT2NMUFtqP/1hBTs5qqtEwUrD1W9DA87kEYGBTUxdA==","shasum":"883c65a82d5fac3bf2bdcdb3f143ccbf5eda6bb0","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.49-alpha.0.tgz","fileCount":30,"unpackedSize":53061,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD5+l6FyytagUcdJi89478SnkSbQcBh80LQN73SfkWYSQIhAIECQkj+4ETj85EVIj2Be0NJMkCcVvCWJ9ywrrWunJpx"}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.49-alpha.0_1690987496148_0.5196757846725581"},"_hasShrinkwrap":false},"0.0.49-cta-machine-info.0":{"name":"@preevy/plugin-github-pr-link","version":"0.0.49-cta-machine-info.0","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"^0.0.49-cta-machine-info.0+3936f68","@preevy/core":"^0.0.49-cta-machine-info.0+3936f68","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"rm -rf dist","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"3936f683dffede5bdbd1031f458563fc0449bf12","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.49-cta-machine-info.0","_nodeVersion":"18.17.0","_npmVersion":"lerna/6.6.2/node@v18.17.0+x64 (linux)","dist":{"integrity":"sha512-ra1z8USn3C/juaWoiKKZKTLxNMyFd+s+PsMNlc2Cl9DIznbkPBdZl7FTs4N/XgLRjnj9p3Y7mmzWTpPMq/+ysQ==","shasum":"158b6c7aa19727b4b0e4baeb7dd9f1512f1cfdab","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.49-cta-machine-info.0.tgz","fileCount":30,"unpackedSize":53094,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD7X1Y1E+F7dbnwA7jBPIRKRe2bXMavz+unwF4UiDY24AIgBgs8Y9+hVZV0nqPXZuF4eYv4ZtMF0XlLFn/jbxn5VqQ="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.49-cta-machine-info.0_1691045261665_0.49930313760136125"},"_hasShrinkwrap":false},"0.0.49-cta-git-metadata.0":{"name":"@preevy/plugin-github-pr-link","version":"0.0.49-cta-git-metadata.0","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"^0.0.49-cta-git-metadata.0+2d1e1e6","@preevy/core":"^0.0.49-cta-git-metadata.0+2d1e1e6","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"2d1e1e68338b776f011766c4308933f67375dfb2","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.49-cta-git-metadata.0","_nodeVersion":"18.17.0","_npmVersion":"lerna/6.6.2/node@v18.17.0+x64 (linux)","dist":{"integrity":"sha512-+bcz+4aWttYu/H9bTQiT4VsQ0hb50eJHLKcrjWZkWkVJFqTPGFd2TsGzSm454fXJa0WX8OpfRBhWr637rCHVVg==","shasum":"95f1a4980836bd61207c54794225c2338f1ed4f9","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.49-cta-git-metadata.0.tgz","fileCount":30,"unpackedSize":53115,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHzZEgz4sumP8UtKXZ8oeSTUbYffyVHpnpwFN1x3s0UkAiEAi3NL8/EpnlHTndupUMkBGD28G05gXRqeoXhcsopXGSw="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.49-cta-git-metadata.0_1691310140851_0.9208640189702844"},"_hasShrinkwrap":false},"0.0.49-windows-eslint-issues.0":{"name":"@preevy/plugin-github-pr-link","version":"0.0.49-windows-eslint-issues.0","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"^0.0.49-windows-eslint-issues.0+345536a","@preevy/core":"^0.0.49-windows-eslint-issues.0+345536a","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^6.2.1","@typescript-eslint/parser":"^6.2.1","eslint":"^8.46.0","typescript":"^5.1.6"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"345536ab62ece6430a56196b989e21ec1c2bd096","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.49-windows-eslint-issues.0","_nodeVersion":"18.17.0","_npmVersion":"lerna/6.6.2/node@v18.17.0+x64 (linux)","dist":{"integrity":"sha512-R/EQ90+e2RfrQXj5EAaWeFYTBeqMh6KY6F8Y9LznZ4fr34I/MKNWfMbXBzYkM+VQ+qwx3l40gy6u0fF3jZZyxQ==","shasum":"bf02b213686338052106f29398d5156f19d7329f","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.49-windows-eslint-issues.0.tgz","fileCount":30,"unpackedSize":53128,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEL7W1kZgw/rDUNxX2gjfOGn1z+o5x1O3V3TvvYHT5/1AiEArKxn47Kssn/d+0m64Mzo/pDfAbtlvG34a+v4a4S21Uw="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.49-windows-eslint-issues.0_1691327402810_0.31358479255043537"},"_hasShrinkwrap":false},"0.0.49-fix-ls-resources.0":{"name":"@preevy/plugin-github-pr-link","version":"0.0.49-fix-ls-resources.0","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"^0.0.49-fix-ls-resources.0+a28c378","@preevy/core":"^0.0.49-fix-ls-resources.0+a28c378","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"a28c378e7baf53c9d77380e6b83f2f17c6eb6823","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.49-fix-ls-resources.0","_nodeVersion":"18.17.0","_npmVersion":"lerna/6.6.2/node@v18.17.0+x64 (linux)","dist":{"integrity":"sha512-K3QZtXcRIpT0gTTdibNVzwMn9S0462cLUGrWEITtVe9mKiie8K9e0nqGJdruEBzdHzqYwc6ujroYMkV1ZNqjbA==","shasum":"b959043bc6a2c051c102423251225e00d40b23a6","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.49-fix-ls-resources.0.tgz","fileCount":30,"unpackedSize":53115,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGaXlnA5e8NTHRV311KGnsJSxPTvyCYMaWKu6YlV3255AiEAkfiBnkqn6S4uQ3+C5FKyI08/a3zMNnNcPE/y8wKurhY="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.49-fix-ls-resources.0_1691331309512_0.68343044880921"},"_hasShrinkwrap":false},"0.0.49-readme-less-hyperbole.0":{"name":"@preevy/plugin-github-pr-link","version":"0.0.49-readme-less-hyperbole.0","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"^0.0.49-readme-less-hyperbole.0+b6e8600","@preevy/core":"^0.0.49-readme-less-hyperbole.0+b6e8600","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"b6e8600d4acf92d7302dbf5598b98e81b391cb0c","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.49-readme-less-hyperbole.0","_nodeVersion":"18.17.0","_npmVersion":"lerna/6.6.2/node@v18.17.0+x64 (linux)","dist":{"integrity":"sha512-chqlEHCgTfs0RK6YDx5XbdfszilfQONFEW1jlLb4uBFgx5GJw846uUn3RvuUHH3BuM183HboRITHsLHBU4q6yw==","shasum":"76b603b431b6952620dfd24398ce635f42d575e1","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.49-readme-less-hyperbole.0.tgz","fileCount":30,"unpackedSize":53130,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHQUWPWvoz/quYb/v2w9bbC+n/YfRt8iw8vaNi0QDl8YAiEA+4jQT32cyeud1TRbUKYYi1YGnNfm8L7v4iCv/dK9V+0="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.49-readme-less-hyperbole.0_1691585152563_0.4545265867057606"},"_hasShrinkwrap":false},"0.0.49-more-metadata.0":{"name":"@preevy/plugin-github-pr-link","version":"0.0.49-more-metadata.0","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"^0.0.49-more-metadata.0+2a63e1b","@preevy/core":"^0.0.49-more-metadata.0+2a63e1b","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"2a63e1bd590312b01c72ddb25ba61391b8438c4c","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.49-more-metadata.0","_nodeVersion":"18.17.0","_npmVersion":"lerna/6.6.2/node@v18.17.0+x64 (linux)","dist":{"integrity":"sha512-clZn6CrWR6pIu8gqLXtb1jGFK3Lw9RxNhr4mAzp088amrFqePK1BK1AgJtlSM/scG6zsuIFmkRbDgFq6tfyIvg==","shasum":"b14381bed8ec8971d39cd77a68cda312fbe88373","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.49-more-metadata.0.tgz","fileCount":30,"unpackedSize":53106,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAHsu7AevY0d0X/W5d8HuOAldP7MLwSfG8pg97eW3udaAiEA0sMHW5D6BR0Ebms6z1+HyQOuLvSQIAuDYFsXaHQx434="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.49-more-metadata.0_1691585302751_0.3166856926571602"},"_hasShrinkwrap":false},"0.0.49-normalize-env-id-2.0":{"name":"@preevy/plugin-github-pr-link","version":"0.0.49-normalize-env-id-2.0","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"^0.0.49-normalize-env-id-2.0+adad580","@preevy/core":"^0.0.49-normalize-env-id-2.0+adad580","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"adad5806570fb5cce71445e8bd01e3eb8080d0d1","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.49-normalize-env-id-2.0","_nodeVersion":"18.17.0","_npmVersion":"lerna/6.6.2/node@v18.17.0+x64 (linux)","dist":{"integrity":"sha512-J5VHwMVpVaoICfGx4k/45NpfDEMApja52t5CRSEGgTIohOCRNJcAspK4QlrsHo2W1Hhvct2SPX8YwRALyMSz2A==","shasum":"686b2060efd07cd5876fde11b7c20bb4ec8a5438","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.49-normalize-env-id-2.0.tgz","fileCount":30,"unpackedSize":53045,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDxz83Es869Ejf2aYxIVErKN+L4ZC4pDkljCyP7ml039gIhALvbXc9hQGe1SmS6aHvn3t/KniJ4MaW048Kuc/IwrFnv"}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.49-normalize-env-id-2.0_1691585581352_0.19849464175890996"},"_hasShrinkwrap":false},"0.0.49":{"name":"@preevy/plugin-github-pr-link","version":"0.0.49","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.49","@preevy/core":"0.0.49","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"types":"./dist/index.d.ts","gitHead":"a34cbe0f7856d6e7ca6fd9fe250d91d980293b3a","_id":"@preevy/plugin-github-pr-link@0.0.49","_nodeVersion":"18.17.0","_npmVersion":"9.6.7","dist":{"integrity":"sha512-PyRLrcjuWs5p8xPPuhBpTKSLQr1PhUHKtpV36hf0klryuPeIJLlqwEhl9GxuYiq1P5VgjjZml/8j2Falf2x7LQ==","shasum":"c62b7e5251eb4f757de3713b612cb18132b96ce1","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.49.tgz","fileCount":29,"unpackedSize":41538,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC8ANs/fXpdd7WF5bfUPtS/oJ+VLSGhEOD1H5ivXf6JHwIhAPxkBdSBHQbDYZLLdRtKZ9db9Qhmk6cIfZxdLe2oEx1f"}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.49_1691927767291_0.9531194332173261"},"_hasShrinkwrap":false},"0.0.50-ci-lint.0bce771":{"name":"@preevy/plugin-github-pr-link","version":"0.0.50-ci-lint.0bce771","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.50-ci-lint.0bce771","@preevy/core":"0.0.50-ci-lint.0bce771","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"627121ed987afe4de5ffaf4b2d656e4afc77d843","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.50-ci-lint.0bce771","_nodeVersion":"18.17.0","_npmVersion":"lerna/6.6.2/node@v18.17.0+x64 (linux)","dist":{"integrity":"sha512-fWDfLU/digZR2Ty093abfnyH6xS2mi7boFn+MbI3D5xAcNoiz46t9yfgtkdAdXO6NRjiny9aYcmOiL5TLd2TaQ==","shasum":"78506cc7aa8b48507b62d3dcf162717ae031a448","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.50-ci-lint.0bce771.tgz","fileCount":30,"unpackedSize":53000,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAPAcONZL/NoyvhK+FkQJulvYtf3ZpY+oxVv1aw/d7AnAiAxRdfFPc5vLSmkqLRevyr6xwfHpTWvILfZLr8xZsR1Qg=="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.50-ci-lint.0bce771_1691940506765_0.3372367110390273"},"_hasShrinkwrap":false},"0.0.50-kube-driver-fixes.58f08ad":{"name":"@preevy/plugin-github-pr-link","version":"0.0.50-kube-driver-fixes.58f08ad","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.50-kube-driver-fixes.58f08ad","@preevy/core":"0.0.50-kube-driver-fixes.58f08ad","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"87aaba8864223e47e46491a688f93520fb93b8eb","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.50-kube-driver-fixes.58f08ad","_nodeVersion":"18.17.0","_npmVersion":"lerna/6.6.2/node@v18.17.0+x64 (linux)","dist":{"integrity":"sha512-k5OmKUdAar7IQDRm51xFB18qM0bU8CRX7fKCITZZerup6aBEXw0K3CDhrkvkiWOy5H6qimeuPzhqNSt6a/Rigg==","shasum":"0ecfb74d3929e97a76771addd9b14c1c4824650b","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.50-kube-driver-fixes.58f08ad.tgz","fileCount":30,"unpackedSize":53030,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD/1sn8Odh9jgQqHrNU8AJ90921+taE0togrzNP8PDmVAIhAJQe402tePtrVLJpbfw7eudgDntIfSy5kN4/UckwP2R2"}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.50-kube-driver-fixes.58f08ad_1691940857631_0.13533898389582144"},"_hasShrinkwrap":false},"0.0.50-kube-driver-fixes.b090ba0":{"name":"@preevy/plugin-github-pr-link","version":"0.0.50-kube-driver-fixes.b090ba0","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.50-kube-driver-fixes.b090ba0","@preevy/core":"0.0.50-kube-driver-fixes.b090ba0","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"89b5f0041586eeba1daaa6a56487dea65a3896cd","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.50-kube-driver-fixes.b090ba0","_nodeVersion":"18.17.0","_npmVersion":"lerna/6.6.2/node@v18.17.0+x64 (linux)","dist":{"integrity":"sha512-80t4LYB6a4GCja3UDXWpo3EvLTO449pIaQkgOAkruLk8bv57ditBj58CrsgLHAYCKZt66LBoHqMceqIbtoR+qg==","shasum":"9c8e37f7c7406640fa89803a2e9a11e7635c74a8","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.50-kube-driver-fixes.b090ba0.tgz","fileCount":30,"unpackedSize":53030,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBUL9cTTqESNUlG/3QF3R/tc0zx6KICFSOWuiegveErpAiEAwxJjj4oe1vAPYbhIOfT2k0cEeeQu+EV2mXhMYpHlgis="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.50-kube-driver-fixes.b090ba0_1691941171868_0.2670077229232779"},"_hasShrinkwrap":false},"0.0.50-kube-driver-fixes.4ea56d6":{"name":"@preevy/plugin-github-pr-link","version":"0.0.50-kube-driver-fixes.4ea56d6","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.50-kube-driver-fixes.4ea56d6","@preevy/core":"0.0.50-kube-driver-fixes.4ea56d6","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"678ee7d2c482ef4291b30ca920dcca83d226198c","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.50-kube-driver-fixes.4ea56d6","_nodeVersion":"18.17.0","_npmVersion":"lerna/6.6.2/node@v18.17.0+x64 (linux)","dist":{"integrity":"sha512-kUANZNcHCW5SDVh+q/yXRsHRynbc3U2nKsyTfvD/GF7uSxYzuZzkYExm4c0BStbSKfuLXykxzYcdgUwLmYX8Iw==","shasum":"672ef9a1d09b175087fb95cd4f6548644ed8ca01","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.50-kube-driver-fixes.4ea56d6.tgz","fileCount":30,"unpackedSize":53030,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICaEAJ51oOJsNt65SdOLF0WX4Dpidu9RddIOBXU1FI39AiEAyKYdDLm8xpEqYVtofHwFmvTaTv894Az13hVihiULo2Q="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.50-kube-driver-fixes.4ea56d6_1691944071444_0.11846738018193537"},"_hasShrinkwrap":false},"0.0.50-add-login-and-linking.0f69ad8":{"name":"@preevy/plugin-github-pr-link","version":"0.0.50-add-login-and-linking.0f69ad8","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.50-add-login-and-linking.0f69ad8","@preevy/core":"0.0.50-add-login-and-linking.0f69ad8","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"4bd710881f4cc0899dadeab5b771c717a6b09cc5","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.50-add-login-and-linking.0f69ad8","_nodeVersion":"18.17.0","_npmVersion":"lerna/6.6.2/node@v18.17.0+x64 (linux)","dist":{"integrity":"sha512-U1oSH9XNjev+s10JFaOWzrVZJUj4gKquexjsrbpKi5FOLvbp+Z70EZdipM2UGxaRLbtDZMWmyRT5cc+WprIOOA==","shasum":"a726fe5aaa7624205c7f095ff5bbb5760800e175","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.50-add-login-and-linking.0f69ad8.tgz","fileCount":30,"unpackedSize":53042,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDkX4F/8Fikk4saGQ0EikQpUEuW3RwwWbQGKzPeEuVMegIhAIl1Y80lnXhjRUC0rdXquWOwi4zm2ied8vNa7Ftop90g"}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.50-add-login-and-linking.0f69ad8_1691995735878_0.1995661979652863"},"_hasShrinkwrap":false},"0.0.50-kube-driver-init-context-default.3063181":{"name":"@preevy/plugin-github-pr-link","version":"0.0.50-kube-driver-init-context-default.3063181","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.50-kube-driver-init-context-default.3063181","@preevy/core":"0.0.50-kube-driver-init-context-default.3063181","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"c99f6fd68e37eeed18bada1a08e4babe122e2dc8","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.50-kube-driver-init-context-default.3063181","_nodeVersion":"18.17.0","_npmVersion":"lerna/6.6.2/node@v18.17.0+x64 (linux)","dist":{"integrity":"sha512-5H0uRWgAM84qbx7zWT0MSzgz9MV581y78tYEo034Wct/NN+if4CAmI5vCAWO0F0S6No0bOZePaEHjrxFjjPFuw==","shasum":"2962a10c38560f55dd7857a8472d5dd2add879b5","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.50-kube-driver-init-context-default.3063181.tgz","fileCount":30,"unpackedSize":53075,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD6QIJvA1qJL2Tq/Gh6OBQ3Ps5iTUiWGZV8gKeoBplmOwIhAPnI9QKL85/U2PhvOlZAtyfPat5FKOgfj91Wr/tkPjee"}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.50-kube-driver-init-context-default.3063181_1692010430377_0.40422064924037304"},"_hasShrinkwrap":false},"0.0.50-kube-driver-fix-name-sanitation.3616b50":{"name":"@preevy/plugin-github-pr-link","version":"0.0.50-kube-driver-fix-name-sanitation.3616b50","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.50-kube-driver-fix-name-sanitation.3616b50","@preevy/core":"0.0.50-kube-driver-fix-name-sanitation.3616b50","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"17fd9a5b12ea90565ff0d0a678d42fab30655319","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.50-kube-driver-fix-name-sanitation.3616b50","_nodeVersion":"18.17.0","_npmVersion":"lerna/6.6.2/node@v18.17.0+x64 (linux)","dist":{"integrity":"sha512-9GQQVL9KtWUauagENYnPUR6g9rcW98PKh8wCzWHgtXwlerS+rdh5pbdArpue1G0zdDlpKRcrq5phdsw7Sg7O7A==","shasum":"88637ca9ff053fe18041a34c7b8cd9f1357d5cf5","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.50-kube-driver-fix-name-sanitation.3616b50.tgz","fileCount":30,"unpackedSize":53072,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICIcOWTIQkJf2PeXMreMY9GxIBrfG5d6iPyTtgtcIBpMAiBEmMMVz+duJr1fGNcTktqLOSylntC9ygsxBnT7dfipHw=="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.50-kube-driver-fix-name-sanitation.3616b50_1692016980185_0.3976993164926188"},"_hasShrinkwrap":false},"0.0.50-add-auth-scheme-hint-query-param.6c7cf55":{"name":"@preevy/plugin-github-pr-link","version":"0.0.50-add-auth-scheme-hint-query-param.6c7cf55","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.50-add-auth-scheme-hint-query-param.6c7cf55","@preevy/core":"0.0.50-add-auth-scheme-hint-query-param.6c7cf55","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"2da82e1431f572108e8058fc6d6aa509223557b5","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.50-add-auth-scheme-hint-query-param.6c7cf55","_nodeVersion":"18.17.0","_npmVersion":"lerna/6.6.2/node@v18.17.0+x64 (linux)","dist":{"integrity":"sha512-apg+BfM7UMdhdYjVwG+ZiwqeMxjRGOdIwdGvg0nRi8kavn8fZvEdvOnQ7lDBNNpBn4MWmZN81yuzXVHWIyjV2w==","shasum":"b1f7b1b13288f784d360384823ca79e1b0d286e4","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.50-add-auth-scheme-hint-query-param.6c7cf55.tgz","fileCount":30,"unpackedSize":53075,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIExawtFWP5UxuQasWb+isVzPRZ5//iYU6epxzAzf5m5RAiBiJ9bPIbh0S7mfWFTLT5zHvnyoZu3+AXx0xN2uTBgcjw=="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.50-add-auth-scheme-hint-query-param.6c7cf55_1692019634872_0.40451152854335715"},"_hasShrinkwrap":false},"0.0.50-add-auth-scheme-hint-query-param.e929e01":{"name":"@preevy/plugin-github-pr-link","version":"0.0.50-add-auth-scheme-hint-query-param.e929e01","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.50-add-auth-scheme-hint-query-param.e929e01","@preevy/core":"0.0.50-add-auth-scheme-hint-query-param.e929e01","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"07af04b105e3c7b3cae234518eb8bc3272ad16fd","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.50-add-auth-scheme-hint-query-param.e929e01","_nodeVersion":"18.17.0","_npmVersion":"lerna/6.6.2/node@v18.17.0+x64 (linux)","dist":{"integrity":"sha512-FlFy63R8oh6rqbwZ9cX4UChzJd4d16dQ5XggqCB2sAxzXcXXMluIoPieOOgfLCrV7rHA211ztJ5Ws55LWVNCAg==","shasum":"9f30501cb0a3da7a47c275c9b002609a636a44a5","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.50-add-auth-scheme-hint-query-param.e929e01.tgz","fileCount":30,"unpackedSize":53075,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD4Lc9Fr5YtrPWcmNpbGwi+63hjw1yji0n5F+1zpP0WFQIgcyj71GusrGB8V1+e7zqdkJsHVAWnEO+wssEsMu5p83U="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.50-add-auth-scheme-hint-query-param.e929e01_1692020008000_0.9304877569183405"},"_hasShrinkwrap":false},"0.0.50-kube-driver-fix-name-sanitation.eba0b3c":{"name":"@preevy/plugin-github-pr-link","version":"0.0.50-kube-driver-fix-name-sanitation.eba0b3c","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.50-kube-driver-fix-name-sanitation.eba0b3c","@preevy/core":"0.0.50-kube-driver-fix-name-sanitation.eba0b3c","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"abf39098dcd6f00779a73bc687768cb1d28e6fd2","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.50-kube-driver-fix-name-sanitation.eba0b3c","_nodeVersion":"18.17.0","_npmVersion":"lerna/6.6.2/node@v18.17.0+x64 (linux)","dist":{"integrity":"sha512-0iptXexYNLQJCjSml6JglyLTfi+y+VobJwo2owGLmYT9FDecsO3yFp2qpTDqOY9t02gzYUwVL6yNaWLmJwivGw==","shasum":"e28b47c848e9e54ab40fc5d71d930d772c390c6c","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.50-kube-driver-fix-name-sanitation.eba0b3c.tgz","fileCount":30,"unpackedSize":53072,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEaaQWoKkyAzPLzErqHfLmkiMgteu09Z4UH5rD/HsB0eAiEA/qGBHl939kNiwGysUhSh1zNPJNE/AChx3PCDwKQlGu4="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.50-kube-driver-fix-name-sanitation.eba0b3c_1692033887131_0.22709109597993682"},"_hasShrinkwrap":false},"0.0.50-kube-driver-fix-name-sanitation.cc532d9":{"name":"@preevy/plugin-github-pr-link","version":"0.0.50-kube-driver-fix-name-sanitation.cc532d9","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.50-kube-driver-fix-name-sanitation.cc532d9","@preevy/core":"0.0.50-kube-driver-fix-name-sanitation.cc532d9","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"38463dd1d3a035a107ee43893ac7c71f9543118c","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.50-kube-driver-fix-name-sanitation.cc532d9","_nodeVersion":"18.17.0","_npmVersion":"lerna/6.6.2/node@v18.17.0+x64 (linux)","dist":{"integrity":"sha512-pzCnWxXfYwEBF/Z9p0p/2wZTbwpLnNVNoVY0YKopD2fp++FzD5dX6oNH93a6WtACcxWRaDV/EWq6ZtPhFrs8Cg==","shasum":"2f3445049a3765ed571db4ee1134ac3765b052ee","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.50-kube-driver-fix-name-sanitation.cc532d9.tgz","fileCount":30,"unpackedSize":53072,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD8PtO7oxNCfksqTi9A5lOCsuMU/06b/Buv57hWC3dcUQIgOk8mqQMIZS6pxIXFICIpk9O0iHIAYV74mxmNvgdSFR0="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.50-kube-driver-fix-name-sanitation.cc532d9_1692047706742_0.842080716402251"},"_hasShrinkwrap":false},"0.0.50-kube-driver-fix-name-sanitation.05a5f31":{"name":"@preevy/plugin-github-pr-link","version":"0.0.50-kube-driver-fix-name-sanitation.05a5f31","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.50-kube-driver-fix-name-sanitation.05a5f31","@preevy/core":"0.0.50-kube-driver-fix-name-sanitation.05a5f31","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"55f8ce911fb215e908e90cd1acffe8338a026ad7","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.50-kube-driver-fix-name-sanitation.05a5f31","_nodeVersion":"18.17.0","_npmVersion":"lerna/6.6.2/node@v18.17.0+x64 (linux)","dist":{"integrity":"sha512-btSfrKdxIViRla2IqXRjDfp1hObelEulXNVa47kKI+QaMjUfwrn3whgOOzlmWlfe+1viD6p7BXMn129Fmacokg==","shasum":"f3f5322fa33ebe107b1011e1734a12bb48fe3b6a","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.50-kube-driver-fix-name-sanitation.05a5f31.tgz","fileCount":30,"unpackedSize":53072,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICgDyiixacRgT8RGFq2A0+J+kyR8tc6zN+zwL8PbuBRcAiEA6mD5BIQ9PU9lxLz/6skitsTAWR+HqHupZ+sMdqheDI0="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.50-kube-driver-fix-name-sanitation.05a5f31_1692048784504_0.8829352212068173"},"_hasShrinkwrap":false},"0.0.50-kube-driver-fix-name-sanitation.0a9b087":{"name":"@preevy/plugin-github-pr-link","version":"0.0.50-kube-driver-fix-name-sanitation.0a9b087","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.50-kube-driver-fix-name-sanitation.0a9b087","@preevy/core":"0.0.50-kube-driver-fix-name-sanitation.0a9b087","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"085ff0c9612b2d56354c65a35ff18a276714ecdc","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.50-kube-driver-fix-name-sanitation.0a9b087","_nodeVersion":"18.17.0","_npmVersion":"lerna/6.6.2/node@v18.17.0+x64 (linux)","dist":{"integrity":"sha512-XhHTR4K/SYBwqyA3ytCKLakXuf3v0I0+2l3O0aVc4/aXMoVhiwDcWYRYdW0GmLjX1x772ZhLD+IemOIsFRllKw==","shasum":"680a20e712ab5e2d7c9ed02d78ec46e990d787b5","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.50-kube-driver-fix-name-sanitation.0a9b087.tgz","fileCount":30,"unpackedSize":53072,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDzMrJczXLrE9Gs8OBELgITNVZ64BvqXZy5jDhPMfDxPQIgbjgHgtOf3qgvgfHQGaVXLecexiqZLt/uhlY2ZcfsSgc="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.50-kube-driver-fix-name-sanitation.0a9b087_1692049195402_0.36379987096344557"},"_hasShrinkwrap":false},"0.0.50-support-auth-from-saas.7dd2aee":{"name":"@preevy/plugin-github-pr-link","version":"0.0.50-support-auth-from-saas.7dd2aee","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.50-support-auth-from-saas.7dd2aee","@preevy/core":"0.0.50-support-auth-from-saas.7dd2aee","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"97bdf3f76ce15dd0dedcef50d463ae3bcb3a98d4","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.50-support-auth-from-saas.7dd2aee","_nodeVersion":"18.17.0","_npmVersion":"lerna/6.6.2/node@v18.17.0+x64 (linux)","dist":{"integrity":"sha512-wOF0nGNw4sg89oPJuinPeJrG8mk9eH5h8pj8FjausFh+3oAi+DatvnNqJLIriqeno0JBRI/JHqfPl+NwM6zk9Q==","shasum":"3b267b326bca670d16d5ec80a9e7afa63d501b41","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.50-support-auth-from-saas.7dd2aee.tgz","fileCount":30,"unpackedSize":53045,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF/E8StVHijlGtMgk7C2IhDXfjBBENAwjV90RS/f0PgQAiAsozoGry8B3D3pZlk1fJnrsqQ/2WaMMwUdfLtWtRFVeQ=="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.50-support-auth-from-saas.7dd2aee_1692090542132_0.7365263125599824"},"_hasShrinkwrap":false},"0.0.50-support-auth-from-saas.e1c7d87":{"name":"@preevy/plugin-github-pr-link","version":"0.0.50-support-auth-from-saas.e1c7d87","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.50-support-auth-from-saas.e1c7d87","@preevy/core":"0.0.50-support-auth-from-saas.e1c7d87","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"e91333627cd5da4b4d4492c00f7fb84eefbea885","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.50-support-auth-from-saas.e1c7d87","_nodeVersion":"18.17.0","_npmVersion":"lerna/6.6.2/node@v18.17.0+x64 (linux)","dist":{"integrity":"sha512-/TiQY6kVDaSFwiSDn/jFjLVx+B/UMmLWkkS50NYAnciyREhfT907h8Bprj/MBS4WTzDE4z3MyD/edha+GCgzPQ==","shasum":"61e2e581584337b565a16c1a09062f5e7aa6587b","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.50-support-auth-from-saas.e1c7d87.tgz","fileCount":30,"unpackedSize":53045,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBIcbKTQjvkVM4i9RF6b+Jq6IE7Cz5HfZE3Ami+ksonXAiEAhBOBJn5jSEYasSlXTve67VEq6Fnsx85F/IuiwpY4oxI="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.50-support-auth-from-saas.e1c7d87_1692099900633_0.2586544428214641"},"_hasShrinkwrap":false},"0.0.50-support-auth-from-saas.b61023e":{"name":"@preevy/plugin-github-pr-link","version":"0.0.50-support-auth-from-saas.b61023e","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.50-support-auth-from-saas.b61023e","@preevy/core":"0.0.50-support-auth-from-saas.b61023e","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"190efe3e09e9ae3c87c20a8a42f56a1a8c453e86","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.50-support-auth-from-saas.b61023e","_nodeVersion":"18.17.0","_npmVersion":"lerna/6.6.2/node@v18.17.0+x64 (linux)","dist":{"integrity":"sha512-ytLy1vhVGMUka6PKb/yPdvOZ4zzldy6FAhQe+/G8l3l+Nel9knXFLusvKhTbbi/VwXEpUrKGKv7Afxl9UH6ETQ==","shasum":"e4b883291849897f422b88ab25c13229b06feb1b","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.50-support-auth-from-saas.b61023e.tgz","fileCount":30,"unpackedSize":53045,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDkXR/w34l7hMyaeBd/DBSOHRIVnroB7iol6xtXeRYb0wIhAPdZRFqSP3YnXjlQxXOw1nz+sSOgxE+nhbAUtOio1L0b"}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.50-support-auth-from-saas.b61023e_1692105469502_0.33151624644854394"},"_hasShrinkwrap":false},"0.0.50-minor-refactor-cli-auth-urls.a4f04e9":{"name":"@preevy/plugin-github-pr-link","version":"0.0.50-minor-refactor-cli-auth-urls.a4f04e9","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.50-minor-refactor-cli-auth-urls.a4f04e9","@preevy/core":"0.0.50-minor-refactor-cli-auth-urls.a4f04e9","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"95257f1a39e2697c61dc34a4b55f89de801f8386","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.50-minor-refactor-cli-auth-urls.a4f04e9","_nodeVersion":"18.17.0","_npmVersion":"lerna/6.6.2/node@v18.17.0+x64 (linux)","dist":{"integrity":"sha512-Sf9tB1ujBjcJfd3zt21xHndFocCAS9lC0lb7NpXW6fDe8PjpILNLKYglkeRiXQQrEwZv9SGIFdHSW5//5OUvSg==","shasum":"0ee01a357a54d18902fc9b873751bddf53b13382","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.50-minor-refactor-cli-auth-urls.a4f04e9.tgz","fileCount":30,"unpackedSize":53063,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCvBYxfLltX6saAYRiyXiszdtREXb8drZd5HpmUdFoZmgIgWGTwDKmpzQvfb+pvApgMD8ooNA0cu2Nse30UzGoevWI="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.50-minor-refactor-cli-auth-urls.a4f04e9_1692111466811_0.04972456731342567"},"_hasShrinkwrap":false},"0.0.50-minor-refactor-cli-auth-urls.d3b77a6":{"name":"@preevy/plugin-github-pr-link","version":"0.0.50-minor-refactor-cli-auth-urls.d3b77a6","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.50-minor-refactor-cli-auth-urls.d3b77a6","@preevy/core":"0.0.50-minor-refactor-cli-auth-urls.d3b77a6","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"cd1d7ba403b0100d356d771ddc2d17cd6d1026ce","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.50-minor-refactor-cli-auth-urls.d3b77a6","_nodeVersion":"18.17.0","_npmVersion":"lerna/6.6.2/node@v18.17.0+x64 (linux)","dist":{"integrity":"sha512-CgSyjd2q48hG4pI42CIkDBvKEw8OEb8sPPZ1FEVNHeHrmJrSiZvcs1CWcOVKxcFIf5GGVeleaEQIBnx01z0o2Q==","shasum":"13b3a99377c3f64f501606baf03c6891d53a42fc","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.50-minor-refactor-cli-auth-urls.d3b77a6.tgz","fileCount":30,"unpackedSize":53063,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDQUqDxNL5eG9Z4e9BLVSU72usCEjdyypP+GCN74//kYQIhAIsH2K9Bj6TQTTJvMi71Um2qc2MfY2pu/DWEvR7+wQHl"}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.50-minor-refactor-cli-auth-urls.d3b77a6_1692112692504_0.12686835133019403"},"_hasShrinkwrap":false},"0.0.50-minor-refactor-cli-auth-urls.3f8b1df":{"name":"@preevy/plugin-github-pr-link","version":"0.0.50-minor-refactor-cli-auth-urls.3f8b1df","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.50-minor-refactor-cli-auth-urls.3f8b1df","@preevy/core":"0.0.50-minor-refactor-cli-auth-urls.3f8b1df","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"7761255dc7f4f71a2c54a5db0d30b6146e27f6cc","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.50-minor-refactor-cli-auth-urls.3f8b1df","_nodeVersion":"18.17.0","_npmVersion":"lerna/6.6.2/node@v18.17.0+x64 (linux)","dist":{"integrity":"sha512-uWj8w3StxviU1NJh1K8aTQ+ltWJDCXNVNL/xAccC5YzNfSQGhcIDBJbIfG33NfuiyPTf4mHqatjtF2lvKyPsVQ==","shasum":"bee389ceee9c87cda89118f72a3c791c1966b1e1","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.50-minor-refactor-cli-auth-urls.3f8b1df.tgz","fileCount":30,"unpackedSize":53063,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICTsrYToICKW5TQ1YBwQYMf3Y+XzfdaGcLYCY4RWKFggAiEAovvFTLrsz1UhPGTdfYSVpo8HM6Gl+T6rCxzNXl9t12k="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.50-minor-refactor-cli-auth-urls.3f8b1df_1692112766895_0.7007122757290101"},"_hasShrinkwrap":false},"0.0.50-gce-labels-allowed-chars.043184f":{"name":"@preevy/plugin-github-pr-link","version":"0.0.50-gce-labels-allowed-chars.043184f","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.50-gce-labels-allowed-chars.043184f","@preevy/core":"0.0.50-gce-labels-allowed-chars.043184f","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"dfb4d8252e2e540961af73ff21316a1de29ed662","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.50-gce-labels-allowed-chars.043184f","_nodeVersion":"18.17.0","_npmVersion":"lerna/6.6.2/node@v18.17.0+x64 (linux)","dist":{"integrity":"sha512-D3WNg09KsTlZRGOhpX5DyyIwe9kTCqIwPk3thLjoNkOc4EzsfKS1L1Iqsh4VB7T4EhoAWCbemOde83o8nfWMGw==","shasum":"3749a287cba324f154de2a2bfddff8f88d11b52f","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.50-gce-labels-allowed-chars.043184f.tgz","fileCount":30,"unpackedSize":53051,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDXvWOFf042RjKiKAlZ6dks5CJB0dxy3j4P4de5LVr9vgIhALdk9rx2NdVRSa3akrPJ6Ktd2ToWSjvVzrO/R4kPqsXc"}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.50-gce-labels-allowed-chars.043184f_1692172687155_0.9461359314721747"},"_hasShrinkwrap":false},"0.0.50-pkg.9c1ef19":{"name":"@preevy/plugin-github-pr-link","version":"0.0.50-pkg.9c1ef19","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.50-pkg.9c1ef19","@preevy/core":"0.0.50-pkg.9c1ef19","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"b75b67592894085e0269debae1753658cc4841df","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.50-pkg.9c1ef19","_nodeVersion":"18.17.0","_npmVersion":"lerna/6.6.2/node@v18.17.0+x64 (linux)","dist":{"integrity":"sha512-EtLegkbeTLTSLR0NocLrYn7lp7cZON5kLHadrnIKs1rSH0bL7DecYPYo61pkM5TpwMGKtm3wGtInWgklrFRf6g==","shasum":"5d1e5e6a564a6647a23ff7fa14eab4d5375d8cb5","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.50-pkg.9c1ef19.tgz","fileCount":30,"unpackedSize":52988,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDSP7I6EM2I7PRNtdv78fiiiwVXw3zkIeclGXUVGonaoAIhAMFjeajq9WF1U1X6tPdc4bmVjItgg2sFg49k7cAB6lev"}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.50-pkg.9c1ef19_1692198963047_0.7055124203651693"},"_hasShrinkwrap":false},"0.0.50-proxy-access-with-path.566ef7e":{"name":"@preevy/plugin-github-pr-link","version":"0.0.50-proxy-access-with-path.566ef7e","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.50-proxy-access-with-path.566ef7e","@preevy/core":"0.0.50-proxy-access-with-path.566ef7e","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"2e3ae7c0206cfa977064be1dfbcf4b8d6b0b0c28","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.50-proxy-access-with-path.566ef7e","_nodeVersion":"18.17.0","_npmVersion":"lerna/6.6.2/node@v18.17.0+x64 (linux)","dist":{"integrity":"sha512-q3k9sKnyaFssrW0X2QVFciZ66WUruvex+PXfdXiveSgCBh7FUZKYC76UPkPpLTGS9ogcg1+EwaSm1aLA3DEz/A==","shasum":"ab18bcd9d23c021613deaaee8474d44ed420f542","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.50-proxy-access-with-path.566ef7e.tgz","fileCount":30,"unpackedSize":53045,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCDkJx11SmXWQUao0CtYoF/ufEKdFJw5W3I3bZxdvblLQIhAPaBR2MD+HxroCrc3eiH4V5hJ0BVlJ3dpVkIzULs8TQ2"}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.50-proxy-access-with-path.566ef7e_1692258703849_0.4436559272544418"},"_hasShrinkwrap":false},"0.0.50-proxy-access-with-path.09ce841":{"name":"@preevy/plugin-github-pr-link","version":"0.0.50-proxy-access-with-path.09ce841","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.50-proxy-access-with-path.09ce841","@preevy/core":"0.0.50-proxy-access-with-path.09ce841","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"d28c0723e12792e40e66dd0e50b15cef592b878b","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.50-proxy-access-with-path.09ce841","_nodeVersion":"18.17.0","_npmVersion":"lerna/6.6.2/node@v18.17.0+x64 (linux)","dist":{"integrity":"sha512-aUfYTcpkjlgdN43Dnm8RUgsYr0+oAtuGbVOSlQkaWkKPMRw/BAQWCjp7AkuhPSUxYJNZV5IkwST64SgWr6d/Qg==","shasum":"c0a2eab7aee9617e547f56fe505a0c6d4719c6c7","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.50-proxy-access-with-path.09ce841.tgz","fileCount":30,"unpackedSize":53045,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCEluhpk3kB8ECKoYyNQ9yV3SfPJ52mN/7eeutoW6AJ7QIgIXo4MIESS2uOA+m8r0x9EIOBSfyjvfvhzXmkmRSBTBc="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.50-proxy-access-with-path.09ce841_1692258906608_0.6681589413116495"},"_hasShrinkwrap":false},"0.0.50-proxy-access-with-path.639ea32":{"name":"@preevy/plugin-github-pr-link","version":"0.0.50-proxy-access-with-path.639ea32","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.50-proxy-access-with-path.639ea32","@preevy/core":"0.0.50-proxy-access-with-path.639ea32","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"e74165d404e208f1c56cf3ae7b87397e28e556b8","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.50-proxy-access-with-path.639ea32","_nodeVersion":"18.17.0","_npmVersion":"lerna/6.6.2/node@v18.17.0+x64 (linux)","dist":{"integrity":"sha512-s0t4X/GCwsCae0IKtEM2cUQapx5LozDvkR976z3GPEyaRc1DHOZZrN0yuxtAgb99+KFV3bCvgCl4aULuaPB30Q==","shasum":"2b007615a232d3b1b250dce3ed9425af4e9f3b94","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.50-proxy-access-with-path.639ea32.tgz","fileCount":30,"unpackedSize":53045,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID6flB3F2vUsd3SLP+t9+W0tks7XsOnkGbpIzz0ttspwAiBIBP9HLVkv/U5sXd19+ZUIjWRovRq3NQZP/xUMyfvEgw=="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.50-proxy-access-with-path.639ea32_1692271374187_0.842667219606523"},"_hasShrinkwrap":false},"0.0.50-proxy-access-with-path.a5d39e2":{"name":"@preevy/plugin-github-pr-link","version":"0.0.50-proxy-access-with-path.a5d39e2","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.50-proxy-access-with-path.a5d39e2","@preevy/core":"0.0.50-proxy-access-with-path.a5d39e2","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"93e9da8a0856491b3744b0dc655ac2eebb53a656","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.50-proxy-access-with-path.a5d39e2","_nodeVersion":"18.17.0","_npmVersion":"lerna/6.6.2/node@v18.17.0+x64 (linux)","dist":{"integrity":"sha512-ohBs371GbpjYKXnHVLpnz09KInhvj5S1Ciq9bLFb3tuLUNOn3UdDdBWIlbuDLsErLKHKMFhAlp9oxf5XnpoPlA==","shasum":"29b2b2309a8ba1af4520f3b5551cdbb79e9a3a0e","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.50-proxy-access-with-path.a5d39e2.tgz","fileCount":30,"unpackedSize":53045,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAjBGgJDy6phzvaWNMBGdD/oEmBgL1Bdx/VdbFnHsjiCAiEAyF7YdC6oQuGE2ZNPFou9eC7jOMhQD6M2RGrVDzjTCL0="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.50-proxy-access-with-path.a5d39e2_1692278356008_0.6696768496090251"},"_hasShrinkwrap":false},"0.0.50-proxy-access-with-path.a2814f9":{"name":"@preevy/plugin-github-pr-link","version":"0.0.50-proxy-access-with-path.a2814f9","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.50-proxy-access-with-path.a2814f9","@preevy/core":"0.0.50-proxy-access-with-path.a2814f9","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"bed27c52c8e136dfa6444dacc565b90c050cbd6c","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.50-proxy-access-with-path.a2814f9","_nodeVersion":"18.17.0","_npmVersion":"lerna/6.6.2/node@v18.17.0+x64 (linux)","dist":{"integrity":"sha512-Ym7n0QdlsHCwE/Yv6mkAUhbO+0T7GxFeg8BrK98TdX3Jwh6Ft4xPS8Fm1AbvZb/03NtMkn3M7T7Nd8RQk7zEMw==","shasum":"fa5ac4e4f51c43e5aeabbf7425fbd96562497c5d","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.50-proxy-access-with-path.a2814f9.tgz","fileCount":30,"unpackedSize":53045,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDIQqNq4T+QWOdJXkb27W9ghW4VKuj/Q4VlkP5QZRLbVAiARRdv0tsRTGLOqIzbmNR5ogP8IZyvkO9esSe1qOaGADQ=="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.50-proxy-access-with-path.a2814f9_1692278555734_0.7691695291258418"},"_hasShrinkwrap":false},"0.0.50-proxy-access-with-path.51b778e":{"name":"@preevy/plugin-github-pr-link","version":"0.0.50-proxy-access-with-path.51b778e","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.50-proxy-access-with-path.51b778e","@preevy/core":"0.0.50-proxy-access-with-path.51b778e","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"ef2ceb6e2ef107e279515d9449819fc07602e268","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.50-proxy-access-with-path.51b778e","_nodeVersion":"18.17.0","_npmVersion":"lerna/6.6.2/node@v18.17.0+x64 (linux)","dist":{"integrity":"sha512-k9jPHMw0xPvlT/sxNoazLTB9LivwzGc/soWH8OcE/czFMrguMNEPU9v+eKK4rsIlVbpYSH5UCNTPed26kl1gyQ==","shasum":"5ecaff131934df80f023181a26116e8b3498b2b1","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.50-proxy-access-with-path.51b778e.tgz","fileCount":30,"unpackedSize":53045,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDve5YaR8ivJRIQCOynqwNsnfGxo8t5QJa6tg8eJmDZUAiEAhC+6Z5w6oASvBHdsVABwA0EpXgDX9lNTiQC0LDX4y8o="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.50-proxy-access-with-path.51b778e_1692281497577_0.9247705633879135"},"_hasShrinkwrap":false},"0.0.50-proxy-access-with-path.17da5bd":{"name":"@preevy/plugin-github-pr-link","version":"0.0.50-proxy-access-with-path.17da5bd","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.50-proxy-access-with-path.17da5bd","@preevy/core":"0.0.50-proxy-access-with-path.17da5bd","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"29e47265b189fc0e446aac2e95485479eb2f2a9d","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.50-proxy-access-with-path.17da5bd","_nodeVersion":"18.17.0","_npmVersion":"lerna/6.6.2/node@v18.17.0+x64 (linux)","dist":{"integrity":"sha512-VizvLuBVWGRza11r1yW4vx7PHqK4MZIENg25lv7Oe3V2wk8K/wsG63gIGYlRhyVHyW88Xet01jnHDk03mYxHlw==","shasum":"8025d9ca4981fae9b20a40dae780f77d6c451ef8","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.50-proxy-access-with-path.17da5bd.tgz","fileCount":30,"unpackedSize":53045,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFRRnLfGJYewYWw1SIHbkyWkqA6ygyG/XmOxNzIC8EAgAiEAwpXOtBGCEOuYnr8esbExpLN9oideyoaiRkHFiXwd5CE="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.50-proxy-access-with-path.17da5bd_1692281761030_0.04852914604145453"},"_hasShrinkwrap":false},"0.0.50-minor-refactor-cli-auth-urls-2.4984b28":{"name":"@preevy/plugin-github-pr-link","version":"0.0.50-minor-refactor-cli-auth-urls-2.4984b28","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.50-minor-refactor-cli-auth-urls-2.4984b28","@preevy/core":"0.0.50-minor-refactor-cli-auth-urls-2.4984b28","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"4b8c3b216182244a92c634a818146638b55e07c6","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.50-minor-refactor-cli-auth-urls-2.4984b28","_nodeVersion":"18.17.0","_npmVersion":"lerna/6.6.2/node@v18.17.0+x64 (linux)","dist":{"integrity":"sha512-GLhonHA5wqMJzr1GrRDRmJlI2xHKUTVwx6J0/ALkZgvO+B8iQ81gZ2/8ED3FwDz34OxPMcQMA90WmZpGaUOTdQ==","shasum":"71d321979be037d10a967ad043eda9cfdbca226e","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.50-minor-refactor-cli-auth-urls-2.4984b28.tgz","fileCount":30,"unpackedSize":53069,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICauTBUX02vDfUg2ZEd4ZooFMsvMmxMpWhpwoqcVTVDlAiEA627yW7fOFjxhTL6pYIlsyfwtE5FhTMgwlDen9SoUkJc="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.50-minor-refactor-cli-auth-urls-2.4984b28_1692288322116_0.5161570201737533"},"_hasShrinkwrap":false},"0.0.50-support-querying-tunnels.9b76ced":{"name":"@preevy/plugin-github-pr-link","version":"0.0.50-support-querying-tunnels.9b76ced","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.50-support-querying-tunnels.9b76ced","@preevy/core":"0.0.50-support-querying-tunnels.9b76ced","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"97849c2cb2b67f2781e72f6d9cfe7d4d58f5be89","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.50-support-querying-tunnels.9b76ced","_nodeVersion":"18.17.1","_npmVersion":"lerna/6.6.2/node@v18.17.1+x64 (linux)","dist":{"integrity":"sha512-FpW0eLNLUSr4mZk1CikHX5Ht19img8DAy/7hiWKjtupUzCgd9XkSp+bbdlxPs8reG3is7rcOYIprCzEOdolXVQ==","shasum":"bc5a7f8b4cb158c4a54802dc6ae8bcb4ee728c92","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.50-support-querying-tunnels.9b76ced.tgz","fileCount":30,"unpackedSize":53051,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIChNFgHB0KY1ih7zU0HgolQFmWpyuuhWkIaAv09hXApDAiBQnZTA528ZZp0UOoofHm4lhTFZA+LN4ezA3byUqUVXQQ=="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.50-support-querying-tunnels.9b76ced_1692619916622_0.725262743984705"},"_hasShrinkwrap":false},"0.0.50-support-querying-tunnels.4226a12":{"name":"@preevy/plugin-github-pr-link","version":"0.0.50-support-querying-tunnels.4226a12","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.50-support-querying-tunnels.4226a12","@preevy/core":"0.0.50-support-querying-tunnels.4226a12","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"0f8c40c1d130769ca70a82d518fadbf095d92382","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.50-support-querying-tunnels.4226a12","_nodeVersion":"18.17.1","_npmVersion":"lerna/6.6.2/node@v18.17.1+x64 (linux)","dist":{"integrity":"sha512-Tyr1WirGnLUfwJUSPqHgyaFEGxF+RbQ6bvGsAAp+qIvR8C+xeM9ry9DUMhL9QlsnBqK5Ndq5gU55cWByrZl9gA==","shasum":"4624336b2418e3686d5b247f06b5dcc3b4903eeb","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.50-support-querying-tunnels.4226a12.tgz","fileCount":30,"unpackedSize":53051,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDMqAVlU1lOpQbLqKdZWj5L5aIQ/qaa3pq539iNXbJDDAiAQpRrSdBkxLz/G1No9bWLytdYT1Tuvr5KJHn7Cbhspug=="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.50-support-querying-tunnels.4226a12_1692620939715_0.8232578926042142"},"_hasShrinkwrap":false},"0.0.50-support-querying-tunnels.763ff19":{"name":"@preevy/plugin-github-pr-link","version":"0.0.50-support-querying-tunnels.763ff19","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.50-support-querying-tunnels.763ff19","@preevy/core":"0.0.50-support-querying-tunnels.763ff19","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"3adef746fa1ea09e90e9b83b2bd3c943e734b989","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.50-support-querying-tunnels.763ff19","_nodeVersion":"18.17.1","_npmVersion":"lerna/6.6.2/node@v18.17.1+x64 (linux)","dist":{"integrity":"sha512-tzWUZeBYlVUCMCnLqh3z13+NMS8RYAbmaMHQUBAqtMG3iHB38vOqtXc7xtpMYLmKekwlwWnUK24sQo0hh2svxQ==","shasum":"e4cbcf53f3b76a654282728dfaaa151c586dcf84","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.50-support-querying-tunnels.763ff19.tgz","fileCount":30,"unpackedSize":53051,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHMTN3jRCy+MS1PhtT6n7g2jU2JjjpJzIVjw3ZZe5CXeAiBU+ZNWHT7El3mNRSJvNNkiT2h+G4jZZZ+Khb9uh8wTaw=="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.50-support-querying-tunnels.763ff19_1692621227633_0.3733149102355644"},"_hasShrinkwrap":false},"0.0.50-support-querying-tunnels.e141dfd":{"name":"@preevy/plugin-github-pr-link","version":"0.0.50-support-querying-tunnels.e141dfd","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.50-support-querying-tunnels.e141dfd","@preevy/core":"0.0.50-support-querying-tunnels.e141dfd","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"01250807c078c903340f487006077c823cf40f1c","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.50-support-querying-tunnels.e141dfd","_nodeVersion":"18.17.1","_npmVersion":"lerna/6.6.2/node@v18.17.1+x64 (linux)","dist":{"integrity":"sha512-dTU9fDSZKvvsmesv2FqpEkKjddKVHfvOi1fPwW+jV2V+7lHMeZYPRw1FZiTeFVJaPsh9sojYLnhbEXBH2B3pYQ==","shasum":"883632d5bcc42e0839c25dd3475d74c49e7e0902","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.50-support-querying-tunnels.e141dfd.tgz","fileCount":30,"unpackedSize":53051,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAPrOUvM7NuzK3Y74ecuw40pyEiczwxqGnhxzUIw5Fq9AiEA+NvxCCW3NfSVdwquKR5dxhZNTUoMp7c/jNlntCpMGrg="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.50-support-querying-tunnels.e141dfd_1692621317732_0.601933297754546"},"_hasShrinkwrap":false},"0.0.50-support-for-tunneling-existing-local-service.d051dc0":{"name":"@preevy/plugin-github-pr-link","version":"0.0.50-support-for-tunneling-existing-local-service.d051dc0","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.50-support-for-tunneling-existing-local-service.d051dc0","@preevy/core":"0.0.50-support-for-tunneling-existing-local-service.d051dc0","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"9851c32f9b63891d57d21dc3a6ff6084d56ee24a","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.50-support-for-tunneling-existing-local-service.d051dc0","_nodeVersion":"18.17.1","_npmVersion":"lerna/6.6.2/node@v18.17.1+x64 (linux)","dist":{"integrity":"sha512-Rm8lNSRMHlp1eoYtQAYGHijGzsUl3JzUYjCcwT8qlQRJkfHXFVuxVsiq2oXM5ut84aK6bVELsqv4MuTBoPR+iQ==","shasum":"a6c0094ebf7e3f290ba3d18023c6019d36d64af2","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.50-support-for-tunneling-existing-local-service.d051dc0.tgz","fileCount":30,"unpackedSize":53111,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEmgcTlpCSWGoXWIDnM736h8fgV+4HyPWo5cJIqr9YRIAiEAtRFBsCr9n+CSUSRRPBXZzpRS5aUWG9MWcuUa1JisSXQ="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.50-support-for-tunneling-existing-local-service.d051dc0_1692655689708_0.18761634777754965"},"_hasShrinkwrap":false},"0.0.50-support-for-tunneling-existing-local-service.dfb51e2":{"name":"@preevy/plugin-github-pr-link","version":"0.0.50-support-for-tunneling-existing-local-service.dfb51e2","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.50-support-for-tunneling-existing-local-service.dfb51e2","@preevy/core":"0.0.50-support-for-tunneling-existing-local-service.dfb51e2","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"8de5c8fddbbe9f52d81ca3bb154853d2aba76e5e","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.50-support-for-tunneling-existing-local-service.dfb51e2","_nodeVersion":"18.17.1","_npmVersion":"lerna/6.6.2/node@v18.17.1+x64 (linux)","dist":{"integrity":"sha512-CbKlrfMBt0ATo22gAcSD5uHIcHt6b5+NoP0j89x1ks/U7BQ4oUcw5Ul7iTsnUHRw0qr47/O2H0JNyVl/Y6qBMA==","shasum":"5ec72ea52944886cba0ec60073ca87422dc1d586","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.50-support-for-tunneling-existing-local-service.dfb51e2.tgz","fileCount":30,"unpackedSize":53111,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCuOlz7atqrue1RPP060a0Yz4ZV/s4xErzn2n0mn+TKtAIgIvN67/Yb8mppaxFCeH5pOz2nMdKjbBxa7kJxmmZCY/I="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.50-support-for-tunneling-existing-local-service.dfb51e2_1692793274239_0.6651443509558705"},"_hasShrinkwrap":false},"0.0.50-support-for-tunneling-existing-local-service.b2a0f5e":{"name":"@preevy/plugin-github-pr-link","version":"0.0.50-support-for-tunneling-existing-local-service.b2a0f5e","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.50-support-for-tunneling-existing-local-service.b2a0f5e","@preevy/core":"0.0.50-support-for-tunneling-existing-local-service.b2a0f5e","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"6943b22fac39484a974acd69b57c5909765c4bf1","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.50-support-for-tunneling-existing-local-service.b2a0f5e","_nodeVersion":"18.17.1","_npmVersion":"lerna/6.6.2/node@v18.17.1+x64 (linux)","dist":{"integrity":"sha512-lVxoe+Pprpg7udLefj5CakMfJQ7LJKHkf5S3ozOZkZZrd3X5NHfrAXaDVeEc0x3hBp+bIqYYPNKu/GrxWH11iQ==","shasum":"7cd18bc800c5a946709ce27260983f55465db2b4","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.50-support-for-tunneling-existing-local-service.b2a0f5e.tgz","fileCount":30,"unpackedSize":53111,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG6c16gleb/rWhxgNcHHlXRdhkdhPWfiX36sJyVlVPkEAiBvmsWnxFlQ02aY9feKoN0/SiNxKbOhvhYuB6Dq4ldSfQ=="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.50-support-for-tunneling-existing-local-service.b2a0f5e_1692797062710_0.4573945541707334"},"_hasShrinkwrap":false},"0.0.50-support-for-tunneling-existing-local-service.9977a71":{"name":"@preevy/plugin-github-pr-link","version":"0.0.50-support-for-tunneling-existing-local-service.9977a71","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.50-support-for-tunneling-existing-local-service.9977a71","@preevy/core":"0.0.50-support-for-tunneling-existing-local-service.9977a71","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"f729ca399c7543acddabf2a2f89e528950f0aa6c","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.50-support-for-tunneling-existing-local-service.9977a71","_nodeVersion":"18.17.1","_npmVersion":"lerna/6.6.2/node@v18.17.1+x64 (linux)","dist":{"integrity":"sha512-i0np4h952Xg54LZhda6YnWLDoawez+RshxQzxwJhgqj6m/EH0rdsXnfwZyZisYgAJ1+eSJKOTdzma2650/mtCA==","shasum":"1f3cce0d99cd7d4da51029b2f1700c4afd56f355","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.50-support-for-tunneling-existing-local-service.9977a71.tgz","fileCount":30,"unpackedSize":53111,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDb0iURDruslib2hmSeMiCuItYm3MYMoCkLPWkBImAssAiAON4Oq/YxnVfsYcFT/oM4yg8M3uRaq86E5HLiF+IruJA=="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.50-support-for-tunneling-existing-local-service.9977a71_1692797863235_0.8540281151976423"},"_hasShrinkwrap":false},"0.0.50-connect-metadata.56cc5ad":{"name":"@preevy/plugin-github-pr-link","version":"0.0.50-connect-metadata.56cc5ad","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.50-connect-metadata.56cc5ad","@preevy/core":"0.0.50-connect-metadata.56cc5ad","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"d185f7708146722cfc6cd7bfa1e902e0070ada2e","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.50-connect-metadata.56cc5ad","_nodeVersion":"18.17.1","_npmVersion":"lerna/6.6.2/node@v18.17.1+x64 (linux)","dist":{"integrity":"sha512-3aBzoLEOxWh0PwlGU4mGnhHm0QwR648pW0FbuL5RzZLZqhHE9yjqyIR2kPTD3ZEJ1XkUVRGqg85I1KGVQSSMNQ==","shasum":"4eaf376e55c5161633ff648e70e569919103536a","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.50-connect-metadata.56cc5ad.tgz","fileCount":30,"unpackedSize":53027,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCsDm+sjor/XvkWzxDhd+C5MjELF0E7fYknpWXkpodX1AIgdg4HQwWCn318KE6cztEpEB1Nivq02h3UdnRfgcg4pxw="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.50-connect-metadata.56cc5ad_1692868297081_0.5331365149114182"},"_hasShrinkwrap":false},"0.0.50-gce-labels-allowed-chars.a2fb3d0":{"name":"@preevy/plugin-github-pr-link","version":"0.0.50-gce-labels-allowed-chars.a2fb3d0","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.50-gce-labels-allowed-chars.a2fb3d0","@preevy/core":"0.0.50-gce-labels-allowed-chars.a2fb3d0","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"35f0239b7d9c70e6990e52fbdc8f11a59514e136","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.50-gce-labels-allowed-chars.a2fb3d0","_nodeVersion":"18.17.1","_npmVersion":"lerna/6.6.2/node@v18.17.1+x64 (linux)","dist":{"integrity":"sha512-3X8BgXfKfa1pglS025DHQcGlzjeLCuTxqc59luFYgzJv8epiZGleLdI9XsTwxHfTf2Svm5ULoaQYuXMJSA3epw==","shasum":"df3804749cd8106387baaafbf08cee3726b7b22f","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.50-gce-labels-allowed-chars.a2fb3d0.tgz","fileCount":30,"unpackedSize":53051,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAf4qj4orZKviJ4UgCe4iTKPX6nUGaxayAH2RiuhGlZ0AiB4UgqpweHJyndwM5LDowm9lmprOWNV3QlSrNkB3PbuFQ=="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.50-gce-labels-allowed-chars.a2fb3d0_1692874854026_0.9747844320304346"},"_hasShrinkwrap":false},"0.0.50-small-change-in-active-tunnel-store-key.91de31a":{"name":"@preevy/plugin-github-pr-link","version":"0.0.50-small-change-in-active-tunnel-store-key.91de31a","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.50-small-change-in-active-tunnel-store-key.91de31a","@preevy/core":"0.0.50-small-change-in-active-tunnel-store-key.91de31a","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"057a53ea997b14600eac621bf4142a3e10cdf4b7","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.50-small-change-in-active-tunnel-store-key.91de31a","_nodeVersion":"18.17.1","_npmVersion":"lerna/6.6.2/node@v18.17.1+x64 (linux)","dist":{"integrity":"sha512-RNv/txTOEzXXsSQCnTVzwMQL9VQo+zprzXI+QkR5I49eOMg7IHvg9wNhWXoRj5SC4D0yr8VkqnIUKte9qjXADQ==","shasum":"55c9fe8a8de17546407cfa5908446bfc0ff4404d","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.50-small-change-in-active-tunnel-store-key.91de31a.tgz","fileCount":30,"unpackedSize":53096,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICcCdsGbi6ThU4JpItAOHnYDidDQmWW9bw7OIMSsRMNVAiBMm6EgjfySuPgT5JxdcV1oC+GpSIQOKBdCMa05wqlFDA=="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.50-small-change-in-active-tunnel-store-key.91de31a_1692907302454_0.6654938881061601"},"_hasShrinkwrap":false},"0.0.50-small-change-in-active-tunnel-store-key.4831172":{"name":"@preevy/plugin-github-pr-link","version":"0.0.50-small-change-in-active-tunnel-store-key.4831172","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.50-small-change-in-active-tunnel-store-key.4831172","@preevy/core":"0.0.50-small-change-in-active-tunnel-store-key.4831172","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"b5ae61ac33a2baae7a965312a1f24654457d02ee","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.50-small-change-in-active-tunnel-store-key.4831172","_nodeVersion":"18.17.1","_npmVersion":"lerna/6.6.2/node@v18.17.1+x64 (linux)","dist":{"integrity":"sha512-rwJ5Z2HPbDlXM2I04RKSreXq/dbkxPH5tM38NvWl/8G2Y1cfJw3FsFm6ZOcjd0OZpX7N3jxGG/KUbrV/9srcSw==","shasum":"573c652fbcdee3479891cc47d62d684b2101e4a0","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.50-small-change-in-active-tunnel-store-key.4831172.tgz","fileCount":30,"unpackedSize":53096,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF2U1U+87MIYE6mXgKlPyQotTVMnNW74JHSKHq2RehBfAiEAuDpvCqN7pNcUNF5Ny9+VH86AbWqAKSUYKCnVcwpF5HA="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.50-small-change-in-active-tunnel-store-key.4831172_1692907573892_0.45485849792933"},"_hasShrinkwrap":false},"0.0.50-small-change-in-active-tunnel-store-key.bcf02f8":{"name":"@preevy/plugin-github-pr-link","version":"0.0.50-small-change-in-active-tunnel-store-key.bcf02f8","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.50-small-change-in-active-tunnel-store-key.bcf02f8","@preevy/core":"0.0.50-small-change-in-active-tunnel-store-key.bcf02f8","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"1b68bd51cd4e6ba5380ab903dd98c90a17ab4ec7","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.50-small-change-in-active-tunnel-store-key.bcf02f8","_nodeVersion":"18.17.1","_npmVersion":"lerna/6.6.2/node@v18.17.1+x64 (linux)","dist":{"integrity":"sha512-gl7+AaFrincBNrscxCQHKutPszNzzV/+Ca75GWEhaZWLLqcrVtl+QhRfGGRlO00GR62So1cOFvUWo8iZXKTSVg==","shasum":"7da1d7911ffaaf4b1d32c705bd2e2b16b185ccfd","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.50-small-change-in-active-tunnel-store-key.bcf02f8.tgz","fileCount":30,"unpackedSize":53096,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCOajOyNbCXFdiVrhWdINKO7G647T0IsKNQnAoS8IT7TgIgQl9vQP4sMI6FD/NIN65eOIfodte6ZzWDWOqqy5oQX14="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.50-small-change-in-active-tunnel-store-key.bcf02f8_1692910764280_0.5328922394001994"},"_hasShrinkwrap":false},"0.0.50-tunnel-server-return-tunnel-metadata.0938b3e":{"name":"@preevy/plugin-github-pr-link","version":"0.0.50-tunnel-server-return-tunnel-metadata.0938b3e","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.50-tunnel-server-return-tunnel-metadata.0938b3e","@preevy/core":"0.0.50-tunnel-server-return-tunnel-metadata.0938b3e","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"43591121998bee0c74ae590ff1166e43773d1131","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.50-tunnel-server-return-tunnel-metadata.0938b3e","_nodeVersion":"18.17.1","_npmVersion":"lerna/6.6.2/node@v18.17.1+x64 (linux)","dist":{"integrity":"sha512-wYskunwJRY5Y0USCJHIETcL8He/8kTdR22RNH80RzugbgHODgqUVhlDNZuGVrovCE3PYIqubh6GWAMZmXgtjJA==","shasum":"8eb2bafb3b13b0d5e4621e119b44bd9c5d5b822e","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.50-tunnel-server-return-tunnel-metadata.0938b3e.tgz","fileCount":30,"unpackedSize":53087,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC02pmdeq45sIYSZ9tqL1n8yW1JiyxPCeAyg5t/Vo5A1AiAVBl+5JWlhDR73+HVSv+dHL0p1mfKLdG3OtAknTiJ2PA=="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.50-tunnel-server-return-tunnel-metadata.0938b3e_1693120186868_0.09988243823367338"},"_hasShrinkwrap":false},"0.0.50-profile-key-command.e321934":{"name":"@preevy/plugin-github-pr-link","version":"0.0.50-profile-key-command.e321934","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.50-profile-key-command.e321934","@preevy/core":"0.0.50-profile-key-command.e321934","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"aee54f1aa193a9a02c8646b35ee2e62c7bb74245","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.50-profile-key-command.e321934","_nodeVersion":"18.17.1","_npmVersion":"lerna/6.6.2/node@v18.17.1+x64 (linux)","dist":{"integrity":"sha512-6Tqr5qrwUSJQ5d+hZfrgclbctq2Ce0Tyygu6Ge5HePIrTo/sQXKW/b31wGAaE3U0wbUpBdBNRNk7MpD9yk/EKw==","shasum":"f2b9235a527e7130961e25e9f2e8c022ffabba56","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.50-profile-key-command.e321934.tgz","fileCount":30,"unpackedSize":53036,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCKzIAOFkGdYXJQVSJgXXZu85VaJ15q/8uWdkrmQtZfVQIhAL/akDGNkel061Lk76khDyCuek4PsTz0H28l6KW40Gvm"}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.50-profile-key-command.e321934_1693122535179_0.4651484066153091"},"_hasShrinkwrap":false},"0.0.50-gce-labels-allowed-chars.ec46ecf":{"name":"@preevy/plugin-github-pr-link","version":"0.0.50-gce-labels-allowed-chars.ec46ecf","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.50-gce-labels-allowed-chars.ec46ecf","@preevy/core":"0.0.50-gce-labels-allowed-chars.ec46ecf","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"1d62d85aab10a9ec799e92b823f5765b78eba732","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.50-gce-labels-allowed-chars.ec46ecf","_nodeVersion":"18.17.1","_npmVersion":"lerna/6.6.2/node@v18.17.1+x64 (linux)","dist":{"integrity":"sha512-JAINpRb16dE6W5DaceDMMUPgp1SLABHwYvn7I6Vb3mDqy7Vqv874BxGsmotg3X2Xq4D/Z4Svr1WX88rlvI2J5g==","shasum":"9625435b28e6a708bc00f66256aa61170734d0d4","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.50-gce-labels-allowed-chars.ec46ecf.tgz","fileCount":30,"unpackedSize":53051,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDvKZIaS6dsf7htj8r7Bs7O3yjA5YRXY3LTyfTewymiaAiByH2AXXRqtpjJvBnq6sQMzuLbPcgALLOLYdtqDU/rN9w=="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.50-gce-labels-allowed-chars.ec46ecf_1693131555299_0.4908729882192129"},"_hasShrinkwrap":false},"0.0.50-main.412f33e":{"name":"@preevy/plugin-github-pr-link","version":"0.0.50-main.412f33e","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.50-main.412f33e","@preevy/core":"0.0.50-main.412f33e","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"85789121f8a93df91e2157dc48f3deb2a0610c7f","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.50-main.412f33e","_nodeVersion":"18.17.1","_npmVersion":"lerna/6.6.2/node@v18.17.1+x64 (linux)","dist":{"integrity":"sha512-g5N1SWejoWBqgKVRt+qkzrQSwTwk165ijavW4tc1EGqm6uzYpmzweEOpskJk/saUgbyK76MbFfaKYTkMa20E9g==","shasum":"0c29924f8feda121a73c249644c2fc398e8d9f3d","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.50-main.412f33e.tgz","fileCount":30,"unpackedSize":52991,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBrrB08IaeTVygrRHr9/5z2+2jDF+VdVhFmW3dnNR0LeAiBw8BZM/XIx+I2btEanBX1La3Ov3bPgjIQlNB+ZYfAMAg=="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.50-main.412f33e_1693136767699_0.33686861092094733"},"_hasShrinkwrap":false},"0.0.50-profile-key-command.b817fd9":{"name":"@preevy/plugin-github-pr-link","version":"0.0.50-profile-key-command.b817fd9","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.50-profile-key-command.b817fd9","@preevy/core":"0.0.50-profile-key-command.b817fd9","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"8a3fa0eb2c53c8bec157285a3448a68a6171af2d","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.50-profile-key-command.b817fd9","_nodeVersion":"18.17.1","_npmVersion":"lerna/6.6.2/node@v18.17.1+x64 (linux)","dist":{"integrity":"sha512-IBU3AH4Dg2Y89QUa8+pjbA1pPPUcEzihj8CigPQsaT7ha93+vuAq0NuQLfGgv/gylXf8hQIzsxSa5JL6bbaCpg==","shasum":"be344cdab5ecd99d7919a4c58cacdd171199990c","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.50-profile-key-command.b817fd9.tgz","fileCount":30,"unpackedSize":53036,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGglwvUp+lLVyO5fRX8ydswQy2DZ40tPqx6/bvv9hAClAiAEh4RNS8eZ4vlDNeQZtVKrpWGkdyoKwMlnFZSNdY7psg=="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.50-profile-key-command.b817fd9_1693145461452_0.08855127386438078"},"_hasShrinkwrap":false},"0.0.50-main.30199f4":{"name":"@preevy/plugin-github-pr-link","version":"0.0.50-main.30199f4","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.50-main.30199f4","@preevy/core":"0.0.50-main.30199f4","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"9f8cf548f9203657c981a9c13dc6fde7ade6a804","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.50-main.30199f4","_nodeVersion":"18.17.1","_npmVersion":"lerna/6.6.2/node@v18.17.1+x64 (linux)","dist":{"integrity":"sha512-/A5ZnV+8Hj9NNHv22iiKWt+0VtfE9cVjkStBsyNJNej1KvrA0sMJLh0/TwH1VZElBajsGy0Ouz0VnaXmdakBwA==","shasum":"2d77f2439b3d17fa6908e0f4bcd8fecb7bd520bd","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.50-main.30199f4.tgz","fileCount":30,"unpackedSize":52991,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC1fG2Jmb86vMwx7oQAgep1EHoykkkOR1+r2rh/8Td6HAIhAMnJ+jcRlfdzgzN8xQjAvGFQMOUbl+DUZF3wKBEjj7tw"}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.50-main.30199f4_1693145696253_0.9809689491256037"},"_hasShrinkwrap":false},"0.0.50":{"name":"@preevy/plugin-github-pr-link","version":"0.0.50","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.50","@preevy/core":"0.0.50","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"types":"./dist/index.d.ts","gitHead":"914f659231ce1367c28b822d3675ecdc614c4b93","_id":"@preevy/plugin-github-pr-link@0.0.50","_nodeVersion":"18.17.1","_npmVersion":"9.6.7","dist":{"integrity":"sha512-m3b27XMiULIGgktTYSa4Udlg8S37RLtbcnufi677SglhDmF0kyBw09lVRVO27nQ+Etc57bEOICLnNAEnW2rRQQ==","shasum":"6b2ce8cce7f4598c7785f20d61819559cf7238bd","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.50.tgz","fileCount":29,"unpackedSize":41538,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCur2xQKRwhEDkSlN5W7MnQq7ysf9Qi2IKGtrRJtxVRuAIhAN8FK1JzSasPDDMjcnGKev0ZNa+DYNJY6D1w9EP+xtFS"}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.50_1693174731121_0.1593803252230248"},"_hasShrinkwrap":false},"0.0.51-main.914f659":{"name":"@preevy/plugin-github-pr-link","version":"0.0.51-main.914f659","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.51-main.914f659","@preevy/core":"0.0.51-main.914f659","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"e2e8eb790599999e41e050dc9de6d284b14d107c","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.51-main.914f659","_nodeVersion":"18.17.1","_npmVersion":"lerna/6.6.2/node@v18.17.1+x64 (linux)","dist":{"integrity":"sha512-yXIvezY98ONrrZpN+pBPoGyYJJvVsqrh+i+O7FAsVjmU9dC8HxtsXc/2o8alOO4DEsoJJCcU2RLokGRrlQ/c1A==","shasum":"6079287af123c5dcbc138feb36a4e3ad9d5574a0","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.51-main.914f659.tgz","fileCount":30,"unpackedSize":52991,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGp+E2J0xVF1ZMgWMm3QMMILNlAiWlzwDbY/Hl2d+spzAiBWCPGjvFos6v6bo48Eqe+mM8AL+syh+gmkntSx0hEasg=="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.51-main.914f659_1693174815991_0.14255220580059302"},"_hasShrinkwrap":false},"0.0.51-gce-up-while-machine-being-deleted.e3e976f":{"name":"@preevy/plugin-github-pr-link","version":"0.0.51-gce-up-while-machine-being-deleted.e3e976f","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.51-gce-up-while-machine-being-deleted.e3e976f","@preevy/core":"0.0.51-gce-up-while-machine-being-deleted.e3e976f","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"190a1857f0497fd73bc8f64d45b8bdeb4e2769fb","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.51-gce-up-while-machine-being-deleted.e3e976f","_nodeVersion":"18.17.1","_npmVersion":"lerna/6.6.2/node@v18.17.1+x64 (linux)","dist":{"integrity":"sha512-rhyFKPZ8N6P3VZqPSbknKvL/Mrzu0q0rOAalLUDJe5swYxXInHLGUDZaN8coSc9hW9uHu9ObstYAjVK3UXj29g==","shasum":"da7f6f6746edd52537a0601595274ee1efab82ad","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.51-gce-up-while-machine-being-deleted.e3e976f.tgz","fileCount":30,"unpackedSize":53081,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIChQA7oOYY77QCvmzFRFvR23OoxCnjOvVat3W7wufnPyAiAfWXGVo8PTusAkFs2cKYmJYFPzJWWwDZMge63gbas0yQ=="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.51-gce-up-while-machine-being-deleted.e3e976f_1693207979829_0.7085973627825475"},"_hasShrinkwrap":false},"0.0.51-gce-up-while-machine-being-deleted.382ff5b":{"name":"@preevy/plugin-github-pr-link","version":"0.0.51-gce-up-while-machine-being-deleted.382ff5b","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.51-gce-up-while-machine-being-deleted.382ff5b","@preevy/core":"0.0.51-gce-up-while-machine-being-deleted.382ff5b","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"3802dc2f7618317d9e466aabd40db81a3fdcd301","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.51-gce-up-while-machine-being-deleted.382ff5b","_nodeVersion":"18.17.1","_npmVersion":"lerna/6.6.2/node@v18.17.1+x64 (linux)","dist":{"integrity":"sha512-I+ioBKT0U45mXbTclB5AfZDB87RQWZI1KonGbedNLdYE+iX5Vf+f7bCy32bSyalL3A3YoJvrQ6bGAg/YRpVpYQ==","shasum":"bdc5370ad6c7bd65f1a7de3c210534a75fc34586","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.51-gce-up-while-machine-being-deleted.382ff5b.tgz","fileCount":30,"unpackedSize":53081,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEQSBq7i1UFDNaJd5vOHvjgJ3EbzvgwPKRgss2MBmkFvAiEAttrSdHIy6bWN1OqMtQySu9wYQJ/IhUNrsJKtSlLuBNg="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.51-gce-up-while-machine-being-deleted.382ff5b_1693208026537_0.7246238464328871"},"_hasShrinkwrap":false},"0.0.51-gce-up-while-machine-being-deleted.7f8a1d9":{"name":"@preevy/plugin-github-pr-link","version":"0.0.51-gce-up-while-machine-being-deleted.7f8a1d9","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.51-gce-up-while-machine-being-deleted.7f8a1d9","@preevy/core":"0.0.51-gce-up-while-machine-being-deleted.7f8a1d9","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"77f9116b68375332c844c83cb440ff7695875d5b","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.51-gce-up-while-machine-being-deleted.7f8a1d9","_nodeVersion":"18.17.1","_npmVersion":"lerna/6.6.2/node@v18.17.1+x64 (linux)","dist":{"integrity":"sha512-bVw9hnFBKiIF1JZ3PCAOtS0SAsh9SkNYv/+sz6imTApV59x6r3Hgij1u3jNit77ldsQHFue32p8H0skvkkqnMQ==","shasum":"edba1f930f5dddaccd308160e69d450fa0f95a86","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.51-gce-up-while-machine-being-deleted.7f8a1d9.tgz","fileCount":30,"unpackedSize":53081,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD7YVVE5D33LEisIKvOUVp8dhqNZ/2gyCE0Csxakou22wIhALnrZAUBDWhD7Jr5YoYwKLUu2G3CJymgXOOAWB3x0JAs"}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.51-gce-up-while-machine-being-deleted.7f8a1d9_1693212258351_0.08684633614835535"},"_hasShrinkwrap":false},"0.0.51-main.34649d1":{"name":"@preevy/plugin-github-pr-link","version":"0.0.51-main.34649d1","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.51-main.34649d1","@preevy/core":"0.0.51-main.34649d1","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"b116791fd09ff2222611facb1a5d6cc1bac98d83","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.51-main.34649d1","_nodeVersion":"18.17.1","_npmVersion":"lerna/6.6.2/node@v18.17.1+x64 (linux)","dist":{"integrity":"sha512-0v/uPHFxpolzn+KHKQNUMzNqpRDEwB5y2EjcZnTJiQlStkNiOUbab7BHArbLz6LRYcJnD/BkTqZzCNy/MfMk1g==","shasum":"2a3384b121396da08b9ea0e08cbea88d406df7e2","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.51-main.34649d1.tgz","fileCount":30,"unpackedSize":52991,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDHYP6WuxbhotVHHxEWXOrRln0DBq6zoDro0fUGCYTHYwIgUSVTbDCSzu4CSRseWuIbgZZOl+e22W3pXKHVkOqwE1o="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.51-main.34649d1_1693212453048_0.298124981141366"},"_hasShrinkwrap":false},"0.0.51-profile-improvements.199efed":{"name":"@preevy/plugin-github-pr-link","version":"0.0.51-profile-improvements.199efed","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.51-profile-improvements.199efed","@preevy/core":"0.0.51-profile-improvements.199efed","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"92745c1b7fafe62d165578eae637420e2040c3da","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.51-profile-improvements.199efed","_nodeVersion":"18.17.1","_npmVersion":"lerna/6.6.2/node@v18.17.1+x64 (linux)","dist":{"integrity":"sha512-EeP9ymgcdM5EZZrrPXnhVOhPoq8u9ZmZH4QZWSBHQdEk1HJrQK/BzOs6HtKnvgCYgeWel9CDS793l/fMHFd5xw==","shasum":"b73f6236f2ded3801dfa98732ad0708a6d129d00","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.51-profile-improvements.199efed.tgz","fileCount":30,"unpackedSize":53039,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDU4VHWfMm3X0pbbKPBbyBZuoYyp0iyIFfVsopLwPIKcQIgFWQZ05DRz+sC0yftW+3Vn8vQKfz+HajZWMwye1ZP73Y="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.51-profile-improvements.199efed_1693226801440_0.9242732150625663"},"_hasShrinkwrap":false},"0.0.51-env-id-in-connect-command.44a37b4":{"name":"@preevy/plugin-github-pr-link","version":"0.0.51-env-id-in-connect-command.44a37b4","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.51-env-id-in-connect-command.44a37b4","@preevy/core":"0.0.51-env-id-in-connect-command.44a37b4","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"0dc2895e25b5345050b8b779fd0d5342ecaaf24b","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.51-env-id-in-connect-command.44a37b4","_nodeVersion":"18.17.1","_npmVersion":"lerna/6.6.2/node@v18.17.1+x64 (linux)","dist":{"integrity":"sha512-YFGVzuS9+1zY+e+hGqy9FYAAlKbIpoGUDuYGGaUw6qAu6AuWQPiWpikr6DWf+TU4HUHuJCPkAdPg/hSN9ILCqA==","shasum":"eb38844fdaa2c0bb8a733d878df43fefe1f695e5","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.51-env-id-in-connect-command.44a37b4.tgz","fileCount":30,"unpackedSize":53088,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID1EyYUGQTA3tt73c+reJpbDhiXM3oAlQpRlUBaBl/HLAiA1bzem9geAoezXO2Ug9Np+PTRVFLil9xSuj29zEZk9SA=="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.51-env-id-in-connect-command.44a37b4_1693232673044_0.3437509804655625"},"_hasShrinkwrap":false},"0.0.51-env-id-in-connect-command.98927f1":{"name":"@preevy/plugin-github-pr-link","version":"0.0.51-env-id-in-connect-command.98927f1","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.51-env-id-in-connect-command.98927f1","@preevy/core":"0.0.51-env-id-in-connect-command.98927f1","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"53dd5c8323f44114f79aef479fa00438a4400ed6","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.51-env-id-in-connect-command.98927f1","_nodeVersion":"18.17.1","_npmVersion":"lerna/6.6.2/node@v18.17.1+x64 (linux)","dist":{"integrity":"sha512-6gfrkuL/Dj9td1rpLJPMZsFYXgaWLxJw22RZcokDvzAVTZT4NVMOHeZHqwFzoeTly1U5raeRhBCjIjjBvMYvWQ==","shasum":"53b86c18b5a08c859265a070e44605b144e7c868","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.51-env-id-in-connect-command.98927f1.tgz","fileCount":30,"unpackedSize":53076,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICw5gZYZPA53ZMTBXUz8+ylxuhzaYAlCmkU1K+WfdwZuAiAvw29lmQjLBatO1eDAr5D29FSUO5GoLz0r9gBM3p1oXA=="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.51-env-id-in-connect-command.98927f1_1693233936653_0.9835192778763184"},"_hasShrinkwrap":false},"0.0.51-env-id-in-connect-command.08782ec":{"name":"@preevy/plugin-github-pr-link","version":"0.0.51-env-id-in-connect-command.08782ec","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.51-env-id-in-connect-command.08782ec","@preevy/core":"0.0.51-env-id-in-connect-command.08782ec","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"ee1030d629e3719a8583b2b85ba5c9012d48e999","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.51-env-id-in-connect-command.08782ec","_nodeVersion":"18.17.1","_npmVersion":"lerna/6.6.2/node@v18.17.1+x64 (linux)","dist":{"integrity":"sha512-9gej4SWgFjXXA+TduXGGjb5DvizrFKn25GZXJVPXwLC06XLZJbAObM3D7VDQTaUnvvc0WnesDh/xi4pMQBDsOg==","shasum":"3682893843ce75c049850d6f8f339ec48baa9b2f","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.51-env-id-in-connect-command.08782ec.tgz","fileCount":30,"unpackedSize":53076,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAZYHhCSTdPSWMNngg2+X670FwgctaeagG+ndYyqa9zsAiEAizOshryTMd1VVcJPWH1gZPPj2+7JMJ61f7hI2snzFGM="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.51-env-id-in-connect-command.08782ec_1693235030280_0.33434999231148743"},"_hasShrinkwrap":false},"0.0.51-main.962db80":{"name":"@preevy/plugin-github-pr-link","version":"0.0.51-main.962db80","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.51-main.962db80","@preevy/core":"0.0.51-main.962db80","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"8612707b9667bd165b9a7768d85ff5e2236ec048","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.51-main.962db80","_nodeVersion":"18.17.1","_npmVersion":"lerna/6.6.2/node@v18.17.1+x64 (linux)","dist":{"integrity":"sha512-TsCoB6g4w8tOUJ/ph6Qo+GV/B4DYdjUXIxzKSPT5XyHCBl2cGdQ4jbF3YraZEIzeA7gjl9ENt+ZUK3AW+akBPA==","shasum":"89ba5b17ad061c5dc2419103170ded41dfa91eaf","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.51-main.962db80.tgz","fileCount":30,"unpackedSize":53013,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHMKXwVSCr5cVGn2ZS3LbLvL5bLp4UIJeTn09p0gPb6vAiEAugMYDVPB1n72BG0y4a0qSyxCkhHw5OdlWlBvoVAw03s="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.51-main.962db80_1693235471353_0.45208293351889317"},"_hasShrinkwrap":false},"0.0.51-profile-improvements.312d9d8":{"name":"@preevy/plugin-github-pr-link","version":"0.0.51-profile-improvements.312d9d8","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.51-profile-improvements.312d9d8","@preevy/core":"0.0.51-profile-improvements.312d9d8","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"9cb90ca78cfd9cdccde16c06dc872a0bbaef30ee","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.51-profile-improvements.312d9d8","_nodeVersion":"18.17.1","_npmVersion":"lerna/6.6.2/node@v18.17.1+x64 (linux)","dist":{"integrity":"sha512-Mgb3yJSo602zeyvD3Mh18mvZx8aeixlgWoijArjaT6tcvwr80+3Op8KNGG1+2O4To5YKSJf94JRmTvA9qswD+A==","shasum":"36bf55333f2c004bdb2c1859b4f1bba6404f349c","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.51-profile-improvements.312d9d8.tgz","fileCount":30,"unpackedSize":53061,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICyroapFLtPiOxK8f91gVc5O4vaQZpWOp13rkeKAvExPAiBWJTfgwpHtNdcQNbN5Q+B4TPhw/QYZynHzvSUf/n1X6Q=="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.51-profile-improvements.312d9d8_1693235489981_0.9233744546293343"},"_hasShrinkwrap":false},"0.0.51-profile-improvements.c0384f2":{"name":"@preevy/plugin-github-pr-link","version":"0.0.51-profile-improvements.c0384f2","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.51-profile-improvements.c0384f2","@preevy/core":"0.0.51-profile-improvements.c0384f2","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"ba137abbf3f5a9387ae0ec33e6d44447e2d18d7a","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.51-profile-improvements.c0384f2","_nodeVersion":"18.17.1","_npmVersion":"lerna/6.6.2/node@v18.17.1+x64 (linux)","dist":{"integrity":"sha512-/H8SvtE/jsVlXcGV3mFYooY1Dnbs6mcRxrqe+tH7TQRK4Z2/6HBJ5Fco737tjSz1thS+9encEFHE9NZ7eoL0Aw==","shasum":"334dddf91d748e26b3502b76bde04edfe60b7caa","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.51-profile-improvements.c0384f2.tgz","fileCount":30,"unpackedSize":53061,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDAILES3x+lV0AJlOnAfWLI/OfN+KuPtyWWnUMXTr9XEgIhAL8PTwHV/gnoavrL5bPivSx7jwGXV55GEzPTEJckkb+r"}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.51-profile-improvements.c0384f2_1693236453812_0.7380269593960331"},"_hasShrinkwrap":false},"0.0.51-profile-improvements.91bf7e4":{"name":"@preevy/plugin-github-pr-link","version":"0.0.51-profile-improvements.91bf7e4","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.51-profile-improvements.91bf7e4","@preevy/core":"0.0.51-profile-improvements.91bf7e4","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"36058262536035b364a3bb89da2af34f4ab55d50","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.51-profile-improvements.91bf7e4","_nodeVersion":"18.17.1","_npmVersion":"lerna/6.6.2/node@v18.17.1+x64 (linux)","dist":{"integrity":"sha512-9YSypsZop8haFIXWLHDzz1V6kSFZFIXa7Hnt5RaJKtSrUcJRh3W3oF8LZrJfGGXN/O5YSMxUQ3g7cKyo/xXHvA==","shasum":"37f30f65c97127be768f964286937c56919077ae","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.51-profile-improvements.91bf7e4.tgz","fileCount":30,"unpackedSize":53061,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCTaD1BFywN/Cs0tLkd0tg/dmC2g/FsY34XROSjw270cgIhAP8uoh0xaeIitLmUuSjQXh+27ALCpOIecvWuHaERsttV"}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.51-profile-improvements.91bf7e4_1693236506372_0.9240384843098308"},"_hasShrinkwrap":false},"0.0.51-main.660b4e1":{"name":"@preevy/plugin-github-pr-link","version":"0.0.51-main.660b4e1","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.51-main.660b4e1","@preevy/core":"0.0.51-main.660b4e1","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"663f85c45c6447cf9e2f76b1c3e0b863d6ce0cab","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.51-main.660b4e1","_nodeVersion":"18.17.1","_npmVersion":"lerna/6.6.2/node@v18.17.1+x64 (linux)","dist":{"integrity":"sha512-oWvm8ireMWBmzuqQdXw8CIAreJMFDqxK4NLMKvhAsMlWcDCxqR6pNP8/rKLZo0Nnrnvm9plK+XDqcV0ohfQnuA==","shasum":"eaa059c3b74aaf58d3a963872a480e0bc5c26bbf","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.51-main.660b4e1.tgz","fileCount":30,"unpackedSize":53013,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICj8L7YZuYiyaii1I64AUa8q04xRVW2Zck7zO7IosgKGAiBN0GxfG9DqOUa1bn2QL47L1YssAJBin5wQ+ot1uj3nNg=="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.51-main.660b4e1_1693236659012_0.9243349630751159"},"_hasShrinkwrap":false},"0.0.51-add-support-lc-access-token-param.ebfd355":{"name":"@preevy/plugin-github-pr-link","version":"0.0.51-add-support-lc-access-token-param.ebfd355","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.51-add-support-lc-access-token-param.ebfd355","@preevy/core":"0.0.51-add-support-lc-access-token-param.ebfd355","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"59e281fba9973ffbb67ce15b21e915abc36daa41","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.51-add-support-lc-access-token-param.ebfd355","_nodeVersion":"18.17.1","_npmVersion":"lerna/6.6.2/node@v18.17.1+x64 (linux)","dist":{"integrity":"sha512-OuCaCS08Sb/Oe5DCcjGIK+K/NvDbmzLV+j172b0nxgzcTn//BX5xrmAJeXobMU3YuJ9tgkCHNQ6Q1So9T1ZmEg==","shasum":"ae96824c27d7410aef88f1186390f932d0737d00","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.51-add-support-lc-access-token-param.ebfd355.tgz","fileCount":30,"unpackedSize":53100,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDrGStNVdT9rfo1vHpiGoQqLRGktjEStoIVun7hpJHMgAIgL5UGUC0AL25r9R0fJipqVrkHCaqWPvs8PJ8BCxlGCS0="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.51-add-support-lc-access-token-param.ebfd355_1693237872579_0.27428265489049264"},"_hasShrinkwrap":false},"0.0.51-cta-narrow-docker-api.c318f96":{"name":"@preevy/plugin-github-pr-link","version":"0.0.51-cta-narrow-docker-api.c318f96","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.51-cta-narrow-docker-api.c318f96","@preevy/core":"0.0.51-cta-narrow-docker-api.c318f96","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"74ca222a16ed919cb77a0d646fcc8048b0b053fc","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.51-cta-narrow-docker-api.c318f96","_nodeVersion":"18.17.1","_npmVersion":"lerna/6.6.2/node@v18.17.1+x64 (linux)","dist":{"integrity":"sha512-FtqKSMU7W30btER3VrURC+GjYQPXXd+sZJHYjhJv+a6jdL+Q87EUOohxeTBueTvhtWaRU2FsXzoPzJpPUWaLJw==","shasum":"f2b5a09df42c2d21e687a630ee04360c4a47ef5a","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.51-cta-narrow-docker-api.c318f96.tgz","fileCount":30,"unpackedSize":53064,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICpVh+CQI6t7dMzXHAUlbsgJWbL+RELSKLZOOpxXiVZQAiEAnBuW/+vW9e9xJbnfdGitEMTv0I4e2hqdceT4f9Hlg/o="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.51-cta-narrow-docker-api.c318f96_1693386257249_0.007542298017567228"},"_hasShrinkwrap":false},"0.0.51-inject-scripts.f43b9a2":{"name":"@preevy/plugin-github-pr-link","version":"0.0.51-inject-scripts.f43b9a2","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.51-inject-scripts.f43b9a2","@preevy/core":"0.0.51-inject-scripts.f43b9a2","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"bbd623d9cf1fa0f7e119968ebe588a985218afa1","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.51-inject-scripts.f43b9a2","_nodeVersion":"18.17.1","_npmVersion":"lerna/6.6.2/node@v18.17.1+x64 (linux)","dist":{"integrity":"sha512-4YqzHtsrK+fZYKRvaQcqvx3ShoORmdtIFLx3qNNlv4SflCN/0DOj4ABJDga70Ya28WpSsbDfXquJ3CEqJkt2KQ==","shasum":"560a499acefe555f1934ce9cd608803f7a6bc56d","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.51-inject-scripts.f43b9a2.tgz","fileCount":30,"unpackedSize":53043,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD13+2FGNGhV0n6OhTtxLTmYwJ8zjMcbjcso92Gn9QaggIhAIfZdcHEUaDR2/BjWIxEO5r6VsIEkKStahWs4lHWMR6B"}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.51-inject-scripts.f43b9a2_1693492992657_0.010231124545429182"},"_hasShrinkwrap":false},"0.0.51-eliya-add-cors.355ffbf":{"name":"@preevy/plugin-github-pr-link","version":"0.0.51-eliya-add-cors.355ffbf","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.51-eliya-add-cors.355ffbf","@preevy/core":"0.0.51-eliya-add-cors.355ffbf","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"774997644615e2d811233da74993b1ed2e638b01","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.51-eliya-add-cors.355ffbf","_nodeVersion":"18.17.1","_npmVersion":"lerna/6.6.2/node@v18.17.1+x64 (linux)","dist":{"integrity":"sha512-bd33u3mcqwWARnoXPUJr0+Sdr4cdizkj/yDUq40/rRz2WHzoStqEeB4Ak28r95wnDBLA73iFZUyWi6bNbEHRBg==","shasum":"9037c97f32f4314dfae021afdbea92747f4c8c62","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.51-eliya-add-cors.355ffbf.tgz","fileCount":30,"unpackedSize":53043,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBqIW3xPW/iN4HhuJg1fD8Vlckpco1OKA2TwFLRi4Ka5AiA/6Xx1X4ulf9kcUt7VpRmM/n/ETtxksjOk8UPayTvV2A=="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.51-eliya-add-cors.355ffbf_1693774857473_0.15428196469758415"},"_hasShrinkwrap":false},"0.0.51-eliya-add-cors.6a62653":{"name":"@preevy/plugin-github-pr-link","version":"0.0.51-eliya-add-cors.6a62653","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.51-eliya-add-cors.6a62653","@preevy/core":"0.0.51-eliya-add-cors.6a62653","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"b98943634a49ee8068e3a199ca83fae2bc7ee350","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.51-eliya-add-cors.6a62653","_nodeVersion":"18.17.1","_npmVersion":"lerna/6.6.2/node@v18.17.1+x64 (linux)","dist":{"integrity":"sha512-eUEH7zQQGJnV0cKSiW2GEV7FDtHUitVqxjbyti/FHzC3HkbszvAKkRaoLPhzDcHoRnWccIFqbay8GRWadUYhGg==","shasum":"63cb94799b4e3c744b2504981f20023ff20dde55","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.51-eliya-add-cors.6a62653.tgz","fileCount":30,"unpackedSize":53043,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGAHygxKi+UOI8eekHuzvBNwf/EyXLhkr0pJO6CsgYlbAiBOwxff0Esi5iw/uwr+cc59nYccStgs144kRZW3FqX3Aw=="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.51-eliya-add-cors.6a62653_1693812660545_0.7177236668365361"},"_hasShrinkwrap":false},"0.0.51-inject-scripts.09f78df":{"name":"@preevy/plugin-github-pr-link","version":"0.0.51-inject-scripts.09f78df","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.51-inject-scripts.09f78df","@preevy/core":"0.0.51-inject-scripts.09f78df","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"29c47b7953e82f55988df74f50ce60d026e990cc","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.51-inject-scripts.09f78df","_nodeVersion":"18.17.1","_npmVersion":"lerna/6.6.2/node@v18.17.1+x64 (linux)","dist":{"integrity":"sha512-Zj5R302r6a8ybKam7InRHQsUtlMfqmDoq44mkpU7cBOTCGHFlvnTuR7SdocDvGSW23WDn9DDsdLlg6u28Jm30A==","shasum":"fce51c51cd08782956b55b4346e68599fecda083","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.51-inject-scripts.09f78df.tgz","fileCount":30,"unpackedSize":53043,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIELKRIphIRvN4ebMuNv5uNVU+Yert94TKVZ1/WprWt6cAiEAqgCoWL4Em/J+6KS1r9vHCrTTTWephVrfzogzJ5kWvBM="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.51-inject-scripts.09f78df_1693830784319_0.8861833832346766"},"_hasShrinkwrap":false},"0.0.51-cta-narrow-docker-api.94bb3e5":{"name":"@preevy/plugin-github-pr-link","version":"0.0.51-cta-narrow-docker-api.94bb3e5","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.51-cta-narrow-docker-api.94bb3e5","@preevy/core":"0.0.51-cta-narrow-docker-api.94bb3e5","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"e6fae8058c388e5e40dd3a683bb123af1d245c61","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.51-cta-narrow-docker-api.94bb3e5","_nodeVersion":"18.17.1","_npmVersion":"lerna/6.6.2/node@v18.17.1+x64 (linux)","dist":{"integrity":"sha512-zqvc4imn+yXymvkA1Po/Cjqm2KGDfZpV0xhoPgckXGnbvMAoSK1HiVu3BZavJArglvZGrgoKLku71wyFPS3Lug==","shasum":"51b12b7e77dfae10f1cf35709bc5c46c76feb0c4","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.51-cta-narrow-docker-api.94bb3e5.tgz","fileCount":30,"unpackedSize":53064,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGXw3mQ+bSyiFLDJiI2Pv4Dq6aL+0H0QZWQ/5yW2gfBmAiBSyudOUXzuTuWZWVF/WGUm0ke+bjE8jd/Gr9SaxlwUbw=="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.51-cta-narrow-docker-api.94bb3e5_1693896176177_0.7681690248552684"},"_hasShrinkwrap":false},"0.0.51-inject-scripts.f01e1e9":{"name":"@preevy/plugin-github-pr-link","version":"0.0.51-inject-scripts.f01e1e9","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.51-inject-scripts.f01e1e9","@preevy/core":"0.0.51-inject-scripts.f01e1e9","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"34920d4ec0cc34ae660d50f3f99b9d7dd0c7e4db","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.51-inject-scripts.f01e1e9","_nodeVersion":"18.17.1","_npmVersion":"lerna/6.6.2/node@v18.17.1+x64 (linux)","dist":{"integrity":"sha512-nl/5QrZT8HiDxvEXsfYjSs/r0MnCQ8OTgNKH1394AAkj2715e5QfMg+gAWPNee1S6GzVOcFwGuYI93Wj70RtMQ==","shasum":"8ef27fb9f1556ed253171dde4149a0b07f019f50","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.51-inject-scripts.f01e1e9.tgz","fileCount":30,"unpackedSize":53043,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHq9qvdMJj0kYkObzywMmkglw1Ljo5DTHYUic2Rhyw0+AiBke3jjsWWJWOWzfWtJFLlBXBI2q7KoI9ixOYdS+XgQSA=="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.51-inject-scripts.f01e1e9_1693896197730_0.33343322919507234"},"_hasShrinkwrap":false},"0.0.51-main.ac56e32":{"name":"@preevy/plugin-github-pr-link","version":"0.0.51-main.ac56e32","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.51-main.ac56e32","@preevy/core":"0.0.51-main.ac56e32","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"5e70242041c7834b929206e7de4aa32c51d5d9ec","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.51-main.ac56e32","_nodeVersion":"18.17.1","_npmVersion":"lerna/6.6.2/node@v18.17.1+x64 (linux)","dist":{"integrity":"sha512-d/1TmJIA+0hUZI9ln3Lk00CfaxvycRgrudPN8Sqa4FAVjfBELhmgmE4n/Yg6lVC2KldtaSByonvJNbD5cMaUJA==","shasum":"252b69ef43d5ef785dd2c5ad96cd597b9b90df00","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.51-main.ac56e32.tgz","fileCount":30,"unpackedSize":53013,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDo2eHUylRHTtYJ9ClHJFO0g0KwHaVKUbJIVsqOXXZmJgIgD6hatOiJ603gWrhiHSHdJuk6/XX70PdkRiPKChw8D8w="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.51-main.ac56e32_1693902166898_0.13504184922232487"},"_hasShrinkwrap":false},"0.0.51-cta-narrow-docker-api.76c632a":{"name":"@preevy/plugin-github-pr-link","version":"0.0.51-cta-narrow-docker-api.76c632a","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.51-cta-narrow-docker-api.76c632a","@preevy/core":"0.0.51-cta-narrow-docker-api.76c632a","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"a67e04511662beb019549f04b53cf92dccb768ab","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.51-cta-narrow-docker-api.76c632a","_nodeVersion":"18.17.1","_npmVersion":"lerna/6.6.2/node@v18.17.1+x64 (linux)","dist":{"integrity":"sha512-zxmVpT7GYBP9zXVCCqdZZd93HkuJncKWl1aBoqVujWaY3mbUOTsXhci2bipjCrmkFtIlDIMBTMHe50xv/DwMow==","shasum":"496a2e64a6fdc93100272bc5429059ba638cec57","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.51-cta-narrow-docker-api.76c632a.tgz","fileCount":30,"unpackedSize":53064,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC3Dgt07bFp4EEeCYxII27Mg27kS3FBD3oHTy1jJ78t4wIhAOmZw068fWDKWmD6cVNvLfjVjW1zDoZ/kVeIX5VcQ8t7"}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.51-cta-narrow-docker-api.76c632a_1693996567030_0.8611854983176794"},"_hasShrinkwrap":false},"0.0.51-inject-scripts.3242b78":{"name":"@preevy/plugin-github-pr-link","version":"0.0.51-inject-scripts.3242b78","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.51-inject-scripts.3242b78","@preevy/core":"0.0.51-inject-scripts.3242b78","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"c67eafe97388005bbb7d2758fba1dd23bb97cf15","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.51-inject-scripts.3242b78","_nodeVersion":"18.17.1","_npmVersion":"lerna/6.6.2/node@v18.17.1+x64 (linux)","dist":{"integrity":"sha512-AozegpGx6WCMsy96SPfe42e+flFE/Io63JEqdK/QKZq+7N0nENKgqLHN4EHD/LVQBsWav4/KIBEyr9orfKl7sA==","shasum":"2765893e6cb0f1adf032e81ff0ec133f769652d6","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.51-inject-scripts.3242b78.tgz","fileCount":30,"unpackedSize":53043,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDljCzDd7FPPwS1OqA1rIcvNWLmRjk27j0rbNp9mjBt1AIgCn78/hT6ne3DzAO899bNl+ibmrwsz/oreOQNqYNShL4="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.51-inject-scripts.3242b78_1693996896426_0.0015342421796553651"},"_hasShrinkwrap":false},"0.0.51-main.fcd6601":{"name":"@preevy/plugin-github-pr-link","version":"0.0.51-main.fcd6601","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.51-main.fcd6601","@preevy/core":"0.0.51-main.fcd6601","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"28c89257af3d8b780ab2b373daf8e3d9751fc4ee","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.51-main.fcd6601","_nodeVersion":"18.17.1","_npmVersion":"lerna/6.6.2/node@v18.17.1+x64 (linux)","dist":{"integrity":"sha512-nKt7VfptpDd58KiewL+q2M4EDkTHaJJsxjfUouD8pDOUJ88aNPpgXvKk3RlqPsB1NfXNgoUhEpYZeo6i6HF0RA==","shasum":"e4317da7edfba03bed59a649f407b265aad90bfb","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.51-main.fcd6601.tgz","fileCount":30,"unpackedSize":53013,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCsdqfypPQKODCPcZZYFjRhAYcnRparPo+gpDK+3gG3OAIgMYGyGxBWUuvPMAU2flyhKpLbajhogZegDDS2CkYAeW8="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.51-main.fcd6601_1693996978296_0.8098055065367817"},"_hasShrinkwrap":false},"0.0.51-inject-scripts.dd6e75e":{"name":"@preevy/plugin-github-pr-link","version":"0.0.51-inject-scripts.dd6e75e","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.51-inject-scripts.dd6e75e","@preevy/core":"0.0.51-inject-scripts.dd6e75e","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"e81f3c78a4f30b37ccc9f248d7d6ad47cf693d71","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.51-inject-scripts.dd6e75e","_nodeVersion":"18.17.1","_npmVersion":"lerna/6.6.2/node@v18.17.1+x64 (linux)","dist":{"integrity":"sha512-m1nNP4CDyS6FucVo33XAQx0o1UorTjXBK4hYBSPBeI2TRFQa6jGd7gxfnu64rYg8fwLs+aY7t1AJDUyTSz2sWw==","shasum":"d5dddf86bb5e014e0561906687d368d1355f57c4","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.51-inject-scripts.dd6e75e.tgz","fileCount":30,"unpackedSize":53043,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEE0vwzMyGSQvy2GQl2WJwvIunG+jQ0Fg5rVPF+3NNOgAiEAsbRV3QGiKXGZS3Ce8zLxvUgnpcDToGqO6XI9BQpTlt8="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.51-inject-scripts.dd6e75e_1693997322906_0.059946682669996365"},"_hasShrinkwrap":false},"0.0.51-inject-scripts.3255aaa":{"name":"@preevy/plugin-github-pr-link","version":"0.0.51-inject-scripts.3255aaa","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.51-inject-scripts.3255aaa","@preevy/core":"0.0.51-inject-scripts.3255aaa","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"42e46b7c065aa0b874b655c8dec8cbafa5ad6e64","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.51-inject-scripts.3255aaa","_nodeVersion":"18.17.1","_npmVersion":"lerna/6.6.2/node@v18.17.1+x64 (linux)","dist":{"integrity":"sha512-WJEGUFQh8fOMaotypASL5bZOK0QNaiO3YBZm8+PnXbkqKnD0K7xYZoqedCw7nwGotnxrCfJbocziczpyHfKXpw==","shasum":"290cf1f1451a26d2e01c5279bac96d8763a51a25","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.51-inject-scripts.3255aaa.tgz","fileCount":30,"unpackedSize":53043,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHjq/DpiMCzAnh7uQ8BstjXuCA0n0EvUtCHgY8/rNLe5AiAGiZXzS2M93tEQSLmkbmsC0XZphkagpzLZNtX+j89qNg=="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.51-inject-scripts.3255aaa_1693997568439_0.4514096831248888"},"_hasShrinkwrap":false},"0.0.51-inject-scripts.604756e":{"name":"@preevy/plugin-github-pr-link","version":"0.0.51-inject-scripts.604756e","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.51-inject-scripts.604756e","@preevy/core":"0.0.51-inject-scripts.604756e","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"f19ef467a60cbcb5116918333d3c84d431ea2c5c","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.51-inject-scripts.604756e","_nodeVersion":"18.17.1","_npmVersion":"lerna/6.6.2/node@v18.17.1+x64 (linux)","dist":{"integrity":"sha512-Kl57NJqr1+QLz/xamrtvTYCPcB5jhODR80w0KLvSwHWfgNVidemSSxhF2vxYyZhwOWTberXb1a++Jqc802gGvA==","shasum":"c82f86d67ca4cadb35889da755547ea554e6d1bb","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.51-inject-scripts.604756e.tgz","fileCount":30,"unpackedSize":53043,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCP9kuJiTE0eSOlibnH8iVcCZzanqyGjzziDunOD26CsQIhAMm/oX/cidFGVCZoSDCm2dlLUe6fD1jHHAiqDOoPdw6/"}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.51-inject-scripts.604756e_1693999183312_0.5474809660663873"},"_hasShrinkwrap":false},"0.0.51-inject-scripts.cef4335":{"name":"@preevy/plugin-github-pr-link","version":"0.0.51-inject-scripts.cef4335","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.51-inject-scripts.cef4335","@preevy/core":"0.0.51-inject-scripts.cef4335","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"f976d3ebc3303709e662536406cc7f8ca64a8735","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.51-inject-scripts.cef4335","_nodeVersion":"18.17.1","_npmVersion":"lerna/6.6.2/node@v18.17.1+x64 (linux)","dist":{"integrity":"sha512-GwNYNEHPpEy70QzDI1uKEPI5mBi9Rf0hLVw25ReX7szWybGMRujBTROA679wACpAPryuDEfqVnzHb4ZqI/kzzA==","shasum":"8ef082c882c193c21a5f14b9bf31a8b32c210654","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.51-inject-scripts.cef4335.tgz","fileCount":30,"unpackedSize":53043,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCtWwITiVyf82BBUirZzMLkSJ8JeC9EGDwWyv0FqdV5vQIhAKC+f6ek0Nk7BXprHOJ1GUJo9R8HEPx7CNf4FcSJWVP8"}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.51-inject-scripts.cef4335_1694001541754_0.14071889795063797"},"_hasShrinkwrap":false},"0.0.51-cta-more-container-api.5a8ec8a":{"name":"@preevy/plugin-github-pr-link","version":"0.0.51-cta-more-container-api.5a8ec8a","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.51-cta-more-container-api.5a8ec8a","@preevy/core":"0.0.51-cta-more-container-api.5a8ec8a","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"e9bf4be81cee91740f630df432b69cb741652d97","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.51-cta-more-container-api.5a8ec8a","_nodeVersion":"18.17.1","_npmVersion":"lerna/6.6.2/node@v18.17.1+x64 (linux)","dist":{"integrity":"sha512-QL4gjvPHuR11ybueMnAMwVhCPsGuTGJda7nt+3FtIAcH34yIfDvOdtL9txfKSHPObG+PSGaxJGSH9xr13yLyXA==","shasum":"705290a264bdd8da76c2d4485484ca42a0275a49","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.51-cta-more-container-api.5a8ec8a.tgz","fileCount":30,"unpackedSize":53067,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDpTJ3Uk/ZudmOhhUz6ujbaDYkQfHFo2Dtg9msTEOcmoQIga8m68h5wfVI85YmkE3qQbuIYa0qbWN8Eeo/Mdj7e5jo="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.51-cta-more-container-api.5a8ec8a_1694004866679_0.433867193400733"},"_hasShrinkwrap":false},"0.0.51-main.57490a8":{"name":"@preevy/plugin-github-pr-link","version":"0.0.51-main.57490a8","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.51-main.57490a8","@preevy/core":"0.0.51-main.57490a8","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"7fae1aa1d1da4ee8bea9c049230799cdc27e0932","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.51-main.57490a8","_nodeVersion":"18.17.1","_npmVersion":"lerna/6.6.2/node@v18.17.1+x64 (linux)","dist":{"integrity":"sha512-HxQkAso7MgYZx7lVpkxq2psZO3GIkPxYG6LHxTEMNMljeoMhO/b/W6zraHDHtiOmBDeByi0XDO0p4VX+RBNfMg==","shasum":"241b410da47e63f6806b03356555b4a9032ca379","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.51-main.57490a8.tgz","fileCount":30,"unpackedSize":53013,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAUYauN/SMh7EQG1FAfMeFGZZ4kRfL+38XmQIg/dps1/AiEA9yOdQLo1AViDNWBoJsveBpQeGbxRYGieuoCfo0elAIg="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.51-main.57490a8_1694005324016_0.8475614590586864"},"_hasShrinkwrap":false},"0.0.51-main.0d983e1":{"name":"@preevy/plugin-github-pr-link","version":"0.0.51-main.0d983e1","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.51-main.0d983e1","@preevy/core":"0.0.51-main.0d983e1","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"6cee9455ea4da2d11e1876878fb82e27649848d2","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.51-main.0d983e1","_nodeVersion":"18.17.1","_npmVersion":"lerna/6.6.2/node@v18.17.1+x64 (linux)","dist":{"integrity":"sha512-b+2vM5NiV+HwTZNDNu5rQkHRNHq39+UfO+vYHoG0Q6u7+UHqqPLElYq4PwblaKHcDmTJ06TxnNzNTU7rbpStCA==","shasum":"0265d57770a28d3cdc3cd572c4188605da204711","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.51-main.0d983e1.tgz","fileCount":30,"unpackedSize":53013,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCzVL+sPbaCG2kl5BpEKd8YbBgfZcNV8En/bnHarQvFbwIgRcpKu1ac1zDYUpnrOL14L/jVPn2oRZg1smNEf9h6QmU="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.51-main.0d983e1_1694068868004_0.12162897849940268"},"_hasShrinkwrap":false},"0.0.51-main.32d6a26":{"name":"@preevy/plugin-github-pr-link","version":"0.0.51-main.32d6a26","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.51-main.32d6a26","@preevy/core":"0.0.51-main.32d6a26","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"552eb0e469035e9d0994a14a92729c6463bfe3e7","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.51-main.32d6a26","_nodeVersion":"18.17.1","_npmVersion":"lerna/6.6.2/node@v18.17.1+x64 (linux)","dist":{"integrity":"sha512-PUNDLZiQclvzxwbxUFMXtuAn8LW4WIKnRrCq86m9qsoYG/4RNenqoa2Y0Qn9sPMRuBZw/Uk0seVwboIUqaEJlA==","shasum":"c26c6ae9016bd78c4967c7c071c14cb7d4c496ac","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.51-main.32d6a26.tgz","fileCount":30,"unpackedSize":53013,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDkvNiDYs00sB/u1P7JdJ3IDKz8Q4ij8DXxmdXieLtCQAIgJtRZwhZQxdp770pwP0iS2E62cVvPdGh6MP2xJGWzhBE="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.51-main.32d6a26_1694412576280_0.4162155164853498"},"_hasShrinkwrap":false},"0.0.51-cta-well-behaved-close.812d651":{"name":"@preevy/plugin-github-pr-link","version":"0.0.51-cta-well-behaved-close.812d651","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.51-cta-well-behaved-close.812d651","@preevy/core":"0.0.51-cta-well-behaved-close.812d651","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"f50eebe72f427bdf35ff35a8541e589086d2a68f","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.51-cta-well-behaved-close.812d651","_nodeVersion":"18.17.1","_npmVersion":"lerna/6.6.2/node@v18.17.1+x64 (linux)","dist":{"integrity":"sha512-KjA4n1HfjJXrL/aR3lNVGFutcwekEKAU6pCxvptxl4fUSfhqEAKM0rPV1sPIlskkHHUiSmsSumyP26vfIG7gcg==","shasum":"e312ff87deeedcfe7a104874a5bdf88313c1bc2d","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.51-cta-well-behaved-close.812d651.tgz","fileCount":30,"unpackedSize":53067,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF8BOtQa22I5wJC+X6YtXCKlOZ67yNq8cxXLMU8RF+OTAiEA1CpDiXgvWl/e6GPwmQh7sh8W9mIYGc1Gjj8nmmrRawo="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.51-cta-well-behaved-close.812d651_1694448173534_0.9387129249238191"},"_hasShrinkwrap":false},"0.0.51-main.5e05799":{"name":"@preevy/plugin-github-pr-link","version":"0.0.51-main.5e05799","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.51-main.5e05799","@preevy/core":"0.0.51-main.5e05799","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"6b3ca7fbb6e6216a0afec27ad0b6ff2bcee2dbde","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.51-main.5e05799","_nodeVersion":"18.17.1","_npmVersion":"lerna/6.6.2/node@v18.17.1+x64 (linux)","dist":{"integrity":"sha512-ndFzPCcK6+GBohcsMbRUavB9Wt4Mwbj38sqy3cHf6HCCZfzHV+agCacij/VVq0RF/BWNzeWGzEjcQu6OQb59eg==","shasum":"f6d74a0d8d677ab249b03b0cf7fbbca04966bd6d","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.51-main.5e05799.tgz","fileCount":30,"unpackedSize":53013,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC84WwsPvGIPYP3r1n8hlYF89gzlirAG8dDjC2EYbnaxwIhALB8057Z2L8/RjS8XTPaPF3xrovtXYebp8NMGQDGRQeW"}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.51-main.5e05799_1694506410124_0.45737132091199983"},"_hasShrinkwrap":false},"0.0.51":{"name":"@preevy/plugin-github-pr-link","version":"0.0.51","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.51","@preevy/core":"0.0.51","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"c49c61d57f6306ea6be25dc56ba9d586a0232f67","types":"./dist/index.d.ts","_id":"@preevy/plugin-github-pr-link@0.0.51","_nodeVersion":"18.12.1","_npmVersion":"lerna/6.6.2/node@v18.12.1+arm64 (darwin)","dist":{"integrity":"sha512-T3jp9QjDJPemE9WFK6ABJ6NJkLjLmgXP8XAjaS8J3rRcM52wSMuB3nTXqg3PC4/TbX2xJrGeY1COYb/DebQX5Q==","shasum":"9a6f69af7a3fb6f20209ab930d6f4a00996c7631","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.51.tgz","fileCount":30,"unpackedSize":52974,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICJt7lu4PN6zCE13yE7mmCnM6GTGdI0+LAOLoA5ybnFXAiEA/z705Vob7nxymPwk7Wu2Z4TIRFRFxGlo+LW9S1b581k="}]},"_npmUser":{"name":"royra","email":"roy@razon.info"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.51_1694508540726_0.22724136383969462"},"_hasShrinkwrap":false},"0.0.51-tunnel-server-proactive-close.1ea9643":{"name":"@preevy/plugin-github-pr-link","version":"0.0.51-tunnel-server-proactive-close.1ea9643","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.51-tunnel-server-proactive-close.1ea9643","@preevy/core":"0.0.51-tunnel-server-proactive-close.1ea9643","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"ca0e7bdcea0fe29857af7f2ca8463d246e01d4a5","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.51-tunnel-server-proactive-close.1ea9643","_nodeVersion":"18.17.1","_npmVersion":"lerna/6.6.2/node@v18.17.1+x64 (linux)","dist":{"integrity":"sha512-gwg71IIkSYGhzeCqiylzr1vD0yGB+67VWWZfmZeFqmfy5RYMy/E4vVNzG1H1znqLicpQEdpkDfA5N+hnM48etQ==","shasum":"e9783430973b8f821a5e812049c5b6889fdd36a8","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.51-tunnel-server-proactive-close.1ea9643.tgz","fileCount":30,"unpackedSize":53088,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF3354s+RvNEw+LbB/7PjWUBWeHgMrml9EUTluXmi2XwAiEAvA94DydkoWz4CVsHHih+M794jC4CCJ8WO/Nafq1WvA4="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.51-tunnel-server-proactive-close.1ea9643_1695017663367_0.12013256565407993"},"_hasShrinkwrap":false},"0.0.51-main.81650b1":{"name":"@preevy/plugin-github-pr-link","version":"0.0.51-main.81650b1","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.51-main.81650b1","@preevy/core":"0.0.51-main.81650b1","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"bcb57ab728931b08db5fc909ff20e5e0b2c85a9c","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.51-main.81650b1","_nodeVersion":"18.17.1","_npmVersion":"lerna/6.6.2/node@v18.17.1+x64 (linux)","dist":{"integrity":"sha512-cqRNggvwFAKVriHdXHn/mjLlXH6X0klxZlNJlsnmJy9/SRpQf3ObZ/Ai4sn8R+54P+4DAl3H6W37uoLe11T8Yg==","shasum":"da0fcd0ccb16c10018ee4b7231fc92cc99019880","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.51-main.81650b1.tgz","fileCount":30,"unpackedSize":53013,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDR74QepKS9MXgufNLtAwQRHP1OlJltSFp+yo5UQWY1WAIgS+Rn/ZlCkBmVnFJ8dgqGup+bKbdU83AEWS/lIt7B7QM="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.51-main.81650b1_1695134769680_0.25006860255915253"},"_hasShrinkwrap":false},"0.0.51-git-context-as-paramater.1fe8f15":{"name":"@preevy/plugin-github-pr-link","version":"0.0.51-git-context-as-paramater.1fe8f15","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.51-git-context-as-paramater.1fe8f15","@preevy/core":"0.0.51-git-context-as-paramater.1fe8f15","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"edc06dc33da7b2a12fc9ddfb6ef1463ec50d22fa","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.51-git-context-as-paramater.1fe8f15","_nodeVersion":"18.18.0","_npmVersion":"lerna/6.6.2/node@v18.18.0+x64 (linux)","dist":{"integrity":"sha512-Pp/alX8WicdxqwD7h1aU8ef9Ed54HhMxoR0NDpLgYUpxoaLjgoQagf5SVEH0JO6AkUJtfZ+Roai2sRr1kmqmug==","shasum":"d93e8d498de1a60f239f53d890beaf2f6b35d3ef","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.51-git-context-as-paramater.1fe8f15.tgz","fileCount":30,"unpackedSize":53095,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAigQbsZYvGUMUIcDw6L3tw6Eh4ZamZwjUJBe1fiSS9fAiAksniYUgzA+3ASVth8BWnnjPTZ2Vc3dShEbXQjPJvZwA=="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.51-git-context-as-paramater.1fe8f15_1695745556235_0.16655512214608637"},"_hasShrinkwrap":false},"0.0.51-main.116a7fc":{"name":"@preevy/plugin-github-pr-link","version":"0.0.51-main.116a7fc","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.51-main.116a7fc","@preevy/core":"0.0.51-main.116a7fc","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"8968e76245bcefa07cf6284b4d7088d60108bcdd","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.51-main.116a7fc","_nodeVersion":"18.18.0","_npmVersion":"lerna/6.6.2/node@v18.18.0+x64 (linux)","dist":{"integrity":"sha512-JmQM4dlkCiVnrXzuLIASiJyyHbqr2d5SjOyIm09QzaFJ+kFsUic1rHNP9jJ9TrUXNPz9uvYM9JrXzitam+wdug==","shasum":"9d192cb52b345c24b5fceb3f41336fc551d49f9a","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.51-main.116a7fc.tgz","fileCount":30,"unpackedSize":53035,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDompTNwktvZ1EE9e2zZg3/Tr8LocNnm4ithTzC2AWO0wIgMKOFwJWKazfwh2A5GVUbOg3+M31ciwjmMPDIdANuiMA="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.51-main.116a7fc_1696181374340_0.8240527404249993"},"_hasShrinkwrap":false},"0.0.51-script-injection-updates.aa9da7a":{"name":"@preevy/plugin-github-pr-link","version":"0.0.51-script-injection-updates.aa9da7a","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.51-script-injection-updates.aa9da7a","@preevy/core":"0.0.51-script-injection-updates.aa9da7a","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"5b084add6c2e50a08de7dbd90e153279d9493ee9","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.51-script-injection-updates.aa9da7a","_nodeVersion":"18.18.0","_npmVersion":"lerna/6.6.2/node@v18.18.0+x64 (linux)","dist":{"integrity":"sha512-BMH2KrDypKbfImarXU8qVux+OhvevErqdC0SISwkm6xR9LeLFur73NSEAalDjYg9Bb9pLQ8McPyMT807XiHZDA==","shasum":"c525758a984ed12553121dc6aa89d29ca558d97e","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.51-script-injection-updates.aa9da7a.tgz","fileCount":30,"unpackedSize":53095,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGSgoRhL0AIOC5Ct2oyDtRY46hfCrQhsa+jo2JgaN89aAiBE4hWvyaFSDN+/3XqM+fqOLjQ4Ym4FaLbcEsxf6828Qg=="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.51-script-injection-updates.aa9da7a_1696235053095_0.01764916769384528"},"_hasShrinkwrap":false},"0.0.51-script-injection-updates.caa1d2f":{"name":"@preevy/plugin-github-pr-link","version":"0.0.51-script-injection-updates.caa1d2f","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.51-script-injection-updates.caa1d2f","@preevy/core":"0.0.51-script-injection-updates.caa1d2f","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"135ea23eef5f818f49362439dc520308a5fc96c9","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.51-script-injection-updates.caa1d2f","_nodeVersion":"18.18.0","_npmVersion":"lerna/6.6.2/node@v18.18.0+x64 (linux)","dist":{"integrity":"sha512-cjFFxXYg3U+M6xz/D+mae7y9s1h9bHshVkVz0KlfIBae9TnRP+Beo/Z2afgmSmsPCJB5mCDMP7Bh4i+YvUEt/A==","shasum":"dbff754be8382358fec8a699a892078c5cacd14a","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.51-script-injection-updates.caa1d2f.tgz","fileCount":30,"unpackedSize":53095,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH2Y+b3lv3lDIlawAxIMjYUsrbU0JJb/2CwNEP2aBvxRAiEAlSWzezy62M3BvZErphpMaEmFfmXWQH9CRObAT1BKF+E="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.51-script-injection-updates.caa1d2f_1696247109928_0.39750731490295066"},"_hasShrinkwrap":false},"0.0.51-main.1db2036":{"name":"@preevy/plugin-github-pr-link","version":"0.0.51-main.1db2036","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.51-main.1db2036","@preevy/core":"0.0.51-main.1db2036","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"4e615ee7cb599230fb8d9acb561571cc4b5122f2","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.51-main.1db2036","_nodeVersion":"18.18.0","_npmVersion":"lerna/6.6.2/node@v18.18.0+x64 (linux)","dist":{"integrity":"sha512-1OLO7I+cjhFxrrX3EfcZfyQ2vYKaPzrLJklG3OFXpRr8BrZ2ZoeR8rJVx1VqIVIzirLBt5f2I9U5YRFKLrDXEw==","shasum":"bb75139de061d1e2cfc7400774e7f302aaf07cb7","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.51-main.1db2036.tgz","fileCount":30,"unpackedSize":53035,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD+yWfarx2P1kRxVnmXAi05HvP+YhwH+FZCG6o458CqzAIgJcfNn7KZPGQ3W6MkXmnTY4nwTodURZ6/GfUoySNpoNo="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.51-main.1db2036_1696250597553_0.5892050018754851"},"_hasShrinkwrap":false},"0.0.51-script-injection-connect.355e925":{"name":"@preevy/plugin-github-pr-link","version":"0.0.51-script-injection-connect.355e925","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.51-script-injection-connect.355e925","@preevy/core":"0.0.51-script-injection-connect.355e925","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"dba850833b5d188bcfa94a7cd5a3609c0419226d","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.51-script-injection-connect.355e925","_nodeVersion":"18.18.0","_npmVersion":"lerna/6.6.2/node@v18.18.0+x64 (linux)","dist":{"integrity":"sha512-niUf02/IPRDCLHVKCLHHYVCkbsjKHjSm158+WSGs9xwmgxHk6ykQT/8fkLO8Oo1KG9CJbGAJFWF2vcOiWJS5Jw==","shasum":"acdaeff67a2289fab6769b8aeee9fc8970e7c00c","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.51-script-injection-connect.355e925.tgz","fileCount":30,"unpackedSize":53095,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCkR6fJTq548V1S96OtPRo7rARxDNOTje+ZsQwkxmTcmAIgZvGbA59YUf3L+SkaiiEEgkB0QIQRpusD93FX/LMIrhM="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.51-script-injection-connect.355e925_1696261013947_0.6052134909243005"},"_hasShrinkwrap":false},"0.0.51-script-injection-connect.073074e":{"name":"@preevy/plugin-github-pr-link","version":"0.0.51-script-injection-connect.073074e","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.51-script-injection-connect.073074e","@preevy/core":"0.0.51-script-injection-connect.073074e","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"ca3d08143f338313d37ffe5f3c2828f419baeb27","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.51-script-injection-connect.073074e","_nodeVersion":"18.18.0","_npmVersion":"lerna/6.6.2/node@v18.18.0+x64 (linux)","dist":{"integrity":"sha512-5DdMqefSR6u5npf6hMElgW+B4iW6UBzn8oxYhX2wuxdmuqwS2NGIsdHqpJhOU21I/RcwtbEwm/AJYInz/lQC4g==","shasum":"c7db016a59beec4ed4f372a8282a2bd0667ac92b","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.51-script-injection-connect.073074e.tgz","fileCount":30,"unpackedSize":53095,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDQaIVmGQS/E3uScaNXGDNWWGmifAuxCILb54bwBAUEtgIhAN8imnbJDerjQqofX0S+xxZWlVReUqxLmKmnN7O8nEbJ"}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.51-script-injection-connect.073074e_1696262665711_0.06959769567254837"},"_hasShrinkwrap":false},"0.0.51-main.28caec4":{"name":"@preevy/plugin-github-pr-link","version":"0.0.51-main.28caec4","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.51-main.28caec4","@preevy/core":"0.0.51-main.28caec4","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"d4a43778d2d56bef46e02e92c7b5146d915d0aea","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.51-main.28caec4","_nodeVersion":"18.18.0","_npmVersion":"lerna/6.6.2/node@v18.18.0+x64 (linux)","dist":{"integrity":"sha512-kOTz40pT3oGSF1JuYSa30ZLo2wFA8iATnjrrzaYB7OviIx2HdeA6Wu4s8DYSGaMPtafoynEUkMWhC9QmlckDHg==","shasum":"40cb6539651e6ba0ac41188834792fd0c3787831","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.51-main.28caec4.tgz","fileCount":30,"unpackedSize":53035,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICv+xCtjoOqfZfIFEB8C5hhXjxlCIXurbJvnlW+BmKdYAiEA0Ub9hgGJLerM/1RhB7f3hrxEpFETHpvw6gOcpyjEOGE="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.51-main.28caec4_1696265383672_0.08512208169950042"},"_hasShrinkwrap":false},"0.0.52":{"name":"@preevy/plugin-github-pr-link","version":"0.0.52","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.52","@preevy/core":"0.0.52","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"_id":"@preevy/plugin-github-pr-link@0.0.52","gitHead":"bd1bb02b28ac94444aabe05dc1d72cbd57bc6509","types":"./dist/index.d.ts","_nodeVersion":"18.18.0","_npmVersion":"9.8.1","dist":{"integrity":"sha512-s5Pt2saGCpvngE00mJwKMXDytTjKV8ydzNS7sHq7Vn0KM5GbqDqGklNEm7BU8GQR9AAENnKDEUt3XkpobRiUuQ==","shasum":"d21a6199ede54259fee0e2cb69ae3e86f2ba7724","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.52.tgz","fileCount":29,"unpackedSize":41582,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG+6mEHMQJACoHnzsPcZbUr3xhJVga1RM7kqaXsX+WSFAiEAy/t+s2UCYvF5meZlWM/L4eS4d+jBOUmoWJ5kqV/e6gw="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.52_1696266558034_0.6358445601777574"},"_hasShrinkwrap":false},"0.0.53-main.bd1bb02":{"name":"@preevy/plugin-github-pr-link","version":"0.0.53-main.bd1bb02","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.53-main.bd1bb02","@preevy/core":"0.0.53-main.bd1bb02","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"2097fdbcf14956bc92cfe3421e6b23c88f829498","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.53-main.bd1bb02","_nodeVersion":"18.18.0","_npmVersion":"lerna/6.6.2/node@v18.18.0+x64 (linux)","dist":{"integrity":"sha512-eLZ93EDSW5ZZ+onBgksoPIjISptwW8f7JT1SawucO1UmKZ9XOpvtoZibQGcmuOnWqIJ438ktxvO+mwjbkax7jQ==","shasum":"5591ec10d3823e3c371326b6afba6eac01676a50","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.53-main.bd1bb02.tgz","fileCount":30,"unpackedSize":53035,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCwWyM5ewdSJSDb1BFyslteYN0lWfAxLggw//ZNcYXUvQIhAJFHmoEu75MqUQvhtpQYH1vIKvyEVKts8uCdez3p5EQV"}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.53-main.bd1bb02_1696266601181_0.2660705623009727"},"_hasShrinkwrap":false},"0.0.53-main.8244f1f":{"name":"@preevy/plugin-github-pr-link","version":"0.0.53-main.8244f1f","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.53-main.8244f1f","@preevy/core":"0.0.53-main.8244f1f","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"c3f268cdf90a48e1ffd0befcb1df95e4206439b2","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.53-main.8244f1f","_nodeVersion":"18.18.0","_npmVersion":"lerna/6.6.2/node@v18.18.0+x64 (linux)","dist":{"integrity":"sha512-bVJSaYX9KY6PfBHFurITjzRY5oqf6iRzR7aKZ62vCSc678hqsFfiIVTKQwjBhHTBzu4r/IB3ol1lbVb251GMHQ==","shasum":"824b032928602639c1e0bc3e1368040ee83afc43","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.53-main.8244f1f.tgz","fileCount":30,"unpackedSize":53035,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDwksJYIv0GDUvX4NSwU/nkeOuaNFTTvPfrM3jlDuxkuAIhANrVIUTmdrH2RuBWzBAnPvKHFA8DMuVFZxo977QftMOe"}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.53-main.8244f1f_1696326591934_0.253666649992492"},"_hasShrinkwrap":false},"0.0.53":{"name":"@preevy/plugin-github-pr-link","version":"0.0.53","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.53","@preevy/core":"0.0.53","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"_id":"@preevy/plugin-github-pr-link@0.0.53","gitHead":"cd427bf40832e90d16e80346b3f4ee3ebc28e5bc","types":"./dist/index.d.ts","_nodeVersion":"18.18.0","_npmVersion":"9.8.1","dist":{"integrity":"sha512-3u4fRltcn+AMbVbAD0LAYMeEkw1fgoqbS+Jw/X0i2huRcrAp0cj93OASZTLFIeArR7jc/4b4qjZODkfTo2czSQ==","shasum":"dfabf708086f4b85147ecd5b8af208e780a87f97","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.53.tgz","fileCount":29,"unpackedSize":41582,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDpU8DC3EVlsJa6y8i5ZIBRyx9yCB8RWB8GUULAWXwztAiEAyfTSFM+bbftD+v+3HQt5+Du567cxxk0yqRwhI2ERCA4="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.53_1696326845064_0.28010394194112487"},"_hasShrinkwrap":false},"0.0.54-main.cd427bf":{"name":"@preevy/plugin-github-pr-link","version":"0.0.54-main.cd427bf","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.54-main.cd427bf","@preevy/core":"0.0.54-main.cd427bf","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"93d1fe6efb09e1953a6800309b0002400e1f754f","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.54-main.cd427bf","_nodeVersion":"18.18.0","_npmVersion":"lerna/6.6.2/node@v18.18.0+x64 (linux)","dist":{"integrity":"sha512-K3+oTsj08khyMD1C4lO2THxlbaasogKbowLl3c/+tftxdWW45OdVQzeKx5Xb66jieGdIhe3+grMjJTirAmm1fA==","shasum":"bc48e2b5238ac2b5e2155767205ef3989c6685ea","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.54-main.cd427bf.tgz","fileCount":30,"unpackedSize":53035,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDicULqtZmKu+RXaIWgankSCHBAtnae6FztrKmu5J+wWwIgBVV+maUPF0GrtKHyaZ8/T06RbpTuauvTwCaUqfyox2c="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.54-main.cd427bf_1696326876146_0.9336497016185406"},"_hasShrinkwrap":false},"0.0.54-main.065eac4":{"name":"@preevy/plugin-github-pr-link","version":"0.0.54-main.065eac4","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.54-main.065eac4","@preevy/core":"0.0.54-main.065eac4","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"bd20979a3a96ec32e518b6904a1734ff78ddbc71","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.54-main.065eac4","_nodeVersion":"18.18.0","_npmVersion":"lerna/6.6.2/node@v18.18.0+x64 (linux)","dist":{"integrity":"sha512-dA3fcqtSf5v/E/+sE5w98Z1NpSaIHongOgACMp3RLa2dZSumRkGozkgAQEjJETFxkrtUdRRyh/D8suqiIIbYRQ==","shasum":"cd52ccb6cbf280aa19d18b7dfa1db2b761c608c4","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.54-main.065eac4.tgz","fileCount":30,"unpackedSize":53035,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDn2PVF6sZ8bFdD31cHQHoCkP5pM2wilpBJnW0987GDFwIgTINxayeZ46zZQZIui7ZzEGiACpSEaVrzlYZwTLuTH3k="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.54-main.065eac4_1696500470268_0.3519162421835522"},"_hasShrinkwrap":false},"0.0.54-main.39b40c6":{"name":"@preevy/plugin-github-pr-link","version":"0.0.54-main.39b40c6","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.54-main.39b40c6","@preevy/core":"0.0.54-main.39b40c6","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"6.7.4","@typescript-eslint/parser":"6.7.4","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"9f297a4a666ca47ac28725d11387bece6d8a0905","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.54-main.39b40c6","_nodeVersion":"18.18.0","_npmVersion":"lerna/6.6.2/node@v18.18.0+x64 (linux)","dist":{"integrity":"sha512-jHKz3dRxxBwhqCC8q9/PZIjEtuQQigKIMC0OCzTe/ambhGHsxs2jtyhwOJxMeIXcsj00m5OuuHcxYk6uwqB7rg==","shasum":"a312b53b7a92f198a856b50846c3c9c28463eee3","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.54-main.39b40c6.tgz","fileCount":30,"unpackedSize":53031,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH5sY4D9xqfZoqs+tqobjNru/EjfLDJ+diRiQ5SWlpk/AiBhdCfrrwixGa/EiUw3lCwMqrmCqFdZi8cj7FOYRTMs7A=="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.54-main.39b40c6_1696503255660_0.7727579144112955"},"_hasShrinkwrap":false},"0.0.54-combine-prs-branch.65f25a4":{"name":"@preevy/plugin-github-pr-link","version":"0.0.54-combine-prs-branch.65f25a4","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.54-combine-prs-branch.65f25a4","@preevy/core":"0.0.54-combine-prs-branch.65f25a4","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"6.7.4","@typescript-eslint/parser":"6.7.4","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"631c3768fc43027b6947df9fcfa9402c61b711f3","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.54-combine-prs-branch.65f25a4","_nodeVersion":"18.18.0","_npmVersion":"lerna/6.6.2/node@v18.18.0+x64 (linux)","dist":{"integrity":"sha512-pApjue0pDkHmpvj9nJj7RQzCrdbFYWJYuCYOyGYwCCJCODS5DQvJwEHQbJfau9ortRJ3/CY/yQuVbh3DthmtAw==","shasum":"1bd2856d48e8511f709447d8b678ae8f402daf74","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.54-combine-prs-branch.65f25a4.tgz","fileCount":30,"unpackedSize":53073,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICWS2mkhgmz+NOIPrYSQDkvEnaBP1/CxJOZ6is1lwE9tAiB9RVFUN1S+sVIjbsb1uE9+qf3ktofHJq+JhpUwPm9FYw=="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.54-combine-prs-branch.65f25a4_1696506429923_0.10760531373005477"},"_hasShrinkwrap":false},"0.0.54-main.5d4f9fc":{"name":"@preevy/plugin-github-pr-link","version":"0.0.54-main.5d4f9fc","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.54-main.5d4f9fc","@preevy/core":"0.0.54-main.5d4f9fc","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"6.7.4","@typescript-eslint/parser":"6.7.4","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"3fb20159a8830325a7732eaf4f65c6e4607365fb","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.54-main.5d4f9fc","_nodeVersion":"18.18.0","_npmVersion":"lerna/6.6.2/node@v18.18.0+x64 (linux)","dist":{"integrity":"sha512-v2RMrWUDs4V9CMHNs675yfYVUDl0ZP6pSEE6ILHQr4O4Jg2YaFLAweuj+YcaqTsfNCzKOGXlYILlYTeEF29Ktg==","shasum":"2127291d0590ab89914fb5d933fb8ec31b44275e","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.54-main.5d4f9fc.tgz","fileCount":30,"unpackedSize":53031,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGAYtl52SG6UogUKsXbg1qhbX8SBtkL3AgmLvQkuCFZuAiEA+Dpy0i8Ga7MeGJZqKlKtFm06Y/98azT6Ld8oOsrAH8Y="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.54-main.5d4f9fc_1696506698119_0.015201061181789433"},"_hasShrinkwrap":false},"0.0.54-experimental-added-win-binary.fa0583d":{"name":"@preevy/plugin-github-pr-link","version":"0.0.54-experimental-added-win-binary.fa0583d","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.54-experimental-added-win-binary.fa0583d","@preevy/core":"0.0.54-experimental-added-win-binary.fa0583d","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"6.7.4","@typescript-eslint/parser":"6.7.4","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"d9b60c28dbd20d4f98927b60ece939d46e5b1d1c","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.54-experimental-added-win-binary.fa0583d","_nodeVersion":"18.18.0","_npmVersion":"lerna/6.6.2/node@v18.18.0+x64 (linux)","dist":{"integrity":"sha512-GkFCBXl2cha3TdnPAQaXD7xtJWSxj5WHVZnijAM5a5bhS+I8jWpOXzqj/heLzJdv6avwzXjUF43FyyUlZHtQiw==","shasum":"5d6727b133123ff94774e98f8482412f58c45528","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.54-experimental-added-win-binary.fa0583d.tgz","fileCount":30,"unpackedSize":53106,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDdPiW2NJdBle1/hGfs7FNMCAJy5H6IyOKBqf+KBT1jfAiEAtNIhqj4UN4Thn855n54Q7OsMLvmNME576Bsg7mKofJg="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.54-experimental-added-win-binary.fa0583d_1697365466931_0.4493595609775194"},"_hasShrinkwrap":false},"0.0.54-main.c79a72b":{"name":"@preevy/plugin-github-pr-link","version":"0.0.54-main.c79a72b","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.54-main.c79a72b","@preevy/core":"0.0.54-main.c79a72b","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"6.7.4","@typescript-eslint/parser":"6.7.4","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"c3e4bb968e03faa64d8314c50e3248f57173b889","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.54-main.c79a72b","_nodeVersion":"18.18.0","_npmVersion":"lerna/6.6.2/node@v18.18.0+x64 (linux)","dist":{"integrity":"sha512-RcKu41vICp+HXhCdjeWuwnmhiKXGNPO5C+DXMxxIh6SQ4Ni6Wfz5ICHIC+f83F1wFkEFLsWZPVfUSQYlt4c1hg==","shasum":"c232471b4f464eb48b1f68d305466006efeca738","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.54-main.c79a72b.tgz","fileCount":30,"unpackedSize":53031,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDRHMnL7tspp/oFJi42e/67cX1xgV+0FQexuu/oS/Jv6AIhAOiS3M3Z0BsLS7XnyqXnCWJ0NeOPjja7H42qaoKuS8GM"}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.54-main.c79a72b_1697379165707_0.8616428019154305"},"_hasShrinkwrap":false},"0.0.54-experimental-added-win-binary.741322e":{"name":"@preevy/plugin-github-pr-link","version":"0.0.54-experimental-added-win-binary.741322e","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.54-experimental-added-win-binary.741322e","@preevy/core":"0.0.54-experimental-added-win-binary.741322e","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"6.7.4","@typescript-eslint/parser":"6.7.4","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"a1786f6a7ac36a5a7a5d0f23fa905c3d16f0bdd0","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.54-experimental-added-win-binary.741322e","_nodeVersion":"18.18.0","_npmVersion":"lerna/6.6.2/node@v18.18.0+x64 (linux)","dist":{"integrity":"sha512-Q/MTipExbwpmGardDZwpn8UE7Skytz1RFP/t/9LKX6GGBvB2Hr3f6wRcx8+5dnWaZ5Cimf9c+mhhmEvK4l+uCQ==","shasum":"84486a217b6791ee64729418ba5deed24db54223","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.54-experimental-added-win-binary.741322e.tgz","fileCount":30,"unpackedSize":53106,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID/5Q2wE2QAjRemhDwNNP34I3pKbgyprdu7ICdExhwhaAiA84X7ck8vq+IxfXQhJus/pGVXf0SFYEa6Ot56ai83Gxw=="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.54-experimental-added-win-binary.741322e_1697379881032_0.2319532242604856"},"_hasShrinkwrap":false},"0.0.54-experimental-added-win-binary.3911278":{"name":"@preevy/plugin-github-pr-link","version":"0.0.54-experimental-added-win-binary.3911278","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.54-experimental-added-win-binary.3911278","@preevy/core":"0.0.54-experimental-added-win-binary.3911278","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"6.7.4","@typescript-eslint/parser":"6.7.4","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"52fd6c21dc00fc2b75818301d1b561b8651a6483","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.54-experimental-added-win-binary.3911278","_nodeVersion":"18.18.0","_npmVersion":"lerna/6.6.2/node@v18.18.0+x64 (linux)","dist":{"integrity":"sha512-37LX50SOrvgV5G2522pll8FmYW9STTrBn6NdqVOfxQUEvjVe4xfsb5tsP3P+RV3+UKuTjv62P2zyehKDibvC1g==","shasum":"88a8fbe9e99cd51170d5c3760a3c8cb594e191c9","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.54-experimental-added-win-binary.3911278.tgz","fileCount":30,"unpackedSize":53106,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEJeMlMJDFBZY2hLy1Q+WqY6EC3U9pXuTIIOaCkvG1xoAiEA5a59z4+TAgyHxP747DGqkbx0/dPHByknLfs+PY8ed9k="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.54-experimental-added-win-binary.3911278_1697445874129_0.4620475694535331"},"_hasShrinkwrap":false},"0.0.54-main.10497c8":{"name":"@preevy/plugin-github-pr-link","version":"0.0.54-main.10497c8","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.54-main.10497c8","@preevy/core":"0.0.54-main.10497c8","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"6.7.4","@typescript-eslint/parser":"6.7.4","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"69004227def7ad3ee14f55b78992f38b969740ef","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.54-main.10497c8","_nodeVersion":"18.18.0","_npmVersion":"lerna/6.6.2/node@v18.18.0+x64 (linux)","dist":{"integrity":"sha512-xja8pBbuFbmEuGd6qqn8FfdqaYSVjybkWavgCed3Hjz+4LUNeE3uH2MJ67EPy/o6dyS+JIhuF8ojIIxZgAeudQ==","shasum":"24891d4c4da851e0cbfe6c533af5718e94bd2ab9","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.54-main.10497c8.tgz","fileCount":30,"unpackedSize":53031,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID1IWYIBCYNOe72Hqyk8iBGLTzc3UsnDeVb0oOCOBc8lAiEAnRUsK02mpXW/rOVmtjI8aKiIZey9FO9OIdXYGvIEYHc="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.54-main.10497c8_1697455311903_0.19057173933382598"},"_hasShrinkwrap":false},"0.0.55-main.954e402":{"name":"@preevy/plugin-github-pr-link","version":"0.0.55-main.954e402","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.55-main.954e402","@preevy/core":"0.0.55-main.954e402","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"6.7.4","@typescript-eslint/parser":"6.7.4","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"5aceae51fea3c109e513571b9eaf1ce9f29f1404","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.55-main.954e402","_nodeVersion":"18.18.0","_npmVersion":"lerna/6.6.2/node@v18.18.0+x64 (linux)","dist":{"integrity":"sha512-HEMKdIzSZTnXJr9hfjmja3ELK2pIwxJsgaVSfa6DkTh9RG9Iz4CvZDbhEfSCZKR7Vj+eo3M0W/zuxnivuY/a5A==","shasum":"f75f25941b09b383d5b1f35b0b5afb1db5cb9e34","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.55-main.954e402.tgz","fileCount":30,"unpackedSize":53031,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFg1pS8UiBJ6p+cq0909Y5HDexJwpp8OfiZvZQcWWlSFAiEAx0QgLwkUUM3KeJ9R1dKb4rDo8l7nvhZqAEEHdETIkI0="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.55-main.954e402_1697456107397_0.863615983825528"},"_hasShrinkwrap":false},"0.0.55":{"name":"@preevy/plugin-github-pr-link","version":"0.0.55","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.55","@preevy/core":"0.0.55","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"6.7.4","@typescript-eslint/parser":"6.7.4","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"_id":"@preevy/plugin-github-pr-link@0.0.55","gitHead":"13442fbc4af7aa705d39eeca2350427bacdd0510","types":"./dist/index.d.ts","_nodeVersion":"18.18.0","_npmVersion":"9.8.1","dist":{"integrity":"sha512-s0+8gIbAji/ZuFXAoLLcdn329yyHJlCLpGwd6zKSxb8hkvVrRoFrv/QTa+3HGlLT4CCY7qWm6CXQwhZH03VLrA==","shasum":"23e5782c9415d8e2c29f1ad4d44b6c932f3070e5","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.55.tgz","fileCount":29,"unpackedSize":41578,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFtJ0sGCKv60O3/hgaz6fgJMI2QX9A3FHn6P21giA+xIAiEAiG7nP6cazuF+jYzIUm+OM0SgHyAOS8eNryr+2REgnhI="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.55_1697615365266_0.3869686539686483"},"_hasShrinkwrap":false},"0.0.56-main.13442fb":{"name":"@preevy/plugin-github-pr-link","version":"0.0.56-main.13442fb","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.56-main.13442fb","@preevy/core":"0.0.56-main.13442fb","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"6.7.4","@typescript-eslint/parser":"6.7.4","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"d8a66a108fa7598f32ba8ed81dfa08ffcb046f7d","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.56-main.13442fb","_nodeVersion":"18.18.2","_npmVersion":"lerna/6.6.2/node@v18.18.2+x64 (linux)","dist":{"integrity":"sha512-jt5ZfZazmDMP5V/Vb5tQQPKeU+rSemPKHxUa2VviHVuZGVaoMbOR3KwajxMrSjBuhbsJzyJkh9drCvDwAK3Wkg==","shasum":"6601d332cb8b29b8caf86c56cafeec0fb0ff2629","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.56-main.13442fb.tgz","fileCount":30,"unpackedSize":53031,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCJpj2JnFjVahRMpbwUfGXDNds3VxhlOeg6Hh00aawz5AIhAMQSiNbnAsAXZjWM/czLZcjgBv4vA0hOVTfDK0NeNqGq"}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.56-main.13442fb_1697615377112_0.036119351533559385"},"_hasShrinkwrap":false},"0.0.56-preevy-login-at-init.97f8399":{"name":"@preevy/plugin-github-pr-link","version":"0.0.56-preevy-login-at-init.97f8399","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.56-preevy-login-at-init.97f8399","@preevy/core":"0.0.56-preevy-login-at-init.97f8399","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"6.7.4","@typescript-eslint/parser":"6.7.4","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"33a4b4a3ae415b03dd51e3c8ff1d393acdc37d11","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.56-preevy-login-at-init.97f8399","_nodeVersion":"18.18.0","_npmVersion":"lerna/6.6.2/node@v18.18.0+x64 (linux)","dist":{"integrity":"sha512-PsxPQ9mlD/nTfEPho0zlkrEUFP6qUGUIRcKOxfoFXcZSs6KVQcjPfPqgQ5d6P42MOQ+OK7qTg1PureYwtZGJZQ==","shasum":"abbc6e62edfb8bf03b27ffa938e79ea3b9f966d8","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.56-preevy-login-at-init.97f8399.tgz","fileCount":30,"unpackedSize":53079,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEVvUVQ0rU3s+eHR8Mp2ubgb4UDj/eW3c8HyYqi3v2ThAiEA9l0PpUOnoY9tMIxeZomdvQ/YZlnIrluOFKz4ya/ar9Y="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.56-preevy-login-at-init.97f8399_1697624901974_0.9766159221117034"},"_hasShrinkwrap":false},"0.0.56-preevy-login-at-init.788c7bd":{"name":"@preevy/plugin-github-pr-link","version":"0.0.56-preevy-login-at-init.788c7bd","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.56-preevy-login-at-init.788c7bd","@preevy/core":"0.0.56-preevy-login-at-init.788c7bd","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"6.7.4","@typescript-eslint/parser":"6.7.4","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"a8a5f828dc7469f5fa18b5cfae4041561c793ed1","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.56-preevy-login-at-init.788c7bd","_nodeVersion":"18.18.0","_npmVersion":"lerna/6.6.2/node@v18.18.0+x64 (linux)","dist":{"integrity":"sha512-IKvt8LSimSLG7Ew2aSCvnkx9KnlhS13uD+aYNvhnjOlXfZNEPWja42EeTeVZdVkwMPdloXCNOJUf7SXtCOuIHQ==","shasum":"c9699924d5822e1843e841ddfe58b8b6ec4b440c","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.56-preevy-login-at-init.788c7bd.tgz","fileCount":30,"unpackedSize":53079,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC8FLDSeaEPcuZaeeUgTQMmnzOEZ80sraUk78X+1BHrSgIgDuVJ10+/w3xSdzogWrRYoLMfoygn1i3c5Cv4X8biqhg="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.56-preevy-login-at-init.788c7bd_1697625924854_0.697653580406222"},"_hasShrinkwrap":false},"0.0.56-main.4ab73c6":{"name":"@preevy/plugin-github-pr-link","version":"0.0.56-main.4ab73c6","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.56-main.4ab73c6","@preevy/core":"0.0.56-main.4ab73c6","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"6.7.4","@typescript-eslint/parser":"6.7.4","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"a0b47af524a6d12ef3a0cfd48b324f2d97486808","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.56-main.4ab73c6","_nodeVersion":"18.18.2","_npmVersion":"lerna/6.6.2/node@v18.18.2+x64 (linux)","dist":{"integrity":"sha512-xgAT02O9rsy9H8zSRIU8OdpLMb6vuCWWaWeARXakpjO20KEo60veKGQhwMkkAZL0rPPAUa2AZt4d2d49djLwPQ==","shasum":"da8d7ef1c03001de88bb8b20a4b48c8a2d57ed52","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.56-main.4ab73c6.tgz","fileCount":30,"unpackedSize":53031,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDmoq1TxG88QvE5aoSusl5GK9RTuRll2MfSTFjWSfszSAIhAK/+eK2pf4xjrbKggTGoDubRkklSi/NCcE4EwUYv64tV"}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.56-main.4ab73c6_1697967640678_0.7707680456360975"},"_hasShrinkwrap":false},"0.0.56-cli-profile-cp.377ae1a":{"name":"@preevy/plugin-github-pr-link","version":"0.0.56-cli-profile-cp.377ae1a","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.56-cli-profile-cp.377ae1a","@preevy/core":"0.0.56-cli-profile-cp.377ae1a","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"6.7.4","@typescript-eslint/parser":"6.7.4","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"88ec3231c0b4d9dea68507d3bb69ab4e73267618","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.56-cli-profile-cp.377ae1a","_nodeVersion":"18.18.2","_npmVersion":"lerna/6.6.2/node@v18.18.2+x64 (linux)","dist":{"integrity":"sha512-LrLdy3/vu4eKQdXw3mE3nYfewt98oPvR0fiZIsQ8tE1/0KrqC/ga47WlavwzuzzLt3dFrJmN3PsMW0GoW6M1gA==","shasum":"056f706d0017a2f8a82a6421771dff10b0b678ea","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.56-cli-profile-cp.377ae1a.tgz","fileCount":30,"unpackedSize":53061,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCc9gshEYpyIIT96AwSi4jQfzaxXcxZaOUSh019npziLAIhAMlyMcXb+FpeBl9Z5/FSzyrYxLGXrl/J8WOF+AfpG+GW"}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.56-cli-profile-cp.377ae1a_1698241288915_0.19199051180996163"},"_hasShrinkwrap":false},"0.0.56-cli-profile-cp.70bfaf5":{"name":"@preevy/plugin-github-pr-link","version":"0.0.56-cli-profile-cp.70bfaf5","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.56-cli-profile-cp.70bfaf5","@preevy/core":"0.0.56-cli-profile-cp.70bfaf5","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"6.7.4","@typescript-eslint/parser":"6.7.4","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"4eec4096b818c926ef90c2ba791dd95d0c84821f","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.56-cli-profile-cp.70bfaf5","_nodeVersion":"18.18.2","_npmVersion":"lerna/6.6.2/node@v18.18.2+x64 (linux)","dist":{"integrity":"sha512-romVvMoQmZj2TXTbPfwrcIZp8s0OzBJNSjTJMS/8dhBz56Pu6zBUoTHR7YbcAh8oJNKD4oZDJYTdG0sUBgBuxA==","shasum":"fd85bde4212f563e25b30129ffa51908597fea98","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.56-cli-profile-cp.70bfaf5.tgz","fileCount":30,"unpackedSize":53061,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDBqzCmYzB7yEqu3T/NC9VHTF3lQ0Fwar6oRIUmdA3FhwIgFOYg0QyligiDWJqEkLA7XAI5Actuap09fEkB0e9bPvg="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.56-cli-profile-cp.70bfaf5_1698241791845_0.8282620489412718"},"_hasShrinkwrap":false},"0.0.56-cli-profile-cp.4dab17c":{"name":"@preevy/plugin-github-pr-link","version":"0.0.56-cli-profile-cp.4dab17c","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.56-cli-profile-cp.4dab17c","@preevy/core":"0.0.56-cli-profile-cp.4dab17c","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"6.7.4","@typescript-eslint/parser":"6.7.4","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"06def1726e601acb6d3439f73ea8fc2a9f3c1e43","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.56-cli-profile-cp.4dab17c","_nodeVersion":"18.18.2","_npmVersion":"lerna/6.6.2/node@v18.18.2+x64 (linux)","dist":{"integrity":"sha512-j0ofUzQ7seQDOvuXBSQp4jvl52/MYFUKdqoUQDtFv2WIdCe8qAp0LQl7qbp4zzocSs+BLZRfCqkD8mC+CY1/pw==","shasum":"acad7476c0cbc3f47d83187fd07622ebad81c849","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.56-cli-profile-cp.4dab17c.tgz","fileCount":30,"unpackedSize":53061,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDQYH+ubZ7LiiAP3uNo4n4chmxsV1FlSv0moEe4HEnx/AiEAvMFAO1/5vJrobmKNXO7jcmbYcj0Ord7hU9VDhD8Fue4="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.56-cli-profile-cp.4dab17c_1698241819003_0.06026297600844077"},"_hasShrinkwrap":false},"0.0.56-cli-profile-cp.6fe3829":{"name":"@preevy/plugin-github-pr-link","version":"0.0.56-cli-profile-cp.6fe3829","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.56-cli-profile-cp.6fe3829","@preevy/core":"0.0.56-cli-profile-cp.6fe3829","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"6.7.4","@typescript-eslint/parser":"6.7.4","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"5410eb6d1ffce870214e8b914b3b20caad674c9c","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.56-cli-profile-cp.6fe3829","_nodeVersion":"18.18.2","_npmVersion":"lerna/6.6.2/node@v18.18.2+x64 (linux)","dist":{"integrity":"sha512-EdEAo9btpj6Rdur6wM86UfNeceQAyNqeIS44UuhhfiSjwRDnsjm4uu6zNhO/w2RERYREBct75RsgTGaImB2KRQ==","shasum":"1dbf706d01f1c59d1ee3308ac1c450a473471a49","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.56-cli-profile-cp.6fe3829.tgz","fileCount":30,"unpackedSize":53061,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCf+gcVHXXCam6fnl4v+0ek5tSjGuiVKLWJQNu/r/P48wIgdd7nYf+QzHHHdkhhCgPcgexV1nGH1ZZh36BZnMuZj84="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.56-cli-profile-cp.6fe3829_1698243356636_0.9969911162884608"},"_hasShrinkwrap":false},"0.0.56-cli-profile-cp.d503b25":{"name":"@preevy/plugin-github-pr-link","version":"0.0.56-cli-profile-cp.d503b25","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.56-cli-profile-cp.d503b25","@preevy/core":"0.0.56-cli-profile-cp.d503b25","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"6.7.4","@typescript-eslint/parser":"6.7.4","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"bdd6639a54685d1393b5f269838b7c8c4b8d8e12","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.56-cli-profile-cp.d503b25","_nodeVersion":"18.18.2","_npmVersion":"lerna/6.6.2/node@v18.18.2+x64 (linux)","dist":{"integrity":"sha512-xVd9UVYLwkq6GYJwgufVXW6OrQIQ8rMryer7vOf9kXiGP7wfmLSZoG8N3VOYataHAZj0c/WPVupThcz78S9pGw==","shasum":"6eeb48823679c1570866bde857e1b62f6fc7b894","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.56-cli-profile-cp.d503b25.tgz","fileCount":30,"unpackedSize":53061,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDao6EW37fxpS7xzpEmCAZKs4y6QQXVsa871iZv0xumgAIhAJGInuZn/XBRJbakSpLdcCqaCrVanVzWM3B3XspiGYOc"}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.56-cli-profile-cp.d503b25_1698243569411_0.6458912707850442"},"_hasShrinkwrap":false},"0.0.56-cli-logo.6b2a63a":{"name":"@preevy/plugin-github-pr-link","version":"0.0.56-cli-logo.6b2a63a","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.56-cli-logo.6b2a63a","@preevy/core":"0.0.56-cli-logo.6b2a63a","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"6.7.4","@typescript-eslint/parser":"6.7.4","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"db18567afc2543e30c33feb709da0aa11999f493","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.56-cli-logo.6b2a63a","_nodeVersion":"18.18.2","_npmVersion":"lerna/6.6.2/node@v18.18.2+x64 (linux)","dist":{"integrity":"sha512-7VmVjAR4EAprru/Y1XlvCLDAQkzaT44Jw3nEUODATElP/HoQWYvtPetLBr7QffLRTWZ7QY4fIRoGhQWJ6mywnA==","shasum":"b2372899583fde52efe21202d71214a81049477f","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.56-cli-logo.6b2a63a.tgz","fileCount":30,"unpackedSize":53043,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG7REUJdz5CxCYMB6Wr8ilIs1cIjZxPp16Z+RiZXDyAJAiEAjRn7EHxzaCwnUzBWWHr4bYsmK1Rzk4bkLflssPEF4tc="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.56-cli-logo.6b2a63a_1698307609668_0.4174529246514993"},"_hasShrinkwrap":false},"0.0.56-cli-logo.ecb9a0e":{"name":"@preevy/plugin-github-pr-link","version":"0.0.56-cli-logo.ecb9a0e","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.56-cli-logo.ecb9a0e","@preevy/core":"0.0.56-cli-logo.ecb9a0e","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"6.7.4","@typescript-eslint/parser":"6.7.4","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"10a7151b2dda4369c297cc538f48ee7b987eef5d","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.56-cli-logo.ecb9a0e","_nodeVersion":"18.18.2","_npmVersion":"lerna/6.6.2/node@v18.18.2+x64 (linux)","dist":{"integrity":"sha512-y7/OHy9q6ku8djiCazC0UdeZEggAzIzz8ybtXyQ18EW1E7GvLM94XnMXdvUW8BqFmU9RDKZDjLWcuckaP+SSBw==","shasum":"7c405b41378062fdb8acdae29977ce52fa3c6d01","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.56-cli-logo.ecb9a0e.tgz","fileCount":30,"unpackedSize":53043,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDtx4yyKGk4mKzOdKDPHNemDAD9KQ99L1mHIjNmhoarBAIhAOp5muTnGv6Ol7QHav5kCBmvZ0vhEGHHuPH1NTJLTA6y"}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.56-cli-logo.ecb9a0e_1698317752473_0.36222217220762976"},"_hasShrinkwrap":false},"0.0.56-main.a5a100b":{"name":"@preevy/plugin-github-pr-link","version":"0.0.56-main.a5a100b","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.56-main.a5a100b","@preevy/core":"0.0.56-main.a5a100b","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"6.7.4","@typescript-eslint/parser":"6.7.4","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"ad4c91bc269108af6496d6c9870d074aa80d40ac","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.56-main.a5a100b","_nodeVersion":"18.18.2","_npmVersion":"lerna/6.6.2/node@v18.18.2+x64 (linux)","dist":{"integrity":"sha512-fdXyANLkJG84t0lDFcd8gsiumuPfdY4+4VM+S/2dHa10ynSuuNR7NGemWwp5IDdrMBX/kPtP1m72GY7K4NS7PQ==","shasum":"e85e87efc35da0bbb35540543cff9c70c6e177cf","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.56-main.a5a100b.tgz","fileCount":30,"unpackedSize":53031,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBMI2RvL9uEgef0H4gR6hFFcpnJw28hwEhyLGpA2AbhZAiEA7zKln2EWELH/ZTzPrK7xamM6jjFLkL0FZUMmKHPuA+U="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.56-main.a5a100b_1698318049767_0.6171806569740284"},"_hasShrinkwrap":false},"0.0.56-main.65eae06":{"name":"@preevy/plugin-github-pr-link","version":"0.0.56-main.65eae06","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.56-main.65eae06","@preevy/core":"0.0.56-main.65eae06","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"6.7.4","@typescript-eslint/parser":"6.7.4","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"e0ddbcdfe480a09ef54603e0afa38529c3f5de58","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.56-main.65eae06","_nodeVersion":"18.18.2","_npmVersion":"lerna/6.6.2/node@v18.18.2+x64 (linux)","dist":{"integrity":"sha512-Q4L7k1u4jDxNvmaIsYzLPa9kc75nQFj9OU/UgQLB0kxqHnuboxkbdEf142WJSGUPMNJVVQPiwr+KHcyvV/lRpg==","shasum":"0c6616a343a67860e0c643a6509de2f56db3a189","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.56-main.65eae06.tgz","fileCount":30,"unpackedSize":53031,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCXcWh9FukjAE8j+OsgAGJlHWoWe36n8N58JYkK913RegIgNpENIWWma6P8/IHoB1WKeu97yeimZzVEl5oD4TM9+Y8="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.56-main.65eae06_1698318457115_0.7050219734808216"},"_hasShrinkwrap":false},"0.0.56-main.2f68d57":{"name":"@preevy/plugin-github-pr-link","version":"0.0.56-main.2f68d57","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.56-main.2f68d57","@preevy/core":"0.0.56-main.2f68d57","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^2.0.14"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"6.7.4","@typescript-eslint/parser":"6.7.4","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"601ce0d95916034d2f2e97030e954597a89f7e43","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.56-main.2f68d57","_nodeVersion":"18.18.2","_npmVersion":"lerna/6.6.2/node@v18.18.2+x64 (linux)","dist":{"integrity":"sha512-TvWz1nf9e3aZH2WvIH6QBggZW3AZEBtCfpi/Gy8mo4nYa7OrfjCtxM3al9wukZrDKZnWfjmCe9xWPs9wPCYu5g==","shasum":"5d7cc9d459db39e689c1c0a8491bf586dbb282a8","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.56-main.2f68d57.tgz","fileCount":30,"unpackedSize":53031,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC1gDIPPIoFX77bto14nee7th1gpinvA1RCTrI9NZ45TAIhAI19wI50aP4ept1N+JDigHk4Vg0G5U3Vbjhb5SRb5AVU"}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.56-main.2f68d57_1698318634800_0.6593028739178313"},"_hasShrinkwrap":false},"0.0.56-main.247c122":{"name":"@preevy/plugin-github-pr-link","version":"0.0.56-main.247c122","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.56-main.247c122","@preevy/core":"0.0.56-main.247c122","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^3.1.1"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"6.7.4","@typescript-eslint/parser":"6.7.4","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"6a86debaa12b6034692e635f9aab66de1a74ba45","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.56-main.247c122","_nodeVersion":"18.18.2","_npmVersion":"lerna/6.6.2/node@v18.18.2+x64 (linux)","dist":{"integrity":"sha512-HrOJnWCf8qBEiYVouWZOYTG26unQ7zINgDUI03RQcVLUy8a1jYyJyFSvyQMgwyR6y4CPj6xa3VXAH9FSTVW+pA==","shasum":"c2c761e52e6baaa614d6dc074c53fe4562a81b6c","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.56-main.247c122.tgz","fileCount":30,"unpackedSize":53030,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDNIOSEcpsP6+DrAiRHQuWGOIsZaD3sBj+wbz7aE5C0JQIgEFaS505BE3ISzw559Olqr42dhG9xpcTvjOvBNuydW8Q="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.56-main.247c122_1698651243805_0.45045903589112934"},"_hasShrinkwrap":false},"0.0.56-main.053384a":{"name":"@preevy/plugin-github-pr-link","version":"0.0.56-main.053384a","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.56-main.053384a","@preevy/core":"0.0.56-main.053384a","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^3.1.1"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"6.7.4","@typescript-eslint/parser":"6.7.4","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"b2b4d5af9127ee347b3de1dda6f625b575efcd3a","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.56-main.053384a","_nodeVersion":"18.18.2","_npmVersion":"lerna/6.6.2/node@v18.18.2+x64 (linux)","dist":{"integrity":"sha512-X1JKvL02gRMIkKWDTppD/dg1Ijza7S+17V2MuGbS1xIORcCx80//XUPoA/GIRaB16rEoI3GZIJ5qrCzrDcmFgQ==","shasum":"5923714167430084dc5d9889e55ec83e1d29264e","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.56-main.053384a.tgz","fileCount":30,"unpackedSize":53030,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDEgOLCM9odvXHDoYOPpCznavRd3D156SeXJQ2S1KkiAAiEAlVRVmW1SDL4RwcgvwA4LUzthTew6Hgeh6M9Qc3V488g="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.56-main.053384a_1698654871010_0.3747370029966184"},"_hasShrinkwrap":false},"0.0.56-compose-file-overrides.1d2ea9a":{"name":"@preevy/plugin-github-pr-link","version":"0.0.56-compose-file-overrides.1d2ea9a","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.56-compose-file-overrides.1d2ea9a","@preevy/core":"0.0.56-compose-file-overrides.1d2ea9a","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^3.1.1"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"6.7.4","@typescript-eslint/parser":"6.7.4","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"a3a7b791f18938ac2b8686dee0e55d3e406dd843","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.56-compose-file-overrides.1d2ea9a","_nodeVersion":"18.18.2","_npmVersion":"lerna/6.6.2/node@v18.18.2+x64 (linux)","dist":{"integrity":"sha512-PxpjGoZussSI48ZXxekUdyApsVwjUqsj8UUYFR8hitgRVCkIQGNfKdU2vk2JGK18B9JoCeyFR6V5NZMhEdmJ6g==","shasum":"d9a6b4d8898d79529db0211967062157f07e0b87","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.56-compose-file-overrides.1d2ea9a.tgz","fileCount":30,"unpackedSize":53084,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDimhiHHHaOCnccOPctJJXzy70Ri2VG2ccsiFJU60r7uQIhAO2jSyXUVGjGwPb4sA96TO7ol1+gUCi9oYfCTkUSRoOe"}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.56-compose-file-overrides.1d2ea9a_1698764452919_0.44613129028590803"},"_hasShrinkwrap":false},"0.0.56-compose-file-overrides.cbb786b":{"name":"@preevy/plugin-github-pr-link","version":"0.0.56-compose-file-overrides.cbb786b","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.56-compose-file-overrides.cbb786b","@preevy/core":"0.0.56-compose-file-overrides.cbb786b","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^3.1.1"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"6.7.4","@typescript-eslint/parser":"6.7.4","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"4eba847d62a31e62d0c8ec9f45383e0cb181de3d","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.56-compose-file-overrides.cbb786b","_nodeVersion":"18.18.2","_npmVersion":"lerna/6.6.2/node@v18.18.2+x64 (linux)","dist":{"integrity":"sha512-NROJTFLLiZs5VcQ1tVnZZh9JNtXbOmdvjMhSWlTYncjohtUjlcQb7G2Y0U18E3gd2pY9vioZUlfLIoFYleuLbg==","shasum":"528fced669df17e9436ba1412032dd498a3c64c8","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.56-compose-file-overrides.cbb786b.tgz","fileCount":30,"unpackedSize":53084,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC5s0vk4rfIuwHi2sWnRXyJCOtl1gceCVEjLbHn2RTR6gIhAJ9FUi4WHIGsWcAHHOxhs8XfQtlMUkxf1AxDRgXFCiPo"}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.56-compose-file-overrides.cbb786b_1698833638863_0.13910195271249615"},"_hasShrinkwrap":false},"0.0.56-main.1bda1e0":{"name":"@preevy/plugin-github-pr-link","version":"0.0.56-main.1bda1e0","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.56-main.1bda1e0","@preevy/core":"0.0.56-main.1bda1e0","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^3.1.1"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"6.7.4","@typescript-eslint/parser":"6.7.4","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"1516ba7c15df33d01d408722a04c05c21c09857b","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.56-main.1bda1e0","_nodeVersion":"18.18.2","_npmVersion":"lerna/6.6.2/node@v18.18.2+x64 (linux)","dist":{"integrity":"sha512-QMFQxrTJZnZKJYy73a0RV7ug5h/jt02oSP3KiO7l6gxp6cglfnII70OcPgEqiKUx+wdzVU7RS229mQ0iP3fh8g==","shasum":"c22bc3baf7cd80603cc2ba9b416914ada585f5a7","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.56-main.1bda1e0.tgz","fileCount":30,"unpackedSize":53030,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFIB0zGvR/rAoT62+CIDFDJyUwS6pJB9vX6hd08b+0B0AiAaboTWM2daTchujTPCAXaVqkYyPUqwtoAydih4Bh4g9g=="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.56-main.1bda1e0_1698914508977_0.504678961489422"},"_hasShrinkwrap":false},"0.0.56-default-compose-preevy-file.2b8d737":{"name":"@preevy/plugin-github-pr-link","version":"0.0.56-default-compose-preevy-file.2b8d737","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.56-default-compose-preevy-file.2b8d737","@preevy/core":"0.0.56-default-compose-preevy-file.2b8d737","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^3.1.1"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"6.7.4","@typescript-eslint/parser":"6.7.4","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"18bd7ceb59a76875983ad0037aabd0e97db8ba2a","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.56-default-compose-preevy-file.2b8d737","_nodeVersion":"18.18.2","_npmVersion":"lerna/6.6.2/node@v18.18.2+x64 (linux)","dist":{"integrity":"sha512-5sGzVnxC8EIUD2ceH68t0yV+9VmQiyojHWF9rBTvJmPdG84BWtBZYhq9esjpDr2DwMyywaEHPfIgMSEMNFMIRg==","shasum":"c35d3ddb9abdf18ff1f40749595b688f629755ce","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.56-default-compose-preevy-file.2b8d737.tgz","fileCount":30,"unpackedSize":53099,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCNhqxZxIrZCZgqm8cq2P2VMJRovoLCSevBQjbigNnJIwIgQaXQrVmc/zXH7UhaMIsf63kwjEuM0wg0UDoc1ctD6ms="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.56-default-compose-preevy-file.2b8d737_1698922176998_0.31990130346320944"},"_hasShrinkwrap":false},"0.0.56-default-compose-preevy-file.e418271":{"name":"@preevy/plugin-github-pr-link","version":"0.0.56-default-compose-preevy-file.e418271","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.56-default-compose-preevy-file.e418271","@preevy/core":"0.0.56-default-compose-preevy-file.e418271","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^3.1.1"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"6.7.4","@typescript-eslint/parser":"6.7.4","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"4eb2affe87fd2168502a589ce8a5e2291d25bd55","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.56-default-compose-preevy-file.e418271","_nodeVersion":"18.18.2","_npmVersion":"lerna/6.6.2/node@v18.18.2+x64 (linux)","dist":{"integrity":"sha512-lvOcQDIqNkP2gWpDSivMSCDOoO+uSXD3hh9BbzMvHOtDN2SMqp9kw3jJ07/GQYsteNhhSFXJZ7vXBH+NifFNMQ==","shasum":"e6d4e01b67cedae69d6e506552fb742a8f804ce4","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.56-default-compose-preevy-file.e418271.tgz","fileCount":30,"unpackedSize":53099,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDgELZkFy0MthYWBKBkl7FaXmdQ2poQ7zF/oji4jsbJxgIhAIKFrtyMOf3hENWY1DV5UvBPzOMqF/BIB4U5S7FmkDqF"}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.56-default-compose-preevy-file.e418271_1698922278764_0.37452671605192656"},"_hasShrinkwrap":false},"0.0.56-default-compose-preevy-file.c90efb9":{"name":"@preevy/plugin-github-pr-link","version":"0.0.56-default-compose-preevy-file.c90efb9","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.56-default-compose-preevy-file.c90efb9","@preevy/core":"0.0.56-default-compose-preevy-file.c90efb9","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^3.1.1"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"6.7.4","@typescript-eslint/parser":"6.7.4","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"fd2359336850545318b7062a2b024887626b932d","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.56-default-compose-preevy-file.c90efb9","_nodeVersion":"18.18.2","_npmVersion":"lerna/6.6.2/node@v18.18.2+x64 (linux)","dist":{"integrity":"sha512-/BmoW8fgGWXecQXd++25qO/R+TQp+iBDqbLghlLe1tEV1nicxJIY8nq8HhWpge3v/VeB0/vnwrhahw4Mt4G/Aw==","shasum":"b65df5e5efd5d7c87b5d9ee4aeb93205337612c6","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.56-default-compose-preevy-file.c90efb9.tgz","fileCount":30,"unpackedSize":53099,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDPaDqnYSsEmsmmMXiQUyD1ahCb/Z0c37Hb54JAcMgt6AIgNm9UTAsGlZl3DMeu2itG0/yVxcc0TDY1ukhl6ACD7Z8="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.56-default-compose-preevy-file.c90efb9_1698923323621_0.784894264668972"},"_hasShrinkwrap":false},"0.0.56-default-compose-preevy-file.b838054":{"name":"@preevy/plugin-github-pr-link","version":"0.0.56-default-compose-preevy-file.b838054","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.56-default-compose-preevy-file.b838054","@preevy/core":"0.0.56-default-compose-preevy-file.b838054","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^3.1.1"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"6.7.4","@typescript-eslint/parser":"6.7.4","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"160725b448ac83cbb62ae570af450025f31f0781","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.56-default-compose-preevy-file.b838054","_nodeVersion":"18.18.2","_npmVersion":"lerna/6.6.2/node@v18.18.2+x64 (linux)","dist":{"integrity":"sha512-vFXpl7e+kQG0PuQgSlPzdjcupHqWz/Mhor6ohctMTRBISAluI1I0HsARZnJj/l7vY5zvj4rDxxygNa1sS3ia1Q==","shasum":"bb9fe7b70beb0b75649e3c4b65ac89ad04a41168","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.56-default-compose-preevy-file.b838054.tgz","fileCount":30,"unpackedSize":53099,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCfkY4PXLJwq5N/v7SYJB8H6Y2hTRgffuaC3MofPHHLSAIgaO4S/cZCb7TYqufhVx3Ic4bUzCWWokR0U87zjgzormY="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.56-default-compose-preevy-file.b838054_1698940002270_0.6311573814978881"},"_hasShrinkwrap":false},"0.0.56-enable-widget-flag-for-preevy-up.0a1fde9":{"name":"@preevy/plugin-github-pr-link","version":"0.0.56-enable-widget-flag-for-preevy-up.0a1fde9","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.56-enable-widget-flag-for-preevy-up.0a1fde9","@preevy/core":"0.0.56-enable-widget-flag-for-preevy-up.0a1fde9","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^3.1.1"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"6.7.4","@typescript-eslint/parser":"6.7.4","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"b1deb1ad0a39bf3079bde6b9591199b3fdebeac5","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.56-enable-widget-flag-for-preevy-up.0a1fde9","_nodeVersion":"18.18.2","_npmVersion":"lerna/6.6.2/node@v18.18.2+x64 (linux)","dist":{"integrity":"sha512-RAyw3IAB35Ia8YNrSErLAEKLtywRzZELfOsmPe4MHBnEq5tAatiyEfyOyBIL/J2iv9q6XSncy2vvayGj3yVMMA==","shasum":"dd694c3931a626a91af4e20e0d0716329706c638","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.56-enable-widget-flag-for-preevy-up.0a1fde9.tgz","fileCount":30,"unpackedSize":53114,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBioZ1X0nBELZrDf8l2+NaC4fjEKKaLq+M0Jlz6v9fbUAiAypdR3v3jHYlAuIdCm1qHh0ZPM3uZ44viTxP31YjZ7gQ=="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.56-enable-widget-flag-for-preevy-up.0a1fde9_1699012427312_0.7313070796081889"},"_hasShrinkwrap":false},"0.0.56-main.7865285":{"name":"@preevy/plugin-github-pr-link","version":"0.0.56-main.7865285","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.56-main.7865285","@preevy/core":"0.0.56-main.7865285","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^3.1.1"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"6.7.4","@typescript-eslint/parser":"6.7.4","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"4666523a87c0912164d9326eeb270e92abad3d37","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.56-main.7865285","_nodeVersion":"18.18.2","_npmVersion":"lerna/6.6.2/node@v18.18.2+x64 (linux)","dist":{"integrity":"sha512-hYXBKJOHmN6Lc48D21QxvWlZsNNpJhxHZ0zMYiS4Gqp7A8EhFXIYAdDICH4x+464R0H8LrvYs0BdT9BTohFV4Q==","shasum":"542a8843e471743cfd01cb5170198a0f7bba9b3d","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.56-main.7865285.tgz","fileCount":30,"unpackedSize":53030,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGH+9R2q98OxjLSTasa7kv+crmwu4u+wgBKVwdmakOfZAiEA8/zhT0sTA9SacmAoY6t+w6KJrQx4JQtoKTzl6FnhYyI="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.56-main.7865285_1699012767831_0.7145865743013564"},"_hasShrinkwrap":false},"0.0.56":{"name":"@preevy/plugin-github-pr-link","version":"0.0.56","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.56","@preevy/core":"0.0.56","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^3.1.1"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"6.7.4","@typescript-eslint/parser":"6.7.4","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"_id":"@preevy/plugin-github-pr-link@0.0.56","gitHead":"e00b2a8ea1ffe0341d7d218b6848b2f5be581aee","types":"./dist/index.d.ts","_nodeVersion":"18.18.2","_npmVersion":"9.8.1","dist":{"integrity":"sha512-PengdRn4cvCMzajmR4GxKO996Pzy1CfSZM9PIDgz2hFZX/H8oFulA5O2xszmglwDkPvGlxRpG7lMumtjRbO2Rw==","shasum":"f2d23b21da5348029778d1993f6c8c5a83dc5131","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.56.tgz","fileCount":29,"unpackedSize":41577,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHLAyCO56aJjtRkstDo1U2255QTLSLeGBb7h8tpohWmUAiA9FLPXvMW3MJkCNgT6rjHtg3zGcS2rzjZZg71GDnAI8Q=="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.56_1699012902514_0.22473649886420932"},"_hasShrinkwrap":false},"0.0.57-main.e00b2a8":{"name":"@preevy/plugin-github-pr-link","version":"0.0.57-main.e00b2a8","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.57-main.e00b2a8","@preevy/core":"0.0.57-main.e00b2a8","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^3.1.1"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"6.7.4","@typescript-eslint/parser":"6.7.4","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"98594b1f2bcef66f48fde1ab35dc6f5ec7924285","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.57-main.e00b2a8","_nodeVersion":"18.18.2","_npmVersion":"lerna/6.6.2/node@v18.18.2+x64 (linux)","dist":{"integrity":"sha512-nAhzmI82wwam2jzVc2/ybuZkWNe8tsDrgBXp8//ssVN8Vuz7HN3hjynw6PYJ4u3hGBNZSBAKmW5hzu3rowTroA==","shasum":"fbf4874b21e1a674937e52414f195a99537d18cb","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.57-main.e00b2a8.tgz","fileCount":30,"unpackedSize":53030,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG2Etu6OD8t8+3f+DsvdX7OAOTdf9Be8i1eAZQIASw0dAiEAjn8py1VPEsxhdu1dT4CtdlhmfkNjUHbBrhrYfxYq8nY="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.57-main.e00b2a8_1699012932383_0.6506997345086998"},"_hasShrinkwrap":false},"0.0.57-default-compose-preevy-file.102f655":{"name":"@preevy/plugin-github-pr-link","version":"0.0.57-default-compose-preevy-file.102f655","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.57-default-compose-preevy-file.102f655","@preevy/core":"0.0.57-default-compose-preevy-file.102f655","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^3.1.1"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"6.7.4","@typescript-eslint/parser":"6.7.4","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"d9d68e568953313309ad92fb8e3cfb868246b737","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.57-default-compose-preevy-file.102f655","_nodeVersion":"18.18.2","_npmVersion":"lerna/6.6.2/node@v18.18.2+x64 (linux)","dist":{"integrity":"sha512-w06Bs6Dak6BCl9Yt7WYqMYVhxpmocTgV7zGtBwU1KE/pvNUJkPgnjguVKilCN+r9XbbPRrEfcV0eEm1p4QUHug==","shasum":"d9cb613a9f8126775e42204389394a93bb1c1ef9","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.57-default-compose-preevy-file.102f655.tgz","fileCount":30,"unpackedSize":53099,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAdEZZ6MdufH04yOyTtZInod8KivtZLvZYAxCPOIz2NhAiEAmGAAxU6GDkIuQAFKWjtIVKf9hIN7ZfHpQKtxLomAjIA="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.57-default-compose-preevy-file.102f655_1699168424589_0.009953222744629953"},"_hasShrinkwrap":false},"0.0.57-main.9ea875e":{"name":"@preevy/plugin-github-pr-link","version":"0.0.57-main.9ea875e","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.57-main.9ea875e","@preevy/core":"0.0.57-main.9ea875e","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^3.1.1"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"6.7.4","@typescript-eslint/parser":"6.7.4","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"ded52eaf9962f7e21268baef6ed2ed660153b39d","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.57-main.9ea875e","_nodeVersion":"18.18.2","_npmVersion":"lerna/6.6.2/node@v18.18.2+x64 (linux)","dist":{"integrity":"sha512-lTZpLby0BYhx8QhKW/SWSULO1ESG7e1zEv0VYTadL5eXSlDNDHunBxBHs7/jvz4Z9PIYDYrgA3L2R/CgZ9flnA==","shasum":"1e2991a7a3cccb97cc85566c09892d3b2642d174","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.57-main.9ea875e.tgz","fileCount":30,"unpackedSize":53030,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCmLxYN3qrKNMWwTg1DDvNqZA+iS4m0VG7mYb8Ga4009gIgFhCNouhxNzvH00uky8dtUTnc1foYNGPrzC9fz8QGe0I="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.57-main.9ea875e_1699169213466_0.947688663202555"},"_hasShrinkwrap":false},"0.0.57-main.24cac97":{"name":"@preevy/plugin-github-pr-link","version":"0.0.57-main.24cac97","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.57-main.24cac97","@preevy/core":"0.0.57-main.24cac97","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^3.1.1"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"6.7.4","@typescript-eslint/parser":"6.7.4","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"680448ee26c2cd609f539436c281e1dd26c8d578","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.57-main.24cac97","_nodeVersion":"18.18.2","_npmVersion":"lerna/6.6.2/node@v18.18.2+x64 (linux)","dist":{"integrity":"sha512-9RTUPs5NU8peI51/sLGp5NcSC14W3eCjH+uqP3pRKSsIFEi776SiwNGyV+OCcckYrOAOAksV+cGe6YfAUBDbvg==","shasum":"d23dd1ed4bea12a7e11be98754d689a723cabf7f","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.57-main.24cac97.tgz","fileCount":30,"unpackedSize":53030,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGFe5QuktNajktpqTtAJMG+TVvStqdkgPa9IQy9wQaOPAiEA2tyTgVkFWKC4xPU5KcBJUX1NbRLP9JsUS/AgWqAgqyo="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.57-main.24cac97_1699172440346_0.3437642133723966"},"_hasShrinkwrap":false},"0.0.57-main.8989b0d":{"name":"@preevy/plugin-github-pr-link","version":"0.0.57-main.8989b0d","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.57-main.8989b0d","@preevy/core":"0.0.57-main.8989b0d","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^3.1.1"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"6.7.4","@typescript-eslint/parser":"6.7.4","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"7324c8adda7fe5c2a690827e12a276666a10711f","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.57-main.8989b0d","_nodeVersion":"18.18.2","_npmVersion":"lerna/6.6.2/node@v18.18.2+x64 (linux)","dist":{"integrity":"sha512-F2iAbNrGDSojgIlDKKALBJCafuNjITv9JglCdCA4se2LNBsyVyyiM9/wHdQfKQjsjG4ZIiAT5TioivZo0VKOLg==","shasum":"efe7f9de986d96ecef0ab88cc972d6608adc6f9e","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.57-main.8989b0d.tgz","fileCount":30,"unpackedSize":53030,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAI1pwjLKCv3+B2xAiEBN5V2UwsCvEbzS3lKC1nx3ujYAiEAiQ2YmwvzSNJaBrNXt8yM2kLPWi+jmP2IoP0AvNZR6Uw="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.57-main.8989b0d_1699543573645_0.9902536880692783"},"_hasShrinkwrap":false},"0.0.57-refactor-labels.ab0784f":{"name":"@preevy/plugin-github-pr-link","version":"0.0.57-refactor-labels.ab0784f","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.57-refactor-labels.ab0784f","@preevy/core":"0.0.57-refactor-labels.ab0784f","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^3.1.1"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"6.7.4","@typescript-eslint/parser":"6.7.4","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"658c0a25679e70caa8fdf4a356c13da4c93d26d6","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.57-refactor-labels.ab0784f","_nodeVersion":"18.18.2","_npmVersion":"lerna/6.6.2/node@v18.18.2+x64 (linux)","dist":{"integrity":"sha512-r09E4C826r8z8IpKDEdHuA3+5z/ev7Lxa/P3tO2OyLpvZlTgylWPFXPvdYrzrGaTSIwj2GHh91xeTiPWMFgcJw==","shasum":"cc60f99fa2af1c7d19ce6b541bade179348d07fb","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.57-refactor-labels.ab0784f.tgz","fileCount":30,"unpackedSize":53063,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDeY6XZcHa4OLhqgTCWnuXgFbaq7W1hplfI6FlrT25Z6AiEA//hELhsZENs8mg3E9OmnmZ+MebJ8Nr/BNtqkMevh4Vw="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.57-refactor-labels.ab0784f_1699799497853_0.16199375355594792"},"_hasShrinkwrap":false},"0.0.57-split-build.611640d":{"name":"@preevy/plugin-github-pr-link","version":"0.0.57-split-build.611640d","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.57-split-build.611640d","@preevy/core":"0.0.57-split-build.611640d","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^3.1.1"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"6.10.0","@typescript-eslint/parser":"6.10.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.2.2"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"5b2e1a2503630d83e73301e567cc8c105c388258","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.57-split-build.611640d","_nodeVersion":"18.18.2","_npmVersion":"lerna/6.6.2/node@v18.18.2+x64 (linux)","dist":{"integrity":"sha512-DZ+G5MsOzX2BqJxHuhn/ARi+32qiAul6NablkSnaH1Sh5rlbs/UkRWh+V2KmyLWOOlwW6fnpM7Hf61G6MWoHVw==","shasum":"36151b68692afa0c140c8586de5dfa67861c6442","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.57-split-build.611640d.tgz","fileCount":30,"unpackedSize":53053,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD8Kc6Dq90kxn/zwnwAx7UlEdGTyXkpBYjF/aXyph+efgIhAP5PsCknMNlnQ+S4y6kHtyrNOe0qjSGBaCSRHIeXEqKV"}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.57-split-build.611640d_1699799509152_0.8048729456702752"},"_hasShrinkwrap":false},"0.0.57-main.6f5d017":{"name":"@preevy/plugin-github-pr-link","version":"0.0.57-main.6f5d017","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.57-main.6f5d017","@preevy/core":"0.0.57-main.6f5d017","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^3.1.1"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"6.7.4","@typescript-eslint/parser":"6.7.4","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"6cf1f33505cbaf95c91ce1e25a38671c30a0ec60","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.57-main.6f5d017","_nodeVersion":"18.18.2","_npmVersion":"lerna/6.6.2/node@v18.18.2+x64 (linux)","dist":{"integrity":"sha512-V4dfJa3jeUa7vsjEJFE9ygCn8qj7qSeDayNrswKepkr2h1UQNfF3mMw9PwTL8wnBJQvkdMbRExX7fnrKiMFwcg==","shasum":"f3108a8bd87d35e15a44c9bf589ab914b347c82c","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.57-main.6f5d017.tgz","fileCount":30,"unpackedSize":53030,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDnjuWm/uZinTZ98UxvqhB0kRPDIYicGC5Sem3ULrKbzgIgSl+X4OuDZdd0Z06+CNdyPBz9tEMlpMXiDd2TanTL7p4="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.57-main.6f5d017_1699799882513_0.13575948909297053"},"_hasShrinkwrap":false},"0.0.57-split-build.3463914":{"name":"@preevy/plugin-github-pr-link","version":"0.0.57-split-build.3463914","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.57-split-build.3463914","@preevy/core":"0.0.57-split-build.3463914","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^3.1.1"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"6.10.0","@typescript-eslint/parser":"6.10.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.2.2"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"71475505077e95f6b4f37b8e07ee81cd144b1380","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.57-split-build.3463914","_nodeVersion":"18.18.2","_npmVersion":"lerna/6.6.2/node@v18.18.2+x64 (linux)","dist":{"integrity":"sha512-oTBqnY96YyBQFR/NZCHuI1rWk4Yk9Rdm0ToK8nrL8U+B+OSTqb7peWtoGQarWm0qe7mKA8HcW9DHX4vr/nqjVw==","shasum":"790edf15606cf214d87e89eb3137b2ee4e462234","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.57-split-build.3463914.tgz","fileCount":30,"unpackedSize":53053,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICwSjUyPekVG8speXFpAtNK5f+tGjVibXgmwlATlK0knAiEAtxM0TinQ7XqR7lPPeZM43howCEzBbJLXfU5tNmT8srU="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.57-split-build.3463914_1699799986353_0.6081066264542201"},"_hasShrinkwrap":false},"0.0.57-split-build.4ea8942":{"name":"@preevy/plugin-github-pr-link","version":"0.0.57-split-build.4ea8942","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.57-split-build.4ea8942","@preevy/core":"0.0.57-split-build.4ea8942","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^3.1.1"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"6.10.0","@typescript-eslint/parser":"6.10.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.2.2"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"ded116bfae2cbfd6a350d1f48f265023813a3df3","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.57-split-build.4ea8942","_nodeVersion":"18.18.2","_npmVersion":"lerna/6.6.2/node@v18.18.2+x64 (linux)","dist":{"integrity":"sha512-3+qp0kAs4i/lIFeyvwRmSffO4UbmPg0awBfxvIXsOeqoamDkYqK2IGsoCWdHEo59J7cvTAyci793bA254Uqduw==","shasum":"5c08949de08e22d4ca47ddf39d418c9f879e428b","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.57-split-build.4ea8942.tgz","fileCount":30,"unpackedSize":53053,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDVHpAZsZKtgJ4MF6+ciDyMU1wqRRlRF7TB+AXEzpCrcwIhAO8NNJHenj+zP/q5MbtZopp7lNQlEhjv6qdE8Lca4Tjx"}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.57-split-build.4ea8942_1699800070884_0.5116857738592331"},"_hasShrinkwrap":false},"0.0.57-split-build.e77c1aa":{"name":"@preevy/plugin-github-pr-link","version":"0.0.57-split-build.e77c1aa","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.57-split-build.e77c1aa","@preevy/core":"0.0.57-split-build.e77c1aa","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^3.1.1"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"6.10.0","@typescript-eslint/parser":"6.10.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.2.2"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"2f3c3b55abdb6dc22039de6add520b44301a89cb","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.57-split-build.e77c1aa","_nodeVersion":"18.18.2","_npmVersion":"lerna/6.6.2/node@v18.18.2+x64 (linux)","dist":{"integrity":"sha512-A1bFDgvXkwZRGlSBJlLQvljWKmdM+AZ/uipqGjmb1bX/A63RByIsJ3fuC+R1rFw7aPD1Omfn2KCna+iSocDyrA==","shasum":"d367ae2c39630fcade7714bf5df1a49b2022d7a4","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.57-split-build.e77c1aa.tgz","fileCount":30,"unpackedSize":53053,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBT8dVsQaJQhcRSGuOKHJNqHq6kVROaw8bDli7l2RVVaAiBRzJuZ7bjjZM2SvxlIeR+N+099uz0IA+iPzQeELNCsvQ=="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.57-split-build.e77c1aa_1699803280260_0.2946234844229052"},"_hasShrinkwrap":false},"0.0.57-region-autocomplete.761c1ac":{"name":"@preevy/plugin-github-pr-link","version":"0.0.57-region-autocomplete.761c1ac","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.57-region-autocomplete.761c1ac","@preevy/core":"0.0.57-region-autocomplete.761c1ac","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^3.1.1"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"6.7.4","@typescript-eslint/parser":"6.7.4","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"cb485188c8ece2356f4aeab02476da6c8df03835","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.57-region-autocomplete.761c1ac","_nodeVersion":"18.18.2","_npmVersion":"lerna/6.6.2/node@v18.18.2+x64 (linux)","dist":{"integrity":"sha512-sovAEQD2sAMtTRiYQ601DsgArN4fQL3C7ODcO/Ilp1D9LX/SeX9kvPfYhz4GzzmlvYmgjnInHKhC6g0qJbKsdA==","shasum":"022acbdb8f2d4a331756eca90b8a32cc7924b682","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.57-region-autocomplete.761c1ac.tgz","fileCount":30,"unpackedSize":53075,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAb3hiAS5VmWgRl7f4H/UNmDIH8TlOSaUhXxPfkpui2CAiA6dsOGCmzKrSfL32hsMMV+T00bMaV0JGfzIbfqCSqPKA=="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.57-region-autocomplete.761c1ac_1699867551138_0.3321035968958499"},"_hasShrinkwrap":false},"0.0.57-region-autocomplete.bbffec1":{"name":"@preevy/plugin-github-pr-link","version":"0.0.57-region-autocomplete.bbffec1","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.57-region-autocomplete.bbffec1","@preevy/core":"0.0.57-region-autocomplete.bbffec1","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^3.1.1"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"6.7.4","@typescript-eslint/parser":"6.7.4","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"4502b3112aa29dc78bf37aa6e6d345286255c791","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.57-region-autocomplete.bbffec1","_nodeVersion":"18.18.2","_npmVersion":"lerna/6.6.2/node@v18.18.2+x64 (linux)","dist":{"integrity":"sha512-Y/S94iy/VkFF7CarTh3jyPEA0hfwW85RafkPLsgnCBNunfbVgDpL5Hj/BZbbPNN43aeg79XgHqRD7EZkvoYGIg==","shasum":"f3ee527f6e1fd1989f0e0c6a55116e78b2a7691b","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.57-region-autocomplete.bbffec1.tgz","fileCount":30,"unpackedSize":53075,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDw+cTThOVOOCOj2VIFfOm9cLPrPihSTsHUNKnIwxtdoAiAT7T49IrXJs95K7YPtryt76a2rFXpqm6Iu92ivb7I7Qw=="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.57-region-autocomplete.bbffec1_1699870084596_0.7217556736602571"},"_hasShrinkwrap":false},"0.0.57-main.cb66c36":{"name":"@preevy/plugin-github-pr-link","version":"0.0.57-main.cb66c36","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.57-main.cb66c36","@preevy/core":"0.0.57-main.cb66c36","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^3.1.1"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"6.7.4","@typescript-eslint/parser":"6.7.4","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"d45b9d7dc4d158a0e5148839038535d3ee7b2f60","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.57-main.cb66c36","_nodeVersion":"18.18.2","_npmVersion":"lerna/6.6.2/node@v18.18.2+x64 (linux)","dist":{"integrity":"sha512-s/uDmXJ3U6hL9YLs2roXqau84FhZIHWzw5Vwvl0yoDhopJzJnw8u0nDylMQTYxhzZ4FSCsnVqZXTpH2qo8bkhw==","shasum":"360ce72889dcbf5d045554778399b44e9b85bf98","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.57-main.cb66c36.tgz","fileCount":30,"unpackedSize":53030,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC7yfkI5l59gwk5BnzBq08avyAXBdO5pL33jTntCfU4fQIgfl0BGK7H3jBGX9xt1cUsoUUxFMg+QBtyVp78wkrvcCw="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.57-main.cb66c36_1700035555537_0.5340609041903408"},"_hasShrinkwrap":false},"0.0.57-split-build.1ffd1e8":{"name":"@preevy/plugin-github-pr-link","version":"0.0.57-split-build.1ffd1e8","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^2","@preevy/cli-common":"0.0.57-split-build.1ffd1e8","@preevy/core":"0.0.57-split-build.1ffd1e8","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^3.1.1"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"6.10.0","@typescript-eslint/parser":"6.10.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.2.2"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"7022687913b2953446012fd0e2b680129eee976f","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.57-split-build.1ffd1e8","_nodeVersion":"18.18.2","_npmVersion":"lerna/6.6.2/node@v18.18.2+x64 (linux)","dist":{"integrity":"sha512-2l2L30g8H80zifgEbxDGlCHNvUMUmnXtlH9j5SupsNHqTB16LCF19CmwdllzuC6MpmA3TyFIfAbb1T+AkuZC+A==","shasum":"78cdbad6df123d0668826c096e9cb27514ee4386","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.57-split-build.1ffd1e8.tgz","fileCount":30,"unpackedSize":53053,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFTQ73ERyt9Gu2tWN2RQrxi7noOoBNSdtmBaaSbr972eAiBwfgS/TCKfgGRMVqu89L6mIpS7G39Ovp5SZ+A1Va9JFw=="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.57-split-build.1ffd1e8_1700549958092_0.7172398706821288"},"_hasShrinkwrap":false},"0.0.57-fix-multiple-flags.5ecc8e7":{"name":"@preevy/plugin-github-pr-link","version":"0.0.57-fix-multiple-flags.5ecc8e7","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^3","@preevy/cli-common":"0.0.57-fix-multiple-flags.5ecc8e7","@preevy/core":"0.0.57-fix-multiple-flags.5ecc8e7","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^3.1.1"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"6.7.4","@typescript-eslint/parser":"6.7.4","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"9aa1de37a6905ffcc12c60b2bc392a3ef6786367","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.57-fix-multiple-flags.5ecc8e7","_nodeVersion":"18.18.2","_npmVersion":"lerna/6.6.2/node@v18.18.2+x64 (linux)","dist":{"integrity":"sha512-/mxFWhFkpKfKCA0U3WUhmLkAYIHqkRrZubTVMrOiIakYJSMMu/pTilqMFE7NuG9+VbvPfGHLdJxrCx7BC/S3DQ==","shasum":"e1ee2114c6ae66f27da8821e431721f10e44f5b6","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.57-fix-multiple-flags.5ecc8e7.tgz","fileCount":30,"unpackedSize":52847,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDGDyf7T663jrPauwoJp63tyStMsnoGlJMEzpGodHIgjgIhAPOdmj+qYfhhHfUsTh2x5W8Tdmk8RKi1sgqdLtLQyTyM"}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.57-fix-multiple-flags.5ecc8e7_1700556480603_0.7169912427912168"},"_hasShrinkwrap":false},"0.0.57-fix-multiple-flags.d2f7f1d":{"name":"@preevy/plugin-github-pr-link","version":"0.0.57-fix-multiple-flags.d2f7f1d","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^3","@preevy/cli-common":"0.0.57-fix-multiple-flags.d2f7f1d","@preevy/core":"0.0.57-fix-multiple-flags.d2f7f1d","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^3.1.1"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"6.7.4","@typescript-eslint/parser":"6.7.4","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"d61d9377bf8d171fc948cabdf32de2e7fd89f714","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.57-fix-multiple-flags.d2f7f1d","_nodeVersion":"18.18.2","_npmVersion":"lerna/6.6.2/node@v18.18.2+x64 (linux)","dist":{"integrity":"sha512-tTixP4uuZ4uJi7ICvzGrSzpTQUPR7OdjWOOfEEEc9iHhX2DYfBmehTtH5H4xQkE1vIciLeFSRID6RO40B+N/lA==","shasum":"569c4cab1e0b90d7abd3c23c312cc6e88be01d99","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.57-fix-multiple-flags.d2f7f1d.tgz","fileCount":30,"unpackedSize":52847,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQChKyvfTTqvvNEYtllBKAabiLOn94PWx56THZbdfmf0WgIhAPtyNEyc5x4fQFJuPTjmKTKvFABVF8YJt7GKLrMO6eQT"}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.57-fix-multiple-flags.d2f7f1d_1700559090954_0.23363451644485722"},"_hasShrinkwrap":false},"0.0.57-split-build.dfe1dfa":{"name":"@preevy/plugin-github-pr-link","version":"0.0.57-split-build.dfe1dfa","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^3","@preevy/cli-common":"0.0.57-split-build.dfe1dfa","@preevy/core":"0.0.57-split-build.dfe1dfa","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^3.1.1"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"6.10.0","@typescript-eslint/parser":"6.10.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.2.2"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"82f4a42003349dbc59111d651cb661605df13df9","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.57-split-build.dfe1dfa","_nodeVersion":"18.18.2","_npmVersion":"lerna/6.6.2/node@v18.18.2+x64 (linux)","dist":{"integrity":"sha512-62uRjNhR/dThPm60wDyq0R36YeXfXohWE4apHv3h9yWutj5qPbPRdg1waZRj3CKWnA5iaeiiu1LvZYzzC6Dh3w==","shasum":"529bfa08666c0cab09c42bf3208cb3569608cc55","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.57-split-build.dfe1dfa.tgz","fileCount":30,"unpackedSize":52828,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD0M71gxrZhKVpkCX9ujXfDn7TJkuF7WHbhpC3St2PzIQIhAKVMzhW9TBg49En6jbLQa7tiq6x3/WvDXbUEvZsZUceY"}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.57-split-build.dfe1dfa_1700663798001_0.8210441803778217"},"_hasShrinkwrap":false},"0.0.57-main.2f1549f":{"name":"@preevy/plugin-github-pr-link","version":"0.0.57-main.2f1549f","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^3","@preevy/cli-common":"0.0.57-main.2f1549f","@preevy/core":"0.0.57-main.2f1549f","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^3.1.1"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"6.7.4","@typescript-eslint/parser":"6.7.4","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"71bf1c0b1029b79cdbb40380f7314fbb8e0d43d8","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.57-main.2f1549f","_nodeVersion":"18.18.2","_npmVersion":"lerna/6.6.2/node@v18.18.2+x64 (linux)","dist":{"integrity":"sha512-wt0ILP3PFrkeXylt2wtt5eqkONlgrvmNXMyHwGpcbtFk0w+HkIyo7sBRXiQelhNCH+pN6QrrBJa+jEBomLW9Ug==","shasum":"e6937e6742e0ed0203ff8b5f0158b88a8714e2c4","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.57-main.2f1549f.tgz","fileCount":30,"unpackedSize":52805,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAoyIC21qqMx10raACnbzRcqrlyTjyNAZJKjikyDjDI/AiAXS2ltEZyh9HMK/9SvcHTA1OwneWZH+HlNUXsa1crqnw=="}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.57-main.2f1549f_1700731140772_0.6609056792882544"},"_hasShrinkwrap":false},"0.0.57-split-build.8790835":{"name":"@preevy/plugin-github-pr-link","version":"0.0.57-split-build.8790835","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^3","@preevy/cli-common":"0.0.57-split-build.8790835","@preevy/core":"0.0.57-split-build.8790835","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^3.1.1"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"6.10.0","@typescript-eslint/parser":"6.10.0","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.2.2"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"da84f11480cd9c0a97482b7ae96723e46ae67082","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.57-split-build.8790835","_nodeVersion":"18.18.2","_npmVersion":"lerna/6.6.2/node@v18.18.2+x64 (linux)","dist":{"integrity":"sha512-Pg9nIX1fNG0kPkRclIDEE8ftKhL/LWpyXPjiPHzglF+QyJoaYCIRUAzcU8/ZHO0P7xW8FeXkSpURNebqkGh6uw==","shasum":"de26ac1e0e51632a409d64d493fe11bf72f9a32b","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.57-split-build.8790835.tgz","fileCount":30,"unpackedSize":52828,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCHGSpzzZRmja7jtqzXhdy1XKNVpo98xafiB5WqyU0sogIhALNujNMHPO0z1xXOfXR1JzwRfNq2tcMj5UZnNLtU2ySR"}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.57-split-build.8790835_1700731210349_0.7513160868816542"},"_hasShrinkwrap":false},"0.0.57-main.00e10e9":{"name":"@preevy/plugin-github-pr-link","version":"0.0.57-main.00e10e9","description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","main":"dist/index.js","license":"Apache-2.0","dependencies":{"@oclif/core":"^3","@preevy/cli-common":"0.0.57-main.00e10e9","@preevy/core":"0.0.57-main.00e10e9","lodash":"^4.17.21","nunjucks":"^3.2.4","octokit":"^3.1.1"},"devDependencies":{"@types/nunjucks":"^3.2.2","@typescript-eslint/eslint-plugin":"6.7.4","@typescript-eslint/parser":"6.7.4","eslint":"^8.36.0","shx":"^0.3.3","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --ext .ts,.tsx --cache","clean":"shx rm -rf dist tsconfig.tsbuildinfo","build":"tsc -b","prepack":"yarn clean && yarn build","prepare":"cd ../.. && husky install"},"gitHead":"0cb3fdc728a85083e6fc8a1a146af7a6bd6a5b40","types":"./dist/index.d.ts","readme":"# GitHub Pull Request link\n\nThis plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.\n\n![Demo comment](./demo.png)\n\n## Configuration\n\nAdd the plugin to the `plugins` section of the `x-preevy` element in your Docker Compose file:\n\n```yaml\nservices:\n  ...\nx-preevy:\n  plugins:\n    - module: '@preevy/plugin-github-pr-link'\n    # detect: false\n    # disabled: true\n    # commentTemplate: see below\n    # pullRequest: PR number\n    # token: GitHub token\n    # repo: GitHub repo (owner/reponame)\n```\n\nAt runtime, the plugin will attempt to detect the configuration it needs from environment variables and the git context. Flags can be specified in the `up` and `down` commands to override the behaviour.\n\n| | Environment variable | Flag | Config section | Other sources |\n|---|------|------|-----|----|\n| GitHub token | `GITHUB_TOKEN` | `--github-pr-link-token` | `token` |\n| Repo (owner/reponame) | `GITHUB_REPOSITORY` | `--github-pr-link-repo` | `commentTemplate` | git context (if `detect` is not `false`) |\n| PR number | `GITHUB_REF` | `--github-pr-link-pull-request` | `pullRequest` | |\n| Comment template | | `--github-pr-link-comment-template-file` | `commentTemplate` |  |\n\n### Comment template\n\nThe generated PR comment can be customized by specifying a template (see above table). The template is rendered by [`nunjucks`](https://mozilla.github.io/nunjucks/templating.html) and receives a context containing a `urls` property which is one of the following:\n\n* `undefined`: The environment is being deleted, or the `unlink` command has been invoked.\n* Otherwise, the result of the [preevy `urls` command](../cli/README.md#preevy-urls-service-port): an array of `{ service: string; port: number; url: string; project: string }`\n\nHere is an example of a configuration file containing a customized template:\n\n```yaml\nx-preevy:\n  plugins:\n  - module: '@preevy/plugin-github-pr-link'\n    commentTemplate: |\n      {% if urls %}[Preevy](https://preevy.dev) has created a preview environment for this PR.\n\n      Here is how to access it:\n\n      | Service | Port | URL |\n      |---------|------|-----|\n      {% for url in urls %}| {{ url.service }} | {{ url.port }} | {{ url.url }} |\n      {% endfor %}\n      {% else %}The [Preevy](https://preevy.dev) preview environment for this PR has been deleted.\n      {% endif %}\n```\n\n## CI providers\n\nThe plugin can auto detect its configuration from the CI providers supported by `@preevy/core`:\n\n* [GitHub Actions](../core/src/ci-providers/github-actions.ts)\n* [GitLab Actions](../core/src/ci-providers/gitlab.ts)\n* [Circle CI](../core/src/ci-providers/circle.ts)\n* [Travis CI](../core/src/ci-providers/travis.ts)\n* [Azure Pipelines](../core/src/ci-providers/azure-pipelines.ts)\n\nTo disable auto-detection, specify `detect: false` at the plugin configuration in the Docker Compose file.\n\n## Commands\n\nThis plugin adds the following commands:\n\n`github-pr link`: Creates the comment from an existing Preevy environment\n\n`github-pr unlink`: Deletes the comment from a Preevy environment.\n\nThe commands accept a similar set of flags as described above. Run `preevy github-pr link --help` for details.\n\n\n## Disabling the plugin\n\nThe plugin can be disabled by specifying `disabled: true` at the plugin configuration in the Docker Compose file, adding the environment variable `PREEVY_GITHUB_LINK=0` or specifying the flag `--github-pr-link-enabled=no` in the `up` and `down` commands.\n\n","readmeFilename":"README.md","_id":"@preevy/plugin-github-pr-link@0.0.57-main.00e10e9","_nodeVersion":"18.18.2","_npmVersion":"lerna/6.6.2/node@v18.18.2+x64 (linux)","dist":{"integrity":"sha512-krkNKOlpBIZqD26xiIBEqXIuA8CxvuoFviqEp/Rr+qDI0VOV5vnjCrbJOWYOr/GaN/bA0b1sGbVfA/W2Il4/Tg==","shasum":"1e8e2146074d72bfb8936e8f5821eb6f418f4fa2","tarball":"https://registry.npmjs.org/@preevy/plugin-github-pr-link/-/plugin-github-pr-link-0.0.57-main.00e10e9.tgz","fileCount":30,"unpackedSize":52805,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDM53448XfcxLnLR4E7IxGsr1NH520i1EfIoQoXsU2wQQIhAJkK3BWyrVT9yWDxmYESDGXOiDzprGF1dwrE/qfrWVrO"}]},"_npmUser":{"name":"yshayy","email":"yshay@livecycle.io"},"directories":{},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-github-pr-link_0.0.57-main.00e10e9_1700732823590_0.8345127101957182"},"_hasShrinkwrap":false}},"time":{"created":"2023-05-22T17:45:47.428Z","0.0.29-alpha.0":"2023-05-22T17:45:47.683Z","modified":"2023-11-23T09:47:04.028Z","0.0.30-alpha.0":"2023-05-23T06:02:10.811Z","0.0.30":"2023-05-23T07:39:30.571Z","0.0.31":"2023-06-05T08:14:06.174Z","0.0.32":"2023-06-07T13:16:17.247Z","0.0.33":"2023-06-08T14:24:26.476Z","0.0.34":"2023-06-11T08:25:38.607Z","0.0.35":"2023-06-12T07:14:31.166Z","0.0.36":"2023-07-03T10:29:58.892Z","0.0.37":"2023-07-06T20:00:59.188Z","0.0.38":"2023-07-06T21:17:20.663Z","0.0.39":"2023-07-09T11:34:49.942Z","0.0.40":"2023-07-16T06:27:19.245Z","0.0.41":"2023-07-20T08:58:54.486Z","0.0.42":"2023-07-20T09:28:58.873Z","0.0.43":"2023-07-23T12:55:22.642Z","0.0.40-alpha.18":"2023-07-23T14:23:23.259Z","0.0.44-alpha.0":"2023-07-23T14:37:33.108Z","0.0.44":"2023-07-24T08:11:46.304Z","0.0.45-alpha.0":"2023-07-24T08:39:43.161Z","0.0.45":"2023-07-24T08:50:31.872Z","0.0.46-alpha.0":"2023-07-25T16:24:05.615Z","0.0.46":"2023-07-25T17:11:49.715Z","0.0.47-alpha.0":"2023-07-26T16:21:55.816Z","0.0.47":"2023-07-26T16:34:13.540Z","0.0.48-alpha.0":"2023-07-26T16:40:18.761Z","0.0.48":"2023-08-01T16:57:55.415Z","0.0.49-alpha.0":"2023-08-02T14:44:56.358Z","0.0.49-cta-machine-info.0":"2023-08-03T06:47:41.854Z","0.0.49-cta-git-metadata.0":"2023-08-06T08:22:21.090Z","0.0.49-windows-eslint-issues.0":"2023-08-06T13:10:03.068Z","0.0.49-fix-ls-resources.0":"2023-08-06T14:15:09.665Z","0.0.49-readme-less-hyperbole.0":"2023-08-09T12:45:52.779Z","0.0.49-more-metadata.0":"2023-08-09T12:48:22.902Z","0.0.49-normalize-env-id-2.0":"2023-08-09T12:53:01.601Z","0.0.49":"2023-08-13T11:56:07.476Z","0.0.50-ci-lint.0bce771":"2023-08-13T15:28:26.985Z","0.0.50-kube-driver-fixes.58f08ad":"2023-08-13T15:34:17.887Z","0.0.50-kube-driver-fixes.b090ba0":"2023-08-13T15:39:32.059Z","0.0.50-kube-driver-fixes.4ea56d6":"2023-08-13T16:27:51.639Z","0.0.50-add-login-and-linking.0f69ad8":"2023-08-14T06:48:56.096Z","0.0.50-kube-driver-init-context-default.3063181":"2023-08-14T10:53:50.556Z","0.0.50-kube-driver-fix-name-sanitation.3616b50":"2023-08-14T12:43:00.330Z","0.0.50-add-auth-scheme-hint-query-param.6c7cf55":"2023-08-14T13:27:15.094Z","0.0.50-add-auth-scheme-hint-query-param.e929e01":"2023-08-14T13:33:28.223Z","0.0.50-kube-driver-fix-name-sanitation.eba0b3c":"2023-08-14T17:24:47.376Z","0.0.50-kube-driver-fix-name-sanitation.cc532d9":"2023-08-14T21:15:07.009Z","0.0.50-kube-driver-fix-name-sanitation.05a5f31":"2023-08-14T21:33:04.682Z","0.0.50-kube-driver-fix-name-sanitation.0a9b087":"2023-08-14T21:39:55.602Z","0.0.50-support-auth-from-saas.7dd2aee":"2023-08-15T09:09:02.390Z","0.0.50-support-auth-from-saas.e1c7d87":"2023-08-15T11:45:00.800Z","0.0.50-support-auth-from-saas.b61023e":"2023-08-15T13:17:49.689Z","0.0.50-minor-refactor-cli-auth-urls.a4f04e9":"2023-08-15T14:57:47.081Z","0.0.50-minor-refactor-cli-auth-urls.d3b77a6":"2023-08-15T15:18:12.696Z","0.0.50-minor-refactor-cli-auth-urls.3f8b1df":"2023-08-15T15:19:27.149Z","0.0.50-gce-labels-allowed-chars.043184f":"2023-08-16T07:58:07.373Z","0.0.50-pkg.9c1ef19":"2023-08-16T15:16:03.276Z","0.0.50-proxy-access-with-path.566ef7e":"2023-08-17T07:51:44.145Z","0.0.50-proxy-access-with-path.09ce841":"2023-08-17T07:55:06.931Z","0.0.50-proxy-access-with-path.639ea32":"2023-08-17T11:22:54.380Z","0.0.50-proxy-access-with-path.a5d39e2":"2023-08-17T13:19:16.217Z","0.0.50-proxy-access-with-path.a2814f9":"2023-08-17T13:22:35.937Z","0.0.50-proxy-access-with-path.51b778e":"2023-08-17T14:11:37.818Z","0.0.50-proxy-access-with-path.17da5bd":"2023-08-17T14:16:01.253Z","0.0.50-minor-refactor-cli-auth-urls-2.4984b28":"2023-08-17T16:05:22.374Z","0.0.50-support-querying-tunnels.9b76ced":"2023-08-21T12:11:56.864Z","0.0.50-support-querying-tunnels.4226a12":"2023-08-21T12:28:59.974Z","0.0.50-support-querying-tunnels.763ff19":"2023-08-21T12:33:47.842Z","0.0.50-support-querying-tunnels.e141dfd":"2023-08-21T12:35:17.926Z","0.0.50-support-for-tunneling-existing-local-service.d051dc0":"2023-08-21T22:08:09.907Z","0.0.50-support-for-tunneling-existing-local-service.dfb51e2":"2023-08-23T12:21:14.471Z","0.0.50-support-for-tunneling-existing-local-service.b2a0f5e":"2023-08-23T13:24:22.852Z","0.0.50-support-for-tunneling-existing-local-service.9977a71":"2023-08-23T13:37:43.463Z","0.0.50-connect-metadata.56cc5ad":"2023-08-24T09:11:37.262Z","0.0.50-gce-labels-allowed-chars.a2fb3d0":"2023-08-24T11:00:54.254Z","0.0.50-small-change-in-active-tunnel-store-key.91de31a":"2023-08-24T20:01:42.693Z","0.0.50-small-change-in-active-tunnel-store-key.4831172":"2023-08-24T20:06:14.088Z","0.0.50-small-change-in-active-tunnel-store-key.bcf02f8":"2023-08-24T20:59:24.482Z","0.0.50-tunnel-server-return-tunnel-metadata.0938b3e":"2023-08-27T07:09:47.068Z","0.0.50-profile-key-command.e321934":"2023-08-27T07:48:55.364Z","0.0.50-gce-labels-allowed-chars.ec46ecf":"2023-08-27T10:19:15.547Z","0.0.50-main.412f33e":"2023-08-27T11:46:07.879Z","0.0.50-profile-key-command.b817fd9":"2023-08-27T14:11:01.649Z","0.0.50-main.30199f4":"2023-08-27T14:14:56.463Z","0.0.50":"2023-08-27T22:18:51.384Z","0.0.51-main.914f659":"2023-08-27T22:20:16.218Z","0.0.51-gce-up-while-machine-being-deleted.e3e976f":"2023-08-28T07:32:59.988Z","0.0.51-gce-up-while-machine-being-deleted.382ff5b":"2023-08-28T07:33:46.763Z","0.0.51-gce-up-while-machine-being-deleted.7f8a1d9":"2023-08-28T08:44:18.596Z","0.0.51-main.34649d1":"2023-08-28T08:47:33.277Z","0.0.51-profile-improvements.199efed":"2023-08-28T12:46:41.673Z","0.0.51-env-id-in-connect-command.44a37b4":"2023-08-28T14:24:33.272Z","0.0.51-env-id-in-connect-command.98927f1":"2023-08-28T14:45:36.825Z","0.0.51-env-id-in-connect-command.08782ec":"2023-08-28T15:03:50.499Z","0.0.51-main.962db80":"2023-08-28T15:11:11.598Z","0.0.51-profile-improvements.312d9d8":"2023-08-28T15:11:30.174Z","0.0.51-profile-improvements.c0384f2":"2023-08-28T15:27:33.984Z","0.0.51-profile-improvements.91bf7e4":"2023-08-28T15:28:26.581Z","0.0.51-main.660b4e1":"2023-08-28T15:30:59.230Z","0.0.51-add-support-lc-access-token-param.ebfd355":"2023-08-28T15:51:12.898Z","0.0.51-cta-narrow-docker-api.c318f96":"2023-08-30T09:04:17.405Z","0.0.51-inject-scripts.f43b9a2":"2023-08-31T14:43:12.879Z","0.0.51-eliya-add-cors.355ffbf":"2023-09-03T21:00:57.724Z","0.0.51-eliya-add-cors.6a62653":"2023-09-04T07:31:00.752Z","0.0.51-inject-scripts.09f78df":"2023-09-04T12:33:04.524Z","0.0.51-cta-narrow-docker-api.94bb3e5":"2023-09-05T06:42:56.425Z","0.0.51-inject-scripts.f01e1e9":"2023-09-05T06:43:17.860Z","0.0.51-main.ac56e32":"2023-09-05T08:22:47.100Z","0.0.51-cta-narrow-docker-api.76c632a":"2023-09-06T10:36:07.245Z","0.0.51-inject-scripts.3242b78":"2023-09-06T10:41:36.616Z","0.0.51-main.fcd6601":"2023-09-06T10:42:58.482Z","0.0.51-inject-scripts.dd6e75e":"2023-09-06T10:48:43.103Z","0.0.51-inject-scripts.3255aaa":"2023-09-06T10:52:48.690Z","0.0.51-inject-scripts.604756e":"2023-09-06T11:19:43.454Z","0.0.51-inject-scripts.cef4335":"2023-09-06T11:59:01.955Z","0.0.51-cta-more-container-api.5a8ec8a":"2023-09-06T12:54:26.853Z","0.0.51-main.57490a8":"2023-09-06T13:02:04.335Z","0.0.51-main.0d983e1":"2023-09-07T06:41:08.269Z","0.0.51-main.32d6a26":"2023-09-11T06:09:36.482Z","0.0.51-cta-well-behaved-close.812d651":"2023-09-11T16:02:53.731Z","0.0.51-main.5e05799":"2023-09-12T08:13:30.401Z","0.0.51":"2023-09-12T08:49:00.867Z","0.0.51-tunnel-server-proactive-close.1ea9643":"2023-09-18T06:14:23.540Z","0.0.51-main.81650b1":"2023-09-19T14:46:09.879Z","0.0.51-git-context-as-paramater.1fe8f15":"2023-09-26T16:25:56.459Z","0.0.51-main.116a7fc":"2023-10-01T17:29:34.518Z","0.0.51-script-injection-updates.aa9da7a":"2023-10-02T08:24:13.305Z","0.0.51-script-injection-updates.caa1d2f":"2023-10-02T11:45:10.103Z","0.0.51-main.1db2036":"2023-10-02T12:43:17.776Z","0.0.51-script-injection-connect.355e925":"2023-10-02T15:36:54.161Z","0.0.51-script-injection-connect.073074e":"2023-10-02T16:04:25.902Z","0.0.51-main.28caec4":"2023-10-02T16:49:43.828Z","0.0.52":"2023-10-02T17:09:18.271Z","0.0.53-main.bd1bb02":"2023-10-02T17:10:01.469Z","0.0.53-main.8244f1f":"2023-10-03T09:49:52.203Z","0.0.53":"2023-10-03T09:54:05.235Z","0.0.54-main.cd427bf":"2023-10-03T09:54:36.320Z","0.0.54-main.065eac4":"2023-10-05T10:07:50.485Z","0.0.54-main.39b40c6":"2023-10-05T10:54:15.796Z","0.0.54-combine-prs-branch.65f25a4":"2023-10-05T11:47:10.105Z","0.0.54-main.5d4f9fc":"2023-10-05T11:51:38.360Z","0.0.54-experimental-added-win-binary.fa0583d":"2023-10-15T10:24:27.180Z","0.0.54-main.c79a72b":"2023-10-15T14:12:46.057Z","0.0.54-experimental-added-win-binary.741322e":"2023-10-15T14:24:41.239Z","0.0.54-experimental-added-win-binary.3911278":"2023-10-16T08:44:34.368Z","0.0.54-main.10497c8":"2023-10-16T11:21:52.107Z","0.0.55-main.954e402":"2023-10-16T11:35:07.586Z","0.0.55":"2023-10-18T07:49:25.438Z","0.0.56-main.13442fb":"2023-10-18T07:49:37.367Z","0.0.56-preevy-login-at-init.97f8399":"2023-10-18T10:28:22.261Z","0.0.56-preevy-login-at-init.788c7bd":"2023-10-18T10:45:25.031Z","0.0.56-main.4ab73c6":"2023-10-22T09:40:40.854Z","0.0.56-cli-profile-cp.377ae1a":"2023-10-25T13:41:29.209Z","0.0.56-cli-profile-cp.70bfaf5":"2023-10-25T13:49:52.068Z","0.0.56-cli-profile-cp.4dab17c":"2023-10-25T13:50:19.251Z","0.0.56-cli-profile-cp.6fe3829":"2023-10-25T14:15:57.125Z","0.0.56-cli-profile-cp.d503b25":"2023-10-25T14:19:29.877Z","0.0.56-cli-logo.6b2a63a":"2023-10-26T08:06:49.843Z","0.0.56-cli-logo.ecb9a0e":"2023-10-26T10:55:52.775Z","0.0.56-main.a5a100b":"2023-10-26T11:00:49.985Z","0.0.56-main.65eae06":"2023-10-26T11:07:37.392Z","0.0.56-main.2f68d57":"2023-10-26T11:10:35.047Z","0.0.56-main.247c122":"2023-10-30T07:34:03.993Z","0.0.56-main.053384a":"2023-10-30T08:34:31.257Z","0.0.56-compose-file-overrides.1d2ea9a":"2023-10-31T15:00:53.039Z","0.0.56-compose-file-overrides.cbb786b":"2023-11-01T10:13:59.050Z","0.0.56-main.1bda1e0":"2023-11-02T08:41:49.149Z","0.0.56-default-compose-preevy-file.2b8d737":"2023-11-02T10:49:37.250Z","0.0.56-default-compose-preevy-file.e418271":"2023-11-02T10:51:18.922Z","0.0.56-default-compose-preevy-file.c90efb9":"2023-11-02T11:08:43.860Z","0.0.56-default-compose-preevy-file.b838054":"2023-11-02T15:46:42.485Z","0.0.56-enable-widget-flag-for-preevy-up.0a1fde9":"2023-11-03T11:53:47.452Z","0.0.56-main.7865285":"2023-11-03T11:59:28.045Z","0.0.56":"2023-11-03T12:01:42.704Z","0.0.57-main.e00b2a8":"2023-11-03T12:02:12.661Z","0.0.57-default-compose-preevy-file.102f655":"2023-11-05T07:13:44.776Z","0.0.57-main.9ea875e":"2023-11-05T07:26:53.763Z","0.0.57-main.24cac97":"2023-11-05T08:20:40.618Z","0.0.57-main.8989b0d":"2023-11-09T15:26:13.799Z","0.0.57-refactor-labels.ab0784f":"2023-11-12T14:31:38.010Z","0.0.57-split-build.611640d":"2023-11-12T14:31:49.334Z","0.0.57-main.6f5d017":"2023-11-12T14:38:02.722Z","0.0.57-split-build.3463914":"2023-11-12T14:39:46.580Z","0.0.57-split-build.4ea8942":"2023-11-12T14:41:11.125Z","0.0.57-split-build.e77c1aa":"2023-11-12T15:34:40.413Z","0.0.57-region-autocomplete.761c1ac":"2023-11-13T09:25:51.354Z","0.0.57-region-autocomplete.bbffec1":"2023-11-13T10:08:04.821Z","0.0.57-main.cb66c36":"2023-11-15T08:05:55.800Z","0.0.57-split-build.1ffd1e8":"2023-11-21T06:59:18.268Z","0.0.57-fix-multiple-flags.5ecc8e7":"2023-11-21T08:48:00.761Z","0.0.57-fix-multiple-flags.d2f7f1d":"2023-11-21T09:31:31.162Z","0.0.57-split-build.dfe1dfa":"2023-11-22T14:36:38.197Z","0.0.57-main.2f1549f":"2023-11-23T09:19:00.968Z","0.0.57-split-build.8790835":"2023-11-23T09:20:10.540Z","0.0.57-main.00e10e9":"2023-11-23T09:47:03.754Z"},"maintainers":[{"name":"royra","email":"roy@razon.info"},{"name":"assafk88","email":"assaf@livecycle.io"},{"name":"yshayy","email":"yshay@livecycle.io"}],"description":"This plugin allows showing the Preevy environment URLs in a GitHub PR comment. The comment is added/updated at the `up` command and deleted in the `down` command.","license":"Apache-2.0","readme":"","readmeFilename":""}