@goldstack/infra-hetzner 0.1.21 → 0.1.22
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/src/infraHetzner.d.ts +1 -2
- package/dist/src/infraHetzner.d.ts.map +1 -1
- package/dist/src/infraHetzner.js +2 -2
- package/dist/src/infraHetzner.js.map +1 -1
- package/dist/src/schemas/accountConfigSchema.json +10 -3
- package/dist/src/schemas/deploymentConfigSchema.json +5 -1
- package/package.json +8 -8
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import type { HetznerConfiguration } from './types/HetznerConfiguration';
|
|
2
|
-
import type { HetznerUser } from './types/HetznerConfiguration';
|
|
1
|
+
import type { HetznerConfiguration, HetznerUser } from './types/HetznerConfiguration';
|
|
3
2
|
import type { HetznerDeployment } from './types/HetznerDeployment';
|
|
4
3
|
export type { HetznerUser, HetznerDeployment };
|
|
5
4
|
export declare const readDeploymentFromPackageConfig: (deploymentName: string, path?: string) => HetznerDeployment;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"infraHetzner.d.ts","sourceRoot":"","sources":["../../src/infraHetzner.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"infraHetzner.d.ts","sourceRoot":"","sources":["../../src/infraHetzner.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,oBAAoB,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AACtF,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAEnE,YAAY,EAAE,WAAW,EAAE,iBAAiB,EAAE,CAAC;AAE/C,eAAO,MAAM,+BAA+B,GAC1C,gBAAgB,MAAM,EACtB,OAAO,MAAM,KACZ,iBAYF,CAAC;AAEF,eAAO,MAAM,SAAS,GAAI,OAAO,MAAM,KAAG,OAOzC,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI,OAAO,MAAM,KAAG,oBAa1C,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,QAAQ,oBAAoB,EAAE,OAAO,MAAM,KAAG,IAKzE,CAAC;AAEF,eAAO,MAAM,mBAAmB,QAAO,oBAItC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,cAAc,GACzB,UAAU,MAAM,EAChB,aAAa,MAAM,KAClB,OAAO,CAAC,WAAW,CAmBrB,CAAC"}
|
package/dist/src/infraHetzner.js
CHANGED
|
@@ -4,11 +4,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.getHetznerUser = exports.createDefaultConfig = exports.writeConfig = exports.readConfig = exports.hasConfig = exports.readDeploymentFromPackageConfig = void 0;
|
|
7
|
-
const fs_1 = __importDefault(require("fs"));
|
|
8
7
|
const utils_config_1 = require("@goldstack/utils-config");
|
|
9
|
-
const utils_sh_1 = require("@goldstack/utils-sh");
|
|
10
8
|
const utils_log_1 = require("@goldstack/utils-log");
|
|
11
9
|
const utils_package_1 = require("@goldstack/utils-package");
|
|
10
|
+
const utils_sh_1 = require("@goldstack/utils-sh");
|
|
11
|
+
const fs_1 = __importDefault(require("fs"));
|
|
12
12
|
const accountConfigSchema_json_1 = __importDefault(require("./schemas/accountConfigSchema.json"));
|
|
13
13
|
const deploymentConfigSchema_json_1 = __importDefault(require("./schemas/deploymentConfigSchema.json"));
|
|
14
14
|
const readDeploymentFromPackageConfig = (deploymentName, path) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"infraHetzner.js","sourceRoot":"","sources":["../../src/infraHetzner.ts"],"names":[],"mappings":";;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"infraHetzner.js","sourceRoot":"","sources":["../../src/infraHetzner.ts"],"names":[],"mappings":";;;;;;AAAA,0DAA4F;AAC5F,oDAA4C;AAC5C,4DAA6D;AAC7D,kDAAkD;AAClD,4CAAoB;AAEpB,kGAA8D;AAE9D,wGAA2E;AAMpE,MA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
|
|
13
13
|
"type": "array"
|
|
14
14
|
}
|
|
15
15
|
},
|
|
16
|
-
"required": [
|
|
16
|
+
"required": [
|
|
17
|
+
"users"
|
|
18
|
+
],
|
|
17
19
|
"title": "Hetzner Configuration",
|
|
18
20
|
"type": "object"
|
|
19
21
|
},
|
|
@@ -28,7 +30,10 @@
|
|
|
28
30
|
"type": "string"
|
|
29
31
|
}
|
|
30
32
|
},
|
|
31
|
-
"required": [
|
|
33
|
+
"required": [
|
|
34
|
+
"name",
|
|
35
|
+
"config"
|
|
36
|
+
],
|
|
32
37
|
"title": "Hetzner User",
|
|
33
38
|
"type": "object"
|
|
34
39
|
},
|
|
@@ -39,7 +44,9 @@
|
|
|
39
44
|
"type": "string"
|
|
40
45
|
}
|
|
41
46
|
},
|
|
42
|
-
"required": [
|
|
47
|
+
"required": [
|
|
48
|
+
"token"
|
|
49
|
+
],
|
|
43
50
|
"type": "object"
|
|
44
51
|
}
|
|
45
52
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@goldstack/infra-hetzner",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.22",
|
|
4
4
|
"description": "Utilities to work with Hetzner infrastructure via the cli.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"goldstack",
|
|
@@ -39,16 +39,16 @@
|
|
|
39
39
|
"version:apply:force": "yarn version $@ && yarn version apply"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@goldstack/infra": "0.4.
|
|
43
|
-
"@goldstack/utils-config": "0.4.
|
|
44
|
-
"@goldstack/utils-log": "0.3.
|
|
45
|
-
"@goldstack/utils-package": "0.4.
|
|
46
|
-
"@goldstack/utils-sh": "0.5.
|
|
42
|
+
"@goldstack/infra": "0.4.28",
|
|
43
|
+
"@goldstack/utils-config": "0.4.28",
|
|
44
|
+
"@goldstack/utils-log": "0.3.24",
|
|
45
|
+
"@goldstack/utils-package": "0.4.28",
|
|
46
|
+
"@goldstack/utils-sh": "0.5.27",
|
|
47
47
|
"axios": "^1.12.2",
|
|
48
48
|
"handlebars": "4.7.7"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
|
-
"@goldstack/utils-git": "0.2.
|
|
51
|
+
"@goldstack/utils-git": "0.2.18",
|
|
52
52
|
"@swc/core": "^1.12.11",
|
|
53
53
|
"@swc/jest": "^0.2.39",
|
|
54
54
|
"@types/jest": "^29.5.14",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"jest": "^29.7.0",
|
|
57
57
|
"renamer": "^0.7.0",
|
|
58
58
|
"rimraf": "^3.0.2",
|
|
59
|
-
"ts-json-schema-generator": "^
|
|
59
|
+
"ts-json-schema-generator": "^2.4.0",
|
|
60
60
|
"typescript": "^5.8.3"
|
|
61
61
|
},
|
|
62
62
|
"publishConfig": {
|