@mondaycom/apps-cli
Advanced tools
Comparing version 0.1.15 to 0.2.1
@@ -1,1 +0,1 @@ | ||
export default { name: "@mondaycom/apps-cli", version: "0.1.15" }; | ||
export default { name: "@mondaycom/apps-cli", version: "0.2.1" }; |
@@ -8,3 +8,3 @@ /// <reference types="node" /> | ||
headers: Record<string, string | string[]>; | ||
status: "pending" | "started" | "building" | "successful" | "failed" | "building-infra" | "building-app"; | ||
status: "pending" | "started" | "building" | "successful" | "failed" | "building-infra" | "building-app" | "deploying-app"; | ||
statusCode: number; | ||
@@ -11,0 +11,0 @@ error?: { |
@@ -60,2 +60,3 @@ import axios from 'axios'; | ||
DeploymentStatusTypesSchema['building-app'], | ||
DeploymentStatusTypesSchema['deploying-app'], | ||
]; | ||
@@ -125,4 +126,5 @@ const response = await getAppVersionDeploymentStatus(appVersionId); | ||
[DeploymentStatusTypesSchema.building]: PROGRESS_STEP * 10, | ||
[DeploymentStatusTypesSchema['building-infra']]: PROGRESS_STEP * 33, | ||
[DeploymentStatusTypesSchema['building-app']]: PROGRESS_STEP * 66, | ||
[DeploymentStatusTypesSchema['building-infra']]: PROGRESS_STEP * 25, | ||
[DeploymentStatusTypesSchema['building-app']]: PROGRESS_STEP * 50, | ||
[DeploymentStatusTypesSchema['deploying-app']]: PROGRESS_STEP * 75, | ||
[DeploymentStatusTypesSchema.successful]: PROGRESS_STEP * 100, | ||
@@ -129,0 +131,0 @@ }; |
@@ -15,4 +15,4 @@ import { z } from 'zod'; | ||
}>; | ||
export declare const deploymentStatusTypesArray: readonly ["started", "pending", "building", "successful", "failed", "building-infra", "building-app"]; | ||
export declare const deploymentStatusTypesSchema: z.ZodEnum<["started", "pending", "building", "successful", "failed", "building-infra", "building-app"]>; | ||
export declare const deploymentStatusTypesArray: readonly ["started", "pending", "building", "successful", "failed", "building-infra", "building-app", "deploying-app"]; | ||
export declare const deploymentStatusTypesSchema: z.ZodEnum<["started", "pending", "building", "successful", "failed", "building-infra", "building-app", "deploying-app"]>; | ||
export declare const appVersionDeploymentStatusSchema: z.ZodObject<{ | ||
@@ -26,3 +26,3 @@ error: z.ZodOptional<z.ZodObject<{ | ||
}>>; | ||
status: z.ZodEnum<["started", "pending", "building", "successful", "failed", "building-infra", "building-app"]>; | ||
status: z.ZodEnum<["started", "pending", "building", "successful", "failed", "building-infra", "building-app", "deploying-app"]>; | ||
deployment: z.ZodOptional<z.ZodObject<{ | ||
@@ -42,3 +42,3 @@ url: z.ZodString; | ||
headers: Record<string, string | string[]>; | ||
status: "pending" | "started" | "building" | "successful" | "failed" | "building-infra" | "building-app"; | ||
status: "pending" | "started" | "building" | "successful" | "failed" | "building-infra" | "building-app" | "deploying-app"; | ||
statusCode: number; | ||
@@ -54,3 +54,3 @@ error?: { | ||
headers: Record<string, string | string[]>; | ||
status: "pending" | "started" | "building" | "successful" | "failed" | "building-infra" | "building-app"; | ||
status: "pending" | "started" | "building" | "successful" | "failed" | "building-infra" | "building-app" | "deploying-app"; | ||
statusCode: number; | ||
@@ -57,0 +57,0 @@ error?: { |
@@ -16,2 +16,3 @@ import { z } from 'zod'; | ||
'building-app', | ||
'deploying-app', | ||
]; | ||
@@ -18,0 +19,0 @@ export const deploymentStatusTypesSchema = z.enum(deploymentStatusTypesArray); |
@@ -5,2 +5,2 @@ import { z } from 'zod'; | ||
export type AppVersionDeploymentStatus = z.infer<typeof appVersionDeploymentStatusSchema>; | ||
export declare const DeploymentStatusTypesSchema: z.Values<["started", "pending", "building", "successful", "failed", "building-infra", "building-app"]>; | ||
export declare const DeploymentStatusTypesSchema: z.Values<["started", "pending", "building", "successful", "failed", "building-infra", "building-app", "deploying-app"]>; |
{ | ||
"version": "0.1.15", | ||
"version": "0.2.1", | ||
"commands": { | ||
@@ -4,0 +4,0 @@ "app:list": { |
{ | ||
"name": "@mondaycom/apps-cli", | ||
"version": "0.1.15", | ||
"version": "0.2.1", | ||
"description": "A cli tool to manage apps (and monday-code projects) in monday.com", | ||
@@ -134,2 +134,2 @@ "author": "monday.com Apps Team", | ||
} | ||
} | ||
} |
@@ -21,3 +21,3 @@ <h3 style="color:red"><b>Public access to this CLI is currently restricted but will become available in the next few months</b></h3> | ||
$ mapps (--version) | ||
@mondaycom/apps-cli/0.1.15 linux-x64 node-v18.12.1 | ||
@mondaycom/apps-cli/0.2.1 linux-x64 node-v18.12.1 | ||
$ mapps --help [COMMAND] | ||
@@ -63,3 +63,3 @@ USAGE | ||
_See code: [dist/commands/app-version/list.ts](https://github.com/mondaycom/monday-code-cli/blob/v0.1.15/dist/commands/app-version/list.ts)_ | ||
_See code: [dist/commands/app-version/list.ts](https://github.com/mondaycom/monday-code-cli/blob/v0.2.1/dist/commands/app-version/list.ts)_ | ||
@@ -85,3 +85,3 @@ ## `mapps app:list` | ||
_See code: [dist/commands/app/list.ts](https://github.com/mondaycom/monday-code-cli/blob/v0.1.15/dist/commands/app/list.ts)_ | ||
_See code: [dist/commands/app/list.ts](https://github.com/mondaycom/monday-code-cli/blob/v0.2.1/dist/commands/app/list.ts)_ | ||
@@ -146,3 +146,3 @@ ## `mapps autocomplete [SHELL]` | ||
_See code: [dist/commands/code/env.ts](https://github.com/mondaycom/monday-code-cli/blob/v0.1.15/dist/commands/code/env.ts)_ | ||
_See code: [dist/commands/code/env.ts](https://github.com/mondaycom/monday-code-cli/blob/v0.2.1/dist/commands/code/env.ts)_ | ||
@@ -180,3 +180,3 @@ ## `mapps code:logs` | ||
_See code: [dist/commands/code/logs.ts](https://github.com/mondaycom/monday-code-cli/blob/v0.1.15/dist/commands/code/logs.ts)_ | ||
_See code: [dist/commands/code/logs.ts](https://github.com/mondaycom/monday-code-cli/blob/v0.2.1/dist/commands/code/logs.ts)_ | ||
@@ -209,3 +209,3 @@ ## `mapps code:push` | ||
_See code: [dist/commands/code/push.ts](https://github.com/mondaycom/monday-code-cli/blob/v0.1.15/dist/commands/code/push.ts)_ | ||
_See code: [dist/commands/code/push.ts](https://github.com/mondaycom/monday-code-cli/blob/v0.2.1/dist/commands/code/push.ts)_ | ||
@@ -234,3 +234,3 @@ ## `mapps code:status` | ||
_See code: [dist/commands/code/status.ts](https://github.com/mondaycom/monday-code-cli/blob/v0.1.15/dist/commands/code/status.ts)_ | ||
_See code: [dist/commands/code/status.ts](https://github.com/mondaycom/monday-code-cli/blob/v0.2.1/dist/commands/code/status.ts)_ | ||
@@ -279,3 +279,3 @@ ## `mapps help [COMMANDS]` | ||
_See code: [dist/commands/init/index.ts](https://github.com/mondaycom/monday-code-cli/blob/v0.1.15/dist/commands/init/index.ts)_ | ||
_See code: [dist/commands/init/index.ts](https://github.com/mondaycom/monday-code-cli/blob/v0.2.1/dist/commands/init/index.ts)_ | ||
<!-- commandsstop --> |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
136320
3219
4