@reportforge/playwright-pdf 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -10971,6 +10971,18 @@ function detectCiEnv() {
10971
10971
  ciProvider: "CircleCI"
10972
10972
  };
10973
10973
  }
10974
+ if (env.BITBUCKET_BUILD_NUMBER) {
10975
+ const workspace = env.BITBUCKET_WORKSPACE;
10976
+ const repoSlug = env.BITBUCKET_REPO_SLUG;
10977
+ const buildNumber = env.BITBUCKET_BUILD_NUMBER;
10978
+ const buildUrl = workspace && repoSlug && buildNumber ? `https://bitbucket.org/${workspace}/${repoSlug}/pipelines/results/${buildNumber}` : "";
10979
+ return {
10980
+ branch: env.BITBUCKET_BRANCH || "unknown",
10981
+ commit: env.BITBUCKET_COMMIT?.slice(0, COMMIT_HASH_LENGTH) || "unknown",
10982
+ buildUrl,
10983
+ ciProvider: "Bitbucket Pipelines"
10984
+ };
10985
+ }
10974
10986
  return {
10975
10987
  branch: gitBranch(),
10976
10988
  commit: gitCommit(),
@@ -12616,7 +12628,7 @@ var PdfReporter = class {
12616
12628
  this.dataCollector = new DataCollector();
12617
12629
  this.pdfGenerator = new PdfGenerator();
12618
12630
  this.options = parseOptions(rawOptions);
12619
- const version = true ? "0.2.0" : "0.x";
12631
+ const version = true ? "0.2.1" : "0.x";
12620
12632
  logger.info(`@reportforge/playwright-pdf v${version} initialised`);
12621
12633
  this.licenseClient = new LicenseClient({
12622
12634
  licenseKey: this.options.licenseKey,
package/dist/index.mjs CHANGED
@@ -10972,6 +10972,18 @@ function detectCiEnv() {
10972
10972
  ciProvider: "CircleCI"
10973
10973
  };
10974
10974
  }
10975
+ if (env.BITBUCKET_BUILD_NUMBER) {
10976
+ const workspace = env.BITBUCKET_WORKSPACE;
10977
+ const repoSlug = env.BITBUCKET_REPO_SLUG;
10978
+ const buildNumber = env.BITBUCKET_BUILD_NUMBER;
10979
+ const buildUrl = workspace && repoSlug && buildNumber ? `https://bitbucket.org/${workspace}/${repoSlug}/pipelines/results/${buildNumber}` : "";
10980
+ return {
10981
+ branch: env.BITBUCKET_BRANCH || "unknown",
10982
+ commit: env.BITBUCKET_COMMIT?.slice(0, COMMIT_HASH_LENGTH) || "unknown",
10983
+ buildUrl,
10984
+ ciProvider: "Bitbucket Pipelines"
10985
+ };
10986
+ }
10975
10987
  return {
10976
10988
  branch: gitBranch(),
10977
10989
  commit: gitCommit(),
@@ -12617,7 +12629,7 @@ var PdfReporter = class {
12617
12629
  this.dataCollector = new DataCollector();
12618
12630
  this.pdfGenerator = new PdfGenerator();
12619
12631
  this.options = parseOptions(rawOptions);
12620
- const version = true ? "0.2.0" : "0.x";
12632
+ const version = true ? "0.2.1" : "0.x";
12621
12633
  logger.info(`@reportforge/playwright-pdf v${version} initialised`);
12622
12634
  this.licenseClient = new LicenseClient({
12623
12635
  licenseKey: this.options.licenseKey,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reportforge/playwright-pdf",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Enterprise-ready PDF reports for Playwright Test — minimal, detailed, and executive templates with CI/CD integrations",
5
5
  "license": "MIT",
6
6
  "author": "ReportForge",