@pagopa/dx-cli 0.18.4 → 0.18.6
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.
|
@@ -181,7 +181,7 @@ export class AzureCloudAccountService {
|
|
|
181
181
|
await Promise.all([
|
|
182
182
|
secretClient.setSecret("github-runner-app-id", runnerAppCredentials.id),
|
|
183
183
|
secretClient.setSecret("github-runner-app-installation-id", runnerAppCredentials.installationId),
|
|
184
|
-
secretClient.setSecret("github-runner-app-key",
|
|
184
|
+
secretClient.setSecret("github-runner-app-key", runnerAppCredentials.key.trimEnd()),
|
|
185
185
|
]);
|
|
186
186
|
logger.debug("Created secrets in key vault {keyVaultName} in subscription {subscriptionId}", { keyVaultName, subscriptionId: cloudAccount.id });
|
|
187
187
|
}
|
|
@@ -11,8 +11,8 @@ import { z } from "zod/v4";
|
|
|
11
11
|
* Input validation schema for the request authorization use case.
|
|
12
12
|
*/
|
|
13
13
|
export declare const requestAuthorizationInputSchema: z.ZodObject<{
|
|
14
|
-
bootstrapIdentityId: z.core.$ZodBranded<z.ZodString, "BootstrapIdentityId">;
|
|
15
|
-
subscriptionName: z.core.$ZodBranded<z.ZodString, "SubscriptionName">;
|
|
14
|
+
bootstrapIdentityId: z.core.$ZodBranded<z.ZodString, "BootstrapIdentityId", "out">;
|
|
15
|
+
subscriptionName: z.core.$ZodBranded<z.ZodString, "SubscriptionName", "out">;
|
|
16
16
|
}, z.core.$strip>;
|
|
17
17
|
/**
|
|
18
18
|
* Service interface for requesting cloud authorization.
|
|
@@ -3,14 +3,14 @@ import { z } from "zod/v4";
|
|
|
3
3
|
import { Dependencies } from "./dependencies.js";
|
|
4
4
|
import { ValidationCheckResult } from "./validation.js";
|
|
5
5
|
export declare const scriptSchema: z.ZodObject<{
|
|
6
|
-
name: z.core.$ZodBranded<z.ZodString, "ScriptName">;
|
|
6
|
+
name: z.core.$ZodBranded<z.ZodString, "ScriptName", "out">;
|
|
7
7
|
script: z.ZodString;
|
|
8
8
|
}, z.core.$strip>;
|
|
9
9
|
export declare const dependencySchema: z.ZodObject<{
|
|
10
10
|
name: z.ZodString;
|
|
11
11
|
version: z.ZodString;
|
|
12
12
|
}, z.core.$strip>;
|
|
13
|
-
declare const PackageName: z.core.$ZodBranded<z.ZodString, "PackageName">;
|
|
13
|
+
declare const PackageName: z.core.$ZodBranded<z.ZodString, "PackageName", "out">;
|
|
14
14
|
export type PackageName = z.infer<typeof PackageName>;
|
|
15
15
|
declare const packageManagerSchema: z.ZodEnum<{
|
|
16
16
|
npm: "npm";
|
|
@@ -20,13 +20,13 @@ declare const packageManagerSchema: z.ZodEnum<{
|
|
|
20
20
|
export declare const packageJsonSchema: z.ZodObject<{
|
|
21
21
|
dependencies: z.ZodPipe<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>, z.ZodTransform<Map<string, string>, Record<string, string> | undefined>>;
|
|
22
22
|
devDependencies: z.ZodPipe<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>, z.ZodTransform<Map<string, string>, Record<string, string> | undefined>>;
|
|
23
|
-
name: z.core.$ZodBranded<z.ZodString, "PackageName">;
|
|
23
|
+
name: z.core.$ZodBranded<z.ZodString, "PackageName", "out">;
|
|
24
24
|
packageManager: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodEnum<{
|
|
25
25
|
npm: "npm";
|
|
26
26
|
pnpm: "pnpm";
|
|
27
27
|
yarn: "yarn";
|
|
28
28
|
}>>>;
|
|
29
|
-
scripts: z.ZodPipe<z.ZodOptional<z.ZodRecord<z.core.$ZodBranded<z.ZodString, "ScriptName">, z.ZodString>>, z.ZodTransform<Map<string & z.core.$brand<"ScriptName">, string>, Record<string & z.core.$brand<"ScriptName">, string> | undefined>>;
|
|
29
|
+
scripts: z.ZodPipe<z.ZodOptional<z.ZodRecord<z.core.$ZodBranded<z.ZodString, "ScriptName", "out">, z.ZodString>>, z.ZodTransform<Map<string & z.core.$brand<"ScriptName">, string>, Record<string & z.core.$brand<"ScriptName">, string> | undefined>>;
|
|
30
30
|
}, z.core.$strip>;
|
|
31
31
|
export type Dependency = z.infer<typeof dependencySchema>;
|
|
32
32
|
export type PackageJson = z.infer<typeof packageJsonSchema>;
|
|
@@ -2,7 +2,7 @@ import { z } from "zod/v4";
|
|
|
2
2
|
import { Dependencies } from "./dependencies.js";
|
|
3
3
|
import { ValidationCheckResult } from "./validation.js";
|
|
4
4
|
export declare const workspaceSchema: z.ZodObject<{
|
|
5
|
-
name: z.core.$ZodBranded<z.ZodString, "WorkspaceName">;
|
|
5
|
+
name: z.core.$ZodBranded<z.ZodString, "WorkspaceName", "out">;
|
|
6
6
|
path: z.ZodString;
|
|
7
7
|
}, z.core.$strip>;
|
|
8
8
|
export type Workspace = z.infer<typeof workspaceSchema>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pagopa/dx-cli",
|
|
3
|
-
"version": "0.18.
|
|
3
|
+
"version": "0.18.6",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A CLI useful to manage DX tools.",
|
|
6
6
|
"repository": {
|
|
@@ -24,42 +24,42 @@
|
|
|
24
24
|
"@azure/arm-authorization": "^9.0.0",
|
|
25
25
|
"@azure/arm-keyvault": "^4.0.0",
|
|
26
26
|
"@azure/arm-msi": "^2.2.0",
|
|
27
|
-
"@azure/keyvault-secrets": "^4.9.0",
|
|
28
27
|
"@azure/arm-resourcegraph": "^4.2.1",
|
|
29
28
|
"@azure/arm-resources": "^7.0.0",
|
|
30
29
|
"@azure/arm-resources-subscriptions": "^2.1.0",
|
|
31
30
|
"@azure/arm-storage": "^19.1.0",
|
|
32
31
|
"@azure/identity": "^4.13.0",
|
|
32
|
+
"@azure/keyvault-secrets": "^4.9.0",
|
|
33
33
|
"@azure/storage-blob": "^12.29.1",
|
|
34
|
-
"@logtape/logtape": "^1.3.
|
|
34
|
+
"@logtape/logtape": "^1.3.7",
|
|
35
35
|
"@microsoft/microsoft-graph-client": "^3.0.7",
|
|
36
36
|
"chalk": "^5.6.2",
|
|
37
|
-
"commander": "^14.0.
|
|
38
|
-
"core-js": "^3.
|
|
37
|
+
"commander": "^14.0.3",
|
|
38
|
+
"core-js": "^3.48.0",
|
|
39
39
|
"execa": "^9.6.1",
|
|
40
40
|
"glob": "^11.1.0",
|
|
41
41
|
"inquirer": "^9.3.8",
|
|
42
42
|
"neverthrow": "^8.2.0",
|
|
43
43
|
"node-plop": "^0.32.3",
|
|
44
44
|
"octokit": "^5.0.5",
|
|
45
|
-
"ora": "^9.
|
|
45
|
+
"ora": "^9.3.0",
|
|
46
46
|
"replace-in-file": "^8.4.0",
|
|
47
|
-
"semver": "^7.7.
|
|
47
|
+
"semver": "^7.7.4",
|
|
48
48
|
"yaml": "^2.8.2",
|
|
49
|
-
"zod": "^4.
|
|
50
|
-
"@pagopa/dx-savemoney": "^0.1.
|
|
49
|
+
"zod": "^4.3.6",
|
|
50
|
+
"@pagopa/dx-savemoney": "^0.1.6"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"@tsconfig/node24": "24.0.
|
|
53
|
+
"@tsconfig/node24": "24.0.4",
|
|
54
54
|
"@types/inquirer": "^9.0.9",
|
|
55
|
-
"@types/node": "^22.19.
|
|
55
|
+
"@types/node": "^22.19.15",
|
|
56
56
|
"@types/semver": "^7.7.1",
|
|
57
57
|
"@vitest/coverage-v8": "^3.2.4",
|
|
58
58
|
"eslint": "^9.39.2",
|
|
59
59
|
"memfs": "^4.51.1",
|
|
60
|
-
"plop": "^4.0.
|
|
61
|
-
"prettier": "3.
|
|
62
|
-
"typescript": "~5.
|
|
60
|
+
"plop": "^4.0.5",
|
|
61
|
+
"prettier": "3.8.1",
|
|
62
|
+
"typescript": "~5.9.3",
|
|
63
63
|
"vitest": "^3.2.4",
|
|
64
64
|
"vitest-mock-extended": "^3.1.0",
|
|
65
65
|
"@pagopa/eslint-config": "^5.1.2"
|