@firestartr/cli 2.2.0-snapshot-0 → 2.2.0

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.
Files changed (73) hide show
  1. package/build/{594.index.js → 202.index.js} +3 -3
  2. package/build/318.index.js +35 -0
  3. package/build/346.index.js +57 -0
  4. package/build/539.index.js +58 -0
  5. package/build/55.index.js +58 -0
  6. package/build/{540.index.js → 697.index.js} +5 -5
  7. package/build/709.index.js +25 -0
  8. package/build/{647.index.js → 87.index.js} +5 -5
  9. package/build/{351.index.js → 902.index.js} +3 -3
  10. package/build/{857.index.js → 915.index.js} +5 -5
  11. package/build/index.js +132201 -203618
  12. package/build/packages/github/src/branches.d.ts +100 -34
  13. package/build/packages/github/src/repository.d.ts +62 -17
  14. package/build/packages/github/src/team.d.ts +6 -0
  15. package/package.json +1 -2
  16. package/build/packages/cli/src/subcommands/provisioner-subcommands.d.ts +0 -2
  17. package/build/packages/operator/cdktf.d.ts +0 -8
  18. package/build/packages/operator/src/cdktf/ownership.d.ts +0 -3
  19. package/build/packages/provisioner/index.d.ts +0 -16
  20. package/build/packages/provisioner/init.d.ts +0 -5
  21. package/build/packages/provisioner/src/cdktf.d.ts +0 -3
  22. package/build/packages/provisioner/src/config/config.d.ts +0 -6
  23. package/build/packages/provisioner/src/entities/base/Entity.d.ts +0 -48
  24. package/build/packages/provisioner/src/entities/base/auxiliars/ConfigAux.d.ts +0 -28
  25. package/build/packages/provisioner/src/entities/feature/FirestartrGithubRepositoryFeature.d.ts +0 -8
  26. package/build/packages/provisioner/src/entities/firestartrgithubgroup/FirestartrGithubGroup.d.ts +0 -8
  27. package/build/packages/provisioner/src/entities/firestartrgithubgroup/helpers/TeamMembersHelper.d.ts +0 -4
  28. package/build/packages/provisioner/src/entities/firestartrgithubgroup/helpers/TeamsHelper.d.ts +0 -4
  29. package/build/packages/provisioner/src/entities/firestartrgithubmembership/FirestartrGithubMembership.d.ts +0 -8
  30. package/build/packages/provisioner/src/entities/firestartrgithubmembership/helpers/MembershipAllGroupHelper.d.ts +0 -4
  31. package/build/packages/provisioner/src/entities/firestartrgithubmembership/helpers/MembershipHelper.d.ts +0 -4
  32. package/build/packages/provisioner/src/entities/firestartrgithuborgwebhook/FirestartrGithubOrgWebhook.d.ts +0 -8
  33. package/build/packages/provisioner/src/entities/firestartrgithuborgwebhook/helpers/OrgWebhookHelper.d.ts +0 -4
  34. package/build/packages/provisioner/src/entities/firestartrgithubrepository/FirestartrGithubRepository.d.ts +0 -9
  35. package/build/packages/provisioner/src/entities/firestartrgithubrepository/auxiliars/RepositoryConfigAux.d.ts +0 -52
  36. package/build/packages/provisioner/src/entities/firestartrgithubrepository/helpers/ActionsHelper.d.ts +0 -5
  37. package/build/packages/provisioner/src/entities/firestartrgithubrepository/helpers/CodeownersHelper.d.ts +0 -5
  38. package/build/packages/provisioner/src/entities/firestartrgithubrepository/helpers/DefaultBranchHelper.d.ts +0 -5
  39. package/build/packages/provisioner/src/entities/firestartrgithubrepository/helpers/RepositoryHelper.d.ts +0 -5
  40. package/build/packages/provisioner/src/entities/firestartrgithubrepository/helpers/RepositoryTeamsHelper.d.ts +0 -4
  41. package/build/packages/provisioner/src/entities/firestartrgithubrepository/helpers/RepositoryVariable.d.ts +0 -4
  42. package/build/packages/provisioner/src/entities/firestartrgithubrepositorysecretssection/FirestartrGithubRepositorySecretsSection.d.ts +0 -9
  43. package/build/packages/provisioner/src/entities/firestartrgithubrepositorysecretssection/helpers/RepositorySecret.d.ts +0 -3
  44. package/build/packages/provisioner/src/entities/firestartrterraformmodule/FirestartrTerraformModule.d.ts +0 -10
  45. package/build/packages/provisioner/src/entities/firestartrterraformmodule/auxiliars/terraformModuleHelper.d.ts +0 -13
  46. package/build/packages/provisioner/src/entities/index.d.ts +0 -2
  47. package/build/packages/provisioner/src/features/index.d.ts +0 -4
  48. package/build/packages/provisioner/src/features/installer.d.ts +0 -1
  49. package/build/packages/provisioner/src/features/preparer.d.ts +0 -1
  50. package/build/packages/provisioner/src/features/provisioner.d.ts +0 -3
  51. package/build/packages/provisioner/src/features/uninstaller.d.ts +0 -1
  52. package/build/packages/provisioner/src/handlers/index.d.ts +0 -3
  53. package/build/packages/provisioner/src/loader.d.ts +0 -2
  54. package/build/packages/provisioner/src/logger.d.ts +0 -11
  55. package/build/packages/provisioner/src/providers/backend.d.ts +0 -6
  56. package/build/packages/provisioner/src/providers/index.d.ts +0 -12
  57. package/build/packages/provisioner/src/providers/provider.d.ts +0 -4
  58. package/build/packages/provisioner/src/resources/github_feature/index.d.ts +0 -8
  59. package/build/packages/provisioner/src/resources/github_group/index.d.ts +0 -5
  60. package/build/packages/provisioner/src/resources/github_membership/index.d.ts +0 -5
  61. package/build/packages/provisioner/src/resources/github_orgWebhook/index.d.ts +0 -5
  62. package/build/packages/provisioner/src/resources/github_repository/helpers/AdditionalBranchesHelper.d.ts +0 -1
  63. package/build/packages/provisioner/src/resources/github_repository/index.d.ts +0 -6
  64. package/build/packages/provisioner/src/resources/github_repository_secrets_section/index.d.ts +0 -5
  65. package/build/packages/provisioner/src/resources/index.d.ts +0 -17
  66. package/build/packages/provisioner/src/resources/resource.d.ts +0 -28
  67. package/build/packages/provisioner/src/resources/terraform_module/index.d.ts +0 -5
  68. package/build/packages/provisioner/src/stacks/GithubStack.d.ts +0 -6
  69. package/build/packages/provisioner/src/stacks/TerraformModuleStack.d.ts +0 -7
  70. package/build/packages/provisioner/src/stacks/base.d.ts +0 -17
  71. package/build/packages/provisioner/src/stacks/index.d.ts +0 -6
  72. package/build/packages/provisioner/src/terraform.d.ts +0 -7
  73. package/build/provisioner/cdktf.json +0 -11
@@ -1,8 +1,8 @@
1
- export const id = 594;
2
- export const ids = [594];
1
+ export const id = 202;
2
+ export const ids = [202];
3
3
  export const modules = {
4
4
 
5
- /***/ 55594:
5
+ /***/ 66202:
6
6
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
7
7
 
8
8
 
@@ -0,0 +1,35 @@
1
+ export const id = 318;
2
+ export const ids = [318];
3
+ export const modules = {
4
+
5
+ /***/ 77318:
6
+ /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
7
+
8
+
9
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
10
+ exports.getMachineId = void 0;
11
+ /*
12
+ * Copyright The OpenTelemetry Authors
13
+ * SPDX-License-Identifier: Apache-2.0
14
+ */
15
+ const fs_1 = __webpack_require__(57147);
16
+ const api_1 = __webpack_require__(78199);
17
+ async function getMachineId() {
18
+ const paths = ['/etc/machine-id', '/var/lib/dbus/machine-id'];
19
+ for (const path of paths) {
20
+ try {
21
+ const result = await fs_1.promises.readFile(path, { encoding: 'utf8' });
22
+ return result.trim();
23
+ }
24
+ catch (e) {
25
+ api_1.diag.debug(`error reading machine id: ${e}`);
26
+ }
27
+ }
28
+ return undefined;
29
+ }
30
+ exports.getMachineId = getMachineId;
31
+ //# sourceMappingURL=getMachineId-linux.js.map
32
+
33
+ /***/ })
34
+
35
+ };
@@ -0,0 +1,57 @@
1
+ export const id = 346;
2
+ export const ids = [346];
3
+ export const modules = {
4
+
5
+ /***/ 57122:
6
+ /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
7
+
8
+
9
+ /*
10
+ * Copyright The OpenTelemetry Authors
11
+ * SPDX-License-Identifier: Apache-2.0
12
+ */
13
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
14
+ exports.execAsync = void 0;
15
+ const child_process = __webpack_require__(32081);
16
+ const util = __webpack_require__(73837);
17
+ exports.execAsync = util.promisify(child_process.exec);
18
+ //# sourceMappingURL=execAsync.js.map
19
+
20
+ /***/ }),
21
+
22
+ /***/ 44346:
23
+ /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
24
+
25
+
26
+ /*
27
+ * Copyright The OpenTelemetry Authors
28
+ * SPDX-License-Identifier: Apache-2.0
29
+ */
30
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
31
+ exports.getMachineId = void 0;
32
+ const fs_1 = __webpack_require__(57147);
33
+ const execAsync_1 = __webpack_require__(57122);
34
+ const api_1 = __webpack_require__(78199);
35
+ async function getMachineId() {
36
+ try {
37
+ const result = await fs_1.promises.readFile('/etc/hostid', { encoding: 'utf8' });
38
+ return result.trim();
39
+ }
40
+ catch (e) {
41
+ api_1.diag.debug(`error reading machine id: ${e}`);
42
+ }
43
+ try {
44
+ const result = await (0, execAsync_1.execAsync)('kenv -q smbios.system.uuid');
45
+ return result.stdout.trim();
46
+ }
47
+ catch (e) {
48
+ api_1.diag.debug(`error reading machine id: ${e}`);
49
+ }
50
+ return undefined;
51
+ }
52
+ exports.getMachineId = getMachineId;
53
+ //# sourceMappingURL=getMachineId-bsd.js.map
54
+
55
+ /***/ })
56
+
57
+ };
@@ -0,0 +1,58 @@
1
+ export const id = 539;
2
+ export const ids = [539];
3
+ export const modules = {
4
+
5
+ /***/ 57122:
6
+ /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
7
+
8
+
9
+ /*
10
+ * Copyright The OpenTelemetry Authors
11
+ * SPDX-License-Identifier: Apache-2.0
12
+ */
13
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
14
+ exports.execAsync = void 0;
15
+ const child_process = __webpack_require__(32081);
16
+ const util = __webpack_require__(73837);
17
+ exports.execAsync = util.promisify(child_process.exec);
18
+ //# sourceMappingURL=execAsync.js.map
19
+
20
+ /***/ }),
21
+
22
+ /***/ 36539:
23
+ /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
24
+
25
+
26
+ /*
27
+ * Copyright The OpenTelemetry Authors
28
+ * SPDX-License-Identifier: Apache-2.0
29
+ */
30
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
31
+ exports.getMachineId = void 0;
32
+ const process = __webpack_require__(77282);
33
+ const execAsync_1 = __webpack_require__(57122);
34
+ const api_1 = __webpack_require__(78199);
35
+ async function getMachineId() {
36
+ const args = 'QUERY HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Cryptography /v MachineGuid';
37
+ let command = '%windir%\\System32\\REG.exe';
38
+ if (process.arch === 'ia32' && 'PROCESSOR_ARCHITEW6432' in process.env) {
39
+ command = '%windir%\\sysnative\\cmd.exe /c ' + command;
40
+ }
41
+ try {
42
+ const result = await (0, execAsync_1.execAsync)(`${command} ${args}`);
43
+ const parts = result.stdout.split('REG_SZ');
44
+ if (parts.length === 2) {
45
+ return parts[1].trim();
46
+ }
47
+ }
48
+ catch (e) {
49
+ api_1.diag.debug(`error reading machine id: ${e}`);
50
+ }
51
+ return undefined;
52
+ }
53
+ exports.getMachineId = getMachineId;
54
+ //# sourceMappingURL=getMachineId-win.js.map
55
+
56
+ /***/ })
57
+
58
+ };
@@ -0,0 +1,58 @@
1
+ export const id = 55;
2
+ export const ids = [55];
3
+ export const modules = {
4
+
5
+ /***/ 57122:
6
+ /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
7
+
8
+
9
+ /*
10
+ * Copyright The OpenTelemetry Authors
11
+ * SPDX-License-Identifier: Apache-2.0
12
+ */
13
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
14
+ exports.execAsync = void 0;
15
+ const child_process = __webpack_require__(32081);
16
+ const util = __webpack_require__(73837);
17
+ exports.execAsync = util.promisify(child_process.exec);
18
+ //# sourceMappingURL=execAsync.js.map
19
+
20
+ /***/ }),
21
+
22
+ /***/ 4055:
23
+ /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
24
+
25
+
26
+ /*
27
+ * Copyright The OpenTelemetry Authors
28
+ * SPDX-License-Identifier: Apache-2.0
29
+ */
30
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
31
+ exports.getMachineId = void 0;
32
+ const execAsync_1 = __webpack_require__(57122);
33
+ const api_1 = __webpack_require__(78199);
34
+ async function getMachineId() {
35
+ try {
36
+ const result = await (0, execAsync_1.execAsync)('ioreg -rd1 -c "IOPlatformExpertDevice"');
37
+ const idLine = result.stdout
38
+ .split('\n')
39
+ .find(line => line.includes('IOPlatformUUID'));
40
+ if (!idLine) {
41
+ return undefined;
42
+ }
43
+ const parts = idLine.split('" = "');
44
+ if (parts.length === 2) {
45
+ return parts[1].slice(0, -1);
46
+ }
47
+ }
48
+ catch (e) {
49
+ api_1.diag.debug(`error reading machine id: ${e}`);
50
+ }
51
+ return undefined;
52
+ }
53
+ exports.getMachineId = getMachineId;
54
+ //# sourceMappingURL=getMachineId-darwin.js.map
55
+
56
+ /***/ })
57
+
58
+ };
@@ -1,8 +1,8 @@
1
- export const id = 540;
2
- export const ids = [540];
1
+ export const id = 697;
2
+ export const ids = [697];
3
3
  export const modules = {
4
4
 
5
- /***/ 74412:
5
+ /***/ 69192:
6
6
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
7
7
 
8
8
 
@@ -30,7 +30,7 @@ exports.execAsync = util.promisify(child_process.exec);
30
30
 
31
31
  /***/ }),
32
32
 
33
- /***/ 74596:
33
+ /***/ 30697:
34
34
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
35
35
 
36
36
 
@@ -51,7 +51,7 @@ exports.execAsync = util.promisify(child_process.exec);
51
51
  */
52
52
  Object.defineProperty(exports, "__esModule", ({ value: true }));
53
53
  exports.getMachineId = void 0;
54
- const execAsync_1 = __webpack_require__(74412);
54
+ const execAsync_1 = __webpack_require__(69192);
55
55
  const api_1 = __webpack_require__(78199);
56
56
  async function getMachineId() {
57
57
  try {
@@ -0,0 +1,25 @@
1
+ export const id = 709;
2
+ export const ids = [709];
3
+ export const modules = {
4
+
5
+ /***/ 67709:
6
+ /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
7
+
8
+
9
+ /*
10
+ * Copyright The OpenTelemetry Authors
11
+ * SPDX-License-Identifier: Apache-2.0
12
+ */
13
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
14
+ exports.getMachineId = void 0;
15
+ const api_1 = __webpack_require__(78199);
16
+ async function getMachineId() {
17
+ api_1.diag.debug('could not read machine-id: unsupported platform');
18
+ return undefined;
19
+ }
20
+ exports.getMachineId = getMachineId;
21
+ //# sourceMappingURL=getMachineId-unsupported.js.map
22
+
23
+ /***/ })
24
+
25
+ };
@@ -1,8 +1,8 @@
1
- export const id = 647;
2
- export const ids = [647];
1
+ export const id = 87;
2
+ export const ids = [87];
3
3
  export const modules = {
4
4
 
5
- /***/ 74412:
5
+ /***/ 69192:
6
6
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
7
7
 
8
8
 
@@ -30,7 +30,7 @@ exports.execAsync = util.promisify(child_process.exec);
30
30
 
31
31
  /***/ }),
32
32
 
33
- /***/ 22647:
33
+ /***/ 55087:
34
34
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
35
35
 
36
36
 
@@ -52,7 +52,7 @@ exports.execAsync = util.promisify(child_process.exec);
52
52
  Object.defineProperty(exports, "__esModule", ({ value: true }));
53
53
  exports.getMachineId = void 0;
54
54
  const process = __webpack_require__(77282);
55
- const execAsync_1 = __webpack_require__(74412);
55
+ const execAsync_1 = __webpack_require__(69192);
56
56
  const api_1 = __webpack_require__(78199);
57
57
  async function getMachineId() {
58
58
  const args = 'QUERY HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Cryptography /v MachineGuid';
@@ -1,8 +1,8 @@
1
- export const id = 351;
2
- export const ids = [351];
1
+ export const id = 902;
2
+ export const ids = [902];
3
3
  export const modules = {
4
4
 
5
- /***/ 8351:
5
+ /***/ 31902:
6
6
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
7
7
 
8
8
 
@@ -1,8 +1,8 @@
1
- export const id = 857;
2
- export const ids = [857];
1
+ export const id = 915;
2
+ export const ids = [915];
3
3
  export const modules = {
4
4
 
5
- /***/ 74412:
5
+ /***/ 69192:
6
6
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
7
7
 
8
8
 
@@ -30,7 +30,7 @@ exports.execAsync = util.promisify(child_process.exec);
30
30
 
31
31
  /***/ }),
32
32
 
33
- /***/ 65857:
33
+ /***/ 36915:
34
34
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
35
35
 
36
36
 
@@ -52,7 +52,7 @@ exports.execAsync = util.promisify(child_process.exec);
52
52
  Object.defineProperty(exports, "__esModule", ({ value: true }));
53
53
  exports.getMachineId = void 0;
54
54
  const fs_1 = __webpack_require__(57147);
55
- const execAsync_1 = __webpack_require__(74412);
55
+ const execAsync_1 = __webpack_require__(69192);
56
56
  const api_1 = __webpack_require__(78199);
57
57
  async function getMachineId() {
58
58
  try {