@highstate/proxmox 0.7.2 → 0.7.4

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.
@@ -1,7 +1,7 @@
1
- import { toPromise, output } from '@highstate/pulumi';
2
- import { Provider } from '@muhlba91/pulumi-proxmoxve';
3
- import '@highstate/library';
4
-
1
+ // src/provider.ts
2
+ import { output, toPromise } from "@highstate/pulumi";
3
+ import { Provider } from "@muhlba91/pulumi-proxmoxve";
4
+ import "@highstate/library";
5
5
  function createProvider(cluster) {
6
6
  return toPromise(
7
7
  output(cluster).apply((cluster2) => {
@@ -16,4 +16,7 @@ function createProvider(cluster) {
16
16
  );
17
17
  }
18
18
 
19
- export { createProvider as c };
19
+ export {
20
+ createProvider
21
+ };
22
+ //# sourceMappingURL=chunk-2VWLHCZS.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/provider.ts"],"sourcesContent":["import { output, toPromise, type EntityInput } from \"@highstate/pulumi\"\nimport { Provider } from \"@muhlba91/pulumi-proxmoxve\"\nimport { proxmox } from \"@highstate/library\"\n\nexport function createProvider(\n cluster: EntityInput<typeof proxmox.clusterEntity>,\n): Promise<Provider> {\n return toPromise(\n output(cluster).apply(cluster => {\n return new Provider(\"proxmox\", {\n endpoint: cluster.endpoint,\n insecure: cluster.insecure,\n\n username: cluster.username,\n password: cluster.password,\n\n apiToken: cluster.apiToken,\n })\n }),\n )\n}\n"],"mappings":";AAAA,SAAS,QAAQ,iBAAmC;AACpD,SAAS,gBAAgB;AACzB,OAAwB;AAEjB,SAAS,eACd,SACmB;AACnB,SAAO;AAAA,IACL,OAAO,OAAO,EAAE,MAAM,CAAAA,aAAW;AAC/B,aAAO,IAAI,SAAS,WAAW;AAAA,QAC7B,UAAUA,SAAQ;AAAA,QAClB,UAAUA,SAAQ;AAAA,QAElB,UAAUA,SAAQ;AAAA,QAClB,UAAUA,SAAQ;AAAA,QAElB,UAAUA,SAAQ;AAAA,MACpB,CAAC;AAAA,IACH,CAAC;AAAA,EACH;AACF;","names":["cluster"]}
@@ -1,9 +1,9 @@
1
- import { proxmox } from '@highstate/library';
2
- import { forUnit, toPromise, output } from '@highstate/pulumi';
3
- import { Provider, cluster, storage } from '@muhlba91/pulumi-proxmoxve';
4
-
5
- const { args, secrets, outputs } = forUnit(proxmox.connection);
6
- const provider = await toPromise(
1
+ // src/connection/index.ts
2
+ import { proxmox } from "@highstate/library";
3
+ import { forUnit, output, toPromise } from "@highstate/pulumi";
4
+ import { cluster, storage, Provider } from "@muhlba91/pulumi-proxmoxve";
5
+ var { args, secrets, outputs } = forUnit(proxmox.connection);
6
+ var provider = await toPromise(
7
7
  output({ args, secrets }).apply(({ args: args2, secrets: secrets2 }) => {
8
8
  return new Provider("proxmox", {
9
9
  endpoint: args2.endpoint,
@@ -14,23 +14,23 @@ const provider = await toPromise(
14
14
  });
15
15
  })
16
16
  );
17
- const nodes = await cluster.getNodes({ provider });
17
+ var nodes = await cluster.getNodes({ provider });
18
18
  if (nodes.names.length === 0) {
19
19
  throw new Error("No nodes found");
20
20
  }
21
- const nodeName = args.defaultNodeName ?? nodes.names[0];
21
+ var nodeName = args.defaultNodeName ?? nodes.names[0];
22
22
  if (!nodes.names.includes(nodeName)) {
23
23
  throw new Error(`Node '${nodeName}' not found in the cluster`);
24
24
  }
25
- const datastores = await storage.getDatastores({ nodeName }, { provider });
25
+ var datastores = await storage.getDatastores({ nodeName }, { provider });
26
26
  if (datastores.datastoreIds.length === 0) {
27
27
  throw new Error(`No datastores found in the node '${nodeName}'`);
28
28
  }
29
- const datastoreId = args.defaultDatastoreId ?? datastores.datastoreIds[0];
29
+ var datastoreId = args.defaultDatastoreId ?? datastores.datastoreIds[0];
30
30
  if (!datastores.datastoreIds.includes(datastoreId)) {
31
31
  throw new Error(`Datastore '${datastoreId}' not found in the node '${nodeName}'`);
32
32
  }
33
- const proxmoxCluster = output({
33
+ var proxmoxCluster = output({
34
34
  endpoint: args.endpoint,
35
35
  insecure: args.insecure,
36
36
  username: args.username,
@@ -39,7 +39,7 @@ const proxmoxCluster = output({
39
39
  password: secrets.password,
40
40
  apiToken: secrets.apiToken
41
41
  });
42
- var index = outputs({
42
+ var connection_default = outputs({
43
43
  proxmoxCluster,
44
44
  $status: {
45
45
  defaultNodeName: {
@@ -50,5 +50,7 @@ var index = outputs({
50
50
  }
51
51
  }
52
52
  });
53
-
54
- export { index as default };
53
+ export {
54
+ connection_default as default
55
+ };
56
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/connection/index.ts"],"sourcesContent":["import type { EntityValue, Output } from \"@highstate/pulumi\"\nimport { proxmox } from \"@highstate/library\"\nimport { forUnit, output, toPromise } from \"@highstate/pulumi\"\nimport { cluster, storage, Provider } from \"@muhlba91/pulumi-proxmoxve\"\n\nconst { args, secrets, outputs } = forUnit(proxmox.connection)\n\nconst provider = await toPromise(\n output({ args, secrets }).apply(({ args, secrets }) => {\n return new Provider(\"proxmox\", {\n endpoint: args.endpoint,\n insecure: args.insecure,\n\n username: args.username,\n password: secrets.password,\n\n apiToken: secrets.apiToken,\n })\n }),\n)\n\nconst nodes = await cluster.getNodes({ provider })\nif (nodes.names.length === 0) {\n throw new Error(\"No nodes found\")\n}\n\nconst nodeName = args.defaultNodeName ?? nodes.names[0]\nif (!nodes.names.includes(nodeName)) {\n throw new Error(`Node '${nodeName}' not found in the cluster`)\n}\n\nconst datastores = await storage.getDatastores({ nodeName }, { provider })\nif (datastores.datastoreIds.length === 0) {\n throw new Error(`No datastores found in the node '${nodeName}'`)\n}\n\nconst datastoreId = args.defaultDatastoreId ?? datastores.datastoreIds[0]\nif (!datastores.datastoreIds.includes(datastoreId)) {\n throw new Error(`Datastore '${datastoreId}' not found in the node '${nodeName}'`)\n}\n\nconst proxmoxCluster: Output<EntityValue<typeof proxmox.clusterEntity>> = output({\n endpoint: args.endpoint,\n insecure: args.insecure,\n username: args.username,\n defaultNodeName: nodeName,\n defaultDatastoreId: datastoreId,\n password: secrets.password,\n apiToken: secrets.apiToken,\n})\n\nexport default outputs({\n proxmoxCluster,\n $status: {\n defaultNodeName: {\n value: proxmoxCluster.defaultNodeName,\n },\n defaultDatastoreId: {\n value: proxmoxCluster.defaultDatastoreId,\n },\n },\n})\n"],"mappings":";AACA,SAAS,eAAe;AACxB,SAAS,SAAS,QAAQ,iBAAiB;AAC3C,SAAS,SAAS,SAAS,gBAAgB;AAE3C,IAAM,EAAE,MAAM,SAAS,QAAQ,IAAI,QAAQ,QAAQ,UAAU;AAE7D,IAAM,WAAW,MAAM;AAAA,EACrB,OAAO,EAAE,MAAM,QAAQ,CAAC,EAAE,MAAM,CAAC,EAAE,MAAAA,OAAM,SAAAC,SAAQ,MAAM;AACrD,WAAO,IAAI,SAAS,WAAW;AAAA,MAC7B,UAAUD,MAAK;AAAA,MACf,UAAUA,MAAK;AAAA,MAEf,UAAUA,MAAK;AAAA,MACf,UAAUC,SAAQ;AAAA,MAElB,UAAUA,SAAQ;AAAA,IACpB,CAAC;AAAA,EACH,CAAC;AACH;AAEA,IAAM,QAAQ,MAAM,QAAQ,SAAS,EAAE,SAAS,CAAC;AACjD,IAAI,MAAM,MAAM,WAAW,GAAG;AAC5B,QAAM,IAAI,MAAM,gBAAgB;AAClC;AAEA,IAAM,WAAW,KAAK,mBAAmB,MAAM,MAAM,CAAC;AACtD,IAAI,CAAC,MAAM,MAAM,SAAS,QAAQ,GAAG;AACnC,QAAM,IAAI,MAAM,SAAS,QAAQ,4BAA4B;AAC/D;AAEA,IAAM,aAAa,MAAM,QAAQ,cAAc,EAAE,SAAS,GAAG,EAAE,SAAS,CAAC;AACzE,IAAI,WAAW,aAAa,WAAW,GAAG;AACxC,QAAM,IAAI,MAAM,oCAAoC,QAAQ,GAAG;AACjE;AAEA,IAAM,cAAc,KAAK,sBAAsB,WAAW,aAAa,CAAC;AACxE,IAAI,CAAC,WAAW,aAAa,SAAS,WAAW,GAAG;AAClD,QAAM,IAAI,MAAM,cAAc,WAAW,4BAA4B,QAAQ,GAAG;AAClF;AAEA,IAAM,iBAAoE,OAAO;AAAA,EAC/E,UAAU,KAAK;AAAA,EACf,UAAU,KAAK;AAAA,EACf,UAAU,KAAK;AAAA,EACf,iBAAiB;AAAA,EACjB,oBAAoB;AAAA,EACpB,UAAU,QAAQ;AAAA,EAClB,UAAU,QAAQ;AACpB,CAAC;AAED,IAAO,qBAAQ,QAAQ;AAAA,EACrB;AAAA,EACA,SAAS;AAAA,IACP,iBAAiB;AAAA,MACf,OAAO,eAAe;AAAA,IACxB;AAAA,IACA,oBAAoB;AAAA,MAClB,OAAO,eAAe;AAAA,IACxB;AAAA,EACF;AACF,CAAC;","names":["args","secrets"]}
@@ -1,11 +1,13 @@
1
- import { proxmox } from '@highstate/library';
2
- import { forUnit } from '@highstate/pulumi';
3
-
4
- const { args, outputs } = forUnit(proxmox.existingImage);
5
- var index = outputs({
1
+ // src/existing-image/index.ts
2
+ import { proxmox } from "@highstate/library";
3
+ import { forUnit } from "@highstate/pulumi";
4
+ var { args, outputs } = forUnit(proxmox.existingImage);
5
+ var existing_image_default = outputs({
6
6
  image: {
7
7
  id: args.id
8
8
  }
9
9
  });
10
-
11
- export { index as default };
10
+ export {
11
+ existing_image_default as default
12
+ };
13
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/existing-image/index.ts"],"sourcesContent":["import { proxmox } from \"@highstate/library\"\nimport { forUnit } from \"@highstate/pulumi\"\n\nconst { args, outputs } = forUnit(proxmox.existingImage)\n\nexport default outputs({\n image: {\n id: args.id,\n },\n})\n"],"mappings":";AAAA,SAAS,eAAe;AACxB,SAAS,eAAe;AAExB,IAAM,EAAE,MAAM,QAAQ,IAAI,QAAQ,QAAQ,aAAa;AAEvD,IAAO,yBAAQ,QAAQ;AAAA,EACrB,OAAO;AAAA,IACL,IAAI,KAAK;AAAA,EACX;AACF,CAAC;","names":[]}
@@ -0,0 +1,8 @@
1
+ {
2
+ "sourceHashes": {
3
+ "./dist/connection/index.js": "e729d2da432afe6dafab4b8b9941639c003bd4974ccaf37eff8860e54fdf101b",
4
+ "./dist/virtual-machine/index.js": "98a84fb844a94f1facfae0f1faad3880354fdf99299c633115055d4782ebaacc",
5
+ "./dist/existing-image/index.js": "f6f3978bd3681b7b4f5cb1033a4dda7c9451eb7ed00ea2c91d11919d37bcfe6f",
6
+ "./dist/image/index.js": "454be0931b2bc77fd718419ac51df0eaa5ac221606c2f706cd4703a4122dd309"
7
+ }
8
+ }
@@ -1,11 +1,14 @@
1
- import { proxmox } from '@highstate/library';
2
- import { forUnit, output } from '@highstate/pulumi';
3
- import { download } from '@muhlba91/pulumi-proxmoxve';
4
- import { c as createProvider } from '../provider-BgV8Lmo6.js';
1
+ import {
2
+ createProvider
3
+ } from "../chunk-2VWLHCZS.js";
5
4
 
6
- const { name, args, inputs, outputs } = forUnit(proxmox.image);
7
- const provider = await createProvider(inputs.proxmoxCluster);
8
- const file = new download.File(
5
+ // src/image/index.ts
6
+ import { proxmox } from "@highstate/library";
7
+ import { forUnit, output } from "@highstate/pulumi";
8
+ import { download } from "@muhlba91/pulumi-proxmoxve";
9
+ var { name, args, inputs, outputs } = forUnit(proxmox.image);
10
+ var provider = await createProvider(inputs.proxmoxCluster);
11
+ var file = new download.File(
9
12
  name,
10
13
  {
11
14
  contentType: "iso",
@@ -25,10 +28,12 @@ function getNameByUrl(url) {
25
28
  const extension = parts[parts.length - 1];
26
29
  return [name2, extension];
27
30
  }
28
- var index = outputs({
31
+ var image_default = outputs({
29
32
  image: {
30
33
  id: file.id
31
34
  }
32
35
  });
33
-
34
- export { index as default };
36
+ export {
37
+ image_default as default
38
+ };
39
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/image/index.ts"],"sourcesContent":["import { proxmox } from \"@highstate/library\"\nimport { forUnit, output } from \"@highstate/pulumi\"\nimport { download } from \"@muhlba91/pulumi-proxmoxve\"\nimport { createProvider } from \"../provider\"\n\nconst { name, args, inputs, outputs } = forUnit(proxmox.image)\n\nconst provider = await createProvider(inputs.proxmoxCluster)\n\nconst file = new download.File(\n name,\n {\n contentType: \"iso\",\n checksumAlgorithm: \"sha256\",\n checksum: args.sha256,\n\n datastoreId:\n args.datastoreId ?? inputs.proxmoxCluster.defaultDatastoreId!.apply(id => id ?? \"local-lvm\"),\n\n url: args.url,\n nodeName: args.nodeName ?? inputs.proxmoxCluster.defaultNodeName,\n\n fileName: output(args.url)\n .apply(getNameByUrl)\n .apply(([name, extension]) => `${name}-${args.sha256}.${extension}`),\n },\n { provider },\n)\n\nfunction getNameByUrl(url: string): [name: string, extension: string] {\n const fullName = url.split(\"/\").pop()!.split(\"?\")[0]\n const parts = fullName.split(\".\")\n\n const name = parts.slice(0, parts.length - 1).join(\".\")\n const extension = parts[parts.length - 1]\n\n return [name, extension]\n}\n\nexport default outputs({\n image: {\n id: file.id,\n },\n})\n"],"mappings":";;;;;AAAA,SAAS,eAAe;AACxB,SAAS,SAAS,cAAc;AAChC,SAAS,gBAAgB;AAGzB,IAAM,EAAE,MAAM,MAAM,QAAQ,QAAQ,IAAI,QAAQ,QAAQ,KAAK;AAE7D,IAAM,WAAW,MAAM,eAAe,OAAO,cAAc;AAE3D,IAAM,OAAO,IAAI,SAAS;AAAA,EACxB;AAAA,EACA;AAAA,IACE,aAAa;AAAA,IACb,mBAAmB;AAAA,IACnB,UAAU,KAAK;AAAA,IAEf,aACE,KAAK,eAAe,OAAO,eAAe,mBAAoB,MAAM,QAAM,MAAM,WAAW;AAAA,IAE7F,KAAK,KAAK;AAAA,IACV,UAAU,KAAK,YAAY,OAAO,eAAe;AAAA,IAEjD,UAAU,OAAO,KAAK,GAAG,EACtB,MAAM,YAAY,EAClB,MAAM,CAAC,CAACA,OAAM,SAAS,MAAM,GAAGA,KAAI,IAAI,KAAK,MAAM,IAAI,SAAS,EAAE;AAAA,EACvE;AAAA,EACA,EAAE,SAAS;AACb;AAEA,SAAS,aAAa,KAAgD;AACpE,QAAM,WAAW,IAAI,MAAM,GAAG,EAAE,IAAI,EAAG,MAAM,GAAG,EAAE,CAAC;AACnD,QAAM,QAAQ,SAAS,MAAM,GAAG;AAEhC,QAAMA,QAAO,MAAM,MAAM,GAAG,MAAM,SAAS,CAAC,EAAE,KAAK,GAAG;AACtD,QAAM,YAAY,MAAM,MAAM,SAAS,CAAC;AAExC,SAAO,CAACA,OAAM,SAAS;AACzB;AAEA,IAAO,gBAAQ,QAAQ;AAAA,EACrB,OAAO;AAAA,IACL,IAAI,KAAK;AAAA,EACX;AACF,CAAC;","names":["name"]}
@@ -1,14 +1,17 @@
1
- import { proxmox } from '@highstate/library';
2
- import { forUnit, output } from '@highstate/pulumi';
3
- import { vm } from '@muhlba91/pulumi-proxmoxve';
4
- import { createSshTerminal } from '@highstate/common';
5
- import { c as createProvider } from '../provider-BgV8Lmo6.js';
1
+ import {
2
+ createProvider
3
+ } from "../chunk-2VWLHCZS.js";
6
4
 
7
- const { name, args, inputs, secrets, outputs } = forUnit(proxmox.virtualMachine);
8
- const provider = await createProvider(inputs.proxmoxCluster);
9
- const nodeName = args.nodeName ?? inputs.proxmoxCluster.defaultNodeName;
10
- const datastoreId = args.datastoreId ?? inputs.proxmoxCluster.defaultDatastoreId;
11
- const machine = new vm.VirtualMachine(
5
+ // src/virtual-machine/index.ts
6
+ import { proxmox } from "@highstate/library";
7
+ import { forUnit, output } from "@highstate/pulumi";
8
+ import { vm } from "@muhlba91/pulumi-proxmoxve";
9
+ import { createSshTerminal } from "@highstate/common";
10
+ var { name, args, inputs, secrets, outputs } = forUnit(proxmox.virtualMachine);
11
+ var provider = await createProvider(inputs.proxmoxCluster);
12
+ var nodeName = args.nodeName ?? inputs.proxmoxCluster.defaultNodeName;
13
+ var datastoreId = args.datastoreId ?? inputs.proxmoxCluster.defaultDatastoreId;
14
+ var machine = new vm.VirtualMachine(
12
15
  name,
13
16
  {
14
17
  name,
@@ -77,8 +80,8 @@ function createCloudInit(resolvedInputs) {
77
80
  }) : void 0
78
81
  };
79
82
  }
80
- const endpoint = machine.ipv4Addresses.apply(findNotLocalHostIpV4);
81
- const server = output({
83
+ var endpoint = machine.ipv4Addresses.apply(findNotLocalHostIpV4);
84
+ var server = output({
82
85
  endpoint,
83
86
  hostname: name,
84
87
  sshCredentials: {
@@ -86,7 +89,7 @@ const server = output({
86
89
  user: args.sshUser ?? "root"
87
90
  }
88
91
  });
89
- var index = outputs({
92
+ var virtual_machine_default = outputs({
90
93
  server,
91
94
  $status: {
92
95
  endpoint: {
@@ -100,5 +103,7 @@ var index = outputs({
100
103
  ssh: server.apply(createSshTerminal)
101
104
  }
102
105
  });
103
-
104
- export { index as default };
106
+ export {
107
+ virtual_machine_default as default
108
+ };
109
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/virtual-machine/index.ts"],"sourcesContent":["import type { VM } from \"@muhlba91/pulumi-proxmoxve/types/input\"\nimport { common, proxmox } from \"@highstate/library\"\nimport { forUnit, Output, output, type Unwrap } from \"@highstate/pulumi\"\nimport { vm } from \"@muhlba91/pulumi-proxmoxve\"\nimport { createSshTerminal } from \"@highstate/common\"\nimport { createProvider } from \"../provider\"\n\nconst { name, args, inputs, secrets, outputs } = forUnit(proxmox.virtualMachine)\n\nconst provider = await createProvider(inputs.proxmoxCluster)\n\nconst nodeName = args.nodeName ?? inputs.proxmoxCluster.defaultNodeName\nconst datastoreId = args.datastoreId ?? inputs.proxmoxCluster.defaultDatastoreId\n\nconst machine = new vm.VirtualMachine(\n name,\n {\n name,\n nodeName,\n agent: {\n enabled: true,\n },\n cpu: {\n cores: args.cores,\n sockets: args.sockets,\n type: args.cpuType ?? \"host\",\n },\n memory: {\n dedicated: args.memory,\n },\n cdrom: {\n enabled: true,\n interface: \"ide1\",\n fileId: inputs.image.id,\n },\n disks: [\n {\n interface: \"scsi0\",\n size: args.diskSize,\n datastoreId,\n },\n ],\n networkDevices: [\n {\n bridge: args.bridge,\n },\n ],\n initialization: output(inputs).apply(createCloudInit),\n bootOrders: [\"scsi0\", \"ide1\"],\n },\n { provider },\n)\n\nfunction findNotLocalHostIpV4(ips: string[][]): string {\n for (const ip of ips) {\n if (ip[0] && ip[0] !== \"127.0.0.1\") {\n return ip[0]\n }\n }\n\n throw new Error(\"No non-local host IP found\")\n}\n\nfunction deriveIpV4Gateway(ip: string): string {\n return ip.split(\".\").slice(0, 3).join(\".\") + \".1\"\n}\n\nfunction createCloudInit(resolvedInputs: Unwrap<typeof inputs>): VM.VirtualMachineInitialization {\n return {\n datastoreId,\n interface: \"ide2\",\n ipConfigs: args.ipv4\n ? [\n {\n ipv4: {\n address: args.ipv4,\n gateway: args.ipv4Gateway ?? deriveIpV4Gateway(args.ipv4),\n },\n },\n ]\n : undefined,\n dns: args.dns ? { servers: args.dns } : undefined,\n\n userAccount: resolvedInputs.sshKeyPair\n ? output({\n keys: [resolvedInputs.sshKeyPair.publicKey],\n username: args.sshUser ?? \"root\",\n password: secrets.sshPassword,\n })\n : undefined,\n }\n}\n\nconst endpoint = machine.ipv4Addresses.apply(findNotLocalHostIpV4)\n\nconst server: Output<common.Server> = output({\n endpoint,\n hostname: name,\n sshCredentials: {\n privateKey: inputs.sshKeyPair?.privateKey,\n user: args.sshUser ?? \"root\",\n },\n})\n\nexport default outputs({\n server,\n $status: {\n endpoint: {\n value: endpoint,\n },\n hostname: {\n value: name,\n },\n },\n $terminals: {\n ssh: server.apply(createSshTerminal),\n },\n})\n"],"mappings":";;;;;AACA,SAAiB,eAAe;AAChC,SAAS,SAAiB,cAA2B;AACrD,SAAS,UAAU;AACnB,SAAS,yBAAyB;AAGlC,IAAM,EAAE,MAAM,MAAM,QAAQ,SAAS,QAAQ,IAAI,QAAQ,QAAQ,cAAc;AAE/E,IAAM,WAAW,MAAM,eAAe,OAAO,cAAc;AAE3D,IAAM,WAAW,KAAK,YAAY,OAAO,eAAe;AACxD,IAAM,cAAc,KAAK,eAAe,OAAO,eAAe;AAE9D,IAAM,UAAU,IAAI,GAAG;AAAA,EACrB;AAAA,EACA;AAAA,IACE;AAAA,IACA;AAAA,IACA,OAAO;AAAA,MACL,SAAS;AAAA,IACX;AAAA,IACA,KAAK;AAAA,MACH,OAAO,KAAK;AAAA,MACZ,SAAS,KAAK;AAAA,MACd,MAAM,KAAK,WAAW;AAAA,IACxB;AAAA,IACA,QAAQ;AAAA,MACN,WAAW,KAAK;AAAA,IAClB;AAAA,IACA,OAAO;AAAA,MACL,SAAS;AAAA,MACT,WAAW;AAAA,MACX,QAAQ,OAAO,MAAM;AAAA,IACvB;AAAA,IACA,OAAO;AAAA,MACL;AAAA,QACE,WAAW;AAAA,QACX,MAAM,KAAK;AAAA,QACX;AAAA,MACF;AAAA,IACF;AAAA,IACA,gBAAgB;AAAA,MACd;AAAA,QACE,QAAQ,KAAK;AAAA,MACf;AAAA,IACF;AAAA,IACA,gBAAgB,OAAO,MAAM,EAAE,MAAM,eAAe;AAAA,IACpD,YAAY,CAAC,SAAS,MAAM;AAAA,EAC9B;AAAA,EACA,EAAE,SAAS;AACb;AAEA,SAAS,qBAAqB,KAAyB;AACrD,aAAW,MAAM,KAAK;AACpB,QAAI,GAAG,CAAC,KAAK,GAAG,CAAC,MAAM,aAAa;AAClC,aAAO,GAAG,CAAC;AAAA,IACb;AAAA,EACF;AAEA,QAAM,IAAI,MAAM,4BAA4B;AAC9C;AAEA,SAAS,kBAAkB,IAAoB;AAC7C,SAAO,GAAG,MAAM,GAAG,EAAE,MAAM,GAAG,CAAC,EAAE,KAAK,GAAG,IAAI;AAC/C;AAEA,SAAS,gBAAgB,gBAAwE;AAC/F,SAAO;AAAA,IACL;AAAA,IACA,WAAW;AAAA,IACX,WAAW,KAAK,OACZ;AAAA,MACE;AAAA,QACE,MAAM;AAAA,UACJ,SAAS,KAAK;AAAA,UACd,SAAS,KAAK,eAAe,kBAAkB,KAAK,IAAI;AAAA,QAC1D;AAAA,MACF;AAAA,IACF,IACA;AAAA,IACJ,KAAK,KAAK,MAAM,EAAE,SAAS,KAAK,IAAI,IAAI;AAAA,IAExC,aAAa,eAAe,aACxB,OAAO;AAAA,MACL,MAAM,CAAC,eAAe,WAAW,SAAS;AAAA,MAC1C,UAAU,KAAK,WAAW;AAAA,MAC1B,UAAU,QAAQ;AAAA,IACpB,CAAC,IACD;AAAA,EACN;AACF;AAEA,IAAM,WAAW,QAAQ,cAAc,MAAM,oBAAoB;AAEjE,IAAM,SAAgC,OAAO;AAAA,EAC3C;AAAA,EACA,UAAU;AAAA,EACV,gBAAgB;AAAA,IACd,YAAY,OAAO,YAAY;AAAA,IAC/B,MAAM,KAAK,WAAW;AAAA,EACxB;AACF,CAAC;AAED,IAAO,0BAAQ,QAAQ;AAAA,EACrB;AAAA,EACA,SAAS;AAAA,IACP,UAAU;AAAA,MACR,OAAO;AAAA,IACT;AAAA,IACA,UAAU;AAAA,MACR,OAAO;AAAA,IACT;AAAA,EACF;AAAA,EACA,YAAY;AAAA,IACV,KAAK,OAAO,MAAM,iBAAiB;AAAA,EACrC;AACF,CAAC;","names":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@highstate/proxmox",
3
- "version": "0.7.2",
3
+ "version": "0.7.4",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"
@@ -15,19 +15,19 @@
15
15
  "access": "public"
16
16
  },
17
17
  "scripts": {
18
- "build": "pkgroll --tsconfig=tsconfig.build.json"
18
+ "build": "highstate build"
19
19
  },
20
20
  "dependencies": {
21
- "@highstate/common": "^0.7.2",
22
- "@highstate/contract": "^0.7.2",
23
- "@highstate/pulumi": "^0.7.2",
21
+ "@highstate/common": "^0.7.4",
22
+ "@highstate/contract": "^0.7.4",
23
+ "@highstate/pulumi": "^0.7.4",
24
24
  "@muhlba91/pulumi-proxmoxve": "^6.17.1"
25
25
  },
26
26
  "peerDependencies": {
27
27
  "@highstate/library": "workspace:^0.4.4"
28
28
  },
29
29
  "devDependencies": {
30
- "pkgroll": "^2.5.1"
30
+ "@highstate/cli": "^0.7.4"
31
31
  },
32
- "gitHead": "e177535015e0fa3c74ae8ddc0bc6d31b191d2c54"
32
+ "gitHead": "c482cdf650746f6814122602d65bf5b842a2bc2c"
33
33
  }