@sdlcworks/components 0.0.40 → 0.0.42

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.d.ts CHANGED
@@ -17,7 +17,8 @@ export declare enum CloudProvider {
17
17
  azure = "azure",
18
18
  linode = "linode",
19
19
  hetzner = "hetzner",
20
- cloudflare = "cloudflare"
20
+ cloudflare = "cloudflare",
21
+ github = "github"
21
22
  }
22
23
  export declare enum DeploymentArtifactType {
23
24
  oci_spec_image = "oci_spec_image",
@@ -45,6 +46,12 @@ export type BranchMetadataCloudCredentialCloudflare = {
45
46
  CLOUDFLARE_API_TOKEN: string;
46
47
  CLOUDFLARE_ACCOUNT_ID?: string;
47
48
  };
49
+ /**
50
+ * GitHub credential fields required for authentication.
51
+ */
52
+ export type BranchMetadataCloudCredentialGitHub = {
53
+ GH_TOKEN: string;
54
+ };
48
55
  /**
49
56
  * Environment variable store for app components.
50
57
  * Maps component name to its resolved environment variables (key-value pairs).
@@ -61,6 +68,7 @@ export type ProviderCredentialsMap = {
61
68
  [CloudProvider.gcloud]: BranchMetadataCloudCredentialGCP;
62
69
  [CloudProvider.aws]: BranchMetadataCloudCredentialAWS;
63
70
  [CloudProvider.cloudflare]: BranchMetadataCloudCredentialCloudflare;
71
+ [CloudProvider.github]: BranchMetadataCloudCredentialGitHub;
64
72
  [CloudProvider.azure]: Record<string, unknown>;
65
73
  [CloudProvider.linode]: Record<string, unknown>;
66
74
  [CloudProvider.hetzner]: Record<string, unknown>;
@@ -642,6 +650,7 @@ export type ArtifactRegistryPublishCtx<S, P extends CloudProvider = CloudProvide
642
650
  type: DeploymentArtifactType;
643
651
  };
644
652
  version: string;
653
+ tag: string;
645
654
  publishConfig: Record<string, any>;
646
655
  state: S;
647
656
  getCredentials: GetCredentialsFn<P>;
package/dist/index.js CHANGED
@@ -346558,6 +346558,7 @@ var CloudProvider;
346558
346558
  CloudProvider2["linode"] = "linode";
346559
346559
  CloudProvider2["hetzner"] = "hetzner";
346560
346560
  CloudProvider2["cloudflare"] = "cloudflare";
346561
+ CloudProvider2["github"] = "github";
346561
346562
  })(CloudProvider || (CloudProvider = {}));
346562
346563
  var DeploymentArtifactType;
346563
346564
  (function(DeploymentArtifactType2) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sdlcworks/components",
3
- "version": "0.0.40",
3
+ "version": "0.0.42",
4
4
  "module": "dist/index.js",
5
5
  "files": [
6
6
  "dist"